Seite 1 von 2

MOD Einbau

Verfasst: 02.07.2006 00:35
von Citty
Hallo Zusammen!!!
Also ich will in unserem Forum 2 mods installieren!!! jetzt meine frage wohin muss ich die genau kopieren und wie installiere ich die dann ich hab mir schon die anleitung zum einbau von mod's 4 x durchgelesen verstehe aber immernoch banhof!!!


lg Citty

p.s. ich hoffe mir kann wer weiterhelfen!!!

Verfasst: 02.07.2006 08:19
von punkface
KB:modsfaq

Verfasst: 02.07.2006 08:38
von gloriosa
Hallo Citty,
hast Du überhaupt FTP-Zugang zu Deinem Webspace ? :o

Verfasst: 02.07.2006 08:58
von Citty
punkface hat geschrieben:KB:modsfaq

Das Hab ich ja schon 4x gelesen!!!

Verfasst: 02.07.2006 09:00
von Citty
gloriosa hat geschrieben:Hallo Citty,
hast Du überhaupt FTP-Zugang zu Deinem Webspace ? :o

Ja natürlich mit FTP - Remote mit allem drum und dran!!!



p.s.
Is ja nicht meine seite sondern die von ein paar freunden (ich bin nur der designer, verwalter und manager!!)

Verfasst: 02.07.2006 09:10
von Citty
Das sind die 2 mods die ich einbaun will!!! :D
##############################################################
## MOD Title: Add Address and Skypename to Userprofile
## MOD Author: CBACK < webmaster@cback.de > (Christian Knerr) http://www.community.cback.de
## MOD Description: Add the Fields
## - Given Name
## - Name
## - Street and Number
## - ZIP Code and City
## - Telephone Number
## - Skype Name
##
## to your Userprofile.
##
## It is possible to change these values also over the ACP
## Usermanagement, during Registration and into the
## Userprofile, like you can do this with other Profile Fields.
## MOD Version: 1.0.1
##
## Installation Level: Intermediate
## Installation Time: 20 Minutes
## Files To Edit: 9
## admin/admin_users.php
## includes/usercp_avatar.php
## includes/usercp_register.php
## includes/usercp_viewprofile.php
## language/lang_english/lang_main.php
## language/lang_german/lang_main.php
## templates/subSilver/admin/user_edit_body.tpl
## templates/subSilver/profile_add_body.tpl
## templates/subSilver/profile_view_body.tpl
## Included Files: n/a
##############################################################
## 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 MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## MOD History:
##
## 2005-06-18 - Version 1.0.0
## - First Release created for www.mlm-infos.de
## Thanks for supporting the CBACK Project!
##
## 2005-06-30 - Version 1.0.1
## - FIX: Registration malfunction
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_users ADD user_vorname VARCHAR(255) AFTER user_interests;
ALTER TABLE phpbb_users ADD user_name VARCHAR(255) AFTER user_vorname;
ALTER TABLE phpbb_users ADD user_strasse VARCHAR(255) AFTER user_name;
ALTER TABLE phpbb_users ADD user_ort VARCHAR(255) AFTER user_strasse;
ALTER TABLE phpbb_users ADD user_telefon VARCHAR(255) AFTER user_ort;
ALTER TABLE phpbb_users ADD user_skype VARCHAR(255) AFTER user_telefon;


#
#-----[ OPEN ]------------------------------------------
#
language/lang_german/lang_main.php


#
#-----[ FIND ]------------------------------------------
#
$lang['Interests'] = 'Interessen';


#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Vorname'] = 'Vorname';
$lang['Name'] = 'Name';
$lang['Strasse'] = 'Straße / Nr.';
$lang['Ort'] = 'PLZ / Ort';
$lang['Telefon'] = 'Telefon';
$lang['Skype'] = 'Skype';


#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php


#
#-----[ FIND ]------------------------------------------
#
$lang['Interests'] = 'Interests';


#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Vorname'] = 'Given Name';
$lang['Name'] = 'Name';
$lang['Strasse'] = 'Street / Nr.';
$lang['Ort'] = 'ZIP Code / City';
$lang['Telefon'] = 'Telephone';
$lang['Skype'] = 'Skype';


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


#
#-----[ FIND ]------------------------------------------
#
'INTERESTS' => ( $profiledata['user_interests'] ) ? $profiledata['user_interests'] : '&nbsp;',


#
#-----[ AFTER, ADD ]------------------------------------------
#
'VORNAME' => ( $profiledata['user_vorname'] ) ? $profiledata['user_vorname'] : '&nbsp;',
'L_VORNAME' => $lang['Vorname'],
'NAME' => ( $profiledata['user_name'] ) ? $profiledata['user_name'] : '&nbsp;',
'L_NAME' => $lang['Name'],
'STRASSE' => ( $profiledata['user_strasse'] ) ? $profiledata['user_strasse'] : '&nbsp;',
'L_STRASSE' => $lang['Strasse'],
'ORT' => ( $profiledata['user_ort'] ) ? $profiledata['user_ort'] : '&nbsp;',
'L_ORT' => $lang['Ort'],
'TELEFON' => ( $profiledata['user_telefon'] ) ? $profiledata['user_telefon'] : '&nbsp;',
'L_TELEFON' => $lang['Telefon'],
'SKYPE' => ( $profiledata['user_skype'] ) ? $profiledata['user_skype'] : '&nbsp;',
'L_SKYPE' => $lang['Skype'],


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


#
#-----[ FIND ]------------------------------------------
#
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');


#
#-----[ IN-LINE FIND ]------------------------------------------
#
'interests'


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, 'vorname' => 'vorname', 'name' => 'name', 'strasse' => 'strasse', 'ort' => 'ort', 'telefon' => 'telefon', 'skype' => 'skype'


#
#-----[ FIND (2 times!!)]------------------------------------------
#
$interests = stripslashes($interests);


#
#-----[ AFTER, ADD ]------------------------------------------
#
$vorname = stripslashes($vorname);
$name = stripslashes($name);
$strasse = stripslashes($strasse);
$ort = stripslashes($ort);
$telefon = stripslashes($telefon);
$skype = stripslashes($skype);


#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "


#
#-----[ IN-LINE FIND ]------------------------------------------
#
$interests) . "'


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, user_vorname = '" . str_replace("\'", "''", $vorname) . "', user_name = '" . str_replace("\'", "''", $name) . "', user_strasse = '" . str_replace("\'", "''", $strasse) . "', user_ort = '" . str_replace("\'", "''", $ort) . "', user_telefon = '" . str_replace("\'", "''", $telefon) . "', user_skype = '" . str_replace("\'", "''", $skype) . "'


#
#-----[ FIND ]---------------------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . "

#
#-----[ IN-LINE FIND ]------------------------------------------
#
user_interests


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, user_vorname, user_name, user_strasse, user_ort, user_telefon, user_skype


#
#-----[ FIND ]------------------------------------------
#
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popup_pm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, 0, 1, ";


#
#-----[ IN-LINE FIND ]------------------------------------------
#
str_replace("\'", "''", $interests) . "'


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, '" . str_replace("\'", "''", $vorname) . "', '" . str_replace("\'", "''", $name) . "', '" . str_replace("\'", "''", $strasse) . "', '" . str_replace("\'", "''", $ort) . "', '" . str_replace("\'", "''", $telefon) . "', '" . str_replace("\'", "''", $skype) . "',



#
#-----[ FIND ]------------------------------------------
#
$interests = $userdata['user_interests'];


#
#-----[ AFTER, ADD ]------------------------------------------
#
$vorname = $userdata['user_vorname'];
$name = $userdata['user_name'];
$strasse = $userdata['user_strasse'];
$ort = $userdata['user_ort'];
$telefon = $userdata['user_telefon'];
$skype = $userdata['user_skype'];


#
#-----[ FIND ]------------------------------------------
#
display_avatar_gallery($mode, $avatar_category


#
#-----[ IN-LINE FIND ]------------------------------------------
#
$interests


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, $vorname, $name, $strasse, $ort, $telefon, $skype


#
#-----[ FIND (2 times!!)]------------------------------------------
#
'INTERESTS' => $interests,


#
#-----[ AFTER, ADD ]------------------------------------------
#
'VORNAME' => $vorname,
'L_VORNAME' => $lang['Vorname'],
'NAME' => $name,
'L_NAME' => $lang['Name'],
'STRASSE' => $strasse,
'L_STRASSE' => $lang['Strasse'],
'ORT' => $ort,
'L_ORT' => $lang['Ort'],
'TELEFON' => $telefon,
'L_TELEFON' => $lang['Telefon'],
'SKYPE' => $skype,
'L_SKYPE' => $lang['Skype'],


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


#
#-----[ FIND ]------------------------------------------
#
function display_avatar_gallery($mode, &$category


#
#-----[ IN-LINE FIND ]------------------------------------------
#
&$interests


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, &$vorname, &$name, &$strasse, &$ort, &$telefon, &$skype


#
#-----[ FIND ]------------------------------------------
#
$params = array('coppa', 'user_id'


#
#-----[ IN-LINE FIND ]------------------------------------------
#
'dateformat'


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, 'vorname', 'name', 'strasse', 'ort', 'telefon', 'skype'


#
#-----[ OPEN ]------------------------------------------
#
admin/admin_users.php


#
#-----[ FIND ]------------------------------------------
#
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ): '';


#
#-----[ AFTER, ADD ]------------------------------------------
#
$vorname = ( !empty($HTTP_POST_VARS['vorname']) ) ? trim(strip_tags( $HTTP_POST_VARS['vorname'] ) ) : '';
$name = ( !empty($HTTP_POST_VARS['name']) ) ? trim(strip_tags( $HTTP_POST_VARS['name'] ) ) : '';
$strasse = ( !empty($HTTP_POST_VARS['strasse']) ) ? trim(strip_tags( $HTTP_POST_VARS['strasse'] ) ) : '';
$ort = ( !empty($HTTP_POST_VARS['ort']) ) ? trim(strip_tags( $HTTP_POST_VARS['ort'] ) ) : '';
$telefon = ( !empty($HTTP_POST_VARS['telefon']) ) ? trim(strip_tags( $HTTP_POST_VARS['telefon'] ) ) : '';
$skype = ( !empty($HTTP_POST_VARS['skype']) ) ? trim(strip_tags( $HTTP_POST_VARS['skype'] ) ) : '';


#
#-----[ FIND (2 Times!!)]------------------------------------------
#
$interests = htmlspecialchars(stripslashes($interests));


#
#-----[ AFTER, ADD ]------------------------------------------
#
$vorname = htmlspecialchars(stripslashes($vorname));
$name = htmlspecialchars(stripslashes($name));
$strasse = htmlspecialchars(stripslashes($strasse));
$ort = htmlspecialchars(stripslashes($ort));
$telefon = htmlspecialchars(stripslashes($telefon));
$skype = htmlspecialchars(stripslashes($skype));


#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "


#
#-----[ IN-LINE FIND ]------------------------------------------
#
$interests) . "'


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, user_vorname = '" . str_replace("\'", "''", $vorname) . "', user_name = '" . str_replace("\'", "''", $name) . "', user_strasse = '" . str_replace("\'", "''", $strasse) . "', user_ort = '" . str_replace("\'", "''", $ort) . "', user_telefon = '" . str_replace("\'", "''", $telefon) . "', user_skype = '" . str_replace("\'", "''", $skype) . "'


#
#-----[ FIND ]------------------------------------------
#
$interests = htmlspecialchars($this_userdata['user_interests']);


#
#-----[ AFTER, ADD ]------------------------------------------
#
$vorname = htmlspecialchars($this_userdata['user_vorname']);
$name = htmlspecialchars($this_userdata['user_name']);
$strasse = htmlspecialchars($this_userdata['user_strasse']);
$ort = htmlspecialchars($this_userdata['user_ort']);
$telefon = htmlspecialchars($this_userdata['user_telefon']);
$skype = htmlspecialchars($this_userdata['user_skype']);


#
#-----[ FIND ]------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="interests" value="' . str_replace("\"", """, $interests) . '" />';


#
#-----[ AFTER, ADD ]------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="vorname" value="' . str_replace("\"", """, $vorname) . '" />';
$s_hidden_fields .= '<input type="hidden" name="name" value="' . str_replace("\"", """, $name) . '" />';
$s_hidden_fields .= '<input type="hidden" name="strasse" value="' . str_replace("\"", """, $strasse) . '" />';
$s_hidden_fields .= '<input type="hidden" name="ort" value="' . str_replace("\"", """, $ort) . '" />';
$s_hidden_fields .= '<input type="hidden" name="telefon" value="' . str_replace("\"", """, $telefon) . '" />';
$s_hidden_fields .= '<input type="hidden" name="skype" value="' . str_replace("\"", """, $skype) . '" />';


#
#-----[ FIND ]------------------------------------------
#
'INTERESTS' => $interests,


#
#-----[ AFTER, ADD ]------------------------------------------
#
'VORNAME' => $vorname,
'L_VORNAME' => $lang['Vorname'],
'NAME' => $name,
'L_NAME' => $lang['Name'],
'STRASSE' => $strasse,
'L_STRASSE' => $lang['Strasse'],
'ORT' => $ort,
'L_ORT' => $lang['Ort'],
'TELEFON' => $telefon,
'L_TELEFON' => $lang['Telefon'],
'SKYPE' => $skype,
'L_SKYPE' => $lang['Skype'],


#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_INTERESTS}:</span></td>
<td class="row2">
<input type="text" class="post"style="width: 200px" name="interests" size="35" maxlength="150" value="{INTERESTS}" />
</td>
</tr>


#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_VORNAME}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="vorname" size="35" maxlength="250" value="{VORNAME}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NAME}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="name" size="35" maxlength="250" value="{NAME}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_STRASSE}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="strasse" size="35" maxlength="250" value="{STRASSE}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ORT}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="ort" size="35" maxlength="250" value="{ORT}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_TELEFON}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="telefon" size="35" maxlength="250" value="{TELEFON}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_SKYPE}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="skype" size="35" maxlength="250" value="{SKYPE}" /> </td>
</tr>


#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<tr>
<td valign="top" align="right"><span class="gen">{L_INTERESTS}:</span></td>
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>


#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td valign="top" align="right"><span class="gen">{L_VORNAME}:</span></td>
<td> <b><span class="gen">{VORNAME}</span></b></td>
</tr>
<tr>
<td valign="top" align="right"><span class="gen">{L_NAME}:</span></td>
<td> <b><span class="gen">{NAME}</span></b></td>
</tr>
<tr>
<td valign="top" align="right"><span class="gen">{L_STRASSE}:</span></td>
<td> <b><span class="gen">{STRASSE}</span></b></td>
</tr>
<tr>
<td valign="top" align="right"><span class="gen">{L_ORT}:</span></td>
<td> <b><span class="gen">{ORT}</span></b></td>
</tr>
<tr>
<td valign="top" align="right"><span class="gen">{L_TELEFON}:</span></td>
<td> <b><span class="gen">{TELEFON}</span></b></td>
</tr>
<tr>
<td valign="top" align="right"><span class="gen">{L_SKYPE}:</span></td>
<td> <b><span class="gen">{SKYPE}</span></b></td>
</tr>


#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl


#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_INTERESTS}</span></td>
<td class="row2">
<input type="text" name="interests" size="35" maxlength="150" value="{INTERESTS}" />
</td>
</tr>


#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_VORNAME}</span></td>
<td class="row2"> <input class="post" type="text" name="vorname" size="35" maxlength="250" value="{VORNAME}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_NAME}</span></td>
<td class="row2"> <input class="post" type="text" name="name" size="35" maxlength="250" value="{NAME}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_STRASSE}</span></td>
<td class="row2"> <input class="post" type="text" name="strasse" size="35" maxlength="250" value="{STRASSE}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_ORT}</span></td>
<td class="row2"> <input class="post" type="text" name="ort" size="35" maxlength="250" value="{ORT}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_TELEFON}</span></td>
<td class="row2"> <input class="post" type="text" name="telefon" size="35" maxlength="250" value="{TELEFON}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_SKYPE}</span></td>
<td class="row2"> <input class="post" type="text" name="skype" size="35" maxlength="250" value="{SKYPE}" /> </td>
</tr>


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Verfasst: 02.07.2006 09:13
von Citty
##############################################################
## MOD Title: Gender and Birthday Add On for Viewonline Box in Index
## MOD Author: CBACK < webmaster@cback.de > (Christian Knerr) http://www.community.cback.de
## MOD Description: n/a
## MOD Version: 1.0.2
##
## Installation Level: Easy
## Installation Time: 4 Minutes
## Files To Edit: 2
## includes/page_header.php
## index.php
## Included Files: n/a
##############################################################
## 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 MODs not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
##
## THIS ADD ON REQUIRES:
##
## - Birthday Hack (Nils)
## - Gender Hack (Nils)
##
## OPTIONAL:
##
## - Who was Online-Box
##
##############################################################
## MOD History:
##
## 2005-07-07 - Version 1.0.0
## - First Release
##
##
## 2005-07-08 - Version 1.0.1
## - Fix in Birthday Display
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php


#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip


#
#-----[ IN-LINE FIND ]------------------------------------------
#
, u.user_level


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, u.user_birthday, u.user_gender


#
#-----[ FIND ]------------------------------------------
#
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';


#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Wich gender?
if($row['user_gender'] == 1)
{
// Male
$usergender = "<img src=\"" . $images['icon_minigender_male'] . "\" border=\"0\">";
}
else if ($row['user_gender'] == 2)
{
// Female
$usergender = "<img src=\"" . $images['icon_minigender_female'] . "\" border=\"0\">";
}
else
{
// No value
$usergender = '';
}

// How old?
$this_year = create_date('Y', time(), $board_config['board_timezone']);
$this_date = create_date('md', time(), $board_config['board_timezone']);

if ( $row['user_birthday'] != 999999 )
{
$userbdate=realdate('md', $row['user_birthday']);
$userbirthdate = $this_year - realdate ('Y',$row['user_birthday']);
if ($this_date < $userbdate) $userbirthdate--;
$userbirthdate = '&nbsp;&nbsp;<b>(' . $userbirthdate . ')</b>';
}
else
{
$userbirthdate = '';
}




#
#-----[ FIND ]------------------------------------------
#
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';


#
#-----[ REPLACE WITH ]------------------------------------------
#
$user_online_link = $usergender . '&nbsp;<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>' . $userbirthdate;



#
#-----[ FIND ]------------------------------------------
#
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';


#
#-----[ REPLACE WITH ]------------------------------------------
#
$user_online_link = $usergender . '$nbsp;<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>' . $userbirthdate;



#
#-----[ INSTALLED LAST VISIT MOD? ]------------------------------------------
#
#
#-----[ OPEN ]------------------------------------------
#
index.php


#
#-----[ FIND ]------------------------------------------
#
# Double Find to exactly identify this Line!
#
// Start add - Last visit MOD


#
#-----[ FIND ]------------------------------------------
#
# Double Find to exactly identify this Line!
#
$sql = 'SELECT user_id,username,user_allow_viewonline,user_level,user_lastlogon FROM ' . USERS_TABLE . ' WHERE user_id!="'.ANONYMOUS.'" AND user_session_time >= '.$timetoday.' AND user_session_time< '.($timetoday+86399).' ORDER BY username';


#
#-----[ IN-LINE FIND ]------------------------------------------
#
,user_lastlogon


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
, user_birthday, user_gender


#
#-----[ FIND ]------------------------------------------
#
if ($todayrow['user_lastlogon']>=$time1Hour)
{
$users_lasthour++;
}



#
#-----[ AFTER, ADD ]------------------------------------------
#
// Wich gender?
if($todayrow['user_gender'] == 1)
{
// Male
$usergender = "<img src=\"" . $images['icon_minigender_male'] . "\" border=\"0\"";
}
else if ($todayrow['user_gender'] == 2)
{
// Female
$usergender = "<img src=\"" . $images['icon_minigender_female'] . "\" border=\"0\"";
}
else
{
// No value
$usergender = '';
}

// How old?
$this_year = create_date('Y', time(), $board_config['board_timezone']);
$this_date = create_date('md', time(), $board_config['board_timezone']);

if ( $todayrow['user_birthday'] != 999999 )
{
$userbdate=realdate('md', $todayrow['user_birthday']);
$userbirthdate = $this_year - realdate ('Y',$todayrow['user_birthday']);
if ($this_date < $userbdate) $userbirthdate--;
$userbirthdate = '&nbsp;&nbsp;<b>(' . $userbirthdate . ')</b>';
}
else
{
$userbirthdate = '';
}


#
#-----[ FIND ]------------------------------------------
#
$users_today_list.=( $todayrow['user_allow_viewonline'])?' <a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $todayrow['user_id']) . '"' . $style_color .'>' . $todayrow['username'] . '</a>,' : (($userdata[user_level]==ADMIN) ? ' <a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $todayrow['user_id']) . '"' . $style_color .'><i>' . $todayrow['username'] . '</i></a>,' : '');


#
#-----[ REPLACE WITH ]------------------------------------------
#
$users_today_list.=( $todayrow['user_allow_viewonline'])?$usergender . '&nbsp;<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $todayrow['user_id']) . '"' . $style_color .'>' . $todayrow['username'] . '</a>' . $userbirthdate . ',' : (($userdata[user_level]==ADMIN) ? $usergender . '&nbsp;<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $todayrow['user_id']) . '"' . $style_color .'><i>' . $todayrow['username'] . '</i></a>' . $userbirthdate . ',' : '');



#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Verfasst: 02.07.2006 09:39
von moepschen
Citty hat geschrieben: Das Hab ich ja schon 4x gelesen!!!
Citty hat geschrieben: p.s.
Is ja nicht meine seite sondern die von ein paar freunden (ich bin nur der designer, verwalter und manager!!)
Der folgende Beitrag ist garantiert nicht böse gemeint, sonden wirklich eine ernstgemeinte Anregung!

Ich will dich ja nicht für dumm darstellen, aber als designer, verwalter und manager sollte man schon etwas von html, php und co verstehen, und vor allem eine so eindeutige MOD-FAQ verstehen. Also wer sich diese durchgelesen hat, und dann immernoch nicht mit den Mod-Einabu klar kommt, wird auch sicher hier nach vielen Hilfestellungen kaum durchblicken. Denn was anderes kann man dir hier auch nicht mehr erzählen. Denn wie gesagt, da steht ALLES drin was man wissen muß. Evtl solltest du drüber nachdenken dies in die Jobbörse zustellen, das es jemand für dich erledigt...

Verfasst: 02.07.2006 09:44
von Citty
ihc glaube jetzt hab ich es verstanden ich mus die einzelneen schritte durchgehen und nicht nur die texdatei irgendwohin hochladen oder??

Verfasst: 02.07.2006 09:47
von Citty
naja bin eher mit html vertraut und jetzt hab ichs eh verstanden!!!