PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2007-02-10 19:21:48

xfir
New member
Registered: 2007-02-10
Posts: 3

Registration Verification Code 1.0

Code:

Version 1

Download here

Offline

 

#2 2007-02-11 03:08:07

FSX
Member
Registered: 2006-09-14
Posts: 616
Website

Re: Registration Verification Code 1.0

Some sort of Captcha?

Offline

 

#3 2007-02-11 09:58:12

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1259

Re: Registration Verification Code 1.0

another one?


Cant find something you want? try searching
Also try the wiki
MSN - mark@21s6.com

Offline

 

#4 2007-02-11 21:45:37

xfir
New member
Registered: 2007-02-10
Posts: 3

Re: Registration Verification Code 1.0

Uploaded new zip as the old one had a minor error (Attempt to redeclare str_split if server had > PHP 5) and edits to Readme.

Offline

 

#5 2007-02-12 06:27:49

FSX
Member
Registered: 2006-09-14
Posts: 616
Website

Re: Registration Verification Code 1.0

mm...I don't get it.

Does this work on php4?

Offline

 

#6 2007-02-12 17:21:41

xfir
New member
Registered: 2007-02-10
Posts: 3

Re: Registration Verification Code 1.0

Yeah, just when I tested the image generation script on a PHP 5 enviroment, it produced an error.

Should run fine on both now, so long as GD is available (with True-type Font support)

Offline

 

#7 2007-02-15 11:04:33

zirrp
Member
Registered: 2007-02-13
Posts: 11

Re: Registration Verification Code 1.0

When I run install_mod.php I get:

Code:

File: /var/www/users/server33/install_mod.php
Line: 23

PunBB reported: Unable to create table forum_gallery.

Database reported: Duplicate entry 'o_use_reg_key' for key 1 (Errno: 1062)

Please help.

Offline

 

#8 2007-02-15 11:07:15

FSX
Member
Registered: 2006-09-14
Posts: 616
Website

Re: Registration Verification Code 1.0

I had that error too with the gallerij mod, but it's working good.

Offline

 

#9 2007-02-15 11:14:36

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1259

Re: Registration Verification Code 1.0

zirrp wrote:

When I run install_mod.php I get:

Code:

File: /var/www/users/server33/install_mod.php
Line: 23

PunBB reported: Unable to create table forum_gallery.

Database reported: Duplicate entry 'o_use_reg_key' for key 1 (Errno: 1062)

Please help.

means you have already run the install_mod.php file. hence Duplicate entry 'o_use_reg_key'


Cant find something you want? try searching
Also try the wiki
MSN - mark@21s6.com

Offline

 

#10 2007-02-15 11:25:09

zirrp
Member
Registered: 2007-02-13
Posts: 11

Re: Registration Verification Code 1.0

I removed the table and installed again. Now it seems to work but when I look via phpmyadmin there is no table forum_gallery. What can I do?

Offline

 

#11 2007-02-15 11:35:28

zirrp
Member
Registered: 2007-02-13
Posts: 11

Re: Registration Verification Code 1.0

Maybe you can post the code create the table with phpmyadmin...

Offline

 

#12 2007-02-15 11:56:37

zirrp
Member
Registered: 2007-02-13
Posts: 11

Re: Registration Verification Code 1.0

There will no images display. I don't know how to solve this problem. What exactly does install_mod change in the database? Does it create a new table named *_gallery?

Offline

 

#13 2007-02-25 16:59:29

tomekf
Member
Registered: 2005-09-28
Posts: 26

Re: Registration Verification Code 1.0

xfir good mod, thx smile

In next release you could to this (like this mod for phpBB):

http://www.kessels.com/captcha/sample3.gif

Last edited by tomekf (2007-02-25 17:00:33)


Darmowe forum - Polish free forum hosting

Offline

 

#14 2007-05-13 04:13:09

falconflyz
Member
Registered: 2006-01-24
Posts: 60

Re: Registration Verification Code 1.0

tomekf wrote:

xfir good mod, thx smile

In next release you could to this (like this mod for phpBB):

http://www.kessels.com/captcha/sample3.gif

Integration of an animated image sems to be a good idea.

Offline

 

#15 2007-05-13 08:31:00

MattF
Member
From: South Yorkshire, England
Registered: 2007-03-16
Posts: 430

Re: Registration Verification Code 1.0

Creating something like that image would be a terrible idea. Captcha's are, (although hard to not justify using one these days), bad at best, accessibility wise. That one, with the flashing and multi-coloured text would be a nightmare for some users.

Offline

 

#16 2007-06-14 06:34:09

vincen
New member
From: Grenoble, France
Registered: 2005-12-27
Posts: 4

Re: Registration Verification Code 1.0

hi,

Is there an update of that captcha for PunBB latest version ??

Thanks

Vincèn

Offline

 

#17 2007-06-14 07:01:42

alana
Member
From: Maine, USA
Registered: 2007-05-30
Posts: 45
Website

Re: Registration Verification Code 1.0

you probably just need to open install_mod.php and change it to 1.2.15 (aka "read the Sticky: [READ THIS] About PunBB versions and mods")

Offline

 

#18 2007-06-14 07:35:23

vincen
New member
From: Grenoble, France
Registered: 2005-12-27
Posts: 4

Re: Registration Verification Code 1.0

alana wrote:

you probably just need to open install_mod.php and change it to 1.2.15 (aka "read the Sticky: [READ THIS] About PunBB versions and mods")

Yep wonderful I installed it in few minutes without problem wink I just noticed something, it's always same string displayed in catcha, characters move if I reload page but it's always same value displayed hmm Normal ??

Thanks

Vincèn

Offline

 

#19 2008-01-18 11:01:11

zap42
New member
Registered: 2008-01-18
Posts: 1

Re: Registration Verification Code 1.0

Hi

Thanks for the plug-in! The mod seems to work with 1.2.16, too.


But sadly I coulndn't do step 4:

#--------------------------------------#
# Find (Line 105):
#--------------------------------------#

    global $db, $pun_user, $pun_config;

#--------------------------------------#
# Replace with:
#--------------------------------------#

    global $db, $pun_user, $pun_config, $cookie_name, $cookie_path, $cookie_domain, $cookie_secure, $cookie_seed;



There is no line 105 with that content ;( Although, as I said, the mods works anyway. Can anyone please tell me what that line does and how I can fix that? Is it really 100% necessary?

Thanks again!

-Zap42

Offline

 

#20 2008-01-18 14:44:12

Mark
Moderator
From: North West England
Registered: 2005-06-06
Posts: 1259

Re: Registration Verification Code 1.0

just try looking for global $db,
the line numbers may vary


Cant find something you want? try searching
Also try the wiki
MSN - mark@21s6.com

Offline

 

#21 2008-05-07 07:01:08

mik01aj
New member
Registered: 2008-05-07
Posts: 1

Re: Registration Verification Code 1.0

Hi, nice script, but I modified it slightly.

Here is my regkey.php: http://textbox.m01.pl/?nGBB
It reads the /img/fonts dir to get fonts. Just download some random fonts with A-Z0-9 chars and place them there.

And here's the getregkey() function from functions.php:

Code:

function getregkey() {
    return strtr(substr(strtoupper(base64_encode(md5($pun_user['reg_key'].$_SERVER['REMOTE_ADDR'].'insert_something_random_here',true))),4,6),'=+/','ASD');
}

I also added captcha to post.php for guest posting and modified both register.php and post.php to use my getregkey() function.

demo: http://jornada.m01.pl/register.php

Enjoy. smile

Last edited by mik01aj (2008-05-07 07:09:11)

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.