vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Picture and Album Gallery (https://vborg.vbsupport.ru/showthread.php?t=237931)

HCGB 03-09-2010 10:00 PM

Picture and Album Gallery
 
1 Attachment(s)
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....) :mad:

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 :p.

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

haXan 03-10-2010 11:36 AM

Is there any ScreenShot ? ? ?

archet1337 03-10-2010 11:47 AM

Installed it as instruced but can't find the options under User Profile:Album Options

Can't see any changes to either navbar nor album.

War.Frog 03-10-2010 11:51 AM

This looks very interesting...it's ridiculous that this basic feature isn't in vb4. Tagged for install!

starman? 03-10-2010 11:59 AM

Installed and working except I get a blank screen selecting the 2nd menu item ALBUMS.

cindy helmond 03-10-2010 12:16 PM

1 Attachment(s)
Quote:

Originally Posted by starman? (Post 2000847)
Installed and working except I get a blank screen selecting the 2nd menu item ALBUMS.

me to !!
See ATT

basilrath 03-10-2010 12:17 PM

"tagged"

This amazes me that one can spend the amount you do on the CMS package and not get a "gallery" etc ........................ looking at the plog ....... it can maybe be inegrated into v4

HCGB 03-10-2010 01:11 PM

Quote:

Originally Posted by cindy helmond (Post 2000861)
me to !!
See ATT

Do you see the header/footer/etc with nothing in the center or is the entire screen blank?

Double check you have uploaded the albumall.php file to your forum directory?


Quote:

Installed it as instruced but can't find the options under User Profile:Album Options

Can't see any changes to either navbar nor album.
The options are the standard vb options found in AdminCP->Options->User Profile:Album Options

Check the product is installed properly - there should be a plugin called "Gallery Popup Menu" listed in the plug in manager, There is no change to the album - just a new menu item on the navbar (obviously, if you have a custom navbar template without the correct template hook then it won't work :()

odonel 03-10-2010 01:13 PM

installed on a test forum, this is great, now i can get rid of photopost for sure... same problem with #6, albums showing blank page

KristerSwe 03-10-2010 01:54 PM

Quote:

Originally Posted by odonel (Post 2000891)
installed on a test forum, this is great, now i can get rid of photopost for sure... same problem with #6, albums showing blank page

Same here :) other then that i love this THANKS... voted MOTM and installed


All times are GMT. The time now is 10:49 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.01747 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete