The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Okay after trying to figure it out for 4 hours im asking you guys to help me out
i am trying to (after using the memberinfo hack) permit the users to change their background,color etc using css so i instead of the header : <Style type="text/css">$userinfo[field30]</style> wich field30 is a field where they can input their css but as soon as i remove headinclude a bunch of javascript error comes up..........i have no idea how to fix it.... anyone? Thanks in advance i got this figured out now... my next question i wanna input a condition if this user complets the field # then show the css else show headinclude how can i write that? Thanks! |
#2
|
|||
|
|||
![]()
Hey,
In your template MEMBERINFO you can add <if condition="$userinfo[field30]"> <style type="text/css">$userinfo[field30]</style> <else /> $headinclude </if> |
#3
|
||||
|
||||
![]() Quote:
![]() where and how do i set the field for them to choose their font color? |
#4
|
|||
|
|||
![]()
I don't really get your last question?
If you don't know where to put the previous code: just in the <head> tags of your memberinfo where $headinclude was. If you want a field for the users so they can put in their font color (rgb code). Then you can just add a custom user field and then return it on a profile with: $userinfo[fieldfieldid] So if the field id is 30 $userinfo[field30] |
#5
|
||||
|
||||
![]() Quote:
what i want is example $userinfo[field30] is blue i want the whole memberinfo text to be blue.... thats what i meant by choose their font color for their profile thanks for your help |
#6
|
|||
|
|||
![]()
something like
<div style="color:$userinfo[field30];">TEXT</div> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|