The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I am a newbie - Hence I have a lot of questions. When I log in, it goes to http://www.meracarforum.com/forums/ This is the default "page". I was wondering if I can set my default "page" to another forum. http://www.meracarforum.com/forums/f...splay.php?f=44 I want the user to have the ability to select their default forum. For example the guy who is interested only in placing ads on my forum wants the default forum to be always classifieds. This way when they login, it goes dorectly to their fav forum. Otherwise they have to click thru to get to their forum. So in the context of Vbulletin.org ... When I log in I want to go directly to vBulletin.org Forum / Community Discussions / General vBulletin Discussions I searched on the forums - i could not find anything for this one. Please advice. Thanks a ton folks for all teh answers ![]() |
#2
|
||||
|
||||
![]()
Hmm... interesting idea. I think I can write something up that will do this. Give me a little bit.
|
#3
|
|||
|
|||
![]()
Aha ... for once I don't feel like an idiot after reading replies to my stupid questions
![]() |
#4
|
||||
|
||||
![]()
Alright, here you go. You'll need to add a new User Profile Field through your AdminCP:
Upload the attached Plugin through the Plugins/Products Menu in the AdminCP. Afterwards, go to Plugin Manager and click on "Redirect Favorite Forum"; this will display the Plugin's PHP Code. You have to change the number in: $fields['field5'] to match your Field ID. |
#5
|
|||
|
|||
![]()
Thanks!
|
#6
|
|||
|
|||
![]()
@Kirk Y, nice mod, m8!
How can I set this log-in redirect page for all my members, as I want them to view elsewhere first? |
#7
|
||||
|
||||
![]()
You could change the plugin's data (Through the Plugin Manager in the AdminCP) from this:
Code:
if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin')) { $fields = $vbulletin->db->query_first("SELECT * FROM userfield WHERE userid =".$vbulletin->userinfo['userid']); if ($fields['field5']){ $vbulletin->url = "forumdisplay.php?f=".$fields['field5']; } } Code:
if (!($vbulletin->GPC['logintype'] === 'cplogin' OR $vbulletin->GPC['logintype'] === 'modcplogin')) { $vbulletin->url = "page.php"; } |
#8
|
|||
|
|||
![]()
@Kirk Y, that is just great...works a treat! Thx so much, m8!
Br. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|