The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
i feel like im wasting yer time, im sorry about this but
i did whats above, saved and uploaded it, logged in as a new user with zero postcount and i can still view and edit that custom profile field for changing usertext color ive installed several wonderfull hacks from this forum, but i cant resolve this simple one |
#12
|
||||
|
||||
sorry, you have to edit the register.php in the same way
my fault, forgot to say that |
#13
|
|||
|
|||
under User Control Panel For test > Edit Profile > Additional Information i still see the custom profile field "Custom Title Color: enter in a hex code to change the color of yer usertitle"
when when im logged in as a brand new member with zero posts and it even still shows up when im in the registration process perhaps i went about adding colored user titles the hard way from the very beginning is there an easier to solve method to do all this? |
#14
|
||||
|
||||
hm, normally, you can add the variable in functions.php and not in the postbittemplate, so its easier for you to take out the functions for special users/usergroups
|
#15
|
|||
|
|||
im not sure what you mean by that
i removed the folowing cause too many new members were just abusing the privlegde -code above that i added to the postbit template <font color="$post[fieldx]">$post[usertitle]</font> -deleted the custom profile field for usertext color -and reset the member.php and register.php back to original perhaps i really should be going about all this a different way thanks for all yer help and patience so far, i'd love to get this solved. |
#16
|
||||
|
||||
ok, you already have this profilefield right?
then open your functions.php find in the getpostbit section: PHP Code:
PHP Code:
|
#17
|
|||
|
|||
i readded the custom profile field for "custom user title color", changed yyy to 500 and fieldx to field6 (which is the number of the custom profile field) and still no go
i can still view the option as a new member with zero posts and when i do edit it as an admin with 5000 posts, the title color doesnt change if using the name of a color (brown) or as a hex code when posting |
#18
|
||||
|
||||
"i can still view the option as a new member with zero posts"
yes, but it has no use till the user has 500 posts "when i do edit it as an admin with 5000 posts, the title color doesnt change if using the name of a color (brown) or as a hex code when posting" must doing something wrong, i know it works. |
#19
|
|||
|
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ok, we made serious progress i misjudged my paste job and was pasting before a } and not after but that code is for user name color which is just fine can i do the same for user title colors, and just alter the code to if($post[posts]>yyy) $post[usertitle]="<font color=".$post[fieldx].">".$post[usertitle]."</font>"; and paste it directly after the previous code for user name color? THANK YOU SO MUCH! |
#20
|
|||
|
|||
welp, i threw caution to the wind and just did it and...
IT WORKS!!!!!!!!!!!!!!!!!!!! Xenon, you are an all-star i thank you much respect ******************* EDIT actually, when i do this, i makes the users show up as "guests" with "N/A postcounts" in all the threads unless they are currently logged in it seems i have to add that second piece of code for usertitle color somepleace else any thought? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|