MyBB Community Forums
attachment icon - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Requests (https://community.mybb.com/forum-65.html)
+---- Thread: attachment icon (/thread-23006.html)



attachment icon - toto_mybb1.2_import9702 - 04-19-2006

Is there an existing way to display an attachment icon for the threads in threadlist?


RE: attachment icon - Smethead - 04-19-2006

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



RE: attachment icon - toto_mybb1.2_import9702 - 04-19-2006

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 ;-)


RE: attachment icon - Smethead - 04-19-2006

Ok, I've got this working.
It adds a small paperclip icon behind the thread subject.
http://mods.mybboard.com/view.php?did=273


RE: attachment icon - toto_mybb1.2_import9702 - 04-19-2006

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.


RE: attachment icon - darkmanblue - 01-08-2010

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]


RE: attachment icon - Skiilz - 01-09-2010

Where did you get the plugin??
The link isn't working.


RE: attachment icon - Lo. - 01-10-2010

ITS FROM 2006! FROM MYBB 1.2 FOR (#$@ SAKE!


RE: attachment icon - Jammerx2 - 01-10-2010

What Mark M said, I was about to state that. Please people, don't gravedig!