Search found 38 matches

by Brinda
Wed Aug 08, 2007 5:46 pm
Forum: [2.0.x] MOD Database Releases
Topic: Birthdays
Replies: 3152
Views: 345325

Re: Birthdays

it doesn't work... It makes an error: Parse error: parse error, unexpected T_VARIABLE in /data/members/paid/l/u/mysite/htdocs/myfile/includes/usercp_viewprofile.php on line 174 Line 174 is: 173 $lang['DATE_FORMAT'] = 'd M Y' 174 $birthday_format = ($bday_year != 0) ? str_replace(array('y','Y'),array...
by Brinda
Wed Aug 08, 2007 5:24 pm
Forum: [2.0.x] MOD Database Releases
Topic: Birthdays
Replies: 3152
Views: 345325

Re: Birthdays

So the code will be like this:

Code: Select all

$lang['DATE_FORMAT'] = 'd M Y';
$birthday_format = ($bday_year != 0) ? str_replace(array('y','Y'),array($bday_year % 100,$bday_year),$lang['DATE_FORMAT']) : preg_replace('#[^djFmMnYy]*[Yy]#','',$lang['DATE_FORMAT']);
?
by Brinda
Wed Aug 08, 2007 5:09 pm
Forum: [2.0.x] MOD Database Releases
Topic: Birthdays
Replies: 3152
Views: 345325

Re: Birthdays

Code: Select all

$lang['DATE_FORMAT'] =  'd/m/Y H:i'; // This should be changed to the default date format for your language, php date() format
But I don't want to change it, because it change also the registration date format, and I don't want this.
by Brinda
Wed Aug 08, 2007 4:47 pm
Forum: [2.0.x] MOD Database Releases
Topic: Birthdays
Replies: 3152
Views: 345325

Re: Birthdays

Sorry but I can't understand you... Itried to make this changes: Replace $lang['DATE_FORMAT'] with the format you want to use. Or just add, before that line, this: $lang['DATE_FORMAT'] = 'desired format'; but maybe it is not correct...or I didn't understand exactly what to do... Sorry but I have to ...
by Brinda
Wed Aug 08, 2007 6:52 am
Forum: [2.0.x] MOD Database Releases
Topic: [2.0.20] Welcome on Index
Replies: 135
Views: 44635

Re: [2.0.20] Welcome on Index

Hi cherokee!

I'm wondering ( :lol: ) if is it possible to move the welcome from index to overall_header...

How can I do?

Thanks!

Bye
by Brinda
Wed Aug 08, 2007 5:54 am
Forum: [2.0.x] MOD Database Releases
Topic: Birthdays
Replies: 3152
Views: 345325

Re: Birthdays

Thank for your answer. But now my problem is: how can I change $lang['DATE_FORMAT'] ? In which files? For the 2nd question: yes, i've seen it a few minutes after my post here! :lol: Thanks! Bye! EDIT: I found on lang_main how to change DATE_FORMAT, but I want only remove time from birthday Mod, so I...
by Brinda
Wed Aug 08, 2007 3:03 am
Forum: [2.0.x] MOD Database Releases
Topic: Birthdays
Replies: 3152
Views: 345325

Re: Birthdays

Hi! Maybe somebody else has already made this question, but I have a little problem on viewprofile. The mod sets automatically a time when i put in the birthdate, but I want to remove it and leave only the birthdate. For example, my birthdate is, with the mod: 20/01/1983 12:00 I wanto only like this...
by Brinda
Fri Mar 02, 2007 8:02 pm
Forum: [2.0.x] MOD Requests
Topic: Group Template
Replies: 0
Views: 109

Group Template

Hi! I'm looking for a Mod that modify the templates if you are in a specific group. I've found this: "MOD Title: Admin Templates [2.0.10]" (if you need link, ask me), but it doesn't work and some codes are different. For example I need a mod like this: if a member is included in a group ca...

Go to advanced search