4images Modifications / Modifikationen > Mods & Plugins (Releases & Support)
[MOD] Birthday Mod v1.0
Stoleti:
So this show "Today Birthday's " ?? on Home ? :roll:
TheOracle:
--- Quote from: Stoleti on February 10, 2006, 05:10:21 PM ---So this show "Today Birthday's " ?? on Home ? :roll:
--- End quote ---
Please read the changed files from the first post. It mentions index.php file. In the mean time, read step 11. ;)
TheOracle:
@icecream:
By the way, since you added this :
--- Quote ---
$birthday_list = "";
--- End quote ---
find :
--- Quote ---
$site_template->register_vars(array(
"lang_events" => $lang['events'],
"birthday_list" => $birthday_list,
"lang_congratulate" => $lang['congratulate']
));
}
--- End quote ---
replace with :
--- Code: ---
$site_template->register_vars(array(
"lang_events" => $lang['events'],
"birthday_list" => $birthday_list,
"lang_congratulate" => $lang['congratulate']
));
unset ($birthday_list);
}
--- End code ---
Then :
--- Quote ---
$sql = "SELECT ".get_user_table_field("", "user_id").", ".get_user_table_field("", "user_name").", ".get_user_table_field("", "birthday")."
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "birthday")." LIKE '%-$currentdate'
ORDER BY ".get_user_table_field("", "user_name");
--- End quote ---
to read :
--- Code: ---
$sql = "SELECT ".get_user_table_field("", "user_id").", ".get_user_table_field("", "user_name").", "birthday"
FROM ".USERS_TABLE."
WHERE birthday LIKE '%-$currentdate'
ORDER BY ".get_user_table_field("", "user_name");
--- End code ---
;)
Stoleti:
But another question , for who have used the User Age V.1 ? :oops:
we need uninstall all your make some modifications ? or we can install it without any problem ? :|
Stoleti:
on birthday MOD installer :
--- Quote ---Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/blacktra/public_html/test-gallery/birthday_install.php on line 14
--- End quote ---
:|
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version