Hi!
Wollte die Tage den Usercar-Mod installieren. Hat soweit auch funktioniert..
nur konnte ich den nicht ins easyUCP einfügen. Da kommt ne Fehlermeldung.
Wie könnte man das hinbekommen?
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="right"><span class="nav"><br />{JUMPBOX}</span></td>
</tr>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- BEGIN switch_show_usercars -->
<br><table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" align="center" class="thTop" nowrap="nowrap"> {L_USERCARS}: </th>
</tr>
<tr>
<td colspan="2" height="21" class="row2"></td>
</tr>
<!-- END switch_show_usercars -->
<!-- BEGIN usercarsrow -->
<tr><td width="60%" valign="top" height="21" class="row1">
<table width="100%" cellpadding="2" cellspacing="1" border="0">
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_carname}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_carname}</span></td>
</tr>
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_desc}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_desc}</span></td>
</tr>
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_mods}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_mods}</span></td>
</tr>
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_cylinders}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_cylinders}</span></td>
</tr>
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_exhaust}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_exhaust}</span></td>
</tr>
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_power}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_power}</span></td>
</tr>
<tr>
<td height="21" width="50%" valign="top" class="row1"><span class="genmed"><b>{L_usercars_topspeed}:</b></span></td>
<td height="21" width="50%" class="row1"><span class="genmed">{usercarsrow.usercars_topspeed}</span></td>
</tr>
</table>
</td><td width="40%" valign="middle" height="21" class="row1">
<table width="100%" cellpadding="2" cellspacing="1" border="0">
<tr>
{usercarsrow.usercars_pic}
</tr>
</td></tr>
</table>
<tr>
<td colspan="2" height="21" class="row2"></td>
</tr>
<!-- END usercarsrow -->
<!-- BEGIN switch_show_usercars -->
</table>
<!-- END switch_show_usercars -->
#
#----------[ DEUTSCHE INFO ]------------------------------
#
Es ist sehr einfach andere Mods mit Profiländerungen ins easyUCP zu integrieren!
Bei vielen Mod Installationsanletungen, wie z.B. die des Birthday Mods, gibt es
nichts zu beachten! Ausser das die Änderungen der profile_view_body.tpl nun in
die easyucp_body.tpl eingefügt werden müssen! :o)
(Ein gewisses Grundwissen in HTML ist hierbei von nöten.)
Bei einigen Mod, wie z.B. dem Gender Mod, muss man allerdings aufpassen das die
änderungen in der usercp_register.php und/oder in der profile_add_body.tpl an
er richtigen Stelle durchgefürt werden, was allerdings auch nicht schwierig ist!
Für ein besseres Verständnis, wirf mal einen Blick in die beigefügten add ons.
</table>
</td></tr>
</table>
</td></tr>
<tr>
<th class="thHead" colspan="2" height="25" nowrap="nowrap"><font color="red"></font></th>
</tr>
</table>
</form>
Fatal error: Cannot redeclare phpbb_schild() (previously declared in /www/htdocs/w005796e/forum/includes/bbcode.php:34) in /www/htdocs/w005796e/forum/includes/bbcode.php on line 34
#
#----------[ OPEN ]-------------------------------------
#
includes/usercp_viewprofile.php
#
#----------[ FIND ]-------------------------------------
#
$user_sig = '';
if ( $profiledata['user_attachsig'] && $board_config['allow_sig'] )
{
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
$user_sig = $profiledata['user_sig'];
#
#----------[ REPLACE WITH ]-----------------------------
#
$user_sig = '';
if ( $profiledata['user_attachsig'] && $board_config['allow_sig'] )
{
include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);
$user_sig = $profiledata['user_sig'];
#
#----------[ SAVE AND CLOSE ALL FILES ]-----------------
#
# EoM
Mitglieder in diesem Forum: 0 Mitglieder und 17 Gäste