[MODDB] Agree to privacy on first login 1.0.3

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

[MODDB] Agree to privacy on first login 1.0.3

Post by Metzle » Wed Aug 13, 2008 2:05 pm

Mod-title: Agree to privacy on first login
Mod-version: 1.0.3
Mod-description:
At first login new users have to agree to the privacy policy of the board. If they negotiate they get logged out.
When they log in again they'll be asked again to agree.

Installation: easy
Installation time: ~5 minutes

Mod-History:
2008-08-15:
  • Final release
    Corrects spelling mistakes
    Changed text in language files
    Little changes of description
2008-08-14:
  • Add possibility to force all users have to agree to privacy policy in the ACP
    Mod supports the mod version check by Handyman
2008-08-13:
  • mod added to zip-file
    little codechanges
    root deleted in the mod-file
2008-08-13:
  • First release
Mod-author: Metzle
Mod-download: phpBB-version: 3.0.2
languages: en, de
Last edited by Metzle on Thu Sep 11, 2008 9:36 am, edited 5 times in total.
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

kiran_n444
Registered User
Posts: 115
Joined: Mon May 21, 2007 9:42 pm

Re: [BETA] Agree to privacy on first login 1.0.1

Post by kiran_n444 » Wed Aug 13, 2008 3:09 pm

thanks =) just what i'v ebeen looking for xD Installed it and it works like a charm =) propz to you for tha mod

User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

Re: [BETA] Agree to privacy on first login 1.0.1

Post by Metzle » Wed Aug 13, 2008 3:16 pm

Hi,

thanks for your feedback.
I think there will be a new version tomorrow with an option in the ACP that all users have to agree to the privacy. Just for the case that the privacy was changed.

Edit: New version 1.0.2 available!
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

User avatar
^[GS]^
Registered User
Posts: 274
Joined: Sun Aug 06, 2006 10:59 pm
Location: Argentina
Contact:

Re: [BETA] Agree to privacy on first login 1.0.2

Post by ^[GS]^ » Thu Aug 14, 2008 12:00 am

Nice work ^^

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: [BETA] Agree to privacy on first login 1.0.2

Post by ChriZathens » Thu Aug 14, 2008 9:05 am

Hi !!!
nice one, man :D
I need your help, though... How can I make the link %sprivacy policy%s to open in a popup window using javascript?
I tried to change in includes/functions

Code: Select all

confirm_box(false, sprintf($user->lang['AGREE_PRIVACY'], '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy') . '">', '</a>'));
to

Code: Select all

confirm_box(false, sprintf($user->lang['AGREE_PRIVACY'], '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy') . '"onclick="window.open(this.href,'','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=600,height=500'); return false;">', '</a>'));
but I get errors (i'm lost in the quotes, actually.. :D )
If you could please guide me to this it would be much appreciated ;)
TIA
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

Re: [BETA] Agree to privacy on first login 1.0.2

Post by Metzle » Thu Aug 14, 2008 4:02 pm

Hi,

thanks for your feedback.
ChriZathens wrote: I need your help, though... How can I make the link %sprivacy policy%s to open in a popup window using javascript?
I tried to change in includes/functions

Code: Select all

confirm_box(false, sprintf($user->lang['AGREE_PRIVACY'], '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy') . '">', '</a>'));
to

Code: Select all

confirm_box(false, sprintf($user->lang['AGREE_PRIVACY'], '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy') . '"onclick="window.open(this.href,'','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=600,height=500'); return false;">', '</a>'));
but I get errors (i'm lost in the quotes, actually.. :D )
If you could please guide me to this it would be much appreciated ;)
TIA
So, i get the new window with this code:

Code: Select all

confirm_box(false, sprintf($user->lang['AGREE_PRIVACY'], '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy') . '" onclick="window.open(this.href); return false;">', '</a>'));
When i tried to set some variables like statusbar or width and height, i'm also getting errors and i'm loosing myself in the quotes ;) Sorry, but i can't tell you a solution for this problem. For the moment the only thing i can say is the code above to open the link in a new window.
I try to find a solution but for sorrow the next few days i'm very busy. Perhaps anybody else is faster than me.

And don't be angry, it's my first mod :oops:
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

User avatar
ChriZathens
Registered User
Posts: 1477
Joined: Tue Apr 18, 2006 9:11 pm
Location: Athens, Greece
Name: Chris

Re: [BETA] Agree to privacy on first login 1.0.2

Post by ChriZathens » Thu Aug 14, 2008 5:51 pm

:D :D LOL, I already tried the code you posted and did make it to open the privacy policy in a new window..
I just wanted to set the size of the window so that it appears as a popup and does not comfuse users...
I guess we are both lost in quotes, then :lol: :lol:
Nevermind... If you do find an answer for this please let me know..
If someone else knows how to do this please post... :)
My mods in MODDB:
Add Homepage link in header - Change user activity post limit - Post number in viewtopic
If you need support click on the support tab there and post your question.
Do not PM me - chances of viewing my PMs are way thinner than viewing the support question in the customization DB...

User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

Re: [FINAL] Agree to privacy on first login 1.0.3

Post by Metzle » Fri Aug 15, 2008 7:58 pm

Metzle wrote:Mod-title: Agree to privacy on first login
Mod-version: 1.0.3
Mod-description:
At first login new users have to agree to the privacy policy of the board. If they negotiate they get logged out.
When they log in again they'll be asked again to agree.

Installation: easy
Installation time: ~5 minutes

Mod-History:
2008-08-15:
  • Final release
    Corrects spelling mistakes
    Changed text in language files
    Little changes of description
2008-08-14:
  • Add possibility to force all users have to agree to privacy policy in the ACP
    Mod supports the mod version check by Handyman
2008-08-13:
  • mod added to zip-file
    little codechanges
    root deleted in the mod-file
2008-08-13:
  • First release
Mod-author: Metzle
Mod-download: phpBB-version: 3.0.2
languages: en, de
The changes? Just look in the history. It's today the final release of the mod. I hope there will be no mistakes, should there be anyone just let me know and it was the first final release ;)
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25196
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [FINAL] Agree to privacy on first login 1.0.3

Post by Paul » Fri Aug 15, 2008 10:40 pm

Hello,

Please edit your topic title with a prefix as outlined in Modifications Development Forum Rules, section 3. The prefix you are currently using is not allowed. If your modification is still in development, you can use the prefixes as outlined in section 3.a. If your modification is stable, please submit your modification to the phpBB.com MODDB (the modifications release database), for validation pending release. For more information on the benefits of submitting your MOD to the MODDB, please see this topic.

Your cooperation is very much appreciated by the phpBB Modifications Team.

Thank you,
The phpBB Modifications Team
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

Re: [FINAL] Agree to privacy on first login 1.0.3

Post by Metzle » Fri Aug 15, 2008 10:58 pm

Hi,

sorry for this mistake. Just copied it from my own forum. Sure i will change the prefix.
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

ANgelArvil
Registered User
Posts: 99
Joined: Tue May 27, 2008 7:04 am

Re: [RC] Agree to privacy on first login 1.0.3

Post by ANgelArvil » Sat Aug 16, 2008 5:28 am

so, when will this be release?

User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

Re: [RC] Agree to privacy on first login 1.0.3

Post by Metzle » Sat Aug 16, 2008 10:21 am

Hi,

i submitted the mod to the MODDB. Now we have to wait for the MODDB-Team ;)
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

ANgelArvil
Registered User
Posts: 99
Joined: Tue May 27, 2008 7:04 am

Re: [RC] Agree to privacy on first login 1.0.3

Post by ANgelArvil » Mon Aug 18, 2008 1:08 am

wow! so this is a stable release?

Gotta install this already in my forum?

User avatar
Metzle
Registered User
Posts: 113
Joined: Sat Mar 15, 2008 2:55 am
Location: Waiblingen-Neustadt (Germany)
Name: Daniel
Contact:

Re: [RC] Agree to privacy on first login 1.0.3

Post by Metzle » Mon Aug 18, 2008 1:15 am

Hi,

yes it's a stable release. There were many tests before adding it here on phpBB.com. So you can add it to your forum.

Greetz
Metzle
phpBB.de-Support-Team
No Support via PN/E-Mail/ICQ etc.
Allround-phpBB.de

User avatar
SecondShoe
Registered User
Posts: 48
Joined: Thu Dec 13, 2007 7:16 pm
Contact:

Re: [RC] Agree to privacy on first login 1.0.3

Post by SecondShoe » Mon Sep 01, 2008 9:09 pm

Incredibly useful mod! 10x!

Locked

Return to “[3.0.x] MODs in Development”