thumbnails onderaan
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.

thumbnails onderaan
Hoi, Weet er iemand hoe ik de laatst ge-uploade pics uit Smartor's Photo Album onderaan het forum krijg ? Nu moet iedereen op de Album link klikken om de foto's te bekijken. ( http://www.aforal.pnporchids.be )
Thanks
Patrick
Thanks
Patrick
Waar onderaan? Onder ieder topic, PB, etc etc, of alleen onder de forum index?
//edit: in principe moet het te doen zijn door deze code op de plek te zetten waar je het wil:
1 kleine maar:
Maar
deze code komt uit een FIsubsilver style, je zal dus zelf even moeten kijken naar de juiste opmaak (css).
//edit: in principe moet het te doen zijn door deze code op de plek te zetten waar je het wil:
Code: Selecteer alles
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" colspan="{S_COLS}" nowrap="nowrap">{L_RECENT_PUBLIC_PICS}</th>
</tr>
<!-- BEGIN no_pics -->
<tr>
<td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td>
</tr>
<!-- END no_pics -->
<!-- BEGIN recent_pics -->
<tr>
<!-- BEGIN recent_col -->
<td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{recent_pics.recent_col.U_PIC}" {TARGET_BLANK}><img src="{recent_pics.recent_col.THUMBNAIL}" border="0" alt="{recent_pics.recent_col.DESC}" title="{recent_pics.recent_col.DESC}" vspace="10" /></a></td>
<!-- END recent_col -->
</tr>
<tr>
<!-- BEGIN recent_detail -->
<td class="row2"><span class="gensmall">{L_PIC_TITLE}: {recent_pics.recent_detail.TITLE}<br />
{L_POSTER}: {recent_pics.recent_detail.POSTER}<br />{L_POSTED}: {recent_pics.recent_detail.TIME}<br />
{L_VIEW}: {recent_pics.recent_detail.VIEW}<br />{recent_pics.recent_detail.RATING}{recent_pics.recent_detail.COMMENTS}{recent_pics.recent_detail.IP}</span>
</td>
<!-- END recent_detail -->
</tr>
<!-- END recent_pics -->
</table>
Maar

http://phpbb3.nl Jouw gratis forumprovider!
Re: thumbnails onderaan
Ik wil hem graag tussen de "Who is online" en de "Log In". In welke file moet ik de code zetten ?smaugy schreef:Hoi, Weet er iemand hoe ik de laatst ge-uploade pics uit Smartor's Photo Album onderaan het forum krijg ? Nu moet iedereen op de Album link klikken om de foto's te bekijken. ( http://www.aforal.pnporchids.be )
Thanks
Patrick
TX
index_body.tpl
Vind:
Voeg DAAR VOOR toe...
Vind:
Code: Selecteer alles
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
Alleen support via het forum, dus geen support via email, msn of pb.
Gooi de code in het bestand viewonline_body.tpl in de map templates/jouwtemplate.
Evt. kan je ook hier de code neergooien, dan kijk ik of iemand anders ernaar. Maar zelf proberen heeft de voorkeur!
Evt. kan je ook hier de code neergooien, dan kijk ik of iemand anders ernaar. Maar zelf proberen heeft de voorkeur!
http://phpbb3.nl Jouw gratis forumprovider!
Deze is beter dan mijn optie. Gebruik dus deze suggestie!podium4 schreef:index_body.tpl
Vind:Voeg DAAR VOOR toe...Code: Selecteer alles
<!-- BEGIN switch_user_logged_out --> <form method="post" action="{S_LOGIN_ACTION}">
http://phpbb3.nl Jouw gratis forumprovider!
Ik heb de code erin geplakt, er gebeurt niks !!headout schreef:Deze is beter dan mijn optie. Gebruik dus deze suggestie!podium4 schreef:index_body.tpl
Vind:Voeg DAAR VOOR toe...Code: Selecteer alles
<!-- BEGIN switch_user_logged_out --> <form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellspacing="2" cellpadding="2" border="0">headout schreef:Post eens de code van index_body.tpl
<tr>
<td colspan="2" class="maintitle">{L_INDEX}</td>
</tr>
<tr>
<td valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br />
<a href="{U_INDEX}" class="nav">{L_INDEX}</a></td>
<td align="right" valign="bottom" class="gensmall">
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><br />
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a href="{U_MARK_READ}"><strong>{L_MARK_FORUMS_READ}</strong></a>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2">{L_FORUM}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="cat" colspan="2"><a href="{catrow.U_VIEWCAT}">{catrow.CAT_DESC}</a></td>
<td class="rowpic" colspan="3"><img src="images/spacer.gif" alt="" width="280" height="12" /></td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" height="45"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%"><a href="{catrow.forumrow.U_VIEWFORUM}" class="nav">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</table>
<br />
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat" colspan="2"><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></td>
</tr>
<tr>
<td class="row1" rowspan="3"><img src="templates/fisubgrey/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" width="25" height="25" class="imgfolder" title="{L_WHO_IS_ONLINE}" />
</td>
<td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE} [ <strong>{L_WHOSONLINE_ADMIN}</strong>
] [ <strong>{L_WHOSONLINE_MOD}</strong> ]<br />
{RECORD_USERS}<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
<tr>
<td height="20" class="row1"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" colspan="{S_COLS}" nowrap="nowrap">{L_RECENT_PUBLIC_PICS}</th>
</tr>
<!-- BEGIN no_pics -->
<tr>
<td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td>
</tr>
<!-- END no_pics -->
<!-- BEGIN recent_pics -->
<tr>
<!-- BEGIN recent_col -->
<td class="row1" width="{S_COL_WIDTH}" align="center"><a href="{recent_pics.recent_col.U_PIC}" {TARGET_BLANK}><img src="{recent_pics.recent_col.THUMBNAIL}" border="0" alt="{recent_pics.recent_col.DESC}" title="{recent_pics.recent_col.DESC}" vspace="10" /></a></td>
<!-- END recent_col -->
</tr>
<tr>
<!-- BEGIN recent_detail -->
<td class="row2"><span class="gensmall">{L_PIC_TITLE}: {recent_pics.recent_detail.TITLE}<br />
{L_POSTER}: {recent_pics.recent_detail.POSTER}<br />{L_POSTED}: {recent_pics.recent_detail.TIME}<br />
{L_VIEW}: {recent_pics.recent_detail.VIEW}<br />{recent_pics.recent_detail.RATING}{recent_pics.recent_detail.COMMENTS}{recent_pics.recent_detail.IP}</span>
</td>
<!-- END recent_detail -->
</tr>
<!-- END recent_pics -->
</table>
<!-- BEGIN switch_user_logged_out -->
<br />
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="cat">{L_LOGIN_LOGOUT}</td>
</tr>
<tr>
<td class="row1" align="center">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="gensmall">{L_USERNAME}: </td>
<td><input class="post" type="text" name="username" size="10" /></td>
<td class="gensmall"> {L_PASSWORD}:</td>
<td><input class="post" type="password" name="password" size="10" maxlength="32" /></td>
<td class="gensmall"> {L_AUTO_LOGIN}</td>
<td><input class="text" type="checkbox" name="autologin" /></td>
<td> <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" /></td>
</tr>
</table></td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td class="nav"><a href="{U_INDEX}">{L_INDEX}</a></td>
</tr>
</table>
<br />
<table border="0" align="center" cellpadding="0" cellspacing="3">
<tr>
<td><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" title="{L_NEW_POSTS}" /></td>
<td class="gensmall">{L_NEW_POSTS}</td>
<td> </td>
<td><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" title="{L_NO_NEW_POSTS}" /></td>
<td class="gensmall">{L_NO_NEW_POSTS}</td>
<td> </td>
<td><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" title="{L_FORUM_LOCKED}" /></td>
<td class="gensmall">{L_FORUM_LOCKED}</td>
</tr>
</table>
Oke mensen, ik was eigenlijk ook nieuwschierig geworden hoe de nieuwste plaatjes onderaan de forum index te krijgen... wat blijkt, het is al eens uitgezocht en er is een modje gemaakt..
Je kunt 'm hier downloaden: http://smartor.is-root.com/viewtopic.php?t=2486
Je kunt 'm hier downloaden: http://smartor.is-root.com/viewtopic.php?t=2486
Alleen support via het forum, dus geen support via email, msn of pb.