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 |
#22
|
|||
|
|||
What about placing the LOGOUT button where REGISTER would be if they are logged in?
|
#23
|
|||
|
|||
[QUOTE]Originally posted by SirSteve
What about placing the LOGOUT button where REGISTER would be if they are logged in? |
#24
|
||||
|
||||
dont know whats wrong
installed the hack word for word and it didnt work no errors but the register and the user cp did not show oh well!! |
#25
|
||||
|
||||
[QUOTE]Originally posted by freddie
I put something in my phpinclude template like this: if ($bbuserinfo[userid]) { // user is logged in $pflink = linkto usercp.php } else { $pflink = linkto register.php } I then put $pflink in the header template in place of the buttons that show user cp/register. Do it this way and you don't have to edit anything when you upgrade. |
#26
|
||||
|
||||
yeah i did that
i think its because i use vbportal my phpinclude is this if (!isset($mainfile)){ include("../vbp_includes.php"); } i think this is where the problem is |
#27
|
|||
|
|||
This is really confusing. There are codes flying around the thread and the .txt file at the beginning isn't written that well (no offense).
Could somebody rewrite this (take what's there and specify everything for MAJORLY PHP CHALLENGED people like ME) so it tells what exact file to open, what to change, where to change it? Thank you so much. It's confusing when the txt file is not specific at the end, people post coding in their replies, and then somebody says don't use that, bla bla, AAAHHHH. Thanks for redoing it if anyone does. I'm really illiterate with PHP and coding, so I need it very specific. The hack sounds very cool though. |
#28
|
|||
|
|||
Works like a charm, thanks! I've been looking for this one
|
#29
|
|||
|
|||
[QUOTE]Originally posted by Smallville
This is really confusing. There are codes flying around the thread and the .txt file at the beginning isn't written that well (no offense). Could somebody rewrite this (take what's there and specify everything for MAJORLY PHP CHALLENGED people like ME) so it tells what exact file to open, what to change, where to change it? Thank you so much. It's confusing when the txt file is not specific at the end, people post coding in their replies, and then somebody says don't use that, bla bla, AAAHHHH. Thanks for redoing it if anyone does. I'm really illiterate with PHP and coding, so I need it very specific. The hack sounds very cool though. |
#30
|
|||
|
|||
[QUOTE]Originally posted by Dockaych
Perhaps this could be expanded to allow for a logout button too though? (although the logout isn't usually next to register/user cp) |
#31
|
|||
|
|||
If you download the graphic developers kit from vbulletin.com you'll find a log out-button (almost) ready to use.
Thanks for the hack! I've modified this hack somewhat too - having a text menu for users logged in, and having a user name and password text boxes for those not logged in, making it a breeze to log in - even when you are on some obscure page. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|