Pagina 1 van 1

thumbnails onderaan

Geplaatst: 11 dec 2003, 13:05
door smaugy
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

Geplaatst: 11 dec 2003, 13:12
door headout
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:

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>
1 kleine maar:
Maar :D deze code komt uit een FIsubsilver style, je zal dus zelf even moeten kijken naar de juiste opmaak (css).

Re: thumbnails onderaan

Geplaatst: 11 dec 2003, 13:19
door smaugy
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
Ik wil hem graag tussen de "Who is online" en de "Log In". In welke file moet ik de code zetten ?

TX

Geplaatst: 11 dec 2003, 13:22
door Podium4
index_body.tpl

Vind:

Code: Selecteer alles

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
Voeg DAAR VOOR toe...

Geplaatst: 11 dec 2003, 13:25
door headout
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!

Geplaatst: 11 dec 2003, 13:28
door headout
podium4 schreef:index_body.tpl

Vind:

Code: Selecteer alles

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
Voeg DAAR VOOR toe...
Deze is beter dan mijn optie. Gebruik dus deze suggestie!

Geplaatst: 11 dec 2003, 17:51
door smaugy
headout schreef:
podium4 schreef:index_body.tpl

Vind:

Code: Selecteer alles

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
Voeg DAAR VOOR toe...
Deze is beter dan mijn optie. Gebruik dus deze suggestie!
Ik heb de code erin geplakt, er gebeurt niks !!

Geplaatst: 11 dec 2003, 21:47
door headout
Post eens de code van index_body.tpl

Geplaatst: 13 dec 2003, 16:33
door smaugy
headout schreef:Post eens de code van index_body.tpl
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<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} &nbsp; [ <strong>{L_WHOSONLINE_ADMIN}</strong>
] &nbsp; [ <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}:&nbsp;</td>
<td><input class="post" type="text" name="username" size="10" /></td>
<td class="gensmall">&nbsp;&nbsp;&nbsp;{L_PASSWORD}:</td>
<td><input class="post" type="password" name="password" size="10" maxlength="32" /></td>
<td class="gensmall">&nbsp;&nbsp;&nbsp;{L_AUTO_LOGIN}</td>
<td><input class="text" type="checkbox" name="autologin" /></td>
<td>&nbsp;&nbsp;<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>&nbsp;</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>&nbsp;</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>

Geplaatst: 13 dec 2003, 17:43
door Leipo
Ik zie hem er niet instaan :?

Geplaatst: 13 dec 2003, 17:46
door smaugy
Leipo schreef:Ik zie hem er niet instaan :?
TUSSEN DE BLANCO'S

Geplaatst: 13 dec 2003, 20:52
door Podium4
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