PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 16th, 2008, 06:22 AM   #1 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Captcha Not Working

I just discover that the captcha code does not work

When a user inputs just a comment, without captcha, the comment can be submitted WITHOUT the captcha code

can someone verify on their latest install of PP 6.2

l_b3222a56b17677523de2a9aaa0fbb2fa - Image hosting, free photo sharing & video sharing at Piqueshare
skidpics is offline   Reply With Quote
Old October 16th, 2008, 06:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Yes a comment can be added without captcha

I will need to talk with Michael it may be related to him moving that code block when you reported the thing about rating an image and not being able to do it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 16th, 2008, 10:37 AM   #3 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Quote:
Originally Posted by Chuck S View Post
Yes a comment can be added without captcha

I will need to talk with Michael it may be related to him moving that code block when you reported the thing about rating an image and not being able to do it

thanks for checking into it.

only way I knew was with spam comments all of the sudden
skidpics is offline   Reply With Quote
Old October 16th, 2008, 07:12 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,860
Okay, I think I know the problem here; line 286 in comments.php should read:

Code:
Content visible to verified customers only.
Now, do we want to require CAPTCHA for ratings, too? If so, I think we have to remove the strlen portion as well.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old October 16th, 2008, 08:10 PM   #5 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Quote:
Originally Posted by Michael P View Post
Okay, I think I know the problem here; line 286 in comments.php should read:

Code:
Content visible to verified customers only.
Now, do we want to require CAPTCHA for ratings, too? If so, I think we have to remove the strlen portion as well.
No, no captcha for ratings, that would defeat the purpose of quick rate
skidpics is offline   Reply With Quote
Old October 16th, 2008, 08:13 PM   #6 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
code works.. thanks!

got one more problem now though, not captcha related, so feel free to split topic.

On the comment, when I click the Bold Italics, etc.. the page does nto apply the bbcode but rather, jumps to the top of the page..

the style buttons are pointing to this link: http://piqueshare.com/gallery/showphoto.php?photo=1669#

or whatever pic I am viewing
skidpics is offline   Reply With Quote
Old October 16th, 2008, 08:17 PM   #7 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Quote:
Now, do we want to require CAPTCHA for ratings, too? If so, I think we have to remove the strlen portion as well.
Maybe in a future release, this issue should be optional??
skidpics is offline   Reply With Quote
Old October 21st, 2008, 05:54 PM   #8 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Michael,

Will this issue be updated in the version download?
skidpics is offline   Reply With Quote
Old October 22nd, 2008, 09:27 PM   #9 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Quote:
Originally Posted by Michael P View Post
Okay, I think I know the problem here; line 286 in comments.php should read:

Code:
Content visible to verified customers only.
Now, do we want to require CAPTCHA for ratings, too? If so, I think we have to remove the strlen portion as well.
this seems to work, but if you click a rating within the comment field, it will still let the comment through,without the captcha. if there is NO rating selected, it needs to captcha to go through..
skidpics is offline   Reply With Quote
Old October 23rd, 2008, 06:19 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
The way I read that line of code is simply that if you have captcha on and the user is a guest and the message is not empty meaning its more than a rating then CAPTCHA is required.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 23rd, 2008, 06:23 AM   #11 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Quote:
Originally Posted by Chuck S View Post
The way I read that line of code is simply that if you have captcha on and the user is a guest and the message is not empty meaning its more than a rating then CAPTCHA is required.
correct, but the code basically does: If Captcha is selected, and the message is NOT empty, go ahead and process the message. instead of captcha required.
skidpics is offline   Reply With Quote
Old October 23rd, 2008, 06:28 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Does captcha show on the page your on? Its a little early and coffee is not ready Looking at the block all that determines is whether we check the captcha code against the database or not and pass the comment on fail you.

So obviously I dont have the whole picture here from what your posting. The code is NOT going to do what your saying it does not that section of code unless of course you dont have any catpcha on the page.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 23rd, 2008, 06:36 AM   #13 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
code is the same, except for the change on 268 that replaced:

Quote:
if ( isset($_POST['comid']) && $Globals['usecaptcha'] == "yes" && $User['userid'] < 1 && strlen($message) > 0 )
to:
Quote:
if ( $Globals['usecaptcha'] == "yes" && $User['userid'] < 1 && strlen($message) > 0 )
Perhaps you misunderstood my post the first time.

Captcha IS working, however, IF a rating is selected, And a message is entered, the captcha is bypassed... with the change that Micheal noted in the previous post
skidpics is offline   Reply With Quote
Old October 23rd, 2008, 06:41 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
And thats with the removal of that one part of code

What is strange though is that section of code still requires that captcha be checked regardless of a rating or not if there is a message
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 23rd, 2008, 06:49 AM   #15 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Quote:
Originally Posted by Chuck S View Post
And thats with the removal of that one part of code

What is strange though is that section of code still requires that captcha be checked regardless of a rating or not if there is a message


I checked the code again. looks like I was missing a {

appears to be working now.

rating only, it is passed on. Rating with comment, captcha required.

thanks for you help there Chuck, with the dup code, that helped!
skidpics is offline   Reply With Quote
Old October 23rd, 2008, 06:55 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
LOL Not a problem knew you had to be missing something

If clauses are pretty straight forward unless you mess up their logic and that login was sound which is why I was asking you if captcha was even showing on your page.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 23rd, 2008, 06:59 AM   #17 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Yea - Captcha was showing, but just working right..

Enjoy the coffee there. I am off to work..

thanks!
skidpics is offline   Reply With Quote
Old October 23rd, 2008, 07:09 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
I will be off to work soon as well but coffee is always a must in the morning for me.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


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

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CAPTCHA not working...just has "*", no picture cokertire Photopost Pro Installation & Upgrades 3 March 10th, 2011 08:28 AM
CAPTCHA not working xrvjorn Photopost Pro Installation & Upgrades 1 December 5th, 2007 08:41 AM
captcha? Garrynz General Discussion 1 November 7th, 2007 08:11 AM
PP 6.0 - Regsitration with & without captcha not working snoopy5 Photopost Pro Bug Reports 6 September 26th, 2007 11:47 AM


All times are GMT -5. The time now is 10:57 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0