Advanced Double Activation Pack

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: Advanced Double Activation Pack

Post by katib »

YES !!
There was a missign "{" :)
But problems are endless !!!
Now, when the user click the activation link, he gets: invalid activation key
I attached a copy of my ucp-activate.php
You do not have the required permissions to view the files attached to this post.
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello katib,
I want to go to bed now. ;)

By now all problems have been self made. ;) But I will help you to get it running at your board!

Tomorrow I will look to your file.

But before you can look if you have done a after-add action insteat of a before-add action somewhere at the file.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: Advanced Double Activation Pack

Post by katib »

Many thanks Martin for help and patience
well, I took a copy of ucp_activate.php from a fresh phpbb.3.0.5 installation
then I made the changes found in your Mod
Now all is working fine :D
IN troublesoouting this issues, and I learn something interesting : how to find a missing "{" !!!
After installing the Mod, let us using it !!
Now since the Mod installer has gone, one question from the Mod user:
Martin Truckenbrodt wrote: don't activate them from the Inactive Users list. Activate them from the User Verify page. Then a email will be sent. I think it's a phpBB3 bug. And I think it's fixed in ADAP 1.4.0.
I have noticed that, even with 1.4.0, no email has been sent if activated form inactivated users list
thanks
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello katib,
thanks a lot for the feedback about the notification e-mail. I will have a look at it.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello,
some days ago I've published ADAP 1.4.1 on my webiste.

New features:
dutch language support
arabic language support

@katib:
I looked at the notification email thing. I haven't changed the thing for the ACP main page. But if you are clicking on the username you will be directed directly to the user verify page. And there the email will be sent.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: Advanced Double Activation Pack

Post by katib »

Martin Truckenbrodt wrote:
@katib:
I looked at the notification email thing. I haven't changed the thing for the ACP main page. But if you are clicking on the username you will be directed directly to the user verify page. And there the email will be sent.
Yes, you are right !!
But I mean selecting multiple users from the inactived users list (with the check box or "select all" at the page bottom), , then clicking: "activate"
So email notification is sent if single activation, but No notification email is sent with "mass" activation :roll:
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello katib,
IMO this is a phpBB3 bug. I don't want to fix it (at the moment). A lot of code needs to be added to the ACP main page. It's not very difficult. But I don't need it myself.
But I will think about fixing it in ADAP 1.4.2 if ADAP 1.4.1 will be denied and I have to do a new release.

For me the standard procedure should be to open the verify page and then to activate the user from this page.

Are you running phpBB 3.0.5?

What other technics are you using to prevent spam accounts?

I have two boards there spammers are trying to register. But I'm using ADAP together with my Advanced Block MOD. I have disabled CAPTCHA completely! 8-) I've made only one custom profile field for the first name, too. I don't have forums with guest posting.
Still some (human) spammers are registering successfully. But (at the monent) they don't verify their e-mail addresses. ADAP auto user pruning is deleting them after some weeks automatically. ;)
So I'm getting account activation notification emails only for a few users. Here I'm opening the link directly from the notification e-mail to open the user verify page. And I never have had a notification e-mail of a spam account since I'm using this setup.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: Advanced Double Activation Pack

Post by katib »

Hello Martin
and thanks for coments
Martin Truckenbrodt wrote: Are you running phpBB 3.0.5?
What other technics are you using to prevent spam accounts?
I am using 3.0.5
and I am using a triple shield against spammers :evil: :
1-first shield is your Advanced Double Activation Pack of course
2- Second shield is the Activation Justification Mod, witch requires users to write some words about why they are registering, and ,based on those reasons, Mods decide to activate or not, after user has verify his eamil of couse via ADAP
3-third shield: at registration, usernames should have arabic characters only: أ ب ت ح ج .... :D
so spammer needs to have an arabic keyboard .. witch is most unikly to happen

this way, my board is SPAMMER FREE 100%
semag
Registered User
Posts: 8
Joined: Fri Nov 16, 2007 6:30 am

Re: Advanced Double Activation Pack

Post by semag »

Hi again Martin-

Just updated my board with 1.4.1 and worked out all the kinks. I was left with one bug and I'm not sure if anyone mentioned it.

In /includes/ucp/ucp_activate.php there is this sequence to call "user_active_flip."

Code: Select all

			{
				include($phpbb_root_path . 'includes/functions_user.' . $phpEx);

				user_active_flip('activate', $user_row['user_id']);

				$sql = 'UPDATE ' . USERS_TABLE . "
					SET user_actkey = '',
						user_email_verified = 0
					WHERE user_id = {$user_row['user_id']}";
				$db->sql_query($sql);
			}
I found that if an administrator clicked the direct activation link in the email that nothing would happen (blank screen)

http://forum.website/ucp.php??mode=acti ... cc_admin=1

I traced it down to the code above, and fixed it this way - it seems like something is conflicting with the import of functions_user:

BEFORE:

Code: Select all

include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
AFTER

Code: Select all

include_once($phpbb_root_path . 'includes/functions_user.' . $phpEx);
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello semag,
thank you very much for your feedback! I will have a look at it.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello,

I've done ADAP 1.4.2 . The download link you can find on my first post of the topic.


@semag: Please look if you have several times this inlcude (includes/functions_user) in your includes/ucp/ucp_activate.php . If yes, that should be have been added by other MODs. In this case you need the include_once for compatibility with the other MODs.

Bye Martin
Last edited by Martin Truckenbrodt on Sat Aug 29, 2009 7:35 am, edited 1 time in total.
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
nampa
Registered User
Posts: 19
Joined: Sun Nov 10, 2002 10:07 pm

Re: Advanced Double Activation Pack

Post by nampa »

Hello Martin,

Thank you for the MOD.
I have installed many MODs on my old 2.x board, your MOD is the first in my 3.0.5 board.

I'm having some problems.

1) When I installed the MOD using autoMOD it gave me an error on the copy umil/*.* line.
What I did, is removed it from the install.xml file and copy the file myself manually.

2) When I execute the command:
http://mysite.com/umil_auto_adap.php
I get a totaly white web page.
I don't see anything happenning.
What is supposed to show?

3) Then when I log into the ACP, I don't see anything different or new from before.

I'm using 1.4.1.

What I'm I doing wrong?

Jaime
nampa
Registered User
Posts: 19
Joined: Sun Nov 10, 2002 10:07 pm

Re: Advanced Double Activation Pack

Post by nampa »

Hello,

I just installed 1.4.2.
The problem copying the umil directory is gone.

I still have the problem when executing:
http://mysite.com/umil_auto_adap.php
it appears a white page.
Nothing happens.

Now when I try to access the general tab of the ACP I get:
--------------
SQL ERROR [ mysqli ]

Unknown column 'user_email_verified' in 'field list' [1054]

SQL

SELECT user_id, username, user_regdate, user_lastvisit, user_inactive_time, user_inactive_reason, user_email_verified FROM phpbb3_users WHERE user_type = 1 ORDER BY user_regdate DESC LIMIT 10

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal_mysqli->sql_error()

FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: includes/functions_admin.php
LINE: 2693
CALL: dbal_mysqli->sql_query_limit()

FILE: includes/acp/acp_main.php
LINE: 474
CALL: view_inactive_users()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_main->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
-----------------------

Please help me.

Jaime
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello Jaime,
the second error is caused by the first problem.

Please enable debugging in config.php:

Code: Select all

@define('DEBUG', true);
@define('DEBUG_EXTRA', true);
, try it again and give me the error messages you will get now.

Have you uploaded the whole content of the umil folder?

Have you set english as your personal board language? If not, please try it with english.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
semag
Registered User
Posts: 8
Joined: Fri Nov 16, 2007 6:30 am

Re: Advanced Double Activation Pack

Post by semag »

Oh yeah... there was a syntax error in the umil_auto_adap.php file that was in the tarball I used as well... (That's why you're getting the white page).

I can't remember exactly what the error was, but if you move that file to a *nix box with php on it and run "php umil_auto_adap.php" it'll tell you where the error is.

Return to “[3.0.x] MOD Database Releases”