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
[Scandal's] vBGallery Details »»
[Scandal's] vBGallery
Version: 2.1, by Scandal Scandal is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Social Group and Album Enhancements - Version: 4.2.x Rating:
Released: 06-08-2012 Last Update: 06-26-2012 Installs: 134
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Description
Turn your vBulletin Album system to an organized Gallery. Watch presentation!

The basic idea of Scandal's vBGallery is to organize vBulletin Albums AND forum attachments (pictures) to a section with lots of functions (categories, search, latest objects, statistics, menus etc).
Designed for vBulletin 4.2.0 (otherwise you must add the navbar links manually).



Features:
- Categories system for Albums (like Forums for threads)
- Five (5) levels of subcategories allowed
- Album, picture and comment search
- Who browsing Gallery (= Gallery Home, Albums, Pictures)
- Gallery statistics
- Forum attachments gallery (with ability to act it as category)
- Pages: latest pictures - latest albums - latest comments (with feature to turn them to "All")
- "My Comments" feature (display all user comments)
- My Pictures/Albums in "this" category
- Ability to set custom statusicons to categories
- Notifications to users with "uncategorized" albums to move them
- Ability to hide empty categories (= with 0 albums)
- Admincp environment
- No annoying copyright info

Language Packs:
- Deutsch (Sie) - Deutsch (Du)


Installation:

1. Upload all files of folder "upload" to your forum root.
2. Import *xml product.
3. (Important) Open template album_edit and find:
HTML Code:
<fieldset class="blockrow">
add below:
HTML Code:
<vb:if condition="$vboptions['sc_gallery_onoff']">
{vb:raw formdata.catid}
</vb:if>
Done!

Upgrade:

1. FIRST OF ALL: Upload and replace all files of folder "upload" to your forum root.
2. THEN: Import XML product with "Allow Overwrite" to YES.

Who can view vBGallery;
Access to vBGallery has all members who belongs to usergroups with "Can View Albums" to YES.

What if I decide to turn off or uninstall vBGallery;
You are back to Albums without data lose (except the category of each Album - function of this hack).

How could I change the size of Gallery's thumbnails?

vBGallery use the thumbnail size you have set via admincp. To change it go to:
Admincp > Options > Message Attachment Options
... and set your value to "Thumbnail Size"
... afterwards you must rebuild attachment thumbnails at: Maintenance > General Update Tools > Rebuild Attachment Thumbnails

How to install navbar links (for vBulletin 4.0.X - 4.1.X)
Read this post

*Links (for vBulletin 4.0.X - 4.1.X)
::Screenshot::::..
GALLERY:
->/gallery.php

My Stuff:
(My Albums)-> /album.php
(Add Album)-> /album.php?do=addalbum
(My Comments)->/gallery.php?do=mycomments
(Pending Albums)->/gallery.php?do=pending

(Latest Pictures)->/gallery.php?do=latestpictures
(Latest Albums)->/gallery.php?do=latestalbums
(Latest Comments)->/gallery.php?do=latestcomments
(Search)->/gallery.php?do=search


Changelog:
v1.0 first release (beta)
v1.2 second release
- New layout choice for galleridisplay: Grid layout with feature to change the width of albumbits via admincp
- Integration of vBulletin's sidebar with Gallery Home (admin can enable or disable it on admincp)
- New feature: flood check and character limit check for the search engine
- Improved breadcrumb (add category name to navbit) ("Gallery > {category name} > Member List > {username} > Albums > {album name}" )
- "Inverse pyramid like" statistics for categories [a main category "has" the albums of its subcategories - like forum statistics (threads/posts) works for subforums]
- New feature: admin can enable/disable the view of empty categories (= categories with 0 Albums)
- New feature: admin can enable/disable the use of search engine by guests
- Building of Gallery Statistics by cronjob (= refresh every one hour). Very important for server performance.
- 1 bug fixed
v1.5 third release
- Classic layout abolished
- New: Notification feature = users with Albums in category "Uncategorized" auto-notified by the system to move them to a subject category (pending albums)
- New feature: admin can set if he want him users to display Albums or Pictures when open the categories.
- New: menus "Browse Albums" & "Browse Pictures" on Gallery Display (user can navigate the albums/pictures in the category)
- New: My albums/pictures in "this" category feature
- Admincp environment improved (List Albums)
- 3 bugs fixed
v1.6 fourth release
- Galleryhome: fixed the view of description for header categories
- New feature: ability to add custom statusicons to categories (screenshot)
- 1 phrase undefined variable fix
- pending albums: 1 bug fixed
v2.0 fifth release
- New feature: forum pictures attachment gallery (with ability to turn it as gallery category)
- search feature for attachment gallery
- 1 phrase issue fixed
- 1 bug fixed
v2.1
- better attachments gallery popup

Developer's notice: I give support only for code errors, not for style problems.

Tested on vBulletin 4.2.0

Download Now

File Type: zip sc_vbgallery_v2.1.zip (929.1 KB, 927 views)

Screenshots

File Type: png add album.png (56.3 KB, 0 views)
File Type: png galleryhome.png (46.5 KB, 0 views)
File Type: jpg latest pictures.jpg (86.1 KB, 0 views)
File Type: jpg my comments.jpg (71.4 KB, 0 views)
File Type: jpg search.JPG (47.6 KB, 0 views)
File Type: jpg admincp options.jpg (80.7 KB, 0 views)
File Type: jpg pending page.jpg (69.2 KB, 0 views)
File Type: jpg gallerydisplay.jpg (65.9 KB, 0 views)
File Type: png statusicons.png (57.7 KB, 0 views)

Show Your Support

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

Comments
  #122  
Old 08-10-2012, 11:08 PM
Chris8's Avatar
Chris8 Chris8 is offline
 
Join Date: Nov 2009
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No vb 3.8 version?
Reply With Quote
Благодарность от:
Kolektor
  #123  
Old 08-13-2012, 05:37 PM
Kolektor Kolektor is offline
 
Join Date: Jun 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Scandal, can you be so kind to add 3.8 also?
Reply With Quote
  #124  
Old 08-13-2012, 08:15 PM
ericholtman ericholtman is offline
 
Join Date: Nov 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Scandal View Post
hmm it is not in my priorities something like that, 'cause vBulletin Albums has their own permissions system but 'll see.

Also check the private message I have send you. Maybe I find the solution.
Quote:
Originally Posted by Leica.Robbiani View Post
Thank you very much, for me the gallery is working now with you solution. You did a great job, thank you a lot.

Best regards

L.R.
Scandal -- can you please share with us the solution you presented to LR? I'm still experiencing the blank page when I try to upload a photo. And I'm not using vB Suite, just regular old Forum 4.2.

Thanks!
Reply With Quote
  #125  
Old 08-13-2012, 09:13 PM
Kavada Kavada is offline
 
Join Date: Jul 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did everything and tried to import the xml and it gave me a warning message and it said it couldnt upload. And now my whole admin.cp looks completly different and i cant click on anything within it.
What happened?!?!?!
Reply With Quote
  #126  
Old 08-13-2012, 09:33 PM
Kavada Kavada is offline
 
Join Date: Jul 2012
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm i fixed it. i had to reupload my admincp file. somehow it got messed up
Reply With Quote
  #127  
Old 08-14-2012, 05:53 PM
Leica.Robbiani Leica.Robbiani is offline
 
Join Date: Sep 2007
Location: South Germany
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

Quote:
Originally Posted by ericholtman View Post
Scandal -- can you please share with us the solution you presented to LR? I'm still experiencing the blank page when I try to upload a photo. And I'm not using vB Suite, just regular old Forum 4.2.

Thanks!
The solution was:

Open gallery.php and find:
PHP Code:
require_once('./global.php');
require_once(
DIR '/includes/functions_sc_gallery.php'); 
add below:
PHP Code:
require_once(DIR '/includes/class_bootstrap_framework.php');
require_once(
DIR '/vb/types.php'); 

//Init the vb framework
vB_Bootstrap_Framework::init(); 
But this should be fixed in the latest version.

Best regards

L.R.
Reply With Quote
  #128  
Old 08-15-2012, 05:28 PM
ericholtman ericholtman is offline
 
Join Date: Nov 2005
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leica.Robbiani View Post
Hi there,



The solution was:

Open gallery.php and find:
PHP Code:
require_once('./global.php');
require_once(
DIR '/includes/functions_sc_gallery.php'); 
add below:
PHP Code:
require_once(DIR '/includes/class_bootstrap_framework.php');
require_once(
DIR '/vb/types.php'); 

//Init the vb framework
vB_Bootstrap_Framework::init(); 
But this should be fixed in the latest version.

Best regards

L.R.
Yeah, that's already there. Unfortunately, I guess it's a custom style issue for me.
Reply With Quote
  #129  
Old 09-14-2012, 03:50 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a fantastic mod! I have one problem and one suggestion.

Major Problem: With a lot of attachments, the page load time and cpu/mysql usage, even for a single viewer, is way too long. This will destroy my server with lots of users if I make it live. It's obviously doing some serious mysql table scans of some kind. I have over 32,000 attachment images on this forum, which isn't THAT many. When I turn off attachments as a gallery, the page loads almost instant (6000+ pictures in member albums is no problem for it). It is MUCH slower on the gallery home page than it is on the individual attachment pages, even on the attachment pages with lots of pages are faster (going page by page -- they're slow, but not nearly as slow as the main page).

So What can be done to speed the query up? Are there some columns/tables I can index that are being scanned? Is there something in the code that can be changed? Perhaps at least for the homepage, it should cache every so often instead of scanning each time or the query can be limited to the past XX days. The gallery stats could at least be cached every hour/day since no pictures are displayed on the gallery home, it shouldn't take so long. In fact I could do without the stats if that helped, but it didn't (tried turning them off).

Feature Request: Obviously the software already is smart enough to show members attachments per forum section with the filter option.. What I'd really love to see is on the category pages (main gallery page), the option to have each forum section listed as a subsection of 'attachments.'' So it would look almost like the main forum page, but only be pictures. This is possible since you already created a filter, but it's not implemented. This would really be great and if we could limit it to only show certain forum sections it would be so amazing!! (for example, if I have a car forum, people could click on the corvette or porche subforum for only those attachment pictures... And the help/off-topic forums with attachments would not be shown at all).

Thank you!
Reply With Quote
  #130  
Old 09-14-2012, 04:11 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's a bug in the 'latest pictures' code.. When you change the number in the adminCP, it still shows 2 pages no matter how large or how many pictures.

I also noticed when I went to view "my albums," it showed me an album of another memebr (along with one of mine).
Reply With Quote
  #131  
Old 10-21-2012, 05:48 PM
Kolektor Kolektor is offline
 
Join Date: Jun 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.8 version please
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 09:25 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.05589 seconds
  • Memory Usage 2,397KB
  • 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
  • (2)bbcode_html
  • (4)bbcode_php
  • (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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (19)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
  • (10)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