[SOLUTION] Birthyear not mandatory anymore

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 midkiff on Thu 01. Sep, 2005 19:38

Beeveer wrote:
Code: Select all
ALTER TABLE phpbb_users ADD 'user_age_flag' INT DEFAULT "0" NOT NULL;
becomes
Code: Select all
ALTER TABLE phpbb_users ADD 'user_age_flag' INT DEFAULT "1" NOT NULL;
then.

Try this code, I'm not sure about the working:

Code: Select all
ALTER TABLE phpbb_users ALTER user_age_flag INT DEFAULT "1" NOT NULL;


I did what Beeveer posted and it didn't work.
midkiff
Poster
Poster
 
Posts: 22
Joined: Fri 09. Jul, 2004 15:59

Postby cbl22 on Thu 01. Sep, 2005 22:08

Again, hopefully someone will come up with a fix. Until then, just tell your users that if they edit their profile, they need to check the appropriate boxes.
cbl22
Poster
Poster
 
Posts: 5
Joined: Sun 07. Aug, 2005 15:51

Postby midkiff on Fri 02. Sep, 2005 02:44

That's the problem, if they check yes or no to hide the age it doesn't change anything or hide the age.
midkiff
Poster
Poster
 
Posts: 22
Joined: Fri 09. Jul, 2004 15:59

Postby midkiff on Wed 07. Sep, 2005 21:58

Can anyone please help me with this problem?
midkiff
Poster
Poster
 
Posts: 22
Joined: Fri 09. Jul, 2004 15:59

Postby baz.g on Thu 08. Sep, 2005 21:58

I tried to install the hide age hack, but i get:

Code: Select all
Error Detail

Critical Error

IN-LINE FIND FAILED: In file [admin/admin_users.php] could not find:

$interests) . "'

MOD script line #173 :: FAQ :: Report


also, after installing the original 1.5.7 birthday mod i select in ACP max age 99 and min age 14 but after i save the values have disappeared and when i try to update birthday in profile it says

Code: Select all
Sorry, this site, does not accept user older than 0 years old


and i also get when i click on any thread made:

Code: Select all
Could not obtain post/user information.

DEBUG MODE

SQL Error : 1054 Unknown column 'u.user_birthday' in 'field list'

SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, u.user_birthday, u.user_next_birthday_greeting, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = 2 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, 15

Line : 414
File : viewtopic.php


if it helps, i used easymod to install the birthday mod

someone please help :)
baz.g
Poster
Poster
 
Posts: 1
Joined: Thu 08. Sep, 2005 21:04
Location: England

Postby Beeveer on Sat 10. Sep, 2005 13:03

Birthday mod database installation not executed.
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby antoonvdr on Sat 08. Oct, 2005 19:10

Try this solution: http://www.chathamkiwanis.com/phpBB/dlo ... file_id=22

It takes care of the calendar popup, the birthday announcement on the index page and the birthyear in the profile of a user.

Note: users still have to submit their birthday but choose to not have the age and birthyear shown.
Note2: this is a beta put together based on Birthday Mod v1.5.4 and Topic Calendar 1.0.1: please test!
;)
antoonvdr
Poster
Poster
 
Posts: 6
Joined: Sat 21. Aug, 2004 14:13

Postby midkiff on Tue 11. Oct, 2005 21:36

I removed the "Hide Age: Addon to Birthday Mod" and added antoonvdr's mod (except for the calendar edits, because I don't have a calendar on my board) and now I am getting this error when trying to edit profiles

Parse error: parse error, unexpected '&', expecting ')' in /home/mojojojo/public_html/castlemarlin/includes/usercp_avatar.php on line 256

Here is line 256
Code: Select all
function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests &$signature, &$viewemail, &$notifypm, &$popup_pm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id, &$birthday)


Would someone be able to tell me why I'm getting this error?
midkiff
Poster
Poster
 
Posts: 22
Joined: Fri 09. Jul, 2004 15:59

PreviousNext

Return to Birthday [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron