Shackles
Ich habe mal eine Frage.
In der Zitatfunktion fehlt die Grafik des cellpic.gif.
Beispiel bei Original von Luana...
Wie bekomme ich das darein?
Biggi
Wie sieht denn dein BB-Code für Zitate aus?
ACP -> BBCodes bearbeiten -> quote -> bearbeiten
Original müßte der so aussehen:
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
|
<table align="center" width="98%" cellpadding="4" cellspacing="1" class="tableinborder">
<tr>
<td align="left" class="tablecat"><span class="smallfont"><b>{$lang->items['LANG_GLOBAL_QUOTE']}</b></span></td>
</tr>
<tr class="normalfont">
<td class="inposttable" align="left">{param1}</td>
</tr>
</table> |
|
Das class="tablecat" sollte dafür sorgen, daß das Hintergrundbild der Kategoriezeile verwendet wird.
AngelOfMine
Im ACP das quote bearbeiten und einfügen. Sollte normal auch mit <img src="{$style['imagefolder']}/DEIN_BILD.gif" /> funktionieren damits styleunabhängig ist.
Shackles
Genau das wars!
Danke Biggi!
Obwohl, wennich nicht die cat sondern das andere haben will, da gibts doch die Kategoriezeile und den tabellenkopf,oder?
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
|
<table align="center" width="98%" cellpadding="4" cellspacing="1" class="tableinborder">
<tr>
<td align="left" class="tablecat"><span class="smallfont"><b>{$lang->items['LANG_GLOBAL_QUOTE']}</b></span></td>
</tr>
<tr class="normalfont">
<td class="inposttable" align="left">{param1}</td>
</tr>
</table>
|
|
Biggi
Dann ändere die Klasse tablecat mal in tabletitle.
Ich meine, das wäre die für den Tabellenkopf.
Shackles
edit...
Das ist jetzt seltsam!
Gehe ich auf Profil von Shackles und auf suchen, werden mir ja alle Beiträge angezeigt. Dort ist das Image dabei. Gehe ich aber ganz normal über das Portal in nen Thread, fehlt das Image, wo Zitat draufsteht. Liegt das an der thread_postbit.tpl?
thread_postbit.tpl
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
|
<table cellspacing="0" cellpadding="0" border="0"><tr>
<if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if>
<td align="left"><img src="{$style['imagefolder']}/obenlinks.gif" alt="" title="" /></td>
<td width="100%" background="{$style['imagefolder']}/obenmitte.gif"></td>
<td align="right"><img src="{$style['imagefolder']}/obenrechts.gif" alt="" title="" /></td>
</tr></table>
<table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tr><if($indentwidth!=0)><then><td><img src="{$style['imagefolder']}/spacer.gif" height="10" width="$indentwidth" border="0" alt="" title="" /></td></then></if><td width="100%"><table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:100%" class="tableinborder">
<tr align="left">
<td class="$tdclass" valign="top"><a name="post$posts[postid]" id="post$posts[postid]"></a>
<table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%" class="smallfont"><if($posts['userid'])><then><span class="normalfont"><b><a href="profile.php?userid=$posts[userid]{$SID_ARG_2ND}">$posts[username]</a></b>$mod_map_thread_postbit</span> <if($posts['gender'] == 1)><then><img src="{$style['imagefolder']}/male.gif" border="0" alt="{$LANG_THREAD_MALE}" title="{$LANG_THREAD_MALE}" /></then></if>
<if($posts['gender'] == 2)><then><img src="{$style['imagefolder']}/female.gif" border="0" alt="{$LANG_THREAD_FEMALE}" title="{$LANG_THREAD_FEMALE}" /></then></if><br />
$posts[ranktitle]
<if($rankimages!="")><then><br />$rankimages</then></if>
<if($acp_userpic!="")><then>$acp_userpic<br />$posts[acp_usertext]</then></if>
<if($wbbuserdata['userid']!=0)><then>
<if($useravatar!="")><then><br />$useravatar</then></if>
</then></if>
<br /><br />
<img src="images/mood/$posts[field5].gif" ><br /><br />
<if($showregdateinthread==1)><then>{$lang->items['LANG_THREAD_REGDATE']} $posts[regdate]<br /></then></if>
<if($showuserpostsinthread==1)><then>{$lang->items['LANG_THREAD_USERPOSTS']} $posts[userposts]<br /></then></if>
<a href="search.php?action=user&userid={$posts['userid']}&showpost=1" target="_blank"><i>alle</i></a> |
<a href="search.php?action=user&userid={$posts['userid']}&starter=1&showpost=1" target="_blank">
<i>gestartete</i></a> anzeigen<br />
{$lang->items['LANG_THREAD_STYLE']} $posts[stylename] <br />
$userfields
<br />
<if($aboutme)><then><a href="javascript:aboutme('$posts[userid]')"><b><i><u>Mein Steckbrief</a></b></i></u></then></if>
<br /><br />
<if($userp['userid'])><then>
<if($userp['maxpicuploadzahl'] > 0)><then>
{$lang->items['LANG_THREAD_USERPAGE_GAL']} <a href="userpage_show.php?type=showgalerie&userid=$posts[userid]{$SID_ARG_2ND}">$userp[maxpicuploadzahl]</a>
<br />
</then></if>
{$lang->items['LANG_THREAD_USERPAGE_GB']} <a href="userpage_show.php?type=showgb&userid=$posts[userid]{$SID_ARG_2ND}">$userp[gbeintrag]</a>
<br />
</then></if>
<br />
$userrating
<br />
<a href="herzen.php?action=herzilein&do=anzeigen2&userid=$posts[userid]&sid=$session[hash]" onclick="herzen_open(this.href); return false" target="_blank"><b>Herzen Status:</b></a>
$herzebekommen
$herzevergeben
<br /><br />
<if($posts['icq'])><then><a href="http://web.icq.com/whitepages/add_me/1,,,00.icq?uin=$posts[icq]&action=add"><img src="http://web.icq.com/whitepages/online?icq=$posts[icq]&img=5" width="18" height="18" border="0" alt="{$LANG_MEMBERS_ICQ}" title="{$LANG_MEMBERS_ICQ}" /></a></then></if>
<if($posts['aim'])><then><a href="aim:goim?screenname=$posts[aim]&message=Hi.+Are+you+there?"><img src="{$style['imagefolder']}/aim.gif" border="0" alt="{$LANG_MEMBERS_AIM}" title="{$LANG_MEMBERS_AIM}" /></a></then></if>
<if($posts['yim'])><then><a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&.src=pg"><img src="{$style['imagefolder']}/yim.gif" border="0" alt="{$LANG_MEMBERS_YIM}" title="{$LANG_MEMBERS_YIM}" /></a></then></if>
<if($posts['msn'])><then><a href="http://members.msn.com/?mem=$posts[msn]"><img src="{$style['imagefolder']}/msn.gif" border="0" alt="{$LANG_MEMBERS_MSN}" title="{$LANG_MEMBERS_MSN}" /></a></then></if>
<if($posts['homepage'])>
<then><a href="$posts[homepage]" target="_blank"><img src="{$style['imagefolder']}/www.gif" border="0" alt="{$LANG_MEMBERS_HOMEPAGE}" title="{$LANG_MEMBERS_HOMEPAGE}" /></a></then>
</if>
<br />
<if($userlevel)><then><br />$userlevel</then></if>
<if($threadstarter==1)><then><br />{$lang->items['LANG_THREAD_THREADSTARTER']} <img src="{$style['imagefolder']}/threadstarter.gif" border="0" alt="{$LANG_THREAD_THREADSTARTER_ALT}" title="{$LANG_THREAD_THREADSTARTER_ALT}" /></then></if>
$verwarnungen
</then>
<else><span class="normalfont"><b>$posts[username]</b></span><br /><span class="smallfont">{$lang->items['LANG_THREAD_UNREGISTERED']}</span></else>
</if>
<br /><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
</tr>
</table>
</td>
<td class="$tdclass" valign="top" style="width:100%">
<table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td style="width:100%" class="normalfont" align="left">
<table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="{$tdclass}_fc">
<tr>
<td><span class="smallfont">$posticon <b>$posts[posttopic]</b></span></td>
<td align="right" nowrap="nowrap"><a href="addreply.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/replypost.gif" border="0" alt="{$lang->items['LANG_THREAD_REPLYPOST']}" title="{$lang->items['LANG_THREAD_REPLYPOST']}" /></a> <a href="addreply.php?action=quote&postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/quote.gif" border="0" alt="{$lang->items['LANG_THREAD_QUOTE']}" title="{$lang->items['LANG_THREAD_QUOTE']}" /></a> <a href="editpost.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/editpost.gif" border="0" alt="{$lang->items['LANG_THREAD_EDITPOST']}" title="{$lang->items['LANG_THREAD_EDITPOST']}" /></a> <a href="report.php?postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/report.gif" border="0" alt="{$lang->items['LANG_THREAD_REPORT']}" title="{$lang->items['LANG_THREAD_REPORT']}" /></a>$verwarnung <if($wbbuserdata['a_can_view_ipaddress']==1)><then><a href="misc.php?action=viewip&postid=$posts[postid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/ip.gif" border="0" alt="{$lang->items['LANG_THREAD_VIEWIP']}" title="{$lang->items['LANG_THREAD_VIEWIP']}" /></a> </then></if><a href="javascript:self.scrollTo(0,0);"><img src="{$style['imagefolder']}/goup.gif" border="0" alt="{$lang->items['LANG_THREAD_GOUP']}" title="{$lang->items['LANG_THREAD_GOUP']}" /></a></td>
</tr>
</table><hr size="{$style['tableincellspacing']}" class="threadline" />
$posts[message]
$attachments
<if($wbbuserdata['userid']!=0)><then>
$signature
</then></if>
<if($posts['editorid']!="0")>
<then><p><span class="smallfont">{$LANG_THREAD_EDITOR}</span></p></then></if>
<if($invisible==1)><then><p align="right"><span class="normalfont">{$lang->items['LANG_THREAD_INVISIBLE']}</span></p></then></if>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="$tdclass" align="center" nowrap="nowrap"><span class="smallfont">
<a class="countbutton" href="thread.php?postid=$posts[postid]#post$posts[postid]" title="{$lang->items['LANG_THREAD_PERMALINK_1']} $postcountinthread. {$lang->items['LANG_THREAD_PERMALINK_2']}"><b>$postcountinthread</b></a>
<if($newpost==1)>
<then><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticonnew.gif" border="0" alt="{$lang->items['LANG_THREAD_NEWPOST']}" title="{$lang->items['LANG_THREAD_NEWPOST']}" /></a></then>
<else><a href="thread.php?postid=$posts[postid]#post$posts[postid]"><img src="{$style['imagefolder']}/posticon.gif" border="0" alt="" title="" /></a></else>
</if>
$postdate <span class="time">$posttime</span></span></td>
<td class="$tdclass" align="left" style="width:100%" valign="middle"><span class="smallfont">
<if($posts['userid'])>
<then>
<if($showonlineinthread==1)>
<then>
<if($user_online==1)>
<then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></then>
<else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$LANG_MEMBERS_USERONLINE}" title="{$LANG_MEMBERS_USERONLINE}" /></else>
</if>
</then>
</if>
<if($posts['showemail']==1)>
<then><a href="mailto:$posts[email]"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
<else>
<if($posts['usercanemail']==1)>
<then><a href="formmail.php?userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$LANG_MEMBERS_SENDEMAIL}" title="{$LANG_MEMBERS_SENDEMAIL}" /></a></then>
</if>
</else>
</if>
<a href="search.php?action=user&userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/search.gif" border="0" alt="{$LANG_MEMBERS_SEARCH}" title="{$LANG_MEMBERS_SEARCH}" /></a>
<a href="usercp.php?action=buddy&add=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/homie.gif" border="0" alt="{$LANG_MEMBERS_BUDDY}" title="{$LANG_MEMBERS_BUDDY}" /></a>
<if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&userid=$posts[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/pm.gif" border="0" alt="{$LANG_MEMBERS_PM}" title="{$LANG_MEMBERS_PM}" /></a></then></if>
</then>
</if>
</span></td>
</tr>
</table></td></tr></table>
|
|
Biggi
Nein, daran kann es eigentlich nicht liegen.
Ich sehe da auf Anhieb auch nichts Ungewöhnliches dran.
Ich habe aber gerade auch nicht den Kopf frei genug, um sie komplett durchzugehen oder noch eine andere Idee zu haben. Sorry.
Master-X
Änderungen an BB-Codes gehen normalerweise immer erst nach einer Aktualisierung des Beitrags, bzw. neuen Beiträgen.
Shackles
Hat nicht funktioniert, habe Templates aktualisiert, und Anzeigen aktualisieren, nicht gefunzt.
Master-X
Wenn du nun einen Beitrag schreibst - ist dann die Formatierung vorhanden?
Wenn du nun einen Beitrag editierst und wieder speicherst - ist dann die Formatierung vorhanden?
Shackles
Jau, das wars.
Neue Themen funzen nun ohne Probleme und alte funzen, wenn ich sie editiere.
Warum wird es nicht automatisch bei alten Themen angezeigt?
Agi
| Zitat: |
Original von Shackles
Jau, das wars.
Neue Themen funzen nun ohne Probleme und alte funzen, wenn ich sie editiere.
Warum wird es nicht automatisch bei alten Themen angezeigt? |
Weil die Beiträge gecacht werden, bringt Leistungsgewinn. Wenn alte Beiträge noch nach alten BB-Code-Formatierungen gecacht wurden, werden diese aus dem Cache natürlich auch nach der alten Vorlage ausgelesen.
Shackles
Ach so, alles klar, Danke!