Captcha (Visual Confirmation) for adding comments - Page 4 Captcha (Visual Confirmation) for adding comments - Page 4
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Captcha (Visual Confirmation) for adding comments

Started by Abbas Ali, March 25, 2006, 08:39:59 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Nibbler

They are in the file attached to the first post. Download and extract it.

diane

Quote from: TranzNDance on August 26, 2006, 11:18:54 PM
1.5 isn't coming soon.
TranzNDance

hello as these I am diane, please excuseme my ingles is not very good
I like much as you block the unloading of iamgenes if xs do not write msg favor you could send to me the code I already have I cosay of like avoiding the Spam in the commentaries

It´s very important Thank you

lac

Quote from: Abbas Ali on August 28, 2006, 07:24:41 AM
Which lines are you talking about? The attached files should be placed as it is.

Files modified

    * db_input.php
    * themes/yourtheme/theme.php
    * lang/english.php

Where I put this codes in the .php files? (Edit db_input.php and theme.php, etc...)

I don't know.

Thank you,

Regards,

diane

Quote from: Nibbler on August 28, 2006, 08:22:42 PM
They are in the file attached to the first post. Download and extract it.

you are the best thank you very much these code is very good
:) :) :) :) :) :) :) :) :) :) :) :)


Abbas Ali

Quote from: lac on August 28, 2006, 08:57:27 PM
Where I put this codes in the .php files? (Edit db_input.php and theme.php, etc...)

Instructions are given in my first post as to where to copy those lines of code in the files. Please read it carefully.
Chief Geek at Ranium Systems

diane



Thanks, Abbas! I had to disable comments .  ;) congratulation for these code.

Now I like to block pictures to download if the user dont´t writte a comment if you have the code plese help me, i like make any thingink like to the pague of  http://takethu.com/ these is the pague of TranzNDance

TranzNDance please help me I need make these please please please and thanks for your help.


Tranz

Quote from: diane on August 29, 2006, 04:22:46 PM
Now I like to block pictures to download if the user dont´t writte a comment if you have the code plese help me, i like make any thingink like to the pague of  http://takethu.com/ these is the pague of TranzNDance
This request is not related to the mod in this thread. You will need to search for such a mod though I am unsure if it exists. If you can't find it, please create another thread.

Additionally, my site is not using such a mod so I don't know why you pointed out my site with regards to it. I am flattered that you like my gallery enough to want to emulate it. :)

diane

Thanks TranzNDance really I lilke your site, but my english bad I think that you don´t understand you have in your site what I need.

in your site the link is inactive if the user dont´t writte the comment, and when writte the comment the user can make clic en the picture and see bic, this is what I need please help me  please please please please  :'(



Tranz

If I understand you correctly...

Actually, it's a coincidence that clicking on an image would open the big one and another time it doesn't. Not all my intermediate images are big enough to have the larger size. Looking at the pages where you left comments in my gallery, I can see where you came to the conclusion you did. However, regardless of whether a comment is left, this is how the images are:

Not linked/no big picture:
http://takethu.com/displayimage.php?pos=-396

Linked with big picture:
http://takethu.com/displayimage.php?pos=-608

diane

Thanks TranzNDance i need find tha codo to make this, if you know some one to know something obout it please tell me.

Thanks ;)

mvyvoda

Abbas,

Thanks for a mod to help with the comment spam problem. Can you, or some kind soul, help with my issue. I think I followed all the instructions carefully, however the captcha image doesn't show up, and i can comment without entering anything.

Here's a link to a picture: http://www.derpishi.com/gallery/displayimage.php?album=43&pos=3

Thanks in advance!!,
Mark

kromega

Guys,
Thanks for that mod, very usefull... at least when it will work 100% fine.
First thing, the behaviour is not similar depending on the language chosen !!! that seems really weird, as the theme doesn't change, right ??? any idea ???

e.g. in english, I've the captcha.php picture
http://www.fabski.com/images/displayimage.php?album=lastup&cat=0&pos=8&lang=english
but not in french, no picture !!!
http://www.fabski.com/images/displayimage.php?album=lastup&cat=0&pos=8&lang=french

second, with explorer, I've a redcross (image not found) but with Firefox, I've the image (at least in all languages but french) !

thanks for your help.

fabien
fabski - novice

Abbas Ali

@mvyvoda: Did you modified captcha.php file? When http://www.derpishi.com/gallery/captcha.php is opened, it should show an image. But in your case the page comes blank. Also do you have error messages turned off on your server?

@kromega: Try to open http://www.fabski.com/images/captcha.php and you will see the error message. The image is drawn by sending headers to browser. If some characters gets outputted before headers are sent then that kind of error message is thrown. So i suspect that something is getting outputted in your french.php file. Make sure that you don't have a blank line before <?php and after ?> tags in your lang/french.php file.

Also the captcha image comes fine for me in IE.
Chief Geek at Ranium Systems

kromega

Quote from: Abbas Ali on August 31, 2006, 08:41:17 AM
@kromega: Try to open http://www.fabski.com/images/captcha.php and you will see the error message. The image is drawn by sending headers to browser. If some characters gets outputted before headers are sent then that kind of error message is thrown. So i suspect that something is getting outputted in your french.php file. Make sure that you don't have a blank line before <?php and after ?> tags in your lang/french.php file.
my browser display just the text below, same as URL. no extra lines in my lang file.
http://www.fabski.com/images/captcha.php

Quote from: Abbas Ali on August 31, 2006, 08:41:17 AM
Also the captcha image comes fine for me in IE.
really ??? anyone else could try please...
fabski - novice

Tranz

I see the image in english and french in FF and IE.

mvyvoda

Quote from: Abbas Ali on August 31, 2006, 08:41:17 AM
@mvyvoda: Did you modified captcha.php file? When http://www.derpishi.com/gallery/captcha.php is opened, it should show an image. But in your case the page comes blank. Also do you have error messages turned off on your server?

Abbas..., admittedly I am quite new to all this. Can you please advise what specific question I should tell my ISP in order to get error messages turned on. I am not sure if they are turned off, but that seems logical.

Thanks for all of your help! It is greatly appreciated.

Cheers,
Mark

mvyvoda

oh... and no, i didn't edit the captcha.php file.

thanks,
-m

kromega

Quote from: TranzNDance on August 31, 2006, 04:30:12 PM
I see the image in english and french in FF and IE.
I've changed a bit the theme.inc.php and now I can see them all.
Thanks for your support.

Fabien
fabski - novice

Pascal YAP

#78
Kromega,

Touch Theme.in.php is not recommended at all by the Dev Team ! But it's a general rule.
Now, if you know what you do, why not !
Touch your Theme.inc.php is an other possibilty because you do not read carrefully you Theme.php  ;)

PYAP

kromega

Quote from: PYAP on August 31, 2006, 10:22:08 PM
Kromega,

Touch Theme.in.php is met recommended at all by the Dev Team ! But it's a general rule.
Now, if you know what you do, why not !
Touch your Theme.inc.php is an other possibilty because you do not read carrefully you Theme.php  ;)
I use Mac_ox_x theme and couldn't find out the place where to add the new one in the theme.php... but it appears in the theme.inc.php and so I modified that one... seems to work except when modifying subsequently the french.php file... (french2 in the pull-down menu)... any idea why ? french2.php file attached in the french post about captcha...

Doesn't mean I know precisely what I do :)
fabski - novice