attachment icon
#1
Is there an existing way to display an attachment icon for the threads in threadlist?
Reply
#2
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...
Reply
#3
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 ;-)
Reply
#4
Ok, I've got this working.
It adds a small paperclip icon behind the thread subject.
http://mods.mybboard.com/view.php?did=273
Reply
#5
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.
Reply
#6
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]
Reply
#7
Where did you get the plugin??
The link isn't working.
[Image: 468x602b.png]
Reply
#8
ITS FROM 2006! FROM MYBB 1.2 FOR (#$@ SAKE!
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#9
What Mark M said, I was about to state that. Please people, don't gravedig!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)