Other Birthday Mod... »  Show posts from    to     

Icy Phoenix


Old Support Topics - Other Birthday Mod...



DWho [ Mon 21 Apr, 2008 19:10 ]
Post subject: Other Birthday Mod...
Hi

I have needed to use the other birthday mod for part of my site it is this one here...

Spoiler: [ Show ]



The problem I am having is I cannot get it to show in the edit profile part because of the User CP Organize mod that is installed in the code...it shows on the register page

does anyone know how to add the function so this will show correctly...

Thanks for any help...

I have attached the mod


DWho [ Sun 27 Apr, 2008 00:03 ]
Post subject: Re: Other Birthday Mod...
As I said previously I have to use the other birthday mod due to circumstances beyond my control...

After removing the first bday mod and then installing the newer one... I came across the obvious problem with regards to usercp mod...

As the birthday field would not show in the registration field after you have logged in ...

Well fortunately I managed tofix this well 50 % of it....

if any one is interested this is the fix..

OPEN includes/usercp_register.php
FIND
Code: [Hide] [Select]
$cpl_registration_info = '';
$cpl_avatar_control = '';

AFTER ADD
Code: [Hide] [Select]
$cpl_profile_info = '';


FIND
Code: [Hide] [Select]
if ( $cpl_mode == 'profile_info' || $cpl_mode == 'all' )
{
$template->assign_block_vars('switch_cpl_profile_info', array() );

AFTER ADD
Code: [Hide] [Select]
$cpl_profile_info = 'switch_cpl_profile_info.';


and finally


FIND
Code: [Hide] [Select]
if ( !$board_config['bday_lock'] || $userdata['user_birthday'] == 0 )
{
$block = ( $board_config['bday_require'] == TRUE ) ? 'birthday_required' : 'birthday_optional';
$template->assign_block_vars($block, array());
$template->birthday_interface();
}

REPLACE WITH
Code: [Hide] [Select]
if ( !$board_config['bday_lock'] || $userdata['user_birthday'] == 0 )
{
$block = ( $board_config['bday_require'] == TRUE ) ? 'birthday_required' : 'birthday_optional';
$block_first = ( $board_config['bday_require'] == TRUE ) ? $cpl_registration_info : $cpl_profile_info;
$template->assign_block_vars($block_first . $block, array());
$template->birthday_interface();
}


ok so that works great you can see the birthday change feel and if you click on submit on the registration info section it all works....

but the problem I have is that if I now click submit on the profile info or preferences or avatar I get an error telling me I havnt filled out the birthday details correctly...


If someone knows possible would the problem would be I would be very grateful...

Also if anyone is interested in the code changes for these mods I will put a zip together....

though some mods which use the birthday mod will not work...

though I do have a whole load of fixes for other mods

anyway thanks for reading if anyone could help that would be great..



KugeLSichA [ Sun 27 Apr, 2008 12:21 ]
Post subject: Re: Other Birthday Mod...
hey DWho,

which is the difference between this birthday MOD and the old birtday MOD installed in IP?


DWho [ Sun 27 Apr, 2008 17:10 ]
Post subject: Re: Other Birthday Mod...
Hi

As far as I know it doesn't ask for the many queries that neils mod does.. though from that I can only gather makes it faster..... and more up to date!

Sadly the only reason I have to use this as Another mod I installed needs the newer bday mod to run..... though I was happy to use neils mod but the other mod maker wouldn't use it....

Apart from that I do not know of any real differances though members do not have to show there actual birth day and year if they do not wish to....



KugeLSichA [ Sun 27 Apr, 2008 19:00 ]
Post subject: Re: Other Birthday Mod...
ahh thanks for the info


Coroner [ Thu 18 Jun, 2009 21:13 ]
Post subject: Re: Other Birthday Mod...
You guys always have a fix for everything. I installed the User CP Organize with this same issue and it's fixed.

Here's a question after searching the forums. I have this same exact problem with Custom Profile Fields 1.2.1

Can you show me the edits for this so It's will show in the ucp?

Please let me know.


spydie [ Thu 18 Jun, 2009 21:27 ]
Post subject: Re: Other Birthday Mod...
DWho wrote: [View Post]
but the problem I have is that if I now click submit on the profile info or preferences or avatar I get an error telling me I havnt filled out the birthday details correctly...


If someone knows possible would the problem would be I would be very grateful...

Also if anyone is interested in the code changes for these mods I will put a zip together....

though some mods which use the birthday mod will not work...

though I do have a whole load of fixes for other mods

anyway thanks for reading if anyone could help that would be great..




Could it be that your mod isn´t using the same path in DB as the old one ??

probably the problem is that it does use other way´s to drop the info to DB.
if it isn´t in the same place as before , IP can´t find it and there goes your error message


DWho [ Thu 18 Jun, 2009 22:10 ]
Post subject: Re: Other Birthday Mod...
spydie wrote: [View Post]



Could it be that your mod isn´t using the same path in DB as the old one ??

probably the problem is that it does use other way´s to drop the info to DB.
if it isn´t in the same place as before , IP can´t find it and there goes your error message


Wow forgot about this post.... thats a year old lol...

thanks anyway but iFixed the issues I had and then recoded the files to work with the bday mod thats installed on icy...



Coroner [ Fri 19 Jun, 2009 07:28 ]
Post subject: Re: Other Birthday Mod...
Can someone please take a look at the issue I have? Please.

I usually don't like to post in year old threads unless I really need assistance. And I do....

I find it very strange to see a reply to someone Else's post that's over a year old?

Please help!


DWho [ Fri 19 Jun, 2009 10:30 ]
Post subject: Re: Other Birthday Mod...
Coroner wrote: [View Post]
Can someone please take a look at the issue I have? Please.

I usually don't like to post in year old threads unless I really need assistance. And I do....

I find it very strange to see a reply to someone Else's post that's over a year old?

Please help!


Are you using ICy PHoenix as both those mods are already added to the system...?


Coroner [ Fri 19 Jun, 2009 15:08 ]
Post subject: Re: Other Birthday Mod...
Thanks for the reply.

No I'm not using Icy Phoenix...


spydie [ Fri 19 Jun, 2009 22:34 ]
Post subject: Re: Other Birthday Mod...
You forget one thing

Coroner and DWho

You don´t see the time a post has got in IP.

It just turned up, because Coroner posted something there. But you don´t see the Age of the prior post.


DWho [ Fri 19 Jun, 2009 22:35 ]
Post subject: Re: Other Birthday Mod...
Coroner wrote: [View Post]
Thanks for the reply.

No I'm not using Icy Phoenix...


could you please start a new topic then in english chit chat so as not to cause any confusion...

though would you question be better answered at phpbb.com though we will try to help...



spydie wrote: [View Post]
You forget one thing

Coroner and DWho

You don´t see the time a post has got in IP.

It just turned up, because Coroner posted something there. But you don´t see the Age of the prior post.


no worries i was only joking with ya.... you can reply to any of my posts...


spydie [ Fri 19 Jun, 2009 23:11 ]
Post subject: Re: Other Birthday Mod...
Isn´t there any mod that shows you the exact date and time of each post ??

could be usefull


DWho [ Tue 23 Jun, 2009 10:33 ]
Post subject: Re: Other Birthday Mod...
spydie wrote: [View Post]
Isn´t there any mod that shows you the exact date and time of each post ??

could be usefull


that would be useful I wil see if there is one...





Powered by Icy Phoenix