The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Possible a link on the forum home page only viewable by admins that will take them to the admin panel...
And for mods.. the same thing? is this possible,? Ciao -69 |
#2
|
||||
|
||||
Yeah, it's possible...I don't have access to my hacking materials at the moment, but I think I know how to do it. But another idea, the way I do it with my board, although maybe not as easy as a link on the forums home page, is that I have a private forum open only to moderators and admins, and an announcement in that forum with the links to both CPs. The announcement is set to expire in 2010 or something like that, so it will be there at the top for quite a while.
|
#3
|
||||
|
||||
That would work fine also..
Let me know when you have your hacking materials.. Thanks for your support Ciao |
#4
|
||||
|
||||
Did you ever get it?
Ciao |
#5
|
||||
|
||||
Place this code in global.php:
Code:
if ($bbuserinfo['usergroupid']==6) { $cplink='<a href="admin/index.php">Administrator Control Panel</a>'; } elseif ($bbuserinfo['usergroupid']==5 or $bbuserinfo['usergroupid']==7) { $cplink='<a href="mod/index.php">Moderator Control Panel</a>'; } else { $cplink=''; } Code:
$logincode=makelogincode(); Now use $cplink in any of your templates (even footer/header), it will be available on all pages. |
#6
|
||||
|
||||
Thanks.. I noticed one thing though...
When i put it in the header or footer it won't show up. Only when i place it in the forumhome... Do I have to add the PHP code to a particular file? Ciao |
#7
|
|||
|
|||
Quote:
Dang.... Firefly u beat me to it |
#8
|
||||
|
||||
I couldn't get it to work in my header either - but it worked everywhere else I tried (haven't tried footer, tho)
Could vbPortal affect this, maybe? Shouldn't think so, but... |
#9
|
||||
|
||||
Of course...
Instead of placing the code after this: Code:
$logincode=makelogincode(); Code:
eval(gettemplate('phpinclude',0,0)); |
#10
|
||||
|
||||
I like this hack.. i put it under (Welcome to our newest member) using the same size font and it works a treat
Thanx, FireFly |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|