Your ultimate PunBB resource!
You are not logged in.
Version 1
Offline
When I run install_mod.php I get:
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
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'
Offline
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
Maybe you can post the code create the table with phpmyadmin...
Offline
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
xfir good mod, thx ![]()
In next release you could to this (like this mod for phpBB):
Last edited by tomekf (2007-02-25 17:00:33)
Offline
tomekf wrote:
xfir good mod, thx
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
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
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
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
Normal ??
Thanks
Vincèn
Offline
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
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:
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. ![]()
Last edited by mik01aj (2008-05-07 07:09:11)
Offline