Version: 1.09, by HCGB
Developer Last Online: Oct 2012
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
Unzip the download package and copy the contents of the UPLOAD folder into your forum folder.
Go to the VB AdminCP->Plugins & Products click "Manage Products". The click "Add/ImportProduct" at the bottom of the page.
Click "Browse" button and point to the product-gallery-(etc).XML file included in this ZIP package.
Click "Import"
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
Sorry but uninstalled, the upload photo page is very confusing, photos were all out of alignment and threw off my template, picture gallery link plus others were giving me errors etc. More trouble then it was worth for me. I'll have to pay for something better I guess to make it much more easier for my members.
What "upload photo page" - this mod hasn't got an upload feature? If you read the installation instructions you will see a reference to rebuilding thumbnails which fixes any sizing issues. Errors on links are probably caused by not uploading the PHP scripts to your forum home directory.
If you want to provide detail I'd be happy to look at any problems.
Yes, the style is custom and not the vb Default, but if the product is using stylevars shouldn't it have inherited those values?
Some help would be appreciated.
It uses the same css classes as the standard vB album view. Your style has problems with vB album views - see http://www.scififur.net/forum/album.php. If you fix that then this mod will also work properly.
Installed the product_gallery_navtab-xxx.xml to have the menu on the navtab.
When clicking on Every link in the Gallery menu, makes the FORUM tab highlighting. I can't understand why...
Installed the product_gallery_navtab-xxx.xml to have the menu on the navtab.
When clicking on Every link in the Gallery menu, makes the FORUM tab highlighting. I can't understand why...
Because pictures and albums are part of the vB forum
Quote:
Originally Posted by cindy helmond
is there an way to get this url to the forumhome ?
Code:
forum/picall.php?
Picture Gallery that you see it on the forumhome
thx
If you want to display the pictures on the forum home page (could get very messy!) then you could add it into the FORUMHOME template in the appropriate place.
Quote:
Originally Posted by kersti
How do I change the number of albums shown on a page?
Any chance of adding a More type button on the bottom of the page?
Try reading the first post - you'll be surprised what you will find there.
Each page has a full navigation panel (page numbers, forward/back/start/end) at the top AND bottom of the picture display.