[Add-on] User Age into viewprofile

Mod that adds a birthday field to the users profile, theire age are displayed beside the posts, and on there birthday they will have a greeting popup
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby Pentium_4 on Tue 12. Aug, 2003 20:32

le ans tu peux le mettre partout sur le mod birthday
mais j'aurais voulu savoir pourquoi je n'ai pas cette erreur et je vais regardé car ceci me turlupine un petit peu

Pentium_4 :wink:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby Pentium_4 on Tue 12. Aug, 2003 20:34

heu peut être que j'ai trouvé l'erreur !

Code: Select all
#
#---[ FIND ]---
#

include($phpbb_root_path . 'includes/chinese.'.$phpEx);

#
#---[ REMPLACE WITH ]---
#

include_once($phpbb_root_path . 'includes/chinese.'.$phpEx);


A voir :roll:

Pentium_4 :wink:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby korko on Tue 12. Aug, 2003 20:43

c'est bon j'avais oublier d'enlever le code dans profile_view_body.tpl (aparemment c'est celui la qui foire ou alors les 2)
korko
Poster
Poster
 
Posts: 18
Joined: Fri 08. Aug, 2003 19:32

Postby Pentium_4 on Tue 12. Aug, 2003 21:52

fait des essais mais sa m'étonnerais que sa vienne du tpl :roll:

Pentium_4 :wink:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby korko on Wed 13. Aug, 2003 12:35

ba apres avoir supprimer le code du tpl, je pouvait éditer a nouveau mon profil mais le prob now lol c que je ne pe plus le voir c con mais bon et tjrs la meme errur un $ absent alros que g enlever tout ton code et remis le mien :/ je comprend pu rien sa m'enerve avant sa marchait :'(
korko
Poster
Poster
 
Posts: 18
Joined: Fri 08. Aug, 2003 19:32

Postby carloclaessen on Sun 17. Aug, 2003 15:23

you forgot this line in the howto

open usercp_viewprofile.php

find

Code: Select all
   'BIRTHDAY' => ($profiledata['user_birthday']!=999999) ? realdate($lang['DATE_FORMAT'], $profiledata['user_birthday']) : $lang['No_birthday_specify'],


add after

Code: Select all
   'POSTER_AGE' => $poster_age,
carloclaessen
Poster
Poster
 
Posts: 97
Joined: Mon 16. Dec, 2002 01:38

Postby Pentium_4 on Sun 17. Aug, 2003 20:01

I just puts an add-on thus I do not modify all the file Part 1

Pentium_4 :wink:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby carloclaessen on Sun 17. Aug, 2003 20:42

nope you miss understand me

when you dont have this line it doesnt show the age in view profile

:D :D :D :D :D :D :D :D
carloclaessen
Poster
Poster
 
Posts: 97
Joined: Mon 16. Dec, 2002 01:38

PreviousNext

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron