View Full Version : Problem with formatting a new BB code PAGE
dannefaerd
05-31-2007, 09:57 PM
Hi guys,
Done a search, but can't find anything relevant that helps. I'm having trouble with creating a new BB code page.
ADMINCP --> vBa CMPS --> Add Page --> BB Code
The problem is that I cannot use the drop down Fonts, Sizes, Font Colour or Smiles selectors (i.e. I click on the arrow and nothing drops down). This is a pain as I am trying to format blocks of text I've already put in place.
Any ideas why this would be happening and what I can do to fix it?
Brian
06-01-2007, 12:14 PM
Thank you for pointing this out. If you'll look in your admincp/vba_cmps_admin.php file for this code (the 2nd instance, almost at the very bottom of the file):
print_cp_footer();
And add this on the line above it:
if ($_REQUEST['do'] == 'editpage' OR $_REQUEST['do'] == 'addpage' OR $_REQUEST['do'] == 'copypage' OR $_REQUEST['do'] == 'addmodule' OR $_REQUEST['do'] == 'editmodule' OR $_REQUEST['do'] == 'copymodule')
{
echo '<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>';
}
Then that should take care of the problem.
KW802
06-02-2007, 10:34 PM
Brian, print_cp_footer(); appears twice in RC1 (line 4061 & 1237) -- Should both be updated?
Brian
06-03-2007, 12:39 PM
Whoops, I didn't think about that. The change needs to be applied to the one at the very bottom of the file though.
dannefaerd
06-04-2007, 10:04 PM
Thank you for pointing this out.
Not a problem ... this worked as specified!
Thanks for that Brian ... will post anything else like this I find in the right forum next time :)
Cheers from New Zealand.
Martin
fusiongoddess
06-07-2007, 10:00 AM
Yay! Thank you for posting this problem and fix!!
djnth
06-08-2007, 02:47 PM
This fixed the drop down text options but my buttons are all messed up and I can't switch editor modes. See screenshot.
Brian
06-09-2007, 12:33 PM
Please see this thread for the images.
http://www.vbadvanced.com/forum/showthread.php?t=1345
Not being able to switch editor modes is a know problem that we are probably not going to be able to fix. You can still change the editor you use through your User CP though.
Gary Bolton
06-23-2007, 01:28 AM
Can you just clarify this Brian, do we only need to change the bottom line only, or both instances of it which KW802 pointed out?
Brian
06-23-2007, 01:18 PM
You only need to change the one at the very bottom of the file.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.