[DEV] Birthday Control

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Birthday Control

Post by Satanasov » Wed Jul 02, 2014 10:48 am

You will need the last development version.

After RC1 release there was a change in migration that resolved exactly this issue.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [DEV] Birthday Control

Post by MrC » Wed Jul 02, 2014 11:33 am

I just tried to update to latest dev but somehow it's not updating the database.
After clicking the link to the final step i'm thrown back 2 steps.

Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Birthday Control

Post by Satanasov » Wed Jul 02, 2014 2:58 pm

boardurl/install/update_database.php I think was the script to update the DB.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 546
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [DEV] Birthday Control

Post by nicofuma » Wed Jul 02, 2014 3:09 pm

if you want to update an extension you need to disable and re-enable it.
boardurl/install/update_database.php is only for the core
Member of phpBB Development-Team
No Support via PM

User avatar
Methen
Registered User
Posts: 447
Joined: Wed Dec 01, 2004 12:13 am
Contact:

Re: [DEV] Birthday Control

Post by Methen » Wed Jul 02, 2014 4:01 pm

Here is a very simple question to think about, what good does it do to force people to give you their age when you have no way to verify that person is giving you accurate information in the first place, its like I tell people on chat rooms all the time why bother if you cannot verify it...
Somebody is asking for a Hinne Whooping!!!

Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Birthday Control

Post by Satanasov » Wed Jul 02, 2014 4:12 pm

We have discussed this few posts back.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [DEV] Birthday Control

Post by MrC » Thu Jul 03, 2014 5:54 am

Lucifer4o wrote:boardurl/install/update_database.php I think was the script to update the DB.
That doesn't work either, same result
nicofuma wrote:if you want to update an extension you need to disable and re-enable it.
boardurl/install/update_database.php is only for the core
We were talking about the core update ;) (RC1 -> RC2 dev)

I will give it another try with last nights build
*edit, updated with last night dev version. Im not sure which version im running now since the console still shows RC1. Modified files have been uploaded and db update has run.
The header errors are still there.

Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Birthday Control

Post by Satanasov » Thu Jul 03, 2014 7:17 am

Disable extension. Delete extension data.

Go to Users and Groups -> Custom profile fields and remove the last one (W_BDAY).

Enable extension
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

MrC
Registered User
Posts: 857
Joined: Mon Jun 30, 2003 4:11 pm
Location: The Netherlands
Name: Ivo
Contact:

Re: [DEV] Birthday Control

Post by MrC » Thu Jul 03, 2014 8:31 am

@work now, so no time to type a lot
Lucifer4o wrote:Disable extension. Delete extension data.

Go to Users and Groups -> Custom profile fields and remove the last one (W_BDAY).

Enable extension
That part works now

Now, when i register
Notice: You are not old enough to register to this board.
This board has minum age of 18 years. in /home/spaapen.net/public_html/31/ext/anavaro/birthdaycontrol/event/mainlistener.php on line 95

Warning: Cannot modify header information - headers already sent by (output started at /home/spaapen.net/public_html/31/ext/anavaro/birthdaycontrol/event/mainlistener.php:95) in /home/spaapen.net/public_html/31/includes/functions.php on line 5018

Warning: Cannot modify header information - headers already sent by (output started at /home/spaapen.net/public_html/31/ext/anavaro/birthdaycontrol/event/mainlistener.php:95) in /home/spaapen.net/public_html/31/includes/functions.php on line 5020

Warning: Cannot modify header information - headers already sent by (output started at /home/spaapen.net/public_html/31/ext/anavaro/birthdaycontrol/event/mainlistener.php:95) in /home/spaapen.net/public_html/31/includes/functions.php on line 5021

Warning: Cannot modify header information - headers already sent by (output started at /home/spaapen.net/public_html/31/ext/anavaro/birthdaycontrol/event/mainlistener.php:95) in /home/spaapen.net/public_html/31/includes/functions.php on line 5022
http://www.spaapen.net/31

User avatar
wkuzma
Registered User
Posts: 389
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Birthday Control

Post by wkuzma » Sat Nov 29, 2014 4:20 am

I see your ext was updated I will have to try that one the other errored on registering.

Works now with one exception when viewing the board registration rules during registration and not filling out the date part and just clicking on I agree to these terms I get an error

Fatal error: Call to a member function getName() on a non-object in /home4/wkuzma/public_html/includes/functions.php on line 4949

User avatar
wkuzma
Registered User
Posts: 389
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Birthday Control

Post by wkuzma » Tue Dec 02, 2014 7:02 am

New problem
I don't know how to explain it but I will tell you how I tracked it to your ext
One user send a message in private message to me that his posts
were not showing up on the board. He told which forums he was posting in and what message
he was replying to. I went to the forum and message and only saw the orginal post that was done by someone else even though it said there was 1 reply.
I replied to that message and then it said there were two replys instead of just the one I did,
I started to track the problem by disabling all extentions one by one and checking to see if the message appeared. When I got to your ext and disabled it his message appeared
when I re-enabled it his message disapeared
I am keeping your ext disabled but I have no idea why this happened to only one user maybe something in his name which is |iog|Delahanty the two lines in his name is on the \ key holding the shift and pressing that key gives |

Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Birthday Control

Post by Satanasov » Tue Dec 02, 2014 9:32 am

OK ... I think I will have to rethink the extension ... there seems to be no logic behind it ... but I will test it.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

User avatar
franki_63
Registered User
Posts: 15
Joined: Wed Mar 28, 2012 2:26 pm
Location: Geldern-Walbeck(Germany)
Contact:

Re: [BETA] Birthday Control

Post by franki_63 » Tue Dec 02, 2014 9:44 am

German translation for this extension
birthdaycontrol_de.zip
LG franki_63 (Das Ahnenforum)
Sorry for my English (Google Translator)

Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [DEV] Birthday Control

Post by Satanasov » Tue Dec 02, 2014 4:28 pm

:shock: :shock: Just reviewed my code... how the hell did I release this thing. Returning to dev status. I hope to return it in beta in few hours.

I know where the errors comes from.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

Satanasov
Registered User
Posts: 1187
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Birthday Control

Post by Satanasov » Tue Dec 02, 2014 7:13 pm

wkuzma wrote:New problem
I don't know how to explain it but I will tell you how I tracked it to your ext
One user send a message in private message to me that his posts
were not showing up on the board. He told which forums he was posting in and what message
he was replying to. I went to the forum and message and only saw the orginal post that was done by someone else even though it said there was 1 reply.
I replied to that message and then it said there were two replys instead of just the one I did,
I started to track the problem by disabling all extentions one by one and checking to see if the message appeared. When I got to your ext and disabled it his message appeared
when I re-enabled it his message disapeared
I am keeping your ext disabled but I have no idea why this happened to only one user maybe something in his name which is |iog|Delahanty the two lines in his name is on the \ key holding the shift and pressing that key gives |

Please test the current release. It should not have this issue.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.

Post Reply

Return to “Extensions in Development”