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
  #442  
Old 02-26-2011, 03:05 AM
PAMMG PAMMG is offline
 
Join Date: Feb 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New install on 4.1.2. Couple questions...

1. When adding an album, it only appears in 'my albums' and not in the album gallery. I'd like to create albums that all users can view
2. Can I prevent certain usergroups from creating an album and/or adding pictures?

Thanks
Reply With Quote
  #443  
Old 02-26-2011, 07:11 AM
HCGB HCGB is offline
 
Join Date: Apr 2008
Location: Scotland
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayacannes View Post
Great job but now i'm on 4.1.0 PL2 it's impossible to upload more than one picture by one picture, is there an issue please ?
Nope - this mod is a viewer - picture uploading is a built-in vB function

Quote:
Originally Posted by PAMMG View Post
New install on 4.1.2. Couple questions...

1. When adding an album, it only appears in 'my albums' and not in the album gallery. I'd like to create albums that all users can view
2. Can I prevent certain usergroups from creating an album and/or adding pictures?
Thanks
Check the album isn't set to private, then check the permission settings for the groups you want to see the album. All standard vB stuff and nothing to do with this mod I'm afraid.

Even if guests do not have permission to view albums, this mod will show the album thumbnail (unless you change the setting specified in the mod) however, they will still not be able to see the actual album content.
Reply With Quote
  #444  
Old 02-26-2011, 08:33 PM
PAMMG PAMMG is offline
 
Join Date: Feb 2011
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HCGB View Post
Check the album isn't set to private, then check the permission settings for the groups you want to see the album. All standard vB stuff and nothing to do with this mod I'm afraid.

Even if guests do not have permission to view albums, this mod will show the album thumbnail (unless you change the setting specified in the mod) however, they will still not be able to see the actual album content.
Yeah, that was pretty obvious stuff. I set the album as public when creating it.

As a test, I logged into the site as the Administrator and used the 'add album' drop down option from the drop down list that's part of the mod. When I go back into the 'album gallery' drop down option, nothing is there. If I go into the 'my albums' drop down option, the album is listed there.

I'm pretty sure the Administrator should have access to everything by default, so I'm not sure which specific usergroup permissions you're referencing. Any help would be greatly appreciated!


RESOLVED: I FOUND THAT THE ALBUMS ONLY SHOW UP AFTER UPLOADING PICS. Empty albums don't appear in the album gallery. Whoops!
Reply With Quote
  #445  
Old 03-01-2011, 10:36 AM
yayacannes yayacannes is offline
 
Join Date: Nov 2010
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Can an administrator create a members album and every member can upload a picture inside ?

Because one album per member is a bit heavy

Thanks
Reply With Quote
  #446  
Old 03-01-2011, 05:29 PM
Grab A Lane Grab A Lane is offline
 
Join Date: Dec 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when uploading pictures, do they upload to my forum's server or do these photos have to be hosted somewhere else?
Reply With Quote
  #447  
Old 03-01-2011, 10:32 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayacannes View Post
Can an administrator create a members album and every member can upload a picture inside ?

Because one album per member is a bit heavy
An empty album uses no resources at all (if that's what you meant by 'heavy').

Quote:
Originally Posted by Grab A Lane View Post
when uploading pictures, do they upload to my forum's server or do these photos have to be hosted somewhere else?
You set up a folder to store users pictures when you installed vbulletin.

I think both you guys are in the wrong place. Instead of installing modifications you should be learning how the basic unmodified vbulletin works.
Reply With Quote
  #448  
Old 03-03-2011, 11:59 AM
marius25 marius25 is offline
 
Join Date: Oct 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In picture gallery..how can i delete the picture name above the image?
Reply With Quote
  #449  
Old 03-06-2011, 02:41 AM
FTDave FTDave is offline
 
Join Date: Feb 2002
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great jOB! Installed with ease on my site.
http://www.teenbay.net

I do have a question.
Is there a way to create a side block so I can pull an image at random from the gallery?
Reply With Quote
  #450  
Old 03-07-2011, 12:30 PM
yayacannes yayacannes is offline
 
Join Date: Nov 2010
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
An empty album uses no resources at all (if that's what you meant by 'heavy').

You set up a folder to store users pictures when you installed vbulletin.

I think both you guys are in the wrong place. Instead of installing modifications you should be learning how the basic unmodified vbulletin works.
No I mean i d'ont want an album per member but only one album for all members...
Reply With Quote
  #451  
Old 03-07-2011, 01:22 PM
HCGB HCGB is offline
 
Join Date: Apr 2008
Location: Scotland
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yayacannes View Post
No I mean i d'ont want an album per member but only one album for all members...
I have to agree with Videx - if you spent some time learning how vB works (or even reading the older posts on this thread) it would save me time providing vB support instead of Mod support

Check out the groups section in your user profile - you will find you can create groups with group pictures.
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 07:17 AM.


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.05434 seconds
  • Memory Usage 2,365KB
  • 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
  • (7)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