vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v2.0 Support > Bugs & Issues > Bugs From 2.0 RC1

 
 
Thread Tools Display Modes
  #1  
Old 06-13-2005, 10:09 AM
Morwyn's Avatar
Morwyn Morwyn is offline
Evil Mummy
 
Join Date: Nov 2004
Posts: 64
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  
Old 06-13-2005, 10:10 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
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  
Old 06-13-2005, 10:13 AM
Morwyn's Avatar
Morwyn Morwyn is offline
Evil Mummy
 
Join Date: Nov 2004
Posts: 64
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  
Old 06-13-2005, 10:28 AM
Morwyn's Avatar
Morwyn Morwyn is offline
Evil Mummy
 
Join Date: Nov 2004
Posts: 64
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  
Old 06-13-2005, 10:43 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: [img] problem with CMPS 2.0 on new page :/

Is the 'Allow [IMG] code' button set to 'Yes' for that module?
  #6  
Old 06-13-2005, 12:37 PM
Morwyn's Avatar
Morwyn Morwyn is offline
Evil Mummy
 
Join Date: Nov 2004
Posts: 64
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  
Old 06-13-2005, 01:06 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
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  
Old 06-13-2005, 01:07 PM
Morwyn's Avatar
Morwyn Morwyn is offline
Evil Mummy
 
Join Date: Nov 2004
Posts: 64
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  
Old 06-13-2005, 01:35 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
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  
Old 06-13-2005, 01:36 PM
Morwyn's Avatar
Morwyn Morwyn is offline
Evil Mummy
 
Join Date: Nov 2004
Posts: 64
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
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DB Problem after CMPS Install chaoticmage Troubleshooting / "How do I..." Questions 8 05-08-2005 06:54 PM
Having A problem wit cmps kanyewest69 Troubleshooting / "How do I..." Questions 2 03-21-2005 09:24 PM
Problem.. CMPS DenzoForums Troubleshooting / "How do I..." Questions 16 03-21-2005 03:12 PM
Problem going from vBa Homepage 1.1 to CMPS JonUrban Troubleshooting / "How do I..." Questions 7 10-30-2004 06:03 PM


All times are GMT -4. The time now is 02:25 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.