(2011-05-28, 12:23 AM)awww Wrote: [ -> ]does this still work
Yes, it should work. Did you tried to do the edits ? If you wish you can PM me ACP details so I could do it myself.
(2011-05-28, 04:50 AM)Yaldaram Wrote: [ -> ] (2011-05-28, 12:23 AM)awww Wrote: [ -> ]does this still work
Yes, it should work. Did you tried to do the edits ? If you wish you can PM me ACP details so I could do it myself.
i have it showing pics i just need the code so you can click the pic and it goes to the thread
(2011-05-28, 06:22 AM)awww Wrote: [ -> ] (2011-05-28, 04:50 AM)Yaldaram Wrote: [ -> ] (2011-05-28, 12:23 AM)awww Wrote: [ -> ]does this still work
Yes, it should work. Did you tried to do the edits ? If you wish you can PM me ACP details so I could do it myself.
i have it showing pics i just need the code so you can click the pic and it goes to the thread
Alright, can you please paste the code here you've used it in template ?
forumdisplay_thread
<tr>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
<td class="{$bgcolor}{$thread_type_class}">
{$attachment_count}
<div>
<a href="{$thread['threadlink']}">{$attachment_thumbnail}</a>
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
<div class="author smalltext">{$thread['profilelink']}</div>
</div>
</td>
<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
{$rating}
<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
</td>
{$modbit}
</tr>
In the code you posted, just remove the from this line;
<a href="{$thread['threadlink']}">{$attachment_thumbnail}</a>
and make a space in between a and href like this;
<a href="{$thread['threadlink']}">{$attachment_thumbnail}</a>
how can I do to replace the attachment with the first image of the post?
(2011-10-13, 10:42 PM)Rino Gaetano 94 Wrote: [ -> ]how can I do to replace the attachment with the first image of the post?
Its already showing the "first attachment".