![]() |
Direct Link to User's ACP Profile in Postbit for Admins
------------------------------------------------------------------------------>
Direct Link to User's ACP Profile in Postbit for Admins ~ A hack by N9ne // March 18th 2003 ~ Copyright N9ne 2003+ ------------------------------------------------------------------------------> ------------------------------------------------------------------------------> What does this hack do? ~ It adds a link in the postbit to only administrators. ~ Upon clicking the link, you are taken directly to the user's profile, in the adminCP. ~ This hack was created for convenience. ------------------------------------------------------------------------------> ------------------------------------------------------------------------------> What do i need to do to install this hack? ~ 3 file modifications [admin/functions.php and showthread.php] ~ One template modification [postbit] ~ Add one template [postbit_useradmin] ------------------------------------------------------------------------------> Screenshot in next post! |
Screenshot of link in postbit // Remember: You can place the link anywhere you want in the postbit!
|
Preeeetttty simple :p It's ok, I guess. :)
|
It's simple yes, but is that enough reason to reply to it stating that :rolleyes:
|
This can be (somewhat) done with phpinclude. Hacking just gives a cleaner resulting HTML.
|
Filburt, in your eyes, everything can be done in phpinclude :).
Wouldn't using phpinclude in this, and calling an extra template, add a query per page? |
is that the same link thats in the profile?
|
Yes, on the get info page, there's the administrative options link, this link that is put in the postbit has the same URL, except it's only viewable by administrators.
|
Nice little hack, N9ne. ;) I did this a while back using Logician's Dynamic Templates hack. No PHP files were harmed in the making of that hack. ;)
|
Quote:
No, it just makes messy HTML. |
All times are GMT. The time now is 10:08 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:
|