Seite 1 von 1
Mini-Foren Statistik umbauen, aber wie?
Verfasst: 17.10.2005 16:41
von spritzpistole
Habe diesen nun eingebaut und wollte es meinen Wünschen anpassen, dazu wollte ich die "Webmaster" und "best Topics" entfernen, aber klappte i-wie nicht. Habe es in der index_body und in der actual....php geändert. Aber klappt irgenwie nicht, was muss ich genau machen?
Was genau muss ich ändern um das hinzu bekommen?
so sollte es aussehen:
Code: Alles auswählen
<table>Last Reg</table><table>Newest Reg</table><table>last post</table>
Also diese in eine Reihe und "Webmaster" und "best posts" sollen wegfallen
Verfasst: 17.10.2005 20:50
von spritzpistole
Das habe ich nun gelöst, aber ich hab jetzt ein Problem, dass da etwas nicht angezeigt wird, kann mir da jemand helfen?
Hier der Link, dass ihr euch das anschauen könnt:
www.funsofa.de
"Die letzten 6 Themen:" und "Poster/Postzeit" fehlt ... Views habe ich rausgeworfen ...
Kann mir bitte jemand helfen?
Verfasst: 17.10.2005 22:14
von spritzpistole
Ich finde den Fehler einfach nicht. es fehlt wohl irgendwo ein Auszug in der index.body nehm ich an, aber welchen?
Verfasst: 17.10.2005 23:11
von Markus67
Hi ...
suche in der actualstats_body.tpl
Code: Alles auswählen
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats7}</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats8} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats6} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1" width="35" align="center" valign="middle" nowrap="nowrap"> <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /> </td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed"> {topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG} {topicrow.LAST_POST_TIME} </span></td>
</tr>
<!-- END topicrow -->
</table>
ersetze mit:
Code: Alles auswählen
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="3" height="25"><span class="cattitle"><center><b>{actualstats7}</b></center></span></td>
</tr>
<tr>
<td colspan="3" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" colspan="2"> {actualstats8} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats6} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1" width="35" align="center" valign="middle" nowrap="nowrap"> <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /> </td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed"> {topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG} {topicrow.LAST_POST_TIME} </span></td>
</tr>
<!-- END topicrow -->
</table>
Markus
Verfasst: 18.10.2005 07:30
von spritzpistole
Hi Markus erst einmal danke, aberd as Problem ist nicht gelöst
Link:
http://funsofa.de/actualstats_body.txt
funsofa.de
Verfasst: 18.10.2005 09:28
von Markus67
Hi ...ö
jetzt aber ...
Code: Alles auswählen
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="3" height="25"><span class="cattitle"><center><b>
{actualstats9}</b></center></span></td>
</tr>
<tr>
<td colspan="3" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th colspan="2" align="center" height="25" class="toprow" nowrap="nowrap">
{actualstats10} </th>
<th align="center" class="toprow" nowrap="nowrap">
{actualstats12} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1" width="35" align="center" valign="middle" nowrap="nowrap"> <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /> </td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed">
{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG} {topicrow.LAST_POST_TIME} </span></td>
</tr>
<!-- END topicrow -->
</table>
Markus
Verfasst: 18.10.2005 12:45
von spritzpistole
Jetzt ist das weiße weg, aber der Schriftzug fehlt?
Danke schön (nochmal)

Verfasst: 18.10.2005 12:53
von Markus67
Hi ...
ich hatte eigentlich nur deine vorlage umgebaut ...
Versuchs mal damit ...
Code: Alles auswählen
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="6" height="25"><span class="cattitle"><center><b>{actualstats1}</b></center></span></td>
</tr>
<tr>
<td colspan="6" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<td width="25%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats2}</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="2" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats3} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats4} </th>
</tr>
<!-- BEGIN last_registrations -->
<tr>
<td class="row2"> <span class="genmed"><a href="{last_registrations.U_VIEWPROFILE}" class="genmed">{last_registrations.USERNAME}</a></span> </td>
<td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{last_registrations.REG_DATE}</span> </td>
</tr>
<!-- END last_registrations -->
</table>
</td>
<td width="30%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="2" height="25"><span class="cattitle"><center><b>{actualstats5}</b></center></span></td>
</tr>
<tr>
<td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" nowrap="nowrap"> {actualstats3} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats6} </th>
</tr>
<!-- BEGIN most_posts -->
<tr>
<td class="row2"> <span class="genmed"><a href="{most_posts.U_VIEWPROFILE}" class="genmed">{most_posts.USERNAME}</a></span> </td>
<td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{most_posts.POSTS}</span> </td>
</tr>
<!-- END most_posts -->
</table>
</td>
<td width="45%" class="row3" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1" style="border-collapse: collapse" class="forumline">
<tr>
<td class="catHead" width="100%" colspan="3" height="25"><span class="cattitle"><center><b>{actualstats9}</b></center></span></td>
</tr>
<tr>
<td colspan="3" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<tr>
<th align="center" height="25" class="toprow" colspan="2"> {actualstats10} </th>
<th align="center" class="toprow" nowrap="nowrap"> {actualstats12} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td class="row1" width="35" align="center" valign="middle" nowrap="nowrap"> <img src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /> </td>
<td class="row1" width="100%"><span class="topictitle">{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />{topicrow.GOTO_PAGE}</span></td>
<td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="genmed"> {topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG} {topicrow.LAST_POST_TIME} </span></td>
</tr>
<!-- END topicrow -->
</table>
</td>
</tr>
</table>
Markus
Verfasst: 18.10.2005 12:55
von spritzpistole
Ahh okay vielen Dank hat geklappt
*verbeug*
Echt klasse Arbeit von dir.