The Arcive of vBulletin Modifications Site. |
|
Recent Attachments Details »»
|
|||||||||||||||||||||||||
Hack Author: MindTrix
Email: slimshadyandd12@hotmail.com Description: Simply adds a box to your forumhome page displaying the 5 most recent attachments and linking to them. Credits: Thanks go to assassingod for his incredible help and patients with me. He truely deserves his Mod spot so i would like to say thank you, And sorry for beeing such a pain. And thank you to Boofo who moaned at me for beeing a slacker and giving up easily Cheers Mate!!Screenshot and installation text file attached. (Sorry for the poor HTML i am useless with the stuff) (15/2/04 Update -- If you have Kentaurus brilliant Attachments In Private Messages hack installed you need to do this fix he posted here https://vborg.vbsupport.ru/showpost....&postcount=113 To stop PM attachments showing on forumhome. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
be amazing if this showed thumbs of the pics
with an icon for other files
|
|
#3
|
||||
|
||||
|
Yeah i thought the same to be honest. Guess thats something to aim too get done
|
|
#4
|
||||
|
||||
|
You can use the attachment id to fetch a thumbnail of file (for images) ... use and if statement to display thumbs (look into functions_showthread to add more functionality to your hack)
however, you will also have to think about permissions... |
|
#5
|
||||
|
||||
|
Thanks for the advice ill get right on it
|
|
#6
|
||||
|
||||
|
First post updated. Attachments now show up as thumbnails. Hope that is better
|
|
#7
|
||||
|
||||
|
Great addon.
Is it possible to stretch the thumbnails in a horizontal block so you can put it under or above the navbar as in the photoposthack where the latest images are displayed in a similar way?
|
|
#8
|
||||
|
||||
|
wow thanks.
LOL @ the latest pics in the attachment.
|
|
#9
|
||||
|
||||
|
Horizontal display:
recent_attachments: Code:
<a href="attachment.php?attachmentid=$recentattachment[attachmentid]" target="_blank"> <img src="attachment.php?attachmentid=$recentattachment[attachmentid]" alt="$recentattachment[filename]" width="62" height="62" border="0"></a> <img src="./spacer.gif" height="0" width="90" border="0"> Code:
<table class="tcat" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" valign="top"> <tr><td> $latestattachments </td></tr></table> You can upload a transparant spacer gif to the right dir. and force the space between the thumbnails in the desired width. Keep also in mind that altough it is a thumb the images have the full kb load on the forumhome.
|
|
#10
|
||||
|
||||
|
hey thnx dark blue thats handy
cause we run a small arts community so this hack is a god send ![]() *wonders if an external version showing the last attachment on vbindex etc would be poss
|
![]() |
|
|