Statistieken
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

Statistieken
Hoe krijg ik in de statistieken op de ezportal het aantal geregistreerde gebruikers te staan? Nu staat er alleen de nieuwste gebruiker.
Is er niemand die hier bij kan helpen?
Ik heb geprobeerd deze regel toe te voegen aan de statistieken op ezportal maar dat helpt niet:
Ik heb geprobeerd deze regel toe te voegen aan de statistieken op ezportal maar dat helpt niet:
Portal_body heeft wel de {Total_users} code, zie hier:<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />
Waarom zie ik dan het totaal aantal geregistreerde gebruikers dan niet?<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /><center>[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</center><br />{RECORD_USERS}<br /> </span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{USERS_OF_THE_DAY_LIST}</span></td>
</tr>
</table>
Met een beetje html kennis valt dat makkelijk te combineren. Effe proberen dus.
Uit mijn eigen portal:
Uit mijn eigen portal:
Code: Selecteer alles
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th class="thHead" height="25"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></th>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br />
<br />{RECORD_USERS}<br /> </span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br /> </span></td>
</tr>
</table>
Je gaat ervan uit dat jou code en het mijne identiek zijn. Dat zijn ze niet, jij hebt namelijk de user of the day mod erbij gezet, ik heb dit extra tov van jou:Php schreef:Dat begrijp ik. Maar ik wil dan ook weten wat ik fout doe.
Code: Selecteer alles
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br /> </span></td>
</tr>
Code: Selecteer alles
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /><center>[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</center><br />{RECORD_USERS}<br /> </span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br /><br/>{TOTAL_POSTS} {TOTAL_TOPICS}<br /> </span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{USERS_OF_THE_DAY_LIST}</span></td>
</tr>
</table>
Ik probeer dat maar het werkt gewoon niet. Hieronder de hele code nog eens met de total users toegevoegd op 2 plaatsen, rood gemaakt:
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td valign="top" width="23%">
<table width="100%" cellspacing="1" cellpadding="1" border="0" align="left"><tr><td>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_BOARD_NAVIGATION}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="genmed" style="line-height: 150%">
<a href="{U_PORTAL}">{L_HOME}</a><br />
<a href="{U_INDEX}">{L_FORUM}</a><br />
<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><br />
<a href="{U_FAQ}">{L_FAQ}</a><br />
</span></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_STATISTICS}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br />{TOTAL_POSTS}{TOTAL_TOPICS} </span></td>
</tr>
</table>
<br />
<script language="JavaScript" type="text/javascript">
<!--
function checkSearch()
{
if (document.search_block.search_engine.value == 'google')
{
window.open('http://www.google.com/search?q=' + document.search_block.search_keywords.value, '_google', '');
return false;
}
else
{
return true;
}
}
//-->
</script>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_SEARCH}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><form name="search_block" method="post" action="{U_SEARCH}" onSubmit="return checkSearch()"><span class="gensmall" style="line-height=150%">
{L_SEARCH}:<br /><input class="post" type="text" name="search_keywords" size="15" /><br />{L_SEARCH_AT}:<br /><select class="post" name="search_engine" /><option value="site">{SITENAME}</option><option value="google">Google</option></select><br /><a href="{U_SEARCH}">{L_ADVANCED_SEARCH}</a><br /><br />
<input type="hidden" name="search_fields" value="all" /><input type="hidden" name="show_results" value="topics" />
<center><input class="mainoption" type="submit" value="{L_SEARCH}" /></center></span></form></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_RECENT_TOPICS}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<marquee id="recent_topics" behavior="scroll" direction="up" height="200" scrolldelay="100" scrollamount="2">
<!-- BEGIN recent_topic_row -->
» <a href="{recent_topic_row.U_TITLE}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.L_TITLE}</a><br />
laatste antwoord van <a href="{recent_topic_row.U_POSTER}" onMouseOver="document.all.recent_topics.stop()" onMouseOut="document.all.recent_topics.start()">{recent_topic_row.S_POSTER}</a> op {recent_topic_row.S_POSTTIME}<br /><br />
<!-- END recent_topic_row -->
</marquee>
</span></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>Links</b></span></td>
</tr>
<tr>
<td align="center" class="row1"><a href="http://members.chello.nl/e.maatkamp/Nee.htm" class="mainmenu">Watchman Nee</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://jesus-messiah.com/html/Roots.html" class="mainmenu">Hebrew Roots Movement</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.bible.ca/sabbath.htm" class="mainmenu">Sabbath Keepers Refuted</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://watchtower.observer.org/" class="mainmenu">Watchtower Observer</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.blessedquietness.com/" class="mainmenu">Blessed Quietness</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.fragilewing.com/" class="mainmenu">Fragile Wing (SRA)</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.novapres.nl/" class="mainmenu">Uitgeverij Novapres</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.texemarrs.com/" class="mainmenu">Power of Prophecy</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.tektonics.org/oldindex.html" class="mainmenu">Tekton Apologetics</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://answering-islam.org.uk/Dutch/" class="mainmenu">Answering Islam</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.bemoediging.net/" class="mainmenu">Bemoediging Net</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.seekgod.ca/index.htm" class="mainmenu">Seek God</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.totheildesvolks.nl/ehah/welcome.html" class="mainmenu">EHAH</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://66.34.143.142/index.htm" class="mainmenu">Jesus is Lord</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.opendoors.nl/" class="mainmenu">Open Doors</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://www.dominee.nl/" class="mainmenu">Dominee Web</a>
</tr>
<tr>
<td align="center" class="row1"><a href="http://home.wanadoo.nl/zoektocht/israel/israel.html" class="mainmenu"><font size="2">Israël</font></a></span></td>
</tr>
</table>
</td></tr></table>
</td>
<td valign="top" width="55%">
<table width="97%" cellspacing="1" cellpadding="1" border="0" align="center"><tr><td>
<!-- BEGIN welcome_text -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row1" align="left"><span class="genmed" style="line-height:150%">{WELCOME_TEXT}<br /> </span></td>
</tr>
</table>
<br />
<!-- END welcome_text -->
<!-- BEGIN fetchpost_row -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row1" align="left"><span class="genmed" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td>
</tr>
<tr>
<td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
</tr>
</table>
<br />
<!-- END fetch_post_row -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>Nieuws</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{MY_NEWS_CODE}</span></td>
</tr>
</table>
</td></tr></table>
</td>
<td valign="top" width="22%">
<table width="100%" cellspacing="1" cellpadding="1" border="0" align="right"><tr><td>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_NAME_WELCOME} {U_NAME_LINK}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<center><br />{AVATAR_IMG}</center>
<br />{LAST_VISIT_DATE}<br /><br />
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br />
<!-- END switch_user_logged_in -->
<br />{CURRENT_TIME}<br /><br />{S_TIMEZONE}
<form method="post" action="{U_PORTAL}">{L_SELECT_STYLE}:<br /><br />
<!-- BEGIN switch_user_logged_out -->
{TEMPLATE_SELECT} <input type="submit" class="mainoption" name="cangenow" value="{L_CHANGE_NOW}" />
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
{FPAGE_STYLE} <input type="submit" class="mainoption" name="fpcangenow" value="{L_CHANGE_NOW}" />
<!-- END switch_user_logged_in -->
</form></span>
</td>
</tr>
</table>
<br />
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_LOGIN}</b></span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall" style="line-height=150%">
<input type="hidden" name="redirect" value="{U_PORTAL}" />
{L_USERNAME}:<br /><input class="post" type="text" name="username" size="15" /><br />
{L_PASSWORD}:<br /><input class="post" type="password" name="password" size="15" /><br />
<input class="text" type="checkbox" name="autologin" /> {L_REMEMBER_ME}<br/>
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /><br /><br /><a href="{U_SEND_PASSWORD}" class="gensmall">{L_SEND_PASSWORD}</a><br /><br />{L_REGISTER_NEW_ACCOUNT}<br /> </span></td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br /></span></td>
</tr>
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_WHO_IS_ONLINE}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}<br /><br /><center>[ <a href="{U_VIEWONLINE}">{L_VIEW_COMPLETE_LIST}</a> ]</center><br />{RECORD_USERS}<br /> </span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">{USERS_OF_THE_DAY_LIST}</span></td>
</tr>
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="25"><span class="genmed"><b>{L_POLL}</b></span></td>
</tr>
<tr>
<td class="row1" align="left"><span class="gensmall">
<form method="post" action="{S_POLL_ACTION}">
<center><b>{S_POLL_QUESTION}</b></center><br />
<!-- BEGIN poll_option_row -->
<input type="radio" name="vote_id" value="{poll_option_row.OPTION_ID}">{poll_option_row.OPTION_TEXT} [{poll_option_row.VOTE_RESULT}]<br />
<!-- END poll_option_row -->
<br />
<!-- BEGIN switch_user_logged_out -->
<center>{L_LOGIN_TO_VOTE}</center>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<center><input type="submit" class="mainoption" name="submit" value="{L_VOTE_BUTTON}" {DISABLED}></center>
<input type="hidden" name="topic_id" value="{S_TOPIC_ID}">
<input type="hidden" name="mode" value="vote">
<!-- END switch_user_logged_in -->
</form><br />
</span></td>
</tr>
</table>
</td></tr></table>
</td>
</tr>
</table>
<br />
http://www.christen-zijn.nl/forum/portal.php
De statistieken staan links onder navigatie. Ik heb zelf wel later een whois online mod toegevoegd aan de rechtrkant.
De statistieken staan links onder navigatie. Ik heb zelf wel later een whois online mod toegevoegd aan de rechtrkant.
Heb je al eens geprobeerd dat portal_body.tpl te verwijderen op de server, en deze door de nieuwe te vervangen?Php schreef:http://www.christen-zijn.nl/forum/portal.php
De statistieken staan links onder navigatie. Ik heb zelf wel later een whois online mod toegevoegd aan de rechtrkant.
Laatst gewijzigd door ron w op 01 okt 2003, 09:32, 1 keer totaal gewijzigd.
Ik begrijp je ff niet. Je hebt portal_body.tpl met wat aanpassingen gemaakt (o.a. vertalingen en mods). Daarna wil je het aantal geregistreerde gebruikers toevoegen op je portal. Daarvoor moet je dus een aanpassing doen in het bewuste bestand. Hétzelfde bestand dat je daarvoor ook al bewerkt had.Php schreef:Ik bedoel ik heb alles vertaald, nIEUWS EN ZO, EN DE WHO IS ONLINE MOD EN ALLE LINKS, MAAR IK ZAL HET EENS PROBEREN.
sorry ik had de caps toets aan staan.
Haal het bestand eens van de server af, en bewerk deze met de al eerder gegeven codes. kan je mij anders een het bestand sturen dat nu op je server staat? Portal_body.tpl!
Je zei:
Ik heb net de bewerkte portal_body die op de server staat toegevoegd in bovenstaande bericht op vorige pagina.
Als ik die extra regel toevoeg komt er een lege regel te staan, empty space, alsof hij hem niet kan "fetchen."
Ik interpreteer dat als de originele portal_body die in de portal.zip zit.Heb je al eens geprobeerd dat portal_body.tpl te verwijderen op de server, en deze door de nieuwe te vervangen?
Ik heb net de bewerkte portal_body die op de server staat toegevoegd in bovenstaande bericht op vorige pagina.
Als ik die extra regel toevoeg komt er een lege regel te staan, empty space, alsof hij hem niet kan "fetchen."
Ah, okee, communicatie misverstandje.Php schreef: Ik interpreteer dat als de originele portal_body die in de portal.zip zit.
Ik moet nu weg, ik heb ff geen tijd om verder voor je te kijken naar een oplossing. Vanmiddag kijk ik verder, en hopelijk ben je voor die tijd reeds geholpen door iemand anders.
Het duurde wat langer, ik had het te druk op mijn werk gisteravond.Php schreef:Ik wacht wel af.
Ik heb jouw template gebruikt voor dit portaal (effe niet op de layout letten, daar gaat het nu ff niet om). Bij je statistieken staat deze regel:
Code: Selecteer alles
<td class="row1" align="left"><span class="gensmall">{NEWEST_USER}<br />{TOTAL_POSTS}{TOTAL_TOPICS} </span></td>
Code: Selecteer alles
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS}<br />{NEWEST_USER}<br />{TOTAL_POSTS}{TOTAL_TOPICS} </span></td>