The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
I'm logged in to your board... so why is there still a link at the top of your board asking me to "register"?
I'm not logged in... so why is there a link to my "control panel"? This bit of code will remove the pointless links from your forum, leaving it looking neater and using (a bit) less bandwidth. Details: Two template edits, that's all. Demo: http://forums.mediauk.com Use Username: vbulletinorg Password: vbulletinorg so you can see both states. We use text rather than the standard graphics, but you'll find the graphic code enclosed in the hack documentation. Show Your Support
|
Comments |
#42
|
||||
|
||||
Execellent *clicks installed*
|
#43
|
|||
|
|||
Any answer in the hack working with vbportal?
|
#44
|
||||
|
||||
[QUOTE]Originally posted by Arathorn
Tested on vb 2.2.1 with vbportals 3. |
#45
|
|||
|
|||
After buying vBulletin last december, I seriously got suprised that this wasn't 'default' in vB (especially because we are up at version 2.2.2 by now).
As a guest, I was wondering why some buttons appeared on the menu, since some have been set to 'disabled' for guests through the admin control panel. As a registerd user, I was wondering why buttons like login or register were showing up on the menu, when I was logged in. As a admin/supermod, I was wondering why I kind of missed a link to the admin/mod section. I really hope freddie does implement this all (or partially *g*) into version 3. I would really appriciate this (and I think more members will do). >>brainstorm>> Maybe it is nice to have this as an option in the admin control panel > Forum options. Show link on frontpage to the admin [x] and/or moderator [ ] back-end ? Show link on menu to 'register' [ ] and/or 'login' [x] or something near that. |
#46
|
||||
|
||||
I don't get the Register/CP buttons on vbPortal's home page, either. Did you have any luck resolving this? I put the code into vpbincludes.php as suggested.
Thanks [QUOTE]Originally posted by Erwin The hack works for vBPortal 3 on the Forum home page, but not for the vBPortal Main Home page (following the vBPortal instructions above). Which is a big hassle. I'll see if there's a way around it. |
#47
|
||||
|
||||
There is a small bug in the installation instructions:
In phpinclude part, the code: -- cut -- //Make control panel appear if user is logged in, otherwise offer them the chance of registration if ($bbuserinfo['userid']<"1") { //they're a guest $register_or_controlpanel = "<a href=\"register.php?s=$session[sessionhash]&action=signup\"><img src=\"{imagesfolder}/top_register.gif\" alt=\"Registration is free!\" border=\"0\"></a>"; } else { //they're registered $register_or_controlpanel = "<a href=\"usercp.php?s=$session[sessionhash]\"><img src=\"{imagesfolder}/top_profile.gif\" alt=\"Here you can view your subscribed threads, work with private messages and edit your profile and preferences\" border=\"0\"></a>"; } -- cut -- does not parse session variable so I suggest taking it outside like that: -- cut -- //Make control panel appear if user is logged in, otherwise offer them the chance of registration if ($bbuserinfo['userid']<1) { //they're a guest $register_or_controlpanel = '<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>'; } else { //they're registered $register_or_controlpanel = '<a href="usercp.php?s='.$session[sessionhash].'"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>'; } -- cut -- BTW nice idea and good hack... Regards, Logician |
#48
|
|||
|
|||
Thanks for that. I'll update the hack.
|
#49
|
|||
|
|||
thanx! was easy enough..
|
#50
|
|||
|
|||
I followed the direction on the txt file for VB2.2.5 but didn't work. I also have vbportal version 3.0 installed. What other changes would I need to make? Thank you.
|
#51
|
|||
|
|||
[QUOTE]Originally posted by Carthriller
I followed the direction on the txt file for VB2.2.5 but didn't work. I also have vbportal version 3.0 installed. What other changes would I need to make? Thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|