redirect -. $redirect_args
Hi all,

I am writing a small plugin that forces the redirect to the friendly redirect for users with x amount of posts or less.

I can just hook into the redirects hook but wondering what the args are there and whether I could just use these rather than having to jot in code.


never mind I didn't need them I just used the hook for redirect and included $mybb as a global if the user postnum is less than 20 I redirect. Going to make that into a plugin now.

For those that are interested the reason that I have this is that users tend come in to troll and this is to deter them. It also shows my advertising on the page, so until users reach that threshold they see the advertising and friendly redirect

Forum Jump:

Users browsing this thread: 1 Guest(s)