vBulletin and MyBB use different BBCodes for certain things, you'll have to alter them in MyBB to match what you had in vB... no clue how to do that as I've never tried though, sorry.
You can create custom MyCodes for the vBulletin BBcode until I fix it in the Merge System
You can add these custom MyCodes to simulate what vB does:
Name: vB Color
Regex: \[color=(["'])([a-zA-Z]*|\#?[0-9a-fA-F]{6})\1](.*?)\[/color\]
Replacement: <span style="color: $2;">$3</span>
Name: vB Size
Regex: \[size=(["'])(xx-small|x-small|small|medium|large|x-large|xx-large)\1\](.*?)\[/size\]
Replacement: <span style="font-size: $2;">$3</span>
Name: vB Size Int
Regex: \[size=(["'])([0-9\+\-]+?)\1\](.*?)\[/size\]
Replacement: <span style="font-size: $2em;">$3</span>
Name: vB Font
Regex: \[font=(["'])([a-z ]+?)\1\](.+?)\[/font\]
Replacement: <span style="font-family: $2;">$3</span>
Name: vB Align
Regex: \[align=(["'])(left|center|right|justify)\1\](.*?)\[/align\]
Replacement: <p style="text-align: $2;">$3</p>
Name: vB Align 2
Regex: \[(left|center|right|justify)\](.*?)\[/\1\]
Replacement: <p style="text-align: $1;">$2</p>
Can anyone give me a SQL query that'll update all user signatures (except in mod and admin group) to be size 1?
I just converted and there's a lot of BIG fonts being used in signatures because vBulletin's size function is opposite of MyBB's - their small size BB code is MyBB's big size BB code!
Thank you.
If I understand you correctly, you can simply reduce the size of everyone's signatures by editing the postbit template - just stick something like:
<div style="font-size: smaller;">{$post['signature']}</div>
to make fonts smaller.
(not at home now, so can't verify if the code above is exactly correct)
ZiNgA BuRgA Wrote:If I understand you correctly, you can simply reduce the size of everyone's signatures by editing the postbit template - just stick something like:
<div style="font-size: smaller;">{$post['signature']}</div>
to make fonts smaller.
(not at home now, so can't verify if the code above is exactly correct)
Everyone's signature font size is different, so that won't help..
What do you really want? Strip the [size] tags from everyone's sigs?
Hello first thx for that great description but i dont get it working with smf code
[size=15pt][/size] how can i make there
or how can i make an change for smf list
[li]faster responding MSP[/li]
thx for the help