Results 1 to 10 of 10

Thread: Problem with formatting a new BB code PAGE

  1. #1
    Join Date
    Jun 2006
    Posts
    9

    Default Problem with formatting a new BB code PAGE

    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?

  2. #2
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Problem with formatting a new BB code PAGE

    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):
    PHP Code:
    print_cp_footer(); 
    And add this on the line above it:
    PHP Code:
    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.
    Last edited by Brian; 07-12-2007 at 11:34 AM.

  3. #3
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default Re: Problem with formatting a new BB code PAGE

    Brian, print_cp_footer(); appears twice in RC1 (line 4061 & 1237) -- Should both be updated?

  4. #4
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Problem with formatting a new BB code PAGE

    Whoops, I didn't think about that. The change needs to be applied to the one at the very bottom of the file though.

  5. #5
    Join Date
    Jun 2006
    Posts
    9

    Default Re: Problem with formatting a new BB code PAGE

    Quote Originally Posted by Brian View Post
    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

  6. #6

    Default Re: Problem with formatting a new BB code PAGE

    Yay! Thank you for posting this problem and fix!!

  7. #7

    Default Re: Problem with formatting a new BB code PAGE

    This fixed the drop down text options but my buttons are all messed up and I can't switch editor modes. See screenshot.

  8. #8
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Problem with formatting a new BB code PAGE

    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.

  9. #9

    Default Re: Problem with formatting a new BB code PAGE

    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?

  10. #10
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Problem with formatting a new BB code PAGE

    You only need to change the one at the very bottom of the file.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Quote Tags still break page formatting
    By Mark.B in forum Troubleshooting & Problems
    Replies: 12
    Last Post: 05-30-2007, 04:51 PM
  2. bug - AdminCP formatting problem
    By convergent in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 05-26-2007, 12:23 PM
  3. News module formatting problem
    By iamme in forum Troubleshooting & Problems
    Replies: 7
    Last Post: 02-03-2007, 11:36 AM
  4. Formatting html output problem with custom pages
    By Masiello in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 12-23-2005, 02:20 PM
  5. Problem with vbcode, img code and html for news on front page
    By Bambi in forum Troubleshooting / "How do I..." Questions
    Replies: 4
    Last Post: 11-07-2004, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •