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
  #42  
Old 06-18-2012, 06:59 AM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sandboa View Post
Would love to see permission ability
hmm it is not in my priorities something like that, 'cause vBulletin Albums has their own permissions system but 'll see.
Quote:
Originally Posted by Leica.Robbiani View Post
Hi scandal,


Thanks a lot for your hints, but nothing did work on my localhost. The "build stats" script stucks.

Just please give me a little time to install it on my test directory on my server. My localhost is a Windoze system, my server runs with Linux. Maybe there will be a difference, this wouldn't be the first time.

Normally first I install mods on my localhost, when they work there I install them in my test directory on the server, only if they work there I install them on the production site.

Please don't get upset.

Best regards

L.R.
Also check the private message I have send you. Maybe I find the solution.
Reply With Quote
  #43  
Old 06-18-2012, 06:04 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.5 available! Hope it fixes the blank page in some boards!
changelog:
- 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 in "this" category - My pictures in "this" category feature
- Admincp environment improved (List Albums)
- 3 bugs fixed

To upgrade upload the new files and import xml product with Allow Overwrite to "YES". :up:
Quote:
Originally Posted by Alfa1 View Post
1. Please consider to add an importer for images, & albums from photopost and photoplog. Photoplog has been abandoned. Many people use photopost pro. You could make the importer a pro feature.

2.
Will there be a vb3 version?
1. Help gladly to develope an importer to vB Albums, but I'm not sure that I have the necessary knowledge currently for this.
2. Maybe. I'll decide for this after vB4 version of this hack has been pass the beta stage. I need too a vB3 version of this hack for my site.
Reply With Quote
  #44  
Old 06-18-2012, 06:57 PM
Leica.Robbiani Leica.Robbiani is offline
 
Join Date: Sep 2007
Location: South Germany
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Also check the private message I have send you. Maybe I find the solution.
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.
Reply With Quote
  #45  
Old 06-19-2012, 11:57 AM
romolus romolus is offline
 
Join Date: Aug 2005
Location: Luxemburg
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there already a French and German Translation ?

Thank you
Reply With Quote
  #46  
Old 06-19-2012, 01:44 PM
romolus romolus is offline
 
Join Date: Aug 2005
Location: Luxemburg
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is planned in the next time:

an Random Imagebox for the Forum Header or Footer or for the Gallery Header or Footer ?

Thank you
Reply With Quote
  #47  
Old 06-19-2012, 02:55 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I make a simple screenshots presentation! You can find it here! :up:

Coming soon: vB3 version of this hack!
Reply With Quote
2 благодарности(ей) от:
Alfa1, Hornstar
  #48  
Old 06-19-2012, 06:48 PM
Leica.Robbiani Leica.Robbiani is offline
 
Join Date: Sep 2007
Location: South Germany
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I did the German translation - Deutsch (Sie) - for Scandal's gallery. If you like to use it, just download the xml-file. To install the language file:
  • Go to your admincp -> Languages & Phrases -> Download / Upload Languages
  • Find the downloaded file on your computer
  • Select the language
  • Make sure you select "Yes" on "Ignore Language Version "
  • Click "Import"
  • Click "Done".
The file - Deutsch (Du) - follows in a few days.

Install instructions in german language:
  • Gehe in's admincp -> Sprachen & Phrasen -> Sprachen herunterladen/ hochladen
  • Finde die heruntergeladene Datei auf Deinem Computer
  • W?hle die Sprache
  • Stelle sicher, dass "Ja" bei "Sprachversion ignorieren" ausgew?hlt ist.
  • Klicke auf "Importieren".
  • Klicke auf Erledigt"
Well done - gut gemacht.

Edit (21.06.2012):
File - Deutsch (Sie) updated
File - Deutsch (Du) added

Edit (27.06.2012):
File - Deutsch (Sie) updated
File - Deutsch (Du) updated

Best regards

L.R.
Reply With Quote
  #49  
Old 06-19-2012, 08:02 PM
AllenMead AllenMead is offline
 
Join Date: Jul 2004
Location: East Sussex, England
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This makes the Gallery very slick Would be real nice if you could put a limit on the sizes of the images displayed and open in a new window when clicked on?
Reply With Quote
  #50  
Old 06-20-2012, 07:52 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.6 (fourth release) available!
- updated file: sc_gallery_admin.php
- 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

Hopes v1.6 is now an established version. :up:
Reply With Quote
  #51  
Old 06-20-2012, 08:11 PM
Scandal's Avatar
Scandal Scandal is offline
 
Join Date: Dec 2005
Location: Athens / Greece
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to install Gallery's navigation tab and links for vB4.0.X - 4.1.X users
1. Open template "navbar" and find:
Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
replace it with:
Code:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'sc_gallery' AND THIS_SCRIPT != 'album'">
2. Open template "navbar" and find:
Code:
{vb:raw template_hook.navtab_end}
add below:
Code:
        <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'sc_gallery' OR THIS_SCRIPT == 'album'">
            <li class="selected"><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase sc_gallery}</a>
                <ul class="floatcontainer">
                 <vb:if condition="$show['member']">
                    <li class="popupmenu">
                        <a href="javascript://" class="popupctrl">My Stuff</a>
                        <ul class="popupbody popuphover">
                                <li><a href="album.php?{vb:raw session.sessionurl}">My Albums</a></li>
                                <li><a href="album.php?{vb:raw session.sessionurl}do=addalbum" rel="nofollow">Add Album</a></li>
                                <li><a href="gallery.php?{vb:raw session.sessionurl}do=mycomments" rel="nofollow">My Comments</a></li>
                                <li><a href="gallery.php?{vb:raw session.sessionurl}do=pending" rel="nofollow">Pending Albums</a></li>
                        </ul>
                    </li>
                 </vb:if>
                    <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestpictures">Latest Pictures</a></li>
          <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestalbums">Latest Albums</a></li>
          <li><a href="gallery.php?{vb:raw session.sessionurl}do=latestcomments">Latest Comments</a></li>
          <li><a href="gallery.php?{vb:raw session.sessionurl}do=search">Search</a></li>
                </ul>
            </li>
        <vb:else />
            <li><a class="navtab" href="gallery.php">{vb:rawphrase sc_gallery}</a></li>
        </vb:if>
3. Done!
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:59 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.05263 seconds
  • Memory Usage 2,406KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (2)bbcode_html
  • (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
  • (20)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
  • (12)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_postinfo_query
  • fetch_postinfo
  • 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