The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I'm defintely stupid. Gimme lol ... I spent like 2 hours on this trying different variables of the code, and just gave up, lol ... |
#12
|
||||
|
||||
ok, so let's give it a try then
quite before the line i posted above put this: PHP Code:
|
#13
|
|||
|
|||
OMG... I was defintely close then...
I didn't do the $profilefield['value'] line. I knew it had to be nested somehow. *sigh*... |
#14
|
|||
|
|||
this is what I had, LOL
PHP Code:
|
#15
|
||||
|
||||
well, as long as you learnt something, it was worth the time, don't you think? |
#16
|
|||
|
|||
*nods* lol
PHP isn't my thing, but am always willing to learn, lol ... |
#17
|
|||
|
|||
Humm...
LOL We broke something Apparently the biography field is spitting out <br />'s as well which is HTML code. Here's an example from my biography field... dfasdfasdfasf<br />asdfsadf<br />asdfsadf<br /><br />sdaasdfwewqef<br /><br />wefwefwef<br />wefwqefwef<br />wef<br />wqefwefwqef<br /><br />wqefwefqwef<br />wqef<br />weqf<br />wqef<br />qwef *laughs* *shrugs* |
#18
|
||||
|
||||
change the 0 in my code into a 1.
as the htmlpart is already done before, two times htmlspecialchars.. will produce that bug then |
#19
|
|||
|
|||
hey xeon, you rock dude, been looking for this forever, just tried it and its perfecto!!!!
|
#20
|
|||
|
|||
Is there anyway to do this in vb 3.5? I was hoping this would work, it doesn't.
HTML Code:
if ($profilefield['profilefieldid'] == 27) { require_once(DIR . '/includes/class_bbcode.php'); $bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $profilefield['value'] = $bbcode_parser->parse($profilefield['value'], 0, true); } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|