Results 1 to 10 of 10

Thread: [img] problem with CMPS 2.0 on new page :/

  1. #1

    Question [img] problem with CMPS 2.0 on new page :/

    Hello,

    When creating a new page using BBcode (with CMPS 2), it seems the [img] tag is not working. The images are displaying correctly in the admin menu, in the WSYWSGsomething window. However when I want to see the page on my website it is displaying the links of the images, and not the images. See for yourself here:
    http://www.cms-gratuit.com/index.php?page=defin01

    Useful info:
    - From the "edit pages" in CMPS menu>> Allow [img] code: checked.
    - CHMODED pics as 777, just in case
    - Allowed dynamic url with [img] code "afterward" (still no success) in the general options
    - Vbulletin version: 3.0.7.

    Does somebody have any idea why this pics are not displaying ?
    Le guide francophone des CMS opensource php/mysql sur cms-gratuit.com | BLOG | Go listen the new album from Satch

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: [img] problem with CMPS 2.0 on new page :/

    Sounds like a result of this bug:
    http://www.vbadvanced.com/forum/showthread.php?t=8438

  3. #3

    Default Re: [img] problem with CMPS 2.0 on new page :/

    lol...you're so fast to answer, thanks Bryan. I'm going to check this out.
    Le guide francophone des CMS opensource php/mysql sur cms-gratuit.com | BLOG | Go listen the new album from Satch

  4. #4

    Default Re: [img] problem with CMPS 2.0 on new page :/

    No that did not solve the problem. Note that my images are displaying well in "modules". I have no problems with the modules. This is only concerning the pages, when using BBcode. Instead of displaying the pic, it displays a link (whereas in the admin panel, in the editor, the pic is displaying correctly).
    Le guide francophone des CMS opensource php/mysql sur cms-gratuit.com | BLOG | Go listen the new album from Satch

  5. #5
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: [img] problem with CMPS 2.0 on new page :/

    Is the 'Allow [IMG] code' button set to 'Yes' for that module?

  6. #6

    Default Re: [img] problem with CMPS 2.0 on new page :/

    Yes, img tags are allowed for every modules & pages

    Edit: the name of my folders for adminCP and modCP are not "adminCP" etc...I changed them for security reasons a while ago, before I upgraded vb to 3.0.7 (from 3.0.5) and CMPS from 1.0 to 2.0. Could that be a problem, the fact that the names for these folders are differents from the default ones ?

    Edit2: Another tip, sometimes when I click on the "image" picture in the BBcode editor, instead of getting "http://" in the box that pops-up, I get a "null" oO.
    Last edited by Morwyn; 06-13-2005 at 12:53 PM.

  7. #7
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: [img] problem with CMPS 2.0 on new page :/

    I'm not entirely sure why you'd be having a problem with the images. If you'd like to submit a support ticket though I'll be glad to take a look.

  8. #8

    Default Re: [img] problem with CMPS 2.0 on new page :/

    Yep I'm going to do that because I have noooo idea why the tags are not working. Thanks for taking a look, I'm going to submit a ticket right now.

    [EDIT] Ticket submitted, good luck.
    Last edited by Morwyn; 06-13-2005 at 01:11 PM.

  9. #9
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: [img] problem with CMPS 2.0 on new page :/

    For anyone else that's having a problem with this, if you'll look in your forum/includes/vba_cmps_include_bottom.php file for this bit of code:
    PHP Code:
                            $home["$mods[modid]"]['content'] = parse_bbcode2($pages['template'], $pageoptions['custompage']['allow_html'], $pageoptions['custompage']['allow_image_code'], $pageoptions['custompage']['allow_smilies'], 1); 
    And replace it with this:
    PHP Code:
                            $home["$mods[modid]"]['content'] = parse_bbcode2($pages['template'], $cmps_options['custompage']['allow_html'], $cmps_options['custompage']['allow_image_code'], $cmps_options['custompage']['allow_smilies'], 1); 
    Then that should take care of the problem.

  10. #10

    Default Re: [img] problem with CMPS 2.0 on new page :/

    Rha ha ha =) , mighty you ! Thank you very much
    Le guide francophone des CMS opensource php/mysql sur cms-gratuit.com | BLOG | Go listen the new album from Satch

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. DB Problem after CMPS Install
    By chaoticmage in forum Troubleshooting / "How do I..." Questions
    Replies: 8
    Last Post: 05-08-2005, 06:54 PM
  2. Having A problem wit cmps
    By kanyewest69 in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 03-21-2005, 09:24 PM
  3. Problem.. CMPS
    By DenzoForums in forum Troubleshooting / "How do I..." Questions
    Replies: 16
    Last Post: 03-21-2005, 03:12 PM
  4. Problem going from vBa Homepage 1.1 to CMPS
    By JonUrban in forum Troubleshooting / "How do I..." Questions
    Replies: 7
    Last Post: 10-30-2004, 06:03 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
  •