The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using strlen() in vBulletin
I am trying to do this:
Code:
<!-- START STRETCHY POSTBOX FOR LONG NAMES --> <if condition="strlen($post[musername]) < 25"> <div id="postmenu_$post[postid]" style="white-space: nowrap;"> <else /> <div id="postmenu_$post[postid]"> </if> <!-- END STRETCHY POSTBOX FOR LONG NAMES --> |
#2
|
||||
|
||||
Add
PHP Code:
|
#3
|
|||
|
|||
Okay, that's in the admin panel?
Edit: Okay. Okay, I got it to work Only problem that I ran into... Vbulletin only allows 25 char long usernames :/ All that for nothing :P At least I know how to add the functions now |
#4
|
|||
|
|||
acp=>addons and plugins=>new plugin
|
#5
|
|||
|
|||
admincp>vboptions>User registration options>Maximum username length.
Increase that if you want longer user names. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|