Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 09:47:41 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: cpg1.5.2 beta released
The brand new cpg1.5.x series that comes with a lot of new features finally has reached the release stage: a first public beta release cpg1.5.2 has been released that is mainly aimed at translators, testers and community members that have contributed in the past. The beta release is not meant to be used in a production environment, but only on testbeds and for evaluation purposes. There is currently no support for cpg1.5.x yet!
[more]
   Home   Help Search Board rules Login Register  
Pages: 1 2 3 [4] 5 6 7 8 ... 23   Go Down
  Print  
Author Topic: Captcha (Visual Confirmation) for adding comments  (Read 196830 times)
0 Members and 1 Guest are viewing this topic.
Nibbler
Dev Team member
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #60 on: August 28, 2006, 07:22:42 pm »

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

I don't care about what they say, I won't live or die that way.
diane
Coppermine newbie

Gender: Female
Posts: 8

Diana López


« Reply #61 on: August 28, 2006, 07:25:30 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
Logged
lac
Coppermine newbie

Posts: 3


« Reply #62 on: August 28, 2006, 07:57:27 pm »

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,
Logged
diane
Coppermine newbie

Gender: Female
Posts: 8

Diana López


« Reply #63 on: August 28, 2006, 11:49:33 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
Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley Smiley

Logged
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #64 on: August 29, 2006, 06:09:04 am »

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.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
diane
Coppermine newbie

Gender: Female
Posts: 8

Diana López


« Reply #65 on: August 29, 2006, 03:22:46 pm »



Thanks, Abbas! I had to disable comments .  Wink 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.

Logged
TranzNDance
Dev Team member
****
Gender: Female
United States United States

Posts: 6138



WWW
« Reply #66 on: August 29, 2006, 04:30:52 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. Smiley
Logged

diane
Coppermine newbie

Gender: Female
Posts: 8

Diana López


« Reply #67 on: August 29, 2006, 04:56:21 pm »

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  Cry


Logged
TranzNDance
Dev Team member
****
Gender: Female
United States United States

Posts: 6138



WWW
« Reply #68 on: August 29, 2006, 05:34:04 pm »

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
Logged

diane
Coppermine newbie

Gender: Female
Posts: 8

Diana López


« Reply #69 on: August 30, 2006, 04:33:28 pm »

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

Thanks Wink
Logged
mvyvoda
Coppermine newbie

Posts: 6


« Reply #70 on: August 30, 2006, 05:21:42 pm »

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
Logged
kromega
Coppermine novice
*
Gender: Male
Posts: 47


WWW
« Reply #71 on: August 31, 2006, 12:30:52 am »

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 Huh any idea Huh

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
Logged

fabski - novice
Abbas Ali Topic starter
Administrator
*****
Gender: Male
India India

Posts: 2087


Spread the PHP Web


WWW
« Reply #72 on: August 31, 2006, 07: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?

@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.
Logged

--- Love is blind, wish it was mute too ---
Visit me @ www.abbasali.net
kromega
Coppermine novice
*
Gender: Male
Posts: 47


WWW
« Reply #73 on: August 31, 2006, 03:01:20 pm »

@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

Also the captcha image comes fine for me in IE.
really Huh anyone else could try please...
Logged

fabski - novice
TranzNDance
Dev Team member
****
Gender: Female
United States United States

Posts: 6138



WWW
« Reply #74 on: August 31, 2006, 03:30:12 pm »

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

mvyvoda
Coppermine newbie

Posts: 6


« Reply #75 on: August 31, 2006, 04:12:18 pm »

@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
Logged
mvyvoda
Coppermine newbie

Posts: 6


« Reply #76 on: August 31, 2006, 04:34:03 pm »

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

thanks,
-m
Logged
kromega
Coppermine novice
*
Gender: Male
Posts: 47


WWW
« Reply #77 on: August 31, 2006, 06:09:48 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
Logged

fabski - novice
Pascal YAP
Dev Team member
****
Gender: Male
Armenia Armenia

Posts: 3791


He's me, and She's Moon


WWW
« Reply #78 on: August 31, 2006, 09:22:08 pm »

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  Wink

PYAP
« Last Edit: August 31, 2006, 10:12:32 pm by PYAP » Logged

! Pas de PM please ! No PM s'il vous plait !
kromega
Coppermine novice
*
Gender: Male
Posts: 47


WWW
« Reply #79 on: August 31, 2006, 09:42:48 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  Wink
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 Smiley
Logged

fabski - novice
Pages: 1 2 3 [4] 5 6 7 8 ... 23   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.05 seconds with 15 queries.