The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
From Custom to Custom
Question:
I've edited my forum to allow a text box vs. text line in a few of my custom profile fields. What I need, is when a user checks a profile, that the line breaks used in the Text Box are parsed properly. e.g. When you type in the text box, you can hit enter to return to the next line. When you view a profile, it still shows everything on one line. Any ideas? |
#2
|
||||
|
||||
Did you get this figured out?
|
#3
|
|||
|
|||
Nope.
|
#4
|
|||
|
|||
Just figured this out if anyone is interested.
This works for vb 3.5.4. I'm sure it works on versions above this as well. create a plugin with hook location "member_complete" The code will look like this: Code:
//This parses BBCODE and linebreaks for the memberinfo page $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $userinfo[field1] = $parser->do_parse($userinfo[field1]); |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|