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

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
  #672  
Old 03-23-2012, 12:26 AM
vetty vetty is offline
 
Join Date: Feb 2012
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It didn't work (on my site) with vb suite 4.1.11 and vbseo

When the first 2 options are clicked ie., albumall.php and picall.php

It Redirects to my forum http://domain.com/forums/ and nothing happens.

I have reinstalled many times but didn't work. Pl let me know why ? Thank you.
Reply With Quote
  #673  
Old 03-23-2012, 05:29 PM
SnaKe |WiH| SnaKe |WiH| is offline
 
Join Date: May 2006
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ugh. Not sure what is happening.

Install:
4.1.11
product-gallery-109
product-gallery-navbar

Issue:
I am in a usergroup with all permissions on yes, but when I go to the my albums or add album link I get "you have no permission to access this page". Albums set to yes in User:Albums in the admincp.

what am I missing?

Help is greatly appreciated!
Reply With Quote
  #674  
Old 03-26-2012, 11:44 PM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vetty View Post
It didn't work (on my site) with vb suite 4.1.11 and vbseo

When the first 2 options are clicked ie., albumall.php and picall.php

It Redirects to my forum http://domain.com/forums/ and nothing happens.

I have reinstalled many times but didn't work. Pl let me know why ? Thank you.
I'm getting the same issue with the same details 4.1.11 and vbseo
picall.php shows but albumall.php redirects to forumhome (forums/forum.php)
Reply With Quote
Благодарность от:
vetty
  #675  
Old 04-08-2012, 04:36 PM
ChrisPhantom ChrisPhantom is offline
 
Join Date: Jul 2011
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would I change the upload size limit to 1 MB?

I struggle to find where you change the upload size limit.
Reply With Quote
  #676  
Old 04-10-2012, 09:45 AM
michaelbang michaelbang is offline
 
Join Date: Apr 2012
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having trouble with the speed of the mod. It loads every picture one by one, and takes what seems like forever to load the full page.

Have I done something wrong? It's the only page that loads slowly, so I dont think the problem is my server speed.

Any suggestions? Would be much appreciatet... If not, I think I'm gonna uninstall again.
Reply With Quote
  #677  
Old 04-11-2012, 01:08 PM
michaelbang michaelbang is offline
 
Join Date: Apr 2012
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled for now
Reply With Quote
  #678  
Old 04-14-2012, 08:47 PM
G37Sam G37Sam is offline
 
Join Date: Jun 2010
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and tested on vb 4.1.12

Works like a charm
Reply With Quote
  #679  
Old 04-16-2012, 10:00 PM
michaelbang michaelbang is offline
 
Join Date: Apr 2012
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by G37Sam View Post
Installed and tested on vb 4.1.12

Works like a charm
No problem with speed when loading gallery page?
Reply With Quote
  #680  
Old 04-17-2012, 12:41 PM
vnairp11 vnairp11 is offline
 
Join Date: Jul 2007
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do i fix this... look at the gallery tab, how do i fix that arrow on top

http://mastiffmixed.com/forums/forum.php

i would like to either remove the arrow on top all together or put the arrow next to the menu . thanks
Attached Images
File Type: gif dfdfd.gif (13.1 KB, 0 views)
Reply With Quote
  #681  
Old 04-21-2012, 11:42 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bankcroft View Post
Any ideas?
Since that looks nothing at all like mine, I would assume it's a custom style issue. Try it in the default style to confirm.

PS I'm a native English speaker and that's the first time in my life I have ever seen the word "educible". I had to look it up. If it's some translation program that added that one it needs to be fixed, because that ain't right.
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 08:33 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.15206 seconds
  • Memory Usage 2,358KB
  • 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
  • (3)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)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