vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add PhotoPost vBGallery to each forum (https://vborg.vbsupport.ru/showthread.php?t=111868)

Zachariah 03-31-2006 10:00 PM

Add PhotoPost vBGallery to each forum
 
/* ----------------- 3/31/2006 4:37PM -----------------
Add PhotoPost vBGallery to each forum.

This hack will allow you to select what catagories from vBGallery to display in a film strip format under the $navbar. This will show in every thread of the forum as well.

/* Tested: PhotoPost vBGallery 1.0.2 + vBulletin 3.5.4

1 query
  • 1 template
  • 1 File edit
  • 1 file upload
  • 3 plugins
  • 5 phrases


DEMO
Subject: Science
Forum: 780
Gallery Catagories: 4,20
----------------------------------*/

Each forum extra options:

** Add vBgallery images on this Forum

- Image Count:
(How many images would you like to show ?)

- Image Order:
(Enter 1 for newest, 2 for most viewed, 3 for most comments, 4 for highest rated, 5 for random.)

- Select Catagory(s):
(Here you can list catagories you wish to show images from. EX: 1,10,20)

- Show Imagebit:
(Title, Description, Rating, Username, Views, Dimensions, and more.)

Zachariah 04-01-2006 02:31 AM

1st post FAQ

- Show Imagebit:
(Title, Description, Rating, Username, Views, Dimensions, and more.)

This works @ the moment like an On/Off switch per forum. With the current development of the hack there is not a choice of custom Imagebit setting per forum. You can however edit a core plug-in and change what fields show. This setting will show on all forums that have Show Imagebit enabled.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

I have not created a new adv_gallery_imagebit
- gallery_columns is still linked w/ main gallery.

PixelFx 04-01-2006 06:05 AM

looks nice :D

threat 04-01-2006 12:38 PM

I like this one, is there 1 I can use on the center, left or right side of forum yet?

Zachariah 04-01-2006 01:02 PM

Quote:

Originally Posted by threat
I like this one, is there 1 I can use on the center, left or right side of forum yet?

The left / right sides of the forums is only on the showthread.php and forumdisplay.php or is it site wide ?

What are you trying to do ?

sensimilla 04-01-2006 05:42 PM

great addon Zachariah! thanks alot for it.

Betablocker 04-02-2006 01:38 PM

Thanks Zach

Going to give this a go :cool:

lawahdy 04-03-2006 10:45 PM

Quote:

- Select Catagory(s):
(Here you can list catagories you wish to show images from. EX: 1,10,20)

excellent hack.. but can't we make this step easier.. i mean i always add new categories.. i really do'nt want to go through 40 forums to update them one by one.. :bunny:

isn't there another way of doing things.?

Zachariah 04-03-2006 11:57 PM

Quote:

Originally Posted by lawahdy
excellent hack.. but can't we make this step easier.. i mean i always add new categories.. i really do'nt want to go through 40 forums to update them one by one.. :bunny:

isn't there another way of doing things.?

1)
When you create a new forum you have the option to add the gallery catagories at that time also.

2)
This is to add select image groups from the gallery to select forums.

EX From DEMO link:

In the a forum we talk about Science and the images that show are from 2 science catagories in the gallery. This could work on any subject (forum) that you need image interaction.

3)
What did you need or have in mind ? :)

Reeve of shinra 04-04-2006 02:20 AM

/me clicks install

This is a great mod and my users are loving it.


All times are GMT. The time now is 05:45 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.01288 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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