XF 1.1 Post Replacement help!

Lilybet

Member
having converted over from vB4, I just have an issue with Post Replacements from vB4, and would ask some kind soul to help me convert them over by offering advice on how to:

1. Convert 'Fieldset' bbcode; I have at present:

Code:
[fieldset="Members' Birthdays!"] 123456789abc[/fieldset]

I have the Post Replacement mod installed on XF, and I just require the replacement codes to convert existing BBcode, so I require:

Regular Expression:
Replacement String:

Thank you!
 
Quick Find: [fieldset

Regular Expression: #\[fieldset="([^"]+)"\](.+)\[/fieldset\]#siU

Replacement String: [code]\1 \2[/code]

The replacement is up to you. XenForo doesn't have a "fieldset" BB code so I don't know what you want to replace it with. But the \1 and \2 variables are in reference to the two values from the regex.

FYI for others, he is using this addon:

http://xenforo.com/community/threads/post-content-find-replace.6548/
 
thanks, Jake ! :) It didn't finish converting ALL posts as the site was hanging for a long period during the conversion.

another request please:

Code:
[highlight]XENforo[/highlight]

it just hightlights text in yellow!
 
Top Bottom