vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Show's Userstatus and Username in adminCP login (https://vborg.vbsupport.ru/showthread.php?t=46698)

flup 12-14-2002 10:00 PM

Show's Userstatus and Username in adminCP login
 
Hackname: Userinfo @ AdminCP
Made By: Flup
Hack Version: 1.00

Upcoming Features:
  • List of users that will be able to login (shows administrators)
  • List of users wich are able to login in moderator section (moderators are listed)

flup 12-15-2002 05:35 PM

Screenshot

flup 12-15-2002 05:37 PM

Edit colors

Chris M 12-15-2002 06:10 PM

Nice idea:)

Satan

Vile 12-16-2002 01:57 AM

Nice, installed. :)

flup 12-16-2002 01:48 PM

Thx :)

flup 12-16-2002 03:52 PM

Hack Name: Userinfo @ AdminCP Login
Creator: Flup
Latest Version: V1.01
Credits:
Xenon
For helping me with Database queries to show Mods and Admins.
Thx m8!

******** UPDATE ********
  • List of admins will be shown
  • List of moderators will be shown





============================================
HACK INFO
============================================
*** Find:
Quote:

</font></p>
<?php
cpfooter();
exit;
}
*** And replace with:
Quote:

<p align="center"><font size="1">vBulletin v<?php echo $templateversion ?> Administrator Control Panel
<br><br><font color="blue">Currently you are logged in as:</font><br> <?php echo $bbuserinfo[username] ?>
<br><font color="blue">Only Admins can access, your title is:</font><br> <?php echo $bbuserinfo[usertitle] ?>
<br><br>
================================================== =====================
<br><br><font color="red">If you are one of these Moderators:</font><br>
<?php
$supermods=$DB_site->query("SELECT username, userid FROM user, usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.ismoderator=1");
$supermodnames="";
while($supermod=$DB_site->fetch_array($supermods)) {
$supermodnames.=$supermod[username]." ";
}
?>
<?php echo $supermodnames ?>
<br>
<br><font color="blue">Please go to:</font><br> <a href="<?php echo $bburl ?>/mod/">This Page</a><br><br>
================================================== =====================
<br><br>
<font color="blue">User currently have access with their Username and Password are:</font><br>
<?php
$admins=$DB_site->query("SELECT username, userid FROM user, usergroup WHERE user.usergroupid=usergroup.usergroupid AND usergroup.cancontrolpanel=1");
$adminnames="";
while($admin=$DB_site->fetch_array($admins)) {
$adminnames.=$admin[username]." ";
}
?>
<?php echo $adminnames ?>

</font></p>

flup 12-16-2002 03:55 PM

New Screenshot

Chris M 12-16-2002 03:56 PM

Nice:)

Satan

flup 12-16-2002 04:04 PM

Looks way better doesn't it?


All times are GMT. The time now is 05:33 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
  • Page Generation 0.00982 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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