The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
styleid variable?
I would like to know the variable to display the style id of the user, so that i can put it in (for example) the postbit, and display the style id.
If there is no variable that does this, could you tell me a way that i might be able to do this? |
#2
|
||||
|
||||
You can try $post[styleid]
|
#3
|
|||
|
|||
thank you, that worked
|
#4
|
||||
|
||||
Note that the "styleid" value only reflects the correct setting if it was set from the User CP. If the user changes the style from the style drop-down in the footer, it only adds a cookie to the user's session.
|
#5
|
|||
|
|||
i've already fixed that problem with a script that i have created. Thanks tho.
Another question I have is how would I display this variable in the profile $profile[styleid] $prepared[styleid] do not work. Thanks again. |
#6
|
||||
|
||||
Try $userinfo[styleid].
|
#7
|
|||
|
|||
ok sorry to be a pain, but how do you get the default styleid and name?
|
#8
|
||||
|
||||
Quote:
You'll need to look at the profile.php page to see how the user info is grabbed and used. |
#9
|
|||
|
|||
that variable did work, thanks.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|