Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Recent Attachments Details »»
Recent Attachments
Version: 1.00, by MindTrix MindTrix is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-05-2004 Last Update: Never Installs: 16
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 02-27-2004, 09:36 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice , thank MindTrix

but, would this be possible to add has this hack the option " contract" (collapse) like origin in Vbulletin ?
Reply With Quote
  #33  
Old 03-18-2004, 01:33 PM
Geographic2 Geographic2 is offline
 
Join Date: Apr 2003
Location: On the map
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your making us download fullsize pictures for 62x62 or 50x50 display... so in other words on my forum it's sending 1mb photos for display in a format that could do it in 8000 bytes...

Here's the easy easy easy fix:

In recent_attachments template:

Change this:
PHP Code:
<img src='attachment.php?attachmentid=$recentattachment[attachmentid]' alt='$recentattachment[filename]' width="50" height="50"
to:
PHP Code:
<img src='attachment.php?attachmentid=$recentattachment[attachmentid]&thumb=1' alt='$recentattachment[filename]' width="50" height="50"
Much more efficient. Now you download the thumbnail size photo rather than the fullsize version to be resized in the users browser.

Also consider using only 1 width or height value rather than both
this will allow the ratio between height and width to be maintained
since not all images are perfectly square.

Nice hack.

Clickin install.
Reply With Quote
  #34  
Old 03-18-2004, 04:06 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks mate HTML is not my strong point, i hate it. Thank you for the fix and install click
Reply With Quote
  #35  
Old 03-19-2004, 02:17 AM
Geographic2 Geographic2 is offline
 
Join Date: Apr 2003
Location: On the map
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree HTML is stupid.
Reply With Quote
  #36  
Old 10-30-2004, 08:44 AM
mhobelsb mhobelsb is offline
 
Join Date: Oct 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

great Idea with the attachments...
Would it be possible to show tumbs of attachments in the Forumdisplay? I mean instead of a thread icon show a thumbnail of the attachment inside. So the user can see what is waiting for him inside the post. *G*

would really love that.

thanks

Martin
Reply With Quote
  #37  
Old 01-02-2005, 01:44 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
What would make this hack very useful is if you could make it so that it shows the latest attachments WITHIN a specific forum or subforums.
Or the latest attachments on forumhome OUT of a specific subforum
Reply With Quote
  #38  
Old 01-06-2005, 06:23 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to show a 'no thumbnail' image or a default image when someone post a zip, exe etc. file? I've seen it in the forumdisplay attachment addon so maybe it is possible with this to.
Reply With Quote
  #39  
Old 05-09-2005, 03:23 PM
VanAusdal VanAusdal is offline
 
Join Date: Mar 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to get the href to point to the originating thread rather than the image. I would like my users to be able to go to the thread by clicking the image.

Thanks! Great hack by the way!
Reply With Quote
  #40  
Old 05-12-2005, 02:37 PM
VanAusdal VanAusdal is offline
 
Join Date: Mar 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anybody know a way that this could be done? I have tried everything that I can think of. I have tried a number of things but it seems to pull the most recent thread and the the thread that is associated with the image. I can't seem to wrap my head around this.
Reply With Quote
  #41  
Old 05-12-2005, 03:26 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, i'm also looking for a solution to link the image to the thread it whas placed in.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05168 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete