Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ack! Post display problems after conversion!
#1
Please help me, I am having serious mess.
I just converted from vB 3.6.8 to MyBB...

This is how some of my users' posts are turning out:
http://www.gamingtrek.com/forums/xsg-ann...l#pid92476

Help pleasee
#2
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.
-Joe
AFreeCloud - Free Cloud-Based Web Hosting!
#3
You can create custom MyCodes for the vBulletin BBcode until I fix it in the Merge System
#4
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>

#5
ZiNgA BuRgA Wrote: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>


Thank you SO much!! Big GrinBig GrinBig GrinBig Grin
#6
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.
#7
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)
#8
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..
#9
What do you really want? Strip the [size] tags from everyone's sigs?
#10
Hello first thx for that great description but i dont get it working with smf code Sad

[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 Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)