The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If 'Guest' or 'Newbie' then redirect
Hello,
I want to redirect a specific forum if a 'Guest' or 'Newbie' views it unless they are promoted to the usergroup which will be able to view this forum. Thanks |
#2
|
||||
|
||||
Quote:
Go to your Plugin Manager at your Acp and create a new plugin. For the hook location choose: forumdisplay_start Then for the php code add this: PHP Code:
Then replace1,2,3 with the id of the forums where you want to resdirect the guests when viewing the redirect forums. Also, replace Code:
http://www.redirecturl.com with the actual url of where you want to redirect your guests when viewing those particular forums. To do the same if the guests will view the latest post at those particular forums, add the exact php code for the the showthread_start hook location as well. (create a new plugin). Hope it helps. |
#3
|
||||
|
||||
Did the above suggestion work for you Tyraunt?
|
#4
|
|||
|
|||
Sorry for the late reply, no it didn't work but the syntax code is 3.0 and not 4.0.
|
#5
|
|||
|
|||
Bump!
|
#6
|
||||
|
||||
What do you mean the syntax code is 3.0 and not 4.0? It looks just fine to me for 3.x or 4.x (php is php in either version). Did you actually try the code or did you just assume it wouldn't work?
|
#7
|
|||
|
|||
How would I do this for the entire forum page?
|
#8
|
||||
|
||||
Do what exactly? You need to be much more specific and actually since it sounds like you are not asking for the same thing, you should start your own thread being specific with what you want.
|
#9
|
|||
|
|||
I want to redirect guests to a non-VB landing page as opposed to showing them the error log ni page. Forum is open to members only. I did start a new thread, but ran across this thread which sounds very similar to what I want to achieve. Most place get angry when you start a new thread about a topic already being discussed, redirecting guests.
|
#10
|
||||
|
||||
If you have the exact same issue as in this thread, then the answer is exactly the same.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|