Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[Release] Admin/Mod Login Details »»
[Release] Admin/Mod Login
Version: 1.00, by SaintDog SaintDog is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-22-2002 Last Update: Never Installs: 2
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-28-2002, 11:18 PM
EmuMasta
Guest
 
Posts: n/a
Default

Thanx alot

This beat the heck of inserting /admin after the url

thanx again
Reply With Quote
  #3  
Old 06-29-2002, 03:46 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Template edit in use! Thanks!
Reply With Quote
  #4  
Old 06-29-2002, 07:33 AM
Backlash
Guest
 
Posts: n/a
Default

I've been looking for something like this for quite some time now.
Thanks .
Reply With Quote
  #5  
Old 06-29-2002, 07:39 AM
Bungie's Avatar
Bungie Bungie is offline
 
Join Date: Jun 2002
Location: My Home
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I too have been searching for this. Excellent! Thanks!
Reply With Quote
  #6  
Old 06-29-2002, 07:24 PM
Tyfoon
Guest
 
Posts: n/a
Default

wh00t!!
nice hack, very nice
Reply With Quote
  #7  
Old 06-29-2002, 08:56 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great!!
Thanx!!
Reply With Quote
  #8  
Old 06-29-2002, 09:39 PM
element
Guest
 
Posts: n/a
Default

Wow, this is a great idea, so I won't have to add /admin whenever I want to go to the admin CP!
Reply With Quote
  #9  
Old 06-29-2002, 09:46 PM
hellsatan's Avatar
hellsatan hellsatan is offline
 
Join Date: Jun 2002
Location: Northampton, England
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great addition...



Satan
Reply With Quote
  #10  
Old 06-30-2002, 03:53 AM
Jeisson
Guest
 
Posts: n/a
Default

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 "";

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05662 seconds
  • Memory Usage 2,282KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete