I don't know why this is happening. I think you will have to debug to find out why. In the file "functions_upcbirthdays.php", find:Эрик wrote:I have established mod Upcoming Birthday list 1.0.0a
When it is necessary to not show age, it is all the same shown:
For example: Проверочный (99)
Tell me please what to make? Thanks!
Code: Select all
$prime_birthdate_installed = function_exists('user_show_congrats');
Code: Select all
trigger_error('prime_birthdate_installed = ' . ($prime_birthdate_installed ? 'TRUE' : 'FALSE'));
I'd go through the installation instructions dealing with the admin sections and make sure everything got installed correctly.ThunderCrew wrote:Scrolled back a bit and saw a few issues people had close to mine but not exactly mine.
They were getting errors of an sql type when clicking submit after administrating a user.
My issue is I get a blank hwite page when I click on administrate user period and dont even get to the administrate user page.
I love this mod and it rocked smoothly and perfect on 3.0.0 but trying to install on a clean 3.0.1 with no other mods installed yet and it does this blank page on me I have tried 3 times now.
I assume it has something to do with the phpbb birthday code change in 3.0.1.
Is there a fix ?
Has the package been changed with the fix?
Or any ideas?
PS the mod installed perfect and worked prefect etc Just took away my ability to administrate users
Result: prime_birthdate_installed = TRUEprimehalo wrote:I don't know why this is happening. I think you will have to debug to find out why. In the file "functions_upcbirthdays.php", find:
Okay, then continue to debug. Find:Эрик wrote:Result: prime_birthdate_installed = TRUEprimehalo wrote:I don't know why this is happening. I think you will have to debug to find out why. In the file "functions_upcbirthdays.php", find:
Code: Select all
if (!user_show_congrats($ucbirthdayrow[$i]['user_show_age']))
Code: Select all
$user_show_age = isset($ucbirthdayrow[$i]['user_show_age']) ? $ucbirthdayrow[$i]['user_show_age'] : 'NOT SET';
$show_congrats = user_show_congrats($ucbirthdayrow[$i]['user_show_age']) ? 'TRUE' : 'FALSE';
$show_age = user_show_age($ucbirthdayrow[$i]['user_show_age']) ? 'TRUE' : 'FALSE';
trigger_error("user_show_age = $user_show_age, show_congrats = $show_congrats, show_age = $show_age");
Okay, that makes it all clear, I know how to fix it now. Find:Эрик wrote:Result: user_show_age = 2, show_congrats = TRUE, show_age = FALSE
Code: Select all
$ucbirthdayrow[$i]['user_birthday_tstamp'] = (user_show_age($ucbirthdayrow[$i]['user_show_age'])) ? $ucbirthdayrow[$i]['user_birthday_tstamp'] : '';
Code: Select all
$ucbirthdayrow[$i]['user_birthday'] = (user_show_age($ucbirthdayrow[$i]['user_show_age'])) ? $ucbirthdayrow[$i]['user_birthday'] : '';
I did 3 times I have had no issue with this mod on 3.0.0 at all and installing mods is almost second nature to me.I'd go through the installation instructions dealing with the admin sections and make sure everything got installed correctly.
Did you download the latest version of the MOD? I think the instructions changed slightly for phpbb3.0.1.ThunderCrew wrote:I did 3 times I have had no issue with this mod on 3.0.0 at all and installing mods is almost second nature to me.I'd go through the installation instructions dealing with the admin sections and make sure everything got installed correctly.
The issue is I belive since phpbb3.0.1 has changed its birtdate coding some I might be placing it wrong
I will try again after work tonight as I loved this mod. Its perfection and simplicity is awsome. I would just go back to phpbb3.0 for the simple fact of keeping this mod but the new upgrades/fixes on phpbb3.0.1 are too great to not get it installed.
Ill post my exact mod coding afterw ork tonight if it fails again (or maybe even if it works just so others IF having this issue will see how to fix on 3.0.1)