Trying to intall birthday mod-parse error ;o)

Advertise a phpBB hack or request help with an existing one.

Moderator: TerraFrost

Trying to intall birthday mod-parse error ;o)

Postby peter » Tue Mar 07, 2006 1:45 am

Olá,

i try hard to install your Birthday mod, i think it will be nice when i 'm finnished...


But sadly i get an parse error in the index.php...i changed all code carefully and followed your manual exactly up to one special point where the code in your manual didnt matched the one in my brandnew phpbb board :lila

Your code in the manual:

Code: Select all
#-----[ FIND ]------------------------------------------
#
      'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
#
#-----[ AFTER, ADD ]------------------------------------
#
      'BIRTHDAYS' => $birthdays,
      'UPCOMING' => $upcoming,



My code in the phpbb index.php:

Code: Select all
if ( $userdata['session_logged_in'] ) {
      $NEWEST_USER=sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>');
      'BIRTHDAYS' => $birthdays,
      'UPCOMING' => $upcoming,
   } else {
      $NEWEST_USER=sprintf($lang['Newest_user'], '', $newest_user,'');
   }



And last but not least hehe, the error:
Parse error: parse error, unexpected T_DOUBLE_ARROW in /xxx/xxx/xxx/xxx/xxx/xxx/index.php on line 359



Maybe can someone who has a clue of .php explain me what wen't wrong? :love [/code]
peter
Traveler
 
Posts: 4
Joined: Tue Mar 07, 2006 1:36 am

Postby peter » Tue Mar 07, 2006 11:23 am

No one an tip for me ? O.o
peter
Traveler
 
Posts: 4
Joined: Tue Mar 07, 2006 1:36 am

Postby peter » Tue Mar 07, 2006 2:12 pm

Ok now i got the error message fixed but my next problem i have to face at the moment is that no data shows up...

The brithday box is there on the index.php but it shows no birthdays, and the strangest thing is i created the tables in the database but when a user enters his birthday it didn´t get saved...instead the script tries to save the birthday data into the user email field directly behind the email adress

any idea? i would love to get this to work.
peter
Traveler
 
Posts: 4
Joined: Tue Mar 07, 2006 1:36 am

Postby TerraFrost » Wed Mar 08, 2006 4:10 am

You wouldn't happen to be marcowitsch on phpbb.com, would you? If so, then I guess I'm helping you there :)

If not, then... ummm... there's someone who posts exactly like you do and about the same things as you on phpbb.com, heh.
TerraFrost
Legendary Guard
 
Posts: 12357
Joined: Wed Dec 04, 2002 6:37 am

Postby peter » Wed Mar 08, 2006 11:24 am

Hi Terra,

yes i'm marcowitsch from phpbb.com ^^

Sorry i forgot to mention here that you already helped me out on phpbb :lila
Thanks again for your great help i'll sended you an pn on phpbb.

greetings

"peter""marcowitsch"
peter
Traveler
 
Posts: 4
Joined: Tue Mar 07, 2006 1:36 am


Return to phpBB Hacks and MODs

Who is online

Users browsing this forum: No registered users and 1 guest

cron