The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
||||
|
||||
![]()
i did something like this too, www.voogru.com/vb/top_buttons
|
#23
|
|||
|
|||
![]()
O thats right php and " don't like each other:P! Well more then a couple in a statment
thanks! |
#24
|
||||
|
||||
![]() Quote:
![]() ![]() |
#25
|
||||
|
||||
![]()
Please bear with me here, this is still all new to me (I just got started on vBulletin a few days ago). I want to link the Admin logon to my titleimage so it's hidden if I am ever anywhere else and have to log on to my board. This way no one will even know the Admin Login is even on the board unless they are an Admin or Moderator. What do I need to do to change it for the whole site so I can just click on the titleimage to use it? Can I do it all in one place or do I need to edit everything that has the titleimage in it? And no one else would be able to get to it except the Admins and Mods, right? Thanks and sorry to sound so stupid at all of this. :-)
BTW: Great time saver! Thanks! |
#26
|
||||
|
||||
![]()
It already works like that, only admins and mods see it, to change it from a simple link to your title image, just change it to fit your titleimage, or logo. It would be easier to just add a lnk or button in the header, but if you want to change it around you're more than welcome.
I think this would work: Use this code in your phpinclude template Code:
//Administrative/Moderator Login if ($bbuserinfo[usergroupid]==6) { //Admins $adminlogin = "<a href=\"admin/index.php\"><img src=\"{ titleimage}\" border=\"0\"></a>"; } elseif (($bbuserinfo[usergroupid]==5) or ($bbuserinfo[usergroupid]==7)) { //Mods $adminlogin = "<a href=\"mod/index.php\"><img src=\"{ titleimage}\" border=\"0\"></a>"; } else { //Everyone else $adminlogin = "<img src=\"{ titleimage}\" border=\"0\">"; } //End Login Code Remember to remove the space between { and titleimage} |
#27
|
||||
|
||||
![]()
Sorry to sound so new at this, but I have learned alot just from reading in here. Hopefully, one of these days, I can start to understand more of this. :-)
Is there any way just to link it to my titleimage instead of changing it? Because if I do it this way (now that I (DOH!!) think of it), the registered users won't see my titleimage when they log on, will they? I just want to hide it from site but still be able to use it, you know what I mean? |
#28
|
||||
|
||||
![]() Quote:
the reason why he puted that space there is because if you don't, you won't get that, but you get the actuly title image from the server ![]() |
#29
|
||||
|
||||
![]()
I did it just lkike he said and this is how it looks now. I must have missed something somehwere. You will also notice that I am having a problem with the forums being listed at the top of every message area. Any help on that will help too. :-)
Message Board Problems |
#30
|
||||
|
||||
![]()
if you looks at the image soruce for where the path is going, it shows it's going to:
http://www.jamcomputerservices.com/vbulletin/<img%20src= hmm...let me see what code you used in phpinclude file |
#31
|
||||
|
||||
![]()
Here is my whole phpinclude file
// This code is PHP4 only: // ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); //Administrative/Moderator Login if ($bbuserinfo[usergroupid]==6) { //Admins $adminlogin = "<a href=\"admin/index.php\"><img src=\"https://vborg.vbsupport.ru/images/vBulletin_logo.gif\" border=\"0\"></a>"; } elseif (($bbuserinfo[usergroupid]==5) or ($bbuserinfo[usergroupid]==7)) { //Mods $adminlogin = "<a href=\"mod/index.php\"><img src=\"https://vborg.vbsupport.ru/images/vBulletin_logo.gif\" border=\"0\"></a>"; } else { //Everyone else $adminlogin = "<img src=\"https://vborg.vbsupport.ru/images/vBulletin_logo.gif\" border=\"0\">"; } //End Login Code I put it all there just in case I meesed something up adding the code. Thanks! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|