[ABD] Double Account Preventer

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
kmxak
Registered User
Posts: 21
Joined: Tue May 05, 2009 6:48 pm

Re: [RC] Double Account Preventer

Post by kmxak »

no its 1.0.3 but i try the newest dev.
kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [RC] Double Account Preventer

Post 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.
kmxak
Registered User
Posts: 21
Joined: Tue May 05, 2009 6:48 pm

Re: [RC] Double Account Preventer

Post 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
kmxak
Registered User
Posts: 21
Joined: Tue May 05, 2009 6:48 pm

Re: [RC] Double Account Preventer

Post 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?
User avatar
woipi90
Registered User
Posts: 908
Joined: Mon Feb 16, 2009 5:32 pm
Location: Austria

Re: [RC] Double Account Preventer

Post by woipi90 »

i've noticed that too.... and the links there aren't the right ones i think....


grz woipi
My mods: Ultimate Board Clubs
Support: only for the UBCS!
-----
function be_friends($uid, $u){return ($u == $user->['user_id']) ? false : true;}
$this->be_friends($uid, $user->['user_id']) ? $allow_pm : echo "You failed again";
User avatar
woipi90
Registered User
Posts: 908
Joined: Mon Feb 16, 2009 5:32 pm
Location: Austria

Re: [RC] Double Account Preventer

Post 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
My mods: Ultimate Board Clubs
Support: only for the UBCS!
-----
function be_friends($uid, $u){return ($u == $user->['user_id']) ? false : true;}
$this->be_friends($uid, $user->['user_id']) ? $allow_pm : echo "You failed again";
kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [RC] Double Account Preventer

Post 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.
User avatar
woipi90
Registered User
Posts: 908
Joined: Mon Feb 16, 2009 5:32 pm
Location: Austria

Re: [RC] Double Account Preventer

Post 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
My mods: Ultimate Board Clubs
Support: only for the UBCS!
-----
function be_friends($uid, $u){return ($u == $user->['user_id']) ? false : true;}
$this->be_friends($uid, $user->['user_id']) ? $allow_pm : echo "You failed again";
kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [RC] Double Account Preventer

Post 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.
Avdon
Registered User
Posts: 186
Joined: Tue Jun 02, 2009 4:55 pm
Location: Germany
Name: Danny Alkhaldy

Re: [RC] Double Account Preventer

Post 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
kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [RC] Double Account Preventer

Post 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.
User avatar
Sailsfast
Registered User
Posts: 28
Joined: Wed Feb 20, 2008 3:10 am

Re: [RC] Double Account Preventer

Post 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
kmklr72
Registered User
Posts: 477
Joined: Sat Dec 29, 2007 9:37 pm
Location: St. Louis, USA
Name: Kevin

Re: [RC] Double Account Preventer

Post 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.
User avatar
Sailsfast
Registered User
Posts: 28
Joined: Wed Feb 20, 2008 3:10 am

Re: [RC] Double Account Preventer

Post 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?
User avatar
Sailsfast
Registered User
Posts: 28
Joined: Wed Feb 20, 2008 3:10 am

Re: [RC] Double Account Preventer

Post 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()
Locked

Return to “[3.0.x] Abandoned MODs”