The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I post here because Jake Bunce advise me to do.
http://www.vbulletin.com/forum/showt...834#post718834 I know in a post a bb code is automaticaly closed but I want to do in a non-vbpage. Quote:
Someone have a solution ? |
|
#2
|
|||
|
|||
|
Code:
$bbcode = preg_replace("/(?is)\[(\/w)\](.*)(^\[\/\\1\])$/", "[\\1]\\2[/\\1]", $bbcode);
![]() Pretty much it searches for [anything] without matching [/anything] and addes the latter on on to the post. Hopefully... haven't tested it yet. |
|
#3
|
||||
|
||||
|
Thanks Modin I'll try it tomorrow because I'm too tired now !
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|