View Full Version : BB Code Module Options - Editior Problems

06-07-2007, 05:48 AM
I enter info and the editior worked fine. Made changes and now it will not insert spaces between lines.

Also, the button on the far right "switch editior" mode does not work.:confused:

06-07-2007, 11:48 AM
Thank you for pointing this out. It looks like the spacing issue with BB code modules is due to the WYSIWYG not having a style sheet linked up with it. There's not really a way to use the default style, but it looks like the code can at least be "tricked" into thinking it has one. If you'll look in your admincp/vba_cmps_admin.php file for this code:

// Print Admin Header

And add this right Above it:

if ($type == 'bb_code')
$extrahead .= '<link rel="stylesheet" type="text/css" href="" id="vbulletin_css" />';

Then that should take care of the issue.

For the "switch editor" button, I'm not sure there's going to be an easy way to make that work in the Admin CP. You can still switch between editor modes using your User CP settings though.