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-06-2005, 01:07 PM
paul41598 paul41598 is offline
Member
 
Join Date: Jun 2004
Posts: 98
Question Editing BB Code Module Issue

I made a BB code module and put in my html. However now its showing HTML code on my homepage. So i went back in and set it to "allow HTML", but everytime I hit save and go back to edit it, it defaults to NO again.

I cant get the settings to save. Is this a bug or..?

Thanks!
  #2  
Old 06-06-2005, 01:08 PM
paul41598 paul41598 is offline
Member
 
Join Date: Jun 2004
Posts: 98
Default Re: Editing BB Code Module Issue

actually, if I delete it, then make a new one too, all the values are default to yes. If I keep it like that, then save, then go back, there all NO. Argh
  #3  
Old 06-06-2005, 01:16 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Editing BB Code Module Issue

If you'll look in your admincp/vba_cmps_admin.php file for this code:
PHP Code:
    construct_cmps_settings('module'); 
Add this right below it:
PHP Code:
    if ($module['inctype'] == 'bb_code')
    {
        
$module['options'] = serialize($setting);
    } 

Then look in your includes/vba_cmps_include_bottom.php file for this code:
PHP Code:
                $home["$mods[modid]"]['content'] = parse_bbcode2($mods['filename'], $mod_options['allow_html'], $mod_options['allow_image_code'], $mod_options['allow_smilies'], 1); 
And add this right above it:
PHP Code:
$mod_options unserialize($mods['options']); 
That should take care of the problem.
  #4  
Old 06-06-2005, 01:21 PM
paul41598 paul41598 is offline
Member
 
Join Date: Jun 2004
Posts: 98
Default Re: Editing BB Code Module Issue

That brilliantly solved every issue I had with HTML and BB Code. Nice Fast response. Thanks again for the Quick Fix!
  #5  
Old 06-14-2005, 11:58 AM
MotoUp MotoUp is offline
Senior Member
 
Join Date: Jul 2004
Posts: 221
Default Re: Editing BB Code Module Issue

Brian, that worked for me too to allow me to save changes, however, when I save a template, doesn't matter which one, I'm getting an Invalid Argument. But it's flashing too fast on the screen so I can't read the whole thing.
  #6  
Old 06-14-2005, 12:00 PM
MotoUp MotoUp is offline
Senior Member
 
Join Date: Jul 2004
Posts: 221
Default Re: Editing BB Code Module Issue

Okay, I took a quick screen shot of it, here it is...

Warning: Invalid argument supplied for foreach() in /includes/adminfunctions_vba_cmps.php on line 634

I hope that helps.
  #7  
Old 06-14-2005, 12:31 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Editing BB Code Module Issue

http://www.vbadvanced.com/forum/showthread.php?t=8513
  #8  
Old 06-14-2005, 12:34 PM
MotoUp MotoUp is offline
Senior Member
 
Join Date: Jul 2004
Posts: 221
Default Re: Editing BB Code Module Issue

Thank you. Sorry about that, I searched, but didn't see it.
  #9  
Old 06-27-2005, 05:21 PM
Lorenzo Lorenzo is offline
Junior Member
 
Join Date: Nov 2004
Posts: 4
Default Re: Editing BB Code Module Issue

I'm having the same problem it's still showing HTML and all, I've done everything you listed but yet still works
 


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
Editing Module Error Lizard King Troubleshooting & Problems 6 06-06-2005 04:22 PM
How do I edit the code in the Active Users module tomshawk Troubleshooting / "How do I..." Questions 3 05-30-2005 02:07 PM
Use same module code in multiple modules? Tom M Troubleshooting / "How do I..." Questions 3 05-10-2005 12:37 PM
Link Module code ? morby Troubleshooting / "How do I..." Questions 6 08-18-2004 12:48 PM


All times are GMT -4. The time now is 08:39 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.