Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Latest X Attachments on FORUMHOME and FORUMDISPLAY Details »»
Latest X Attachments on FORUMHOME and FORUMDISPLAY
Version: 1.1, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 03-29-2008 Last Update: 05-10-2008 Installs: 87
Uses Plugins Template Edits Auto-Templates
Translations  
No support by the author.

Latest X Attachments on Forum Index by HASANN

What does it?: Show Latest X Attachments on FORUMHOME Index.
New: Show Latest X Attachments on FORUMDISPLAY

New Install Instructions: its very easy.. just import product-latest_x_attachments.xml file via product manager that's it!!

Find in FORUMDISPLAY template this code

HTML Code:
$navbar
And add below this code

HTML Code:
<if condition="$vboptions['latest_attachments_forum']">
$latest_x_attachments
</if>
Modifications Info

Plugin : 3
Phrases : 33
Template : 1
Setting : 11

Latest X Attachments Settings

Go to your admin cp, then:
vBulletin Options -> Latest X Attachments Options ->

Versions:
v1.0.0 - 30 March 2008
- First release

v1.1 - 11 May 2008
- New Release

Features:
  • Enable Latest Attachments FORUMHOME
  • Display the latest attachments gallery on FORUMHOME?
  • Latest Attachments Show Filename
  • Latest Attachments Show Filename Under Attachments Image Thumbnails Yes No
  • Latest Attachments Show Attachments Thumbnail Link as Filename Link
  • If this enabled to Yes Latest Attachments will be Displayed as Thumbnail with attachment link.
  • If this disabled to No Latest Attachment will be displayed as Filename with attachment link.
  • New: Enable Latest Attachments FORUMDISPLAY
  • Display the latest attachments gallery on FORUMDISPLAY per forum? Yes No
  • Latest Attachments Thumbnails Link
  • If you would like it to link to the post where the attachment is located, choose yes. If you would like the thumbnails to link to the larger image, choose no.
  • Enable Latest Attachments Collapse?
  • If you would like to make the latest attachments collapsable, select this option to yes.
  • Latest Attachments Display Type
  • Latest Attachments or Random Attachments will be displayed in the FORUMHOME
  • Latest Attachments
  • Random Attachments
  • Latest Attachments Location
  • Latest Attachments Location in the FORUMHOME
  • Below Navbar
  • Above Forums
  • Below Forums
  • Below Who's Online
  • Maximum Thumbnails per Row
  • The maximum amount of latest image attachments you would like to display per row.
  • Maximum Thumbnails to Display
  • The maximum amount of latest image attachments you would like to display.
  • Latest Attachment Gallery Name
  • Enter the name which you want the header gallery box to be called.

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 05-13-2008, 12:52 PM
Fulla Fulla is offline
 
Join Date: Nov 2006
Location: Essex, England
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I added/imported the plug-in, then replaced template code.
Can't see it appearing in the vb options thou.

Is there anything else I need to do?
Apologies I'm a little new to this.

EDIT: Pretty sure Ive followed the instructions to the letter.
If you add the plugin, is there anything else needed to make it appear in vb options?
Reply With Quote
  #23  
Old 05-14-2008, 07:41 PM
Fulla Fulla is offline
 
Join Date: Nov 2006
Location: Essex, England
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I've now installed 3.7.0.
Unfortunetly I'm still getting the same problem :-/

Plugin added, template changed, but doesn't appear in the options.
Reply With Quote
  #24  
Old 05-14-2008, 11:21 PM
gwerzal's Avatar
gwerzal gwerzal is offline
 
Join Date: Oct 2007
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to get this so that it doesnt show image attachments but instead shows zip attachments.

I have a lot of files for my members to download so it would be good to be able to have somewhere that shows all the newest ones.
Reply With Quote
  #25  
Old 05-15-2008, 08:07 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Mod.. Found a couple of bugs..

If you only want to display attachment thumbs in your forums and not forum home, there is no way to do it.. Once you set "Enable Latest Attachments FORUMHOME" to NO, the displays in the forums themselves will always show "There are no attachments in this forum" even if there are... Set it to yes, and they magically appear in each of your forums. Some logic in the plug-in is wrong there.

Another minor bug... "Latest Attachments Thumbnails Link" works exactly the opposite as it's supposed to.. Even the opposite of the description.. If you want thumbnails to link to the post, you have to select NO.

Feature Requests: It would be nice if we had the option for the filename link to the picture and the thumbnail link to the post (at the same time).

It would be REALLY nice if one plug-in grabbed x new pictures from user albums and x new pictures from the attachments and displayed them on the same line.

thanks
-vissa
Reply With Quote
  #26  
Old 05-21-2008, 09:26 AM
davis31b davis31b is offline
 
Join Date: Feb 2006
Location: Texas
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway we can get it to:

Exclude certain Usergroups (comma separated ID list)

as an option in the VBulletin settings?
Reply With Quote
  #27  
Old 05-21-2008, 02:36 PM
sarum sarum is offline
 
Join Date: Aug 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

or how about a way to exclude certain types of files
i only want the latest pdf's to show, not pictures
Reply With Quote
  #28  
Old 05-22-2008, 02:31 PM
readjono readjono is offline
 
Join Date: Jan 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are they so big
Reply With Quote
  #29  
Old 07-20-2008, 05:37 AM
mindhunter77 mindhunter77 is offline
 
Join Date: Jan 2006
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The thumbs will display the same size as you display thumbs in your posts. It would be nice to somehow be able to adjust the size for the thumbnails though. As I for one use a rather large thumbnail for in post attachments so this mod won't work as even displaying one thumbs totally throws of the layout of my template.
Reply With Quote
  #30  
Old 07-23-2008, 08:23 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't work, uninstalled.
Reply With Quote
  #31  
Old 07-26-2008, 02:35 PM
corman420 corman420 is offline
 
Join Date: Dec 2005
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this only for images? This would be sweet if you could only include certain file types. My forum is based around binary files, and I would love to be able to show the last 10 uploaded binary, zip, rar files (and not images). This is an awesome idea
Reply With Quote
Reply

Thread Tools

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 04:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07377 seconds
  • Memory Usage 2,305KB
  • Queries Executed 26 (?)
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_html
  • (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
  • (4)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