Current time: 07-24-2014, 02:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
Thumbnail of attachment in threadlist
05-28-2011, 04:50 AM
Post: #21
RE: Thumbnail of attachment in threadlist
(05-28-2011 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.

[Image: 16mJ9bI]
MyBBsmsAPP | MyStatus | ProProfile
Visit this user's website Find all posts by this user
Quote this message in a reply
05-28-2011, 06:22 AM
Post: #22
RE: Thumbnail of attachment in threadlist
(05-28-2011 04:50 AM)Yaldaram Wrote:  
(05-28-2011 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
Find all posts by this user
Quote this message in a reply
05-28-2011, 06:24 AM
Post: #23
RE: Thumbnail of attachment in threadlist
It works for me
Find all posts by this user
Quote this message in a reply
05-28-2011, 06:29 AM
Post: #24
RE: Thumbnail of attachment in threadlist
(05-28-2011 06:22 AM)awww Wrote:  
(05-28-2011 04:50 AM)Yaldaram Wrote:  
(05-28-2011 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 ?

[Image: 16mJ9bI]
MyBBsmsAPP | MyStatus | ProProfile
Visit this user's website Find all posts by this user
Quote this message in a reply
05-28-2011, 08:02 AM
Post: #25
RE: Thumbnail of attachment in threadlist
forumdisplay_thread
Code:
<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&nbsp;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>
Find all posts by this user
Quote this message in a reply
05-28-2011, 08:04 AM (This post was last modified: 05-28-2011 08:05 AM by Yaldaram.)
Post: #26
RE: Thumbnail of attachment in threadlist
In the code you posted, just remove the &nbsp; from this line;
PHP Code:
<a&nbsp;href="{$thread['threadlink']}">{$attachment_thumbnail}</a
and make a space in between a and href like this;
PHP Code:
<a href="{$thread['threadlink']}">{$attachment_thumbnail}</a

[Image: 16mJ9bI]
MyBBsmsAPP | MyStatus | ProProfile
Visit this user's website Find all posts by this user
Quote this message in a reply
05-28-2011, 08:52 AM (This post was last modified: 05-28-2011 08:53 AM by awww.)
Post: #27
RE: Thumbnail of attachment in threadlist
fixed and Reped + thanks Big Grin
Find all posts by this user
Quote this message in a reply
05-28-2011, 08:54 AM
Post: #28
RE: Thumbnail of attachment in threadlist
Thanks Smile

[Image: 16mJ9bI]
MyBBsmsAPP | MyStatus | ProProfile
Visit this user's website Find all posts by this user
Quote this message in a reply
10-13-2011, 10:42 PM (This post was last modified: 10-13-2011 10:49 PM by Rino Gaetano 94.)
Post: #29
RE: Thumbnail of attachment in threadlist
how can I do to replace the attachment with the first image of the post?
Find all posts by this user
Quote this message in a reply
10-14-2011, 06:00 AM
Post: #30
RE: Thumbnail of attachment in threadlist
(10-13-2011 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".

[Image: 16mJ9bI]
MyBBsmsAPP | MyStatus | ProProfile
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication