Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 Next > End >>
Re:Nants bug question
Date: 2006/08/11 02:30 By: chris.n Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 19
graphgraph
I get a similar problem of counter in my Joomla 1.0.10 Stable (migrated from RC2) + CB 1.0 stable:
- Add picture1 OK counter=1
- Add picture2 OK counter=2
- Add picture3 message says OK but the picture does not appears
- Add picture3 again. Same problem.

------------------

I did some more tests, trying to understand my problem.
Removing picture, adding others, etc. I get the problem several time, but not on all pictures. So I try to look around...

I think I found the bug: 'quotes'

Add picture1:
- title: Secret spot near le porge
- comment: One of my favourite place
Upload OK

Add picture1:
- title: It is me
- comment: This is a picture of me
Upload OK

Add picture2:
- title: It's me
- comment: This is a picture of me (with quotes in the title)
Upload KO + Message thumb creation + add photo & size to counter

This both concerns the title and description fields.

Need to use the addslashes() function to backslash quotes into the SQL order. I guess it is into the _pgSave() function of components/com_comprofiler/plugin/user/plug_cbprofilegallery/cb.profilegallery.php script

Tested on my website: Problem solved.

Post edited by: chris.n, at: 2006/08/10 20:57
Click here to see the profile of this user The administrator has disabled public write access.

Re:Nants bug question
Date: 2006/08/11 03:41 By: nant Status: Admin  
Karma: 467  
Admin

Posts: 6235
graph
Are you using RC2 of the plugin?

If so - what is the exact title and description that are causing you problems?

Can you try on this site and replicate the problem?
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login