MyBB Community Forums

Full Version: attachment icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there an existing way to display an attachment icon for the threads in threadlist?
Do you mean like a thread icon (named folder icon actually) which shows which threads has an attachment? If it is that what you mean, then no, there is not yet an existing way.
I don't know if it's possible in an easy way, but I'll check.
Stay tuned...
Yes like this:

http://www.vbulletin.org/forum/forumdisplay.php?f=2

... and many other boards which display a small icon for it.

its not easy I see. There is an realy nice mysql select needed to get this ;-)
Ok, I've got this working.
It adds a small paperclip icon behind the thread subject.
http://mods.mybboard.com/view.php?did=273
Thx I only changed:

find_replace_templatesets("forumdisplay_thread", '#\$prefix \$gotounread#', '$thread[attachmenticon]$prefix $gotounread');

$thread['attachmenticon'] = " <img src=\"$theme[imgdir]/paperclip.gif\" alt=\"\" style=\"float: right;\" border=\"0\" />";

so it floats on the right side.
same problem for me i need to show attachment on forum threats ,
Quote:find_replace_templatesets("forumdisplay_thread", '#\$prefix \$gotounread#', '$thread[attachmenticon]$prefix $gotounread');

$thread['attachmenticon'] = " <img src=\"$theme[imgdir]/paperclip.gif\" alt=\"\" style=\"float: right;\" border=\"0\" />";
i soppose this code not working new templates , is i new code for use ?
i need show forum likes as this -
[Image: phpbattachment.jpg]
Where did you get the plugin??
The link isn't working.
ITS FROM 2006! FROM MYBB 1.2 FOR (#$@ SAKE!
What Mark M said, I was about to state that. Please people, don't gravedig!