PDA

View Full Version : Supermods can edit user's custom titles via the ModCP


j883376
11 Mar 2006, 03:32
As some of you may or may not know, a Supermod has a couple of good, but also very limited tools when it comes to editing a user. The built in functions are as follows

[View Profile] [Change Signature] [Change Avatar] [Change Profile Picture]

Now, if they can ban them, edit their sig, their avatar, and their profile picture, why shouldn't they be able to edit the member's custom title?
Once installed, Supermods will have a new option in their ModCP when they search for a user labeled [Change Custom Title]

This hack requires 3 edits to the file user.php which can be found in the modcp directory of your forums.

Find


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


And change it to


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Next, you must find

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Below that add:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Finally, find

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Above it add:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


You need also make a phrase for it to display the words Custom Title in the ModCP

ACP > Languages & Phrases > Phrase Manager > Add New Phrase

[b]Phrase Type: Control Panel User Management
Product: vBulletin
Varname: change_title
Text: Change Title

You're all done! Now go check the ModCP and you should have a nice new option to change the custom title. :)

hiiped
11 Mar 2006, 05:03
This is cool

thanks

j883376
11 Mar 2006, 05:41
This is cool

thanks
If you install it, please click Install. :(

OWNAGE TIME
11 Mar 2006, 21:04
Good job man thanks.

~Ownage

j883376
12 Mar 2006, 19:37
I wish there were hooks inside of those 2 spots so I wouldn't need to have a Code Modification for this and could use a plugin :(

Zowners
16 Mar 2006, 22:20
very nice! Thanks man!

Snake
28 Mar 2006, 13:45
Cool hack. Thanks!

j883376
29 Mar 2006, 23:55
Cool hack. Thanks!
Please hit Install if you install this hack :(

Deagle Man
09 Apr 2006, 13:59
GREAT hack. Thank you very much.

/me clicks install

Sir Rb
30 Apr 2006, 00:28
Awsome :)

Soonerdude
24 Apr 2007, 16:25
I need something like this for 3.6.x

WhaLberg
24 Apr 2007, 16:30
I need something like this for 3.6.x

Why don't you give it a try if it works for 3.6.x or not.