Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Picture and Album Gallery Details »»
Picture and Album Gallery
Version: 1.09, by HCGB HCGB is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.1.0 Rating:
Released: 03-09-2010 Last Update: 01-11-2011 Installs: 1361
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Picture and Album Gallery for vB4


This is a simple mod written out of frustration with the lack of such a basic feature in vb4 (and vb3, etc....)

Features:
Adds a Gallery drop-down menu to the nav bar OR to the navtab which allows browsing AND searching of all pictures and albums on your site.

The search function searches the album title, album description, picture caption AND username.

Note: If guest permission AdminCP->Usergroups->UserGroup Manager->Unregistered/Not Logged In->Can View Albums is "yes" then they will be able to browse album and picture thumbnails - they may NOT be able to view the full-size pictures. To hide the gallery menu from guest see Settings below.

The gallery and menu is phrased.

Tested with Vbulletin 4.0.2/3 (note: earlier versions have not been tested and are not supported) AND vBadvanced 4 beta1.

Settings:
None are needed - it does what it says on the tin .

AdminCP->Options->User Profile:Album Options "Pictures Per Page" and "Albums Per Page" control the number of thumbnails displayed per page in each gallery type.

If you get images overlapping the borders then you have inconsistent thumbnail sizes - you need to:
AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

If you want to hide the Gallery menu from guests then edit the Gallery navbar (or navtab) popup menu plugin and change $allowguests = from true to false

Installation
  1. Unzip the download package and copy the contents of the UPLOAD folder into your forum folder.
  2. Go to the VB AdminCP->Plugins & Products click "Manage Products". The click "Add/ImportProduct" at the bottom of the page.
  3. Click "Browse" button and point to the product-gallery-(etc).XML file included in this ZIP package.
  4. Click "Import"
  5. Once the gallery import is complete, click "Add/Import Product" again and select EITHER product_gallery_navtab-xxx.xml OR product_gallery_navbar-xxx.xml depending on where you want the gallery menu to appear (navbar or navtab).
... all done

Updates

To update from an older version you MUST uninstall the product (admincp->manage products: delete Picture and Album Gallery). Then re-install as above.

v1.08
tested on vb4.0.3
v1.07
Fixed navtab menu - picture and album URLS swapped

Converted navtab/bar into products to make installation easier.
v1.06
Due to popular demand added navtab drop down menu (with help from
TimberFloorAu )
Cleaned up code and templates
v1.05
Phrased menu items - upgrade is not required unless you use other languages.

v1.04b
fixed database connection issue

deleted unused template from product xml
v1.03b
Changed permissions to allow guests to view thumbnail galleries

Added phrasing for main gallery code.
Removed navbar template - replaced by plug-in code
Changed album display template from albumbit to album_latestbit (it works better!)
Various template mods to clean up display
v1.02b
Wasn't remembering search query between pages.


This is my first "proper" product so comment/criticism/etc is welcome

John

Download Now

File Type: zip vb4 Gallery 108.zip (9.6 KB, 3031 views)
File Type: zip vB4 Gallery 109.zip (9.6 KB, 4925 views)

Screenshots

File Type: jpg albs.jpg (86.0 KB, 0 views)

Show Your Support

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

Comments
  #312  
Old 08-23-2010, 11:45 AM
TransAmDan TransAmDan is offline
 
Join Date: Nov 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mod working well, installed and working within seconds.

What I'm wondering is about a bulk upload of images. I go to many car shows, may take between 50 and 900 photos, it would be great if i could do a mass directory upload of images. Is there a mod that can do this? or is there plans to add to this mod in future?

EDIT: I've just have a play with uploading photos, it looks like it can already do this and it resizes the thumbnails which I believe was a problem is an earlier revision of VB.
Reply With Quote
  #313  
Old 08-24-2010, 01:28 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by coshotgun View Post
Running Vbulletin Suite and have the following problems that we would like to see fixed if possible:

Nav-tab
The gallery tab takes up the whole length of the tab bar. when mouse over it even changes color through the search box.
When clicked the drop down box covers the entire width of the page plus some. The text is not visable until you mouse over it
The drop down box does not disapear unless you click off the box somewhere

Nav-bar
Works great but only when you are viewing the forum. Does not appear at any other time.

this is just what we are looking for if it just worked correctly for us. thanks for all the hard work!!! Any chance of it working for us in the near future???
How did you get this working as I have the same issue with my custom style?
Quote:
Nav-tab
The gallery tab takes up the whole length of the tab bar. when mouse over it even changes color through the search box.
When clicked the drop down box covers the entire width of the page plus some. The text is not visable until you mouse over it
The drop down box does not disapear unless you click off the box somewhere
Reply With Quote
  #314  
Old 08-24-2010, 01:45 PM
coshotgun coshotgun is offline
 
Join Date: Aug 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing View Post
How did you get this working as I have the same issue with my custom style?
Happened in IE 8 and in compatability mode. Turn that off and it works fine.
Reply With Quote
  #315  
Old 08-24-2010, 02:11 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by coshotgun View Post
Happened in IE 8 and in compatability mode. Turn that off and it works fine.
I had the same issues with IE 7.
Reply With Quote
  #316  
Old 08-26-2010, 05:57 AM
Fishing620 Fishing620 is offline
 
Join Date: Apr 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Thanks for doing this, it's much needed. We built a simple hack the try and achieve some sort of gallery, you did it better.

Question, on your roll out of the pictures it's rolling out the picture, the description, date it was added, by who and name of the album, but not the comment section. Is there a way you could add the ability for someone to comment on picture from this mod. i.e. if you go into a users album through their profile and look at a picture you can comment. I'd love to have the same comment ability through this mod. I'll donate to support you if you build this in. Please let me know.

Thanks for your efforts!
Reply With Quote
  #317  
Old 08-27-2010, 06:09 PM
mgcom's Avatar
mgcom mgcom is offline
 
Join Date: Apr 2009
Location: Dublin (Ireland)
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The following dependencies were not met:

1. This product is not compatible with version 4.0.6 of vBulletin. (Compatible starting with 4.0.2 / Incompatible with 4.0.3 and greater)

edit uploaded the 1.0.8 xml and it worked

cheers
Reply With Quote
  #318  
Old 08-28-2010, 12:46 AM
svaghari svaghari is offline
 
Join Date: May 2010
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gallery integrates great with forum.

2 slight problems

1) Photo order when uploading. How do you ensure the photos are in the order that you want them
2) Window scrolling. My webguy already kinda tried to fix this. But its not quite working right. I want the window to keep its position when you click to go the next picture so you don't have to scroll all the way down.

Any ideas??

THnx
Reply With Quote
  #319  
Old 08-28-2010, 09:33 PM
tzelon tzelon is offline
 
Join Date: Aug 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tanks! this mod is great!
but I have one problem I'm using 4.0.6v and I install the navTab.xml, and when I selected the gallery Tab. the Forum tab is highlight and not the gallery.
can you help me?
Reply With Quote
  #320  
Old 08-30-2010, 01:24 AM
Tilly Tilly is offline
 
Join Date: Sep 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Received a database error...any ideas why?

HTML Code:
Database error in vBulletin 4.0.6:

Invalid SQL:

                                       UPDATE session
                                       SET lastactivity = 1283134313, location = '/forums/attachment.php?attachmentid=7454&thumb=1', badlocation = 0, useragent = 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729; .NET4.0C)'
                                       WHERE sessionhash = '766952e17c3dbb3747191628d41de802';

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Reply With Quote
  #321  
Old 08-30-2010, 01:47 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"MySQL server has gone away" is a common error on oversold shared servers. However, you should not be able to turn the error on and off simply by enabling this mod.
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 06:25 AM.


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.07039 seconds
  • Memory Usage 2,354KB
  • 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_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (12)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete