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
  #2  
Old 02-06-2004, 06:33 PM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

be amazing if this showed thumbs of the pics with an icon for other files
Reply With Quote
  #3  
Old 02-06-2004, 06:35 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah i thought the same to be honest. Guess thats something to aim too get done
Reply With Quote
  #4  
Old 02-06-2004, 07:19 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #5  
Old 02-06-2004, 07:24 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the advice ill get right on it
Reply With Quote
  #6  
Old 02-06-2004, 09:46 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First post updated. Attachments now show up as thumbnails. Hope that is better
Reply With Quote
  #7  
Old 02-06-2004, 10:03 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 02-06-2004, 10:06 PM
*arie's Avatar
*arie *arie is offline
 
Join Date: Jan 2004
Location: New Orleans {504}
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow thanks.

LOL @ the latest pics in the attachment.
Reply With Quote
  #9  
Old 02-07-2004, 12:18 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
Under $navbar:

Code:
<table class="tcat" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" valign="top">
<tr><td>
$latestattachments
</td></tr></table>
well..this is not 100% proper code but it looks ok on our forum. Untill it is better coded this is an option. 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.
Reply With Quote
  #10  
Old 02-07-2004, 09:05 AM
colicab-d's Avatar
colicab-d colicab-d is offline
 
Join Date: Dec 2002
Location: Glasgow
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 12:59 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.04754 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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