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)

mashby 06-30-2002 04:07 AM

Great mod! Man, this site is just full of goodies! :D

Floris 06-30-2002 08:17 AM

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!

countryboy713 06-30-2002 08:30 AM

i added my link to the welcome panel with the Log Out, Forum Leaders, etc.

Xelation 06-30-2002 06:06 PM

as said with the register/cp template edit can you make an attachment with a rollover code?

Shift 06-30-2002 07:13 PM

I have a question, why in mine does it also show up with like, the url to my forums THEN all the other stuff?

SaintDog 06-30-2002 07:24 PM

Examples are always best, what is the URL to your forum that this is happening on?

Shift 06-30-2002 07:39 PM

well never mind, i just found out that one of the admins put that there meaning to put it in a different template

Blue 06-30-2002 10:55 PM

Realy neat :p

TrAsTiOn 07-10-2002 07:24 PM

thanx fer the mod
i have been meaning to get this one

Mephisteus 07-20-2002 07:19 AM

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


All times are GMT. The time now is 07:56 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.00971 seconds
  • Memory Usage 1,723KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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