vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - Picture and Album Gallery with Search (https://vborg.vbsupport.ru/showthread.php?t=239403)

HCGB 03-29-2010 10:00 PM

Picture and Album Gallery with Search
 
1 Attachment(s)
Picture and Album Gallery



There is a vB4 version of this mod HERE

Features:

Adds a Gallery option to the nav bar which allows browsing and searching of pictures. Also adds an album browser to the Community dropdown menu.

The search functions searches 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 product is fully phrased

Tested with Vbulletin 3.8.4/5 (note: earlier versions have not been tested and are not supported) AND vBadvanced 3.

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 want to hide the picture Gallery menu from guests then edit the Gallery picture navbar plugin and change $allowguests 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"

John

Attachment 115012

RvG2 03-30-2010 10:28 AM

hi, do you have screenshots? :)

MagicThemeParks 03-30-2010 10:46 AM

I'd love to see some screenshots or a demo as well.

K4GAP 03-30-2010 10:58 AM

Looks interesting, I'll give it a go.

MagicThemeParks 03-30-2010 11:56 AM

Downloading it and trying it out in the next day or two. Screenshot that was added looks good :up:

RvG2 03-30-2010 03:46 PM

only one more feature left: rating. :D

Cybershaolin 03-30-2010 06:08 PM

So if I understand correctly, the only difference with the regular and actual vb albums is the fact that you can search, is that it? Or it simply add this function to the actual album? Rating would be nice for sure.

HCGB 03-30-2010 07:05 PM

Quote:

Originally Posted by Cybershaolin (Post 2013001)
So if I understand correctly, the only difference with the regular and actual vb albums is the fact that you can search, is that it? Or it simply add this function to the actual album? Rating would be nice for sure.

This mod allows you to view ALL of the pictures and albums at the same time - the standard is to view a single users albums only (with no site-wide search).

Hornstar 03-30-2010 07:32 PM

Works really good. Thanks for sharing.

Will you be doing this for VB4 too?

MagicThemeParks 03-31-2010 01:45 AM

Quote:

Originally Posted by RvG2 (Post 2012927)
only one more feature left: rating. :D

Good thinking! :up:

If we could rate the pictures from that main page, it would promote folks' use of it. :)

Cybershaolin 03-31-2010 12:12 PM

Just one more question: does it take in consideration permissions like if the pictures in some albums are private and not public will they still show or will the hack respect the fact that they are private and only show them to the contacts and moderators?

HCGB 03-31-2010 01:54 PM

Quote:

Originally Posted by Cybershaolin (Post 2013406)
Just one more question: does it take in consideration permissions like if the pictures in some albums are private and not public will they still show or will the hack respect the fact that they are private and only show them to the contacts and moderators?

Yes - only mods and admins can view private or profile thumbnails. This mod DOES allow guests to view thumbnails IF their user group permission canviewalbums is yes (same applies to all other usergroups). Guests will not be able to view the full size images (vB restriction?).

Alfa1 04-01-2010 12:10 AM

Awesome. Now all we need is picture categories. Would you consider to add this?

Seems to work fine on vb 3.8.3 BTW.

AzzidReign 04-01-2010 12:38 AM

My members will probably like this, thanks.

inciarco 04-02-2010 04:01 AM

Very Useful Mod. Thank You For Sharing It. :up:

One Important Thing I Just Noticed, (the same one I Posted on the Calendar Search Mod):

Guests Can Search Without Any Limit.

- How Can I Restrict Usergroups From Using the Searching Options (decide which ones Can Search and which ones Can't)? :confused:

I Appreciate Your Instructions to Limit Usergroups From Making Album (albumall.php) and Pictures (picall.php) Searches.

My Best Regards.

:)

HCGB 04-02-2010 06:12 AM

Quote:

Originally Posted by inciarco (Post 2014434)
- How Can I Restrict Usergroups From Using the Searching Options (decide which ones Can Search and which ones Can't)? :confused:

See first post:
AdminCP->Usergroups->UserGroup Manager : Unregistered/Not Logged In : User Album Permissions Can View Albums

This controls who can view albums for each group. Disabling just the search function won't stop users browsing and viewing pictures through other members profile pages.

G?rome 04-02-2010 07:24 AM

Thank you for sharing this.
This was just the missing piece of functionality that prevented me from using the built-in vBulletin-albums.
:-)

//edit: Very small aspect: Uncached template "gallery_picallbit"
//edit2: Another small piece: Is the Page-Title missing intentionally?

HCGB 04-02-2010 08:14 AM

Quote:

Originally Posted by G?rome (Post 2014491)
//edit: Very small aspect: Uncached template "gallery_picallbit"
//edit2: Another small piece: Is the Page-Title missing intentionally?

Guilty on the template - this mod was ported from the vb4 version which used a different image template.

The page title is missing intentionally (you can easily add it back in if you wish) - the space that would have been used by the title is used for the search functions. In general, I'm not keen on using valuable screen space to state the same thing on three successive lines (the page title is already in the breadcrumb AND on the search result header).

tommydamic68 04-02-2010 08:25 AM

If you dont mind me asking, what is the difference besides search feature then all albums mod?

HCGB 04-02-2010 08:48 AM

Quote:

Originally Posted by tommydamic68 (Post 2014513)
If you dont mind me asking, what is the difference besides search feature then all albums mod?

I used all_albums for several years - an excellent mod! However, it hadn't been updated for vb4 so I wrote a new mod for that and then ported it back to vb3.

This mod has a picture browser in addition to an album browser. Also better screen usage (IMHO:)) with multiple images per page and the search works on usernames and picture captions.

MagicThemeParks 04-02-2010 11:35 AM

Quote:

Originally Posted by RvG2 (Post 2012927)
only one more feature left: rating. :D

Quote:

Originally Posted by Alfa1 (Post 2013767)
Awesome. Now all we need is picture categories. Would you consider to add this?.

Two great suggestions! :up:

Any chance of some additional features with this mod in the near future?

HCGB 04-02-2010 12:15 PM

Quote:

Originally Posted by MagicThemeParks (Post 2014572)
Two great suggestions! :up:

Any chance of some additional features with this mod in the near future?

Not at the moment - this mod is a simple browser/search. Adding categories or ratings would involve customising the vB templates and the database - a different story altogether.

For categories you could use Social Group Albums - create a group for each category and users can then add their pictures.

tommydamic68 04-03-2010 09:12 AM

Thanks, will give it a go!

ricardoNJ 04-04-2010 05:09 AM

Nice!

imported_Vishalsachar 04-04-2010 11:11 PM

Installed! Excellent mod, good job!!

imported_Vishalsachar 04-07-2010 11:48 AM

How can I remove the Gallery link from the navbar? I want this accessed only by Admins

HCGB 04-07-2010 01:57 PM

Quote:

Originally Posted by imported_Vishalsachar (Post 2017391)
How can I remove the Gallery link from the navbar? I want this accessed only by Admins

VB AdminCP->Plugins & Products->Plugin Manager: and clear the active box for the Gallery plugins.

MonkYZ 05-24-2010 02:32 AM

1 Attachment(s)
Great mod, but unfortunatelly it looks really ugly on my website. I don't understand why the thumbnails gets so random positioned... Can you please help me fix this ?

HCGB 05-24-2010 01:45 PM

Quote:

Originally Posted by MonkYZ (Post 2042490)
Great mod, but unfortunatelly it looks really ugly on my website. I don't understand why the thumbnails gets so random positioned... Can you please help me fix this ?

AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

MonkYZ 05-25-2010 12:02 AM

Quote:

Originally Posted by HCGB (Post 2042693)
AdminCP->Maintenance->Update Counters->Rebuild Attachment Thumbnails

Thx HCGB but i don't think that's the problem. They are already set to 150 maximum height and width of thumbnails (in Message Attachment Options and also in Album options). So the Album is displaying them ok... but the problem seems to be with the Albums that have long titles or get displayed in portrait mode (instead of landscape).

I am afraid to do the Rebuild Attachment Thumbnails as i have over 20GB of attachments... Plus, i don't think rebuilding them will change anything... as they already have 150 maximum height/width... I don't know how to fix this...

HCGB 05-25-2010 10:33 AM

Quote:

Originally Posted by MonkYZ (Post 2042908)
Thx HCGB but i don't think that's the problem. They are already set to 150 maximum height and width of thumbnails (in Message Attachment Options and also in Album options). So the Album is displaying them ok... but the problem seems to be with the Albums that have long titles or get displayed in portrait mode (instead of landscape).

I am afraid to do the Rebuild Attachment Thumbnails as i have over 20GB of attachments... Plus, i don't think rebuilding them will change anything... as they already have 150 maximum height/width... I don't know how to fix this...

Try (temporarily) increasing the thumbnail size to 200 or so and see what happens to the display. It looks to me like you have several thumbnails that are larger than the size specified and this is breaking the table layout (the "frame" each picture is displayed in should always be the same size).

Or... send me a link to your page or send a copy of the page html (from the browser view page source) and I'll take a look at it.

MonkYZ 05-25-2010 11:19 AM

Thx for your support HCGB !
Here is the album page: http://www.consolegames.ro/forum/albumall.php with thumbnails set to fit at 150px. I've tried different sizes, but i get the same result...

Also, in the homepage, because i use vBadvanced, the All Albums link will go to http://www.consolegames.ro/albumall.php (without /forum/ inside). I've added albumall.php in Global vBadvanced Settings - Navbar Replacements but still doesn't work ok. If i am inside the forum, the link gets the /forum/ inside the link... Strange :)

HCGB 05-25-2010 12:22 PM

Quote:

Originally Posted by MonkYZ (Post 2043099)
Thx for your support HCGB !
Here is the album page: http://www.consolegames.ro/forum/albumall.php with thumbnails set to fit at 150px. I've tried different sizes, but i get the same result...

Also, in the homepage, because i use vBadvanced, the All Albums link will go to http://www.consolegames.ro/albumall.php (without /forum/ inside). I've added albumall.php in Global vBadvanced Settings - Navbar Replacements but still doesn't work ok. If i am inside the forum, the link gets the /forum/ inside the link... Strange :)

It must be an issue with your style - you could try adjusting the StyleVars: cell padding and cell spacing. You will find things a lot easier if you run vBA in the same directory as your forum.

bartek24m 06-02-2010 07:00 AM

THANKS HCGB ! My users love it.

Could you show me how to display $picture[pictureid] in albumall.php file ?

I would like to link thumbnails to album pictureid. Just the same as it works in picall.php

https://vborg.vbsupport.ru/external/2010/06/45.png

wobbly 06-13-2010 12:47 PM

Does anybody know if there is a random picture block for vbadvanced CMPS?

PixelFx 06-13-2010 03:28 PM

very nice, thank you for taking the time to make this

Qleb 06-19-2010 03:41 PM

Very Nice Hero ,

;) Installed

KID_1194 06-19-2010 06:19 PM

I have a question .. the photos .. are they the same photos uploaded by member?

or using this Mod, the Admin can create an album and upload pictures into it?

Best regards

HCGB 06-21-2010 06:10 AM

Quote:

Originally Posted by KID_1194 (Post 2055967)
I have a question .. the photos .. are they the same photos uploaded by member?

or using this Mod, the Admin can create an album and upload pictures into it?


Best regards


This mod is a gallery search and view - pictures and albums are created and uploaded by users using the standard vBuleltin album support. Anyone with the correct permissions can create albums or upload pics.

john102774 07-18-2010 07:52 PM

Thanks! *3.8.5 installed


All times are GMT. The time now is 04:13 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.01382 seconds
  • Memory Usage 1,829KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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