Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #62  
Old 06-04-2009, 02:48 AM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on vB 3.6.8 too (my other forum).

BUT... selecting Yes/No for "Latest Attachments Thumbnails Link" option doesn't do anything. It always displays the full image.

EDIT: IT'S BACKWARDS!

It says "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."

BUT actually - if you select YES it will NOT show the post - it will show the image. And if you select NO, it will link to the post.



Awesome product though !

The only thing I'd like to see is:

- have the # times viewed counter go up when someone views it in the "latest attachments" display
- have mouse-over work the same, showing filename, times viewed, etc... the same as regular thumbs in posts

Good work!
Reply With Quote
  #63  
Old 06-23-2009, 02:31 PM
Limode's Avatar
Limode Limode is offline
 
Join Date: May 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
How to clear files type like vBulletin style one.zip to vBulletin style one
Thanks
Reply With Quote
  #64  
Old 06-26-2009, 09:41 PM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod!

1 request:

Have it display one attachment from each of the last X threads.

ie: find the last X messages that have attachments, pick one out of each, and display them.
Reply With Quote
  #65  
Old 08-25-2009, 03:58 PM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working on 3.8x
Reply With Quote
  #66  
Old 08-26-2009, 08:26 PM
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can a coder help Please?

Here is How You Change the Thumbnail Sizes
Code:
$thumbs[dateline] . "\" border=\"0\" style=\"vertical-align:middle\" alt=\"\" width=\"200\" height=\"250\"></a><br />\n";
Add in those alt parameters in both plugins for forum display and forumhome. Via Plugin Manager edit. Of Course change the numbers to your desired sizes.

2nd I also would like it to open the page in the same window instead of opening in a new window, I tried the change suggested in an earlier post but it just resulted in an error and the thumbnails stopped working.

Thank You!
Reply With Quote
  #67  
Old 09-19-2009, 06:37 PM
animcentral's Avatar
animcentral animcentral is offline
 
Join Date: May 2009
Location: http://animup.net
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi hassan, is it possible to show attachment from specified forums?
i have some wallpapers/cover forums that user attach their wallpaper/cover there,so it's really great if i able to show only those forums attachments
Reply With Quote
  #68  
Old 09-21-2009, 08:30 PM
monica monica is offline
 
Join Date: Jul 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi to anyone who can help.

I followed the instructions.

1. imported the xml, went through fine.
2. added the code to forumdisplay, went through fine
3. am able to see the latest x attachments option under vbulletin options.
but nothing is displaying even on forums that have attachments. e.g
http://forums.immigration.com/forumd...=235&styleid=2


thanks to help.

Monica
Reply With Quote
  #69  
Old 10-08-2009, 03:45 PM
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I truly need to exclude 1 forum from the ForumHome Listing of latest attachments since that forum is an adult forum and we do not want adult material showing to the kiddies.

Can Anyone Help?
Reply With Quote
  #70  
Old 10-10-2009, 01:38 PM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this, it's just what I need. Is there a way to make the links open in the same window instead of a new window?
Reply With Quote
  #71  
Old 10-10-2009, 04:41 PM
angeljs's Avatar
angeljs angeljs is offline
 
Join Date: Aug 2005
Location: UK
Posts: 384
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to add this to vBadvanced?
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:46 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.04800 seconds
  • Memory Usage 2,310KB
  • 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
  • (1)bbcode_code
  • (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