suche zeile für einbau im geburtstag mod

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Benutzeravatar
wwwAnubis
Mitglied
Beiträge: 19
Registriert: 17.04.2006 14:43

suche zeile für einbau im geburtstag mod

Beitrag von wwwAnubis »

Hallo Zusammen,

Das soll ich suchen ...


#-----[ OPEN ]------------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------------
#
$signature_bbcode_uid = '';


und danach dann dies einfügen...


#-----[ AFTER, ADD ]------------------------------------------
#

// Start add - Birthday MOD
if (isset($HTTP_POST_VARS['birthday']) )
{
$birthday = intval ($HTTP_POST_VARS['birthday']);
if ($birthday!=999999)
{
$b_day = realdate('j',$birthday);
$b_md = realdate('n',$birthday);
$b_year = realdate('Y',$birthday);
}
} else
{
$b_day = ( isset($HTTP_POST_VARS['b_day']) ) ? intval ($HTTP_POST_VARS['b_day']) : 0;
$b_md = ( isset($HTTP_POST_VARS['b_md']) ) ? intval ($HTTP_POST_VARS['b_md']) : 0;
$b_year = ( isset($HTTP_POST_VARS['b_year']) ) ? intval ($HTTP_POST_VARS['b_year']) : 0;
if ($b_day && $b_md && $b_year)
{
$birthday = mkrealdate($b_day,$b_md,$b_year);
} else
{
$birthday = 999999;
}
}
// End add - Birthday MOD



Leider finde ich diese zeile ( $signature_bbcode_uid = ''; )
nicht es sind 3 zeilen ähnlich aber eben nicht identisch weis jemand wie ich weiter komme?





Gruß Florian
Benutzeravatar
DreamPromise
Mitglied
Beiträge: 3793
Registriert: 27.01.2004 17:56

Beitrag von DreamPromise »

Moin moin

also bei mir sieht das so aus:
#-----[ OPEN ]------------------------------------------------
#
includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------------
#
$signature = str_replace('<br />', "\n", $signature);

#
#-----[ AFTER, ADD ]------------------------------------------
#

// Start add - Birthday MOD
if (isset($HTTP_POST_VARS['birthday']) )
{
$birthday = intval ($HTTP_POST_VARS['birthday']);
if ($birthday!=999999)
{
$b_day = realdate('j',$birthday);
$b_md = realdate('n',$birthday);
$b_year = realdate('Y',$birthday);
}
} else
{
$b_day = ( isset($HTTP_POST_VARS['b_day']) ) ? intval ($HTTP_POST_VARS['b_day']) : 0;
$b_md = ( isset($HTTP_POST_VARS['b_md']) ) ? intval ($HTTP_POST_VARS['b_md']) : 0;
$b_year = ( isset($HTTP_POST_VARS['b_year']) ) ? intval ($HTTP_POST_VARS['b_year']) : 0;
if ($b_day && $b_md && $b_year)
{
$birthday = mkrealdate($b_day,$b_md,$b_year);
} else
{
$birthday = 999999;
}
}
// End add - Birthday MOD
Ich hab diese MOD:
##############################################################
## MOD Title: Birthday
## MOD Author: Niels < ncr@db9.dk > (Niels Chr. Rød) http://mods.db9.dk
## MOD Description: This mod will add a birthday field into your
## user's profile and make users age viewable
## to others when viewing posts.
## MOD Version: 1.5.7
## Compatibility: 2.0.6
##
## Installation Level: Advanced
## Installation Time: 30 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit: 18
Benutzeravatar
wwwAnubis
Mitglied
Beiträge: 19
Registriert: 17.04.2006 14:43

Beitrag von wwwAnubis »

Ok Habe ich jetzt hinbekommen allerdings hat sich jetzt was verschoben was komisch aussieht könnte mir da nochmal jemand helfen?
Auserdem trotz deutschem sprachpaket hab ichs jetzt in englisch :-?

adresse wäre http://poecilotheria.po.funpic.de
Wäre nett wenn mir nochmal jemand helfen könnte

Gruß Florian
Benutzeravatar
wwwAnubis
Mitglied
Beiträge: 19
Registriert: 17.04.2006 14:43

Beitrag von wwwAnubis »

Habs wieder hinbekommen.

Forum sei dank :wink:

jetzt wäre nur noch die sache mit dem englisch deutsch zu klären dann wäre ich zufrieden.


Gruß Flo
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi ...

wo steht da was in Englisch? ich kann da jetzt nichts entdecken.

Markus
Benutzeravatar
wwwAnubis
Mitglied
Beiträge: 19
Registriert: 17.04.2006 14:43

Beitrag von wwwAnubis »

Hi,

Habs gestern nacht dann doch noch hinbekommen funktioniert halt doch besser wenn man denn mod von hand einbaut.

Gruß Florian
Antworten

Zurück zu „phpBB 2.0: Mod Support“