Seite 1 von 2
Mod "Custom Profile" bei andern Templates installi
Verfasst: 16.03.2006 21:05
von ZSKSkater
Hallo ich habe mir den Mod "Custom Profile Fields" runtergeladen und ihn bei dem Template SubSilver auch erfolgreich installieren können, doch bei den andern gibts folgendes gar nicht, auch nicht so ähnlich:
Das ist die Datei:
templates/subSilver/memberlist_body.tpl
Code: Alles auswählen
#
#-----[ FIND ]----------------------
#
<td class="catBottom" colspan="8" height="28"> </td>
#
#-----[ REPLACE WITH ]-----------------
#
<!-- Custom Profile Fields MOD start <=>
-- Original code: <td class="catBottom" colspan="8" height="28"> </td> -->
<td class="catBottom" colspan="{NUMCOLS}" height="28"> </td>
<!-- Custom Profile Fields MOD finish <=> -->
Also kann ich ihn z.b. bei dem Template Nosebleed, AdInfinitum, LastCrusade oder so nicht einbauen da ich keine ähnliche zeile mit:
<td class="catBottom" colspan="8" height="28"> </td>
finde, kann mir jemand helfen?
Verfasst: 16.03.2006 22:42
von QO
hast shonmal nur nach
gesucht?
Verfasst: 16.03.2006 23:41
von Fabrizio
Hi ZSKSkater,
wenn alle Stricke reißen, verlinke doch einmal die
memberlist_body.tpl aus den Templates, welche dir Schwierigkeiten bereiten.
Eine PHP-Datei zum Download bereitstellen.
Gruß,
Fabrizio
Verfasst: 17.03.2006 15:22
von ZSKSkater
Hier aber ist nun ne .txt datei müsst ihr dann ihn .tpl umwandeln!
also der Link:
http://www.funkydistortion.de/memberlist_body.txt
Gruss
Manuel
Verfasst: 17.03.2006 16:51
von QO
hmm, habs mal mit meinen 2en verglichen. Versuch mal folgendes
Find
Code: Alles auswählen
<!-- END custom_fields -->
<!-- Custom Profile Fields MOD finish -->
</tr>
<!-- END memberrow -->
add after
Code: Alles auswählen
<!-- Custom Profile Fields MOD start <=>
-- Original code: <td class="catBottom" colspan="8" height="28"> </td> -->
<td class="catBottom" colspan="{NUMCOLS}" height="28"> </td>
<!-- Custom Profile Fields MOD finish <=> -->
QO
Verfasst: 17.03.2006 18:46
von ZSKSkater
Ok danke werd ich gelich mal hochladen, die modifizierte Datei aber noch eine Frage in der Datei
profile_view_body.tpl
da steht in der installations anleituing:
Code: Alles auswählen
#-----[ FIND ]----------------------
#
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>
#
#-----[ AFTER, ADD ]--------------------
#
<!-- Custom Profile Fields MOD start + -->
<!-- BEGIN custom_about -->
<tr>
{custom_about.ABOUT}
</tr>
<!-- END custom_about -->
<!-- Custom Profile Fields MOD finish + -->
aber in meiner datei ist nur folgendes zufinden:
Code: Alles auswählen
<br /> <span class="postdetails">{POSTER_RANK}<br />
<br />
{L_LOCATION}: {LOCATION}<br />
{L_OCCUPATION}: {OCCUPATION}<br />
{L_INTERESTS}: {INTERESTS}<br />
<br />
{L_WEBSITE}: {WWW}<br />
<br />
{L_JOINED}: {JOINED}<br />
<br />
{L_TOTAL_POSTS}: {POSTS} [{POST_PERCENT_STATS} /
{POST_DAY_STATS}]<br />
also das ist der einzigste block der was mit interest zu tun hat!
Kann mir nun einer weiterhelfen?[/code]
Verfasst: 17.03.2006 19:07
von QO
tja, probieren geht über studieren
jenachdem wo du es haben willst, füge doch z.B. unterhalb von
mal
Code: Alles auswählen
<!-- BEGIN custom_about -->
{custom_about.ABOUT}
<br />
<!-- END custom_about -->
QO
Verfasst: 17.03.2006 23:06
von ZSKSkater
So alles funzt aber ein Problem hab ich noch, habe alles probiert aber habe damit immer Fehler im Board, also in der Datei viewtopic_body.tpl muss ich laut Anleitung folgendes ändern:
Code: Alles auswählen
#-----[ FIND ]-------------------
#
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}
#
#-----[ REPLACE WITH ]-------------------
#
<!-- Custom Profile Fields MOD start <=>
-- Original code: <td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td> -->
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}
<!-- BEGIN author_profile -->
<br />{postrow.author_profile.AUTHOR_VAL}</span>
<!-- END author_profile -->
</td>
<!-- Custom Profile Fields MOD finish <=> -->
#
#-----[ FIND ]--------------------
#
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
#
#-----[ REPLACE WITH ]--------------------
#
<!-- Custom Profile Fields MOD start <=>
-- Original code: <td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td> -->
<td colspan="2"><span class="postbody">{postrow.MESSAGE}<br />
<!-- BEGIN above_sig -->
<span class="postdetails"><br />{postrow.above_sig.ABOVE_VAL}</span>
<!-- END above_sig -->
{postrow.SIGNATURE}
<!-- BEGIN below_sig -->
<span class="postdetails"><br />{postrow.below_sig.BELOW_VAL}</span>
<!-- END below_sig -->
<span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
<!-- Custom Profile Fields MOD finish <=> -->
aber in den Templates ausser SubSilver kann ich nix finden wo es funktioniert kann mir nun einer das letzte mal bitte einen Rat geben?
Gruss
Manuel
Verfasst: 17.03.2006 23:38
von QO
verlinke mal die viewtopic_body als txt.
Verfasst: 17.03.2006 23:50
von ZSKSkater