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)
-   -   'Welcome Username' And 'Log Out' Options in Admin CP (https://vborg.vbsupport.ru/showthread.php?t=40831)

TECK 07-07-2002 10:00 PM

'Welcome Username' And 'Log Out' Options in Admin CP
 
This hack will allow you to add a welcome user and logout option to your Admin CP.

TECK 07-08-2002 06:22 PM

A screenshot...

Velocd 07-08-2002 08:26 PM

Well it's defiantly useful for those forums with more than one admin ;)

I usually just log out by the forum. Good job though :)

Admin 07-09-2002 06:43 AM

Why not use the regular logout routine? What's the point in being logged out and then taken to the Admin CP again?

And when was the last time you forgot who you are... ;)

TECK 07-09-2002 01:37 PM

true. i simply wanted to have the logout redirect it to the admin page. if you want to use firefly's idea (wich makes alot of sense) and have the regular forum logout, use this code instead:
Code:

  <td align="right"><a href="../index.php?s=<?php echo $session[sessionhash]; ?>" target="_blank">HOME</a> | <a href="../member.php?s=<?php echo $session[sessionhash]; ?>&action=logout" target="_top">LOG OUT</a></td>
</tr>

no other mods are needed.
also about the welcome name? i did it on my admin cp because i use it while i was testing the 'Selected Users Only Can Edit Admin Options' hack... i was getting confused who i was when i was... ;)
i think i logged out and in about 1zillion times... so the name helped me. :)

Chris M 09-07-2002 10:36 AM

I like it:)

Satan

Hobbes 12-20-2002 04:52 AM

One question

where do I put the code TECK provided for being logged out to the forums?
Code:

<td align="right"><a href="../index.php?s=<?php echo $session[sessionhash]; ?>" target="_blank">HOME</a> | <a href="../member.php?s=<?php echo $session[sessionhash]; ?>&action=logout" target="_top">LOG OUT</a></td>
</tr>

???? Where do I put that in members.php ?

Silenced Soul 12-20-2002 08:14 PM

I added this back on the vB 2.2.1... i don't see the big point of it... other than to test security of hacks when your updating your admin cp.

Oblivion Knight 04-11-2003 09:21 PM

Interesting TECK, I like it :). Thankyou!

[high]* Oblivion Knight clicks install.[/high]

Crank 01-28-2004 12:49 AM

installed


All times are GMT. The time now is 11:24 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.01089 seconds
  • Memory Usage 1,722KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete