Page 4 of 6

Re: [RC] Double Account Preventer

Posted: Wed Jul 01, 2009 8:04 pm
by kmxak
no its 1.0.3 but i try the newest dev.

Re: [RC] Double Account Preventer

Posted: Wed Jul 01, 2009 8:15 pm
by kmklr72
The download is down, but the code edits in includes/functions.php didn't change between those versions. Use the edits in my previous post and it should work.

Re: [RC] Double Account Preventer

Posted: Wed Jul 01, 2009 8:18 pm
by kmxak
no the download is fine

i've updatet the mod to 1.0.4 and with your change it works perfect!

THX!

but it is not in the install manual

Re: [RC] Double Account Preventer

Posted: Thu Jul 02, 2009 10:28 am
by kmxak
I've got another Problem

The Mod Update Checker say'S



Double Account Preventer is not up to date
Double Account Preventer

Autor
kmklr72

Current Version
1.0.4

Latest Version
1.0.11

Download Latest Version
Herunterladen Double Account Preventer 1.0.11

Release Announcement
Annoucement Topic

I tought that the 1.0.4 is the latest version.
Or it is an Bug in the Mod Version Checker

Anybody know something?

Re: [RC] Double Account Preventer

Posted: Thu Jul 02, 2009 11:27 am
by woipi90
i've noticed that too.... and the links there aren't the right ones i think....


grz woipi

Re: [RC] Double Account Preventer

Posted: Thu Jul 02, 2009 11:33 am
by woipi90
is it possible to let the dap mod post in one post? so that the mod doesn't start everytime a new topic but a new reply in a topic?

thats because otherwise you won't see anything else like the dap posts in recent topics....

and it would be fine if you would be able to give give a userid on who would post the dap post in the forum....


grz woipi

Re: [RC] Double Account Preventer

Posted: Thu Jul 02, 2009 2:43 pm
by kmklr72
I had problems with customizable user IDs for notifications in the past, but since I think I have those pretty much taken care of, I can see if I can through user IDs in there. As for the MOD check, I haven't updated that in a while so it's my fault.

Re: [RC] Double Account Preventer

Posted: Thu Jul 02, 2009 4:00 pm
by woipi90
that sounds great and is it also possible to let the dap mod write only replies to a topic instead of starting each time a new one?

thx for your hard work you are the best.... hopefully you have the knowledge and the zest to develope the groupsystem you once wanted to take care of, too....


grz woipi

Re: [RC] Double Account Preventer

Posted: Thu Jul 02, 2009 4:07 pm
by kmklr72
I've actually gotten good development done on that MOD, but that's off topic so I'm not going to discuss it here. Changing the behavior of the MOD from posting new topics to replying to one could be a challenge, but I'll see what I can do.

Re: [RC] Double Account Preventer

Posted: Thu Jul 16, 2009 12:55 pm
by Avdon
Hello again,
In my country people use small rang of ips, so will the mod prevent every new account if it shares an IP with a previous user?
And if the mod will depend on cookie to block accounts, what is the Percentage of mistakes in my case?

I still hope that you'll include Mac address checking .

thanks

Re: [RC] Double Account Preventer

Posted: Thu Jul 16, 2009 6:19 pm
by kmklr72
Avdon wrote:In my country people use small rang of ips, so will the mod prevent every new account if it shares an IP with a previous user?
And if the mod will depend on cookie to block accounts, what is the Percentage of mistakes in my case?
Blocking accounts was actually taken out because it caused more bugs than it was worth. I've been looking at ways to have it in the MOD again though. With how the MOD is set up now, it just tracks every user and will notify you if/when they try to register another account. It is up to you what sort of action is taken for the user at that point.
Avdon wrote:I still hope that you'll include Mac address checking .
MAC address tracking differs from system to system, and because of this it won't be going into this MOD. If anyone can point me to a way for PHP to track MAC addresses without needing shell commands and is compatible cross-platform, I'd be more than happy to try working with that.

Re: [RC] Double Account Preventer

Posted: Fri Jul 17, 2009 12:20 am
by Sailsfast
I have installed 1.0.4 using AutoMod. All seems to have gone well until

When I try to hit: dap_install.php

I get:

Code: Select all

Fatal error: Call to a member function get_dap_config() on a non-object in /var/www/phpBB3/includes/functions.php on line 3853

Re: [RC] Double Account Preventer

Posted: Fri Jul 17, 2009 12:44 am
by kmklr72
That's a problem with how I have the MOD working, which will be fixed in the next version. Try running that before you do the edits and see how it works out.

Re: [RC] Double Account Preventer

Posted: Fri Jul 17, 2009 12:56 am
by Sailsfast
kmklr72 wrote:That's a problem with how I have the MOD working, which will be fixed in the next version. Try running that before you do the edits and see how it works out.
Ok... If I have you right...

Run the dap_install.php before the edits are done?

Re: [RC] Double Account Preventer

Posted: Fri Jul 17, 2009 1:11 am
by Sailsfast
Ok...

When I do it that way I get

I will roll the server back to a totally clean state and try again later but it seems that I get:

Code: Select all

General Error
SQL ERROR [ postgres ]

ERROR: duplicate key value violates unique constraint "phpbb_dap_config_pkey" []

SQL

INSERT INTO phpbb_dap_config (config_name, config_value) VALUES ('require_ip_check', '0')

BACKTRACE

FILE: includes/db/postgres.php
LINE: 177
CALL: dbal->sql_error()

FILE: dap_install.php
LINE: 79
CALL: dbal_postgres->sql_query()