[PART 6] Birthday Memberlist / Misc

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 !

[PART 6] Birthday Memberlist / Misc

Postby Pentium_4 on Fri 18. Jul, 2003 04:56

I made Add-On for Birthday, there are one file [Part 6]

- Part 6 [The file Part 6 allows to post the age as well as its normal and Chinese astrological sign of the user in the memberlist.php]

Part 6 ::

##############################################################
## MOD Title: Add-on for Birthday
## MOD Author: Pentium_4 <albanmaire@wanadoo.fr> (Maire Alban) http://www.forum.ffx.com/
## MOD Author of support: Dr DLP http://www.drdlpsite.levillage.org/phpBB2/index.php
## MOD Description: The file Part 6 allows to show the age as well as its normal and Chinese astrological sign of the user in the memberlist.php
## MOD Version: 1.0.1
##
## Installation Level: (facile)
## Installation Time: 10 Minutes
## Files To Edit: memberlist.php and memberlist_body.tpl
## Included Files: (Nobody)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author note: Version Beta :: 1.0.1
## WARNING :: The [Mod] Niels's Birthday (complete installation) http://mods.db9.dk/ is recommended of installed
##
##############################################################
## History of the mod:
##
## 2003-07-24 - Corrections of some bugs which did not allow the Chinese astrological posting of the images Version 1.0.1
## 2003-07-18 - Version Beta 1.0.0
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################


This post will be updated in every modification :wink:

Edit:: For the moment there is only for the memberlist.php, another version will be made for the groupcp.php
Last edited by Pentium_4 on Mon 30. May, 2005 08:46, edited 4 times in total.
Image
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby Pentium_4 on Fri 18. Jul, 2003 05:06

For the moment the add-on is made that for the memberlist.php :!:
An add-on for the groupcp.php is in progress :!:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby Narcosis on Fri 18. Jul, 2003 07:14

says something about cannot redeclare get_chinese_year
Then it says error on line 133 of chinese.php which is
Code: Select all
function get_chinese_year($date)
Narcosis
Poster
Poster
 
Posts: 18
Joined: Wed 16. Oct, 2002 05:38

Postby Pentium_4 on Fri 18. Jul, 2003 07:40

I do not understand nevertheless I have no error :?

I think that it is because you did not install the mod completely to be able to put this add-on it is necessary installed all the mod!
Sorry but I see that his as explanation because I do not see your error and because in I made this add-on I had installed him completely :wink:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby Narcosis on Fri 18. Jul, 2003 13:16

well this is what i get

Code: Select all
Fatal error: Cannot redeclare get_chinese_year() (previously declared in /public_html/phpBB2/includes/chinese.php:133) in /public_html/phpBB2/includes/chinese.php on line 133


i havent altered chinese.php and the zodiac, birthday, and chinese zodiac mod works fine on the rest of my site. ive had it working for a while
Narcosis
Poster
Poster
 
Posts: 18
Joined: Wed 16. Oct, 2002 05:38

Postby Niels on Fri 18. Jul, 2003 13:28

in memberlist.php, you may try replace this

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

with

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


this will only work if php version is higher or equal to ver 4.0.1.
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Pentium_4 on Fri 18. Jul, 2003 18:26

I assure you that it is really bizarre I does not understand why his does not want to walk because it seems to me that the include is good :?:

Niels I puts your modification :?: :idea:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Postby Pentium_4 on Thu 24. Jul, 2003 21:58

I made an update of the mod because of the problems successful candidates by the users of this forum :wink:
User avatar
Pentium_4
Poster
Poster
 
Posts: 77
Joined: Tue 06. May, 2003 10:32
Location: 127.0.0.1

Next

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron