![]() |
[Release] Admin/Mod Login
Author: Unknown553
Description: This will add a login link depending on the user type. Administrators will see an admin login, Moderators a moderator login, and basic members will see nothing. |
Thanx alot
This beat the heck of inserting /admin after the url thanx again |
Template edit in use! Thanks! :)
|
I've been looking for something like this for quite some time now.
Thanks :). |
I too have been searching for this. Excellent! Thanks! ;)
|
wh00t!!
nice hack, very nice:) |
Works great!!
Thanx!! ;) |
Wow, this is a great idea, so I won't have to add /admin whenever I want to go to the admin CP!
|
This is a great addition...
:) Satan |
Btw...if your super mods have admin cp then use this code:
PHP Code:
|
Great mod! Man, this site is just full of goodies! :D
|
Very nice mod, I have altered it a little bit to fit our special supah secret usergroup. And to merge it in with the code at the bottom of my footer. So it resides now between < Contact Us - etc - Creations.nl > links.
Installed and it is great! |
i added my link to the welcome panel with the Log Out, Forum Leaders, etc.
|
as said with the register/cp template edit can you make an attachment with a rollover code?
|
I have a question, why in mine does it also show up with like, the url to my forums THEN all the other stuff?
|
Examples are always best, what is the URL to your forum that this is happening on?
|
well never mind, i just found out that one of the admins put that there meaning to put it in a different template
|
Realy neat :p
|
thanx fer the mod
i have been meaning to get this one |
Great! I changed it so it would display "Become an Moderator" for NON-Admin, NON-smod, NON-mod folks :)
Here's the code (if anyone intrested :D) //Administrative/Moderator Login if ($bbuserinfo[usergroupid]==6) { //Admins $adminlogin = "<a href=\"admin/index.php\"><smallfont>Administrative Login</smallfont></a>"; } elseif (($bbuserinfo[usergroupid]==5) or ($bbuserinfo[usergroupid]==7)) { //Mods $adminlogin = "<a href=\"mod/index.php\"><smallfont>Moderator Login</smallfont></a>"; } else { //Everyone else $adminlogin = "<a href=\"modapp.php?userid=$bbuserinfo[userid]&username=$bbuserinfo[username]\"><smallfont>Become a moderator</smallfont></a>"; } //End Login Code |
that is a kewl addition - gunna use this one
|
Very nice i had this option in my style but i changed the style and the option was deleted so
Thanks a lot SaintDog u really are a good m8 !! |
Parse error: parse error, unexpected '{' in /home/ewi/public_html/e/global.php(309) : eval()'d code on line 18
I get that error when installing this hack. Not sure why though. |
Nevermind. I figured the problem out.
|
handi hack, m8
|
Although I have nothing against this MOD, wouldnt it be a lot simpler to add http://www.yourdomain.com/forums/admin to your favourties-name it something like 'Admin' then every time you want to go to your ACP, just type 'Admin' in the address bar?
But, im sure none of you are going to use that way so i'll shut up |
Nice hack... my mods love it .. Thanx
|
thanks very nice indeed
|
Quote:
|
um...where can i edit the phpincludes? im kinda new:)
|
got it! nevermind
|
Installed me like it.
|
It is my opinion that this should be done for many of th navigation buttons in the header. It sort of annoys me to keep seeing the register button....or that guests see the cp/profile button.
Thanks for the mod. I will play with it some. |
If you have like secret mods and other groups but you want them to see it how do you go about finding there usergroup number?
|
Quote:
|
Installed.
|
simple, easy but so usefull !!
|
thank's a lot!!! now i will install!!;) ;)
|
can i use this to vbb 2.2.8
|
Yes, you can.
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|