Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 [3] 4 5 6 7 ... 41   Go Down

Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 848186 times)

0 Members and 3 Guests are viewing this topic.

miamimees

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Captcha (Visual Confirmation) for adding comments
« Reply #40 on: October 10, 2006, 08:51:30 am »

Many thanks for new release, it works now ok on my gallery. Downloaded and installed yesterday evening, today an user complained getting blank pages after login. Opened phorum to complain about it, found a new version available and the problem was fixed. Very good work!
I have got quite few spam till now, but I didn't want to wait getting more quanities, so thank you for that plugin!
Logged

dke

  • Guest
Re: Captcha (Visual Confirmation) for adding comments
« Reply #41 on: October 22, 2006, 02:23:01 pm »

hi, what a wonder full plugin, i was getting tired of the bot spam.

though i have a problem, it does not look good with my theme "mac_ox_x", and i have no knowledge in how to modify the code to move the buttons and text to the correct locations.

this is how it looks now http://dkeserver.mine.nu/displayimage.php?pos=-148735

What i would like to do is to move the confirmation code box and picture right beside the "Confirm:" text. and also fill out the grey square at the bottom right with white color.

any kind php wiz out there able to help me? :-)
« Last Edit: October 22, 2006, 02:31:30 pm by dke »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #42 on: October 22, 2006, 04:47:38 pm »

I'll check that ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #43 on: October 22, 2006, 05:48:55 pm »

New release with fix the theme issue
Logged
‍I don't answer to PM with support question
Please post your issue to related board

dke

  • Guest
Re: Captcha (Visual Confirmation) for adding comments
« Reply #44 on: October 22, 2006, 06:25:19 pm »

wow, that was really fast! thanks alot for your help Sami, looks great now :-) thanks again!!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #45 on: October 22, 2006, 06:28:42 pm »

You're welcome
thanks for pointing that out
Logged
‍I don't answer to PM with support question
Please post your issue to related board

negemezsin

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Captcha (Visual Confirmation) for adding comments
« Reply #46 on: October 22, 2006, 07:20:50 pm »

I can't it.
can you help me ?
http://www.sohbetim.com/fotogaleri/bug.jpg [Edit GauGau] Replaced hotlinked image with attachment [/Edit]
« Last Edit: October 10, 2008, 07:30:47 am by Joachim Müller »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #47 on: October 22, 2006, 07:23:59 pm »

- Login as an admin , enable debug and Check if freetype is enable
- Post a link to your gallery
Logged
‍I don't answer to PM with support question
Please post your issue to related board

negemezsin

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Captcha (Visual Confirmation) for adding comments
« Reply #48 on: October 22, 2006, 09:37:12 pm »

I can it but pls enter wrong code, because it doesn't work in my gallery

http://www.sohbetim.com/fotogaleri/displayimage.php?album=random&cat=13&pos=-4345
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #49 on: October 23, 2006, 06:15:06 am »

I don't understand !
Captcha working fine , I can see the confirmation code

And the template error is not related to this plugin !
I splite your last post and move it to template support board

http://forum.coppermine-gallery.net/index.php?topic=37643.0
Logged
‍I don't answer to PM with support question
Please post your issue to related board

negemezsin

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Captcha (Visual Confirmation) for adding comments
« Reply #50 on: October 23, 2006, 10:03:39 pm »

okey.

I'm Sorry
Logged

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #51 on: October 24, 2006, 04:38:47 pm »

hi there

first of all, thanks for this great plug-in. it's gonna be quiet now...
but, there is a tiny problem as well.
a guest cannot post a comment anymore, because the confirm code is not visible.
in IE a broken image is displayed, in firefox nothing.

here is a link:
http://www.unihockey-deitingen.ch/gallery/coppermine/displayimage.php?album=lastup&cat=0&pos=0
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #52 on: October 24, 2006, 05:35:53 pm »

login as an admin and enable debug mode and post debug output to this thread (make sure to remove your password if it's there)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #53 on: October 25, 2006, 08:20:55 am »

hi sami

thanks for looking at it. as far as I can see is there no pw in it.
switched to debug mode, logged off and went as guest to the image screen,
where the broken images of captcha appears --> http://www.unihockey-deitingen.ch/gallery/coppermine/displayimage.php?album=lastup&cat=0&pos=11


Code: [Select]
USER:
------------------
Array
(
    [ID] => 7546b61c0456a419405f5e622b2250d2
    [am] => 1
    [lang] => german
    [liv] => Array
        (
            [0] => 1022
            [1] => 1000
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => admin
    [groups] => Array
        (
            [0] => 104
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 1
    [num_file_upload] => 10
    [num_URI_upload] => 10
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 1
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 104
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg146_filetypes; (0.001s)
    [1] => select * from cpg146_plugins order by priority asc; (0.001s)
    [2] => SELECT * FROM cpg146_bridge (0.001s)
    [3] => SELECT member_id , password FROM `usr_web2364_1`.ipb12_sessions AS s INNER JOIN `usr_web2364_1`.ipb12_members AS u ON s.member_id = u.id WHERE s.id = '74624b2d5edffaa0b514d38282ea6811' (0.001s)
    [4] => SELECT u.id AS id, u.name AS username, u.password AS password, u.mgroup+100 AS group_id FROM `usr_web2364_1`.ipb12_members AS u INNER JOIN `usr_web2364_1`.ipb12_groups AS g ON u.mgroup=g.g_id WHERE u.id='2' (0.001s)
    [5] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg146_usergroups WHERE group_id in (104) (0.001s)
    [6] => SELECT group_name FROM  cpg146_usergroups WHERE group_id= 104 (0.001s)
    [7] => SELECT user_favpics FROM cpg146_favpics WHERE user_id = 2 (0.001s)
    [8] => DELETE FROM cpg146_mod_online WHERE last_action < NOW() - INTERVAL 15 MINUTE (0.001s)
    [9] => REPLACE INTO cpg146_mod_online (user_id, user_name, user_ip, last_action) VALUES ('2', 'admin', '210.8.25.196', NOW()) (0s)
    [10] => DELETE FROM cpg146_banned WHERE expiry < '2006-10-25 08:33:08' (0s)
    [11] => SELECT * FROM cpg146_banned WHERE (ip_addr='210.8.25.196' OR ip_addr='210.8.25.196' OR user_id=2) AND brute_force=0 (0s)
    [12] => SELECT COUNT(*) from cpg146_pictures WHERE approved = 'YES'  (0.002s)
    [13] => SELECT * FROM cpg146_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 11 ,1 (0.001s)
    [14] => SELECT title, comments, votes, category, aid FROM cpg146_albums WHERE aid='42' LIMIT 1 (0.001s)
    [15] => SELECT name, parent FROM cpg146_categories WHERE cid = '14' (0.001s)
    [16] => SELECT cid, name, parent FROM cpg146_categories WHERE cid = '3' (0.001s)
    [17] => SELECT cid, name, parent FROM cpg146_categories WHERE cid = '2' (0.001s)
    [18] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg146_comments WHERE pid='1000' ORDER BY msg_id ASC (0.001s)
    [19] => SELECT COUNT(*) FROM cpg146_pictures WHERE approved = 'NO' (0.002s)
    [20] => SELECT COUNT(*) from cpg146_pictures WHERE approved = 'YES'  (0.002s)
    [21] => SELECT * FROM cpg146_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 6 ,10 (0.001s)
)

==========================
GET :
------------------
Array
(
    [album] => lastup
    [cat] => 0
    [pos] => 11
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.4 - OK
------------------
mySQL version: 4.0.18
------------------
Coppermine version: 1.4.9(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.15 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support:
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.18
MYSQL_MODULE_TYPE none
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /home/www/empty/ | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /home/www/empty/ | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | . | .:
open_basedir | /home/www/web2364/html/:/home/www/web2364/phptmp/:/home/www/web2364/files/:/home/www/web2364/atd/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 32M | 32M
post_max_size | 8M | 8M
==========================
Page generated in 0.6 seconds - 22 queries in 0.022 seconds - Album set : ; Meta set: ;
« Last Edit: October 25, 2006, 10:32:14 am by kofi »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #54 on: October 25, 2006, 08:24:03 am »

:)
No I want the debug output for an admin account , it contains some setting info that didn't comes with guest or other any other account , that's way I asked you ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #55 on: October 25, 2006, 10:34:05 am »

ok. I replaced the code above.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #56 on: October 25, 2006, 10:50:02 am »

you have a bug on your php , check this first:
http://www.unihockey-deitingen.ch/gallery/coppermine/plugins/captcha/captcha.php
and then read This
They fixed it under 4.3.5
maybe it's time to upgrade your PHP or if it's not working for you add an empty arrey to line 115 & 123 of captcha.class.php
« Last Edit: October 25, 2006, 11:06:48 am by Sami »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #57 on: October 25, 2006, 05:58:21 pm »

OMG I have no idea at all. I mean I just followed your instructions and did not change anything in my cpg.
how's that working with this array issue in the class.php file?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Captcha (Visual Confirmation) for adding comments
« Reply #58 on: October 25, 2006, 06:37:32 pm »

Use attached captch.inc.php instesd of yours ,
Hope it'll help you ...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

kofi

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Captcha (Visual Confirmation) for adding comments
« Reply #59 on: October 25, 2006, 06:57:58 pm »

hi sami
hmm in your zip is only captcha.class.php.
there is no such file you mentioned above.
after using your class.php file I receive a
Code: [Select]
Parse error: parse error, expecting `')'' in /home/www/web2364/html/gallery/coppermine/plugins/captcha/include/captcha.class.php on line 39
line 39 is:
Code: [Select]
$eInfo = array();

the image is still broken.
Logged
Pages: 1 2 [3] 4 5 6 7 ... 41   Go Up
 

Page created in 0.032 seconds with 20 queries.