vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] Admin/Mod Login (https://vborg.vbsupport.ru/showthread.php?t=83544)

SaintDog 05-22-2002 10:00 PM

[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.

EmuMasta 06-28-2002 11:18 PM

Thanx alot

This beat the heck of inserting /admin after the url

thanx again

drumsy 06-29-2002 03:46 AM

Template edit in use! Thanks! :)

Backlash 06-29-2002 07:33 AM

I've been looking for something like this for quite some time now.
Thanks :).

Bungie 06-29-2002 07:39 AM

I too have been searching for this. Excellent! Thanks! ;)

Tyfoon 06-29-2002 07:24 PM

wh00t!!
nice hack, very nice:)

Kars10 06-29-2002 08:56 PM

Works great!!
Thanx!! ;)

element 06-29-2002 09:39 PM

Wow, this is a great idea, so I won't have to add /admin whenever I want to go to the admin CP!

hellsatan 06-29-2002 09:46 PM

This is a great addition...

:)

Satan

Jeisson 06-30-2002 03:53 AM

Btw...if your super mods have admin cp then use this code:

PHP Code:

//Administrative/Moderator Login
if (($bbuserinfo[usergroupid]==6) or ($bbuserinfo[usergroupid]==5)){ //Admins
$adminlogin "<a href=\"admin/index.php\">Administrative Login</a><br>";
} elseif (
$bbuserinfo[usergroupid]==7) { //Mods
$adminlogin "<a href=\"mod/index.php\">Moderator Login</a><br>";
} else { 
//Everyone else
$adminlogin "";




All times are GMT. The time now is 06:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01050 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete