![]() |
'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.
|
A screenshot...
|
Well it's defiantly useful for those forums with more than one admin ;)
I usually just log out by the forum. Good job though :) |
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... ;) |
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> 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. :) |
I like it:)
Satan |
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> |
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.
|
Interesting TECK, I like it :). Thankyou!
[high]* Oblivion Knight clicks install.[/high] |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|