![]() |
Make a new custom profile field with Single-Selection Radio Buttons as field type.
It will display an option in Edit Option section in UserCP(take a look at the attachment) and $post[field5](5 as your field id) with contain the user's value...if you want it more detail, just ask ;) |
<a href="http://www.driftchat.com/forum/showthread.php?p=190#post190" target="_blank">http://www.driftchat.com/forum/showt...?p=190#post190</a>
All I did was added user ranks. As stated above with a simple template mod you can just add a single line text, use HTML, put the phrase in your template and viola! |
Thank You :)
Goog job ! |
this is pretty cool i just set it up to work with my admins but im tring to set it for dirent pic for diffrent groups can anyone help me cause im using the rank par for post count bar the more they post the father it goes.
|
Quote:
Regards, -Mika |
im getting errors from the psd....strange
*ignore above* Got Hack Working *INSTALLED* |
Quote:
|
Install, thx, work with no problem.
be good to have it diffrent pics for diffrent ranks tho. |
Not hard to do - create separate icons, and separate templates for each group - here, we'll have admins, mods, and other staff:
In functions_showthread.php, add the following instead of just what's in the instructions: PHP Code:
Code:
<div><img src="images/ranks/iconadmin.jpg" alt="$post[usergrouptitle]" border="0"></div> Code:
<div><img src="images/ranks/iconmod.jpg" alt="$post[usergrouptitle]" border="0"></div> Code:
<div><img src="images/ranks/iconstaff.jpg" alt="$post[usergrouptitle]" border="0"></div> Replace '30' with whatever number (or numbers) identify the usergroupsyou want as "staff" - obviously, this is a scalable change: create asmany or as few icon/template pairs as you'd like, and set up the ifstatement in the php file to match. |
The icons I'm using in that modification, for reference:
http://boards.briankaul.com/boards/b.../iconadmin.jpg http://boards.briankaul.com/boards/b...ks/iconmod.jpg http://boards.briankaul.com/boards/b.../iconstaff.jpg (Actually this one's currently not assigned to any real groups right now) |
All times are GMT. The time now is 01:44 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:
|