The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can I set a vBulletin CMS page as a default homepage upon log-in to vBulletin CMS?
I was curious if there was a way to set a default home page for someone who is already or had just logged in to my instance of vBulletin 4.x CMS as opposed to an unauthenticated user's default home page.
For example: "unauthenticated user" is taken to "(domain)/content.php". If the user logs-in to the CMS (as opposed to the forums) they are taken to "(domain)/content.php/5-News" instead of "(domain)/content.php". or... If the user has told his browser to remember me, and they go to "(domain)", they would be directed to "(domain)/content.php/5-News" I would guess that this would be based on the usergroups, but I did not find this under "vBulletin CMS" > "Permissions". I tried searching for this capability, but the results were too much unrelated noise. If there is another thread related to this topic, please provide a link or relevant search terminology. |
#2
|
|||
|
|||
I think (if I understand you) you can do what you want by creating a plugin using hook location login_redirect and setting $vbulletin->url to what you want. For instance I was able to make it so that admins go to the CMS page by using this code:
Code:
if ($vbulletin->userinfo['usergroupid'] == 6) $vbulletin->url = "content.php"; I know this isn't the programming section, but maybe this will help if you can't find an existing mod. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|