PDA

View Full Version : Certain vb codes works in Admin panel, but not in forum


twospirits
06-25-2010, 05:20 PM
I've search to see if anyone else may have encountered this issue, but nothing close to it came up.

Site is running version 4.0.3
I started to add custom bb codes and all of them are working as they should in the admin panel, but some of them are not when I test run them in the forum.

First issue is the horizontal line in color codes.
Settings....
bbcode: hr-r
replacement: <HR color="#ff0000" />
example: [hr-r]1[/hr-r]
Use option: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping W/In This BB Code: No

Problem:
It looks fine in the admin panel and when testing it in the "Test your BB Code" section it works.
https://vborg.vbsupport.ru/external/2010/06/10.png (http://www.santafemods.com/Forum/AF/images/Issues/vbProblem1.png)

But in the forum the horizontal line (regardless if I do the red or blue one) does not show.
https://vborg.vbsupport.ru/external/2010/06/11.png (http://www.santafemods.com/Forum/AF/images/Issues/vbProblem2.png)

As for the table bb code this is the settings...
bbcode: table
replacement: <table border="0" width='100%' cellspacing=4 cellborder=0 cellpadding=1><CENTER>{param}</CENTER></table>
example: Row 1, Col 1Row 1, Col 2
Use option: No
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping W/In This BB Code: No

As before in the admin panel it works fine, but in the forums it appears with a border.
(this also happens with any custom sign smiley)
https://vborg.vbsupport.ru/external/2010/06/12.png (http://www.santafemods.com/Forum/AF/images/Issues/vbProblem3.png)

What could I be doing wrong? Any Suggestions.

ChopSuey
06-26-2010, 02:14 AM
Ask for help in the "Tables BBCode " Hack thread.