The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Icon next to posts that links to user profile (for admins) ???
Is there a mod that will put an icon next to each post linking to the admin page of that user's profile? (for quick user editing)
Right now I've got to copy the user's name, open a new tab, log in to admin page, click users, click search, enter username. If there was a ONE-CLICK way to get there available to admins/mods next to each user's post, it would be VERY helpful. |
#2
|
|||
|
|||
You could put this somewhere in the postbit or postbit_legacy template:
Code:
<if condition="$show['admincplink']"> <a href="admincp/user.php?$session[sessionurl]do=edit&u=$post[userid]" target="_blank">User Admin</a> </if> If you don't want it to open a new window, remove target="_blank". |
#3
|
|||
|
|||
THanks! (I'm just not sure where to insert it - the first spot I tried, it said it would cause some fatal error if I continued saving postbit so I chickened out and removed it
There *was* a mod for this posted a few days ago, I just can't seem to find it. (??) |
#4
|
|||
|
|||
I've tested and corrected the code....couple of unnecessary apostrophes were causing that error. It *should* work now.
|
#5
|
|||
|
|||
Awesome! Seems to work great.
PS: any idea where it should be inserted so it's located to the RIGHT of the line that shows .. USERNAME [online/offline status icon] [UserAdmin Link here] I'm trying different areas but keep putting it into part of postbit that wants to give me errors if I continue with the change. --------------- Added [DATE]1197159375[/DATE] at [TIME]1197159375[/TIME] --------------- IGNORE last post! Found the correct spot for it. Thank you VERY much. This will save SOO much time doing quick user edits. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|