![]() |
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
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.) |
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. |
looks nice :D
|
I like this one, is there 1 I can use on the center, left or right side of forum yet?
|
Quote:
What are you trying to do ? |
great addon Zachariah! thanks alot for it.
|
Thanks Zach
Going to give this a go :cool: |
Quote:
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.? |
Quote:
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 ? :) |
/me clicks install
This is a great mod and my users are loving it. |
Database error in vBulletin 3.5.4:
Invalid SQL: SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, language.phrasegroup_forumdisplay AS phrasegroup_forumdisplay, language.phrasegroup_inlinemod AS phrasegroup_inlinemod, language.phrasegroup_adv_gallery AS phrasegroup_adv_gallery, language.phrasegroup_global AS phrasegroup_global, language.options AS lang_options, language.languagecode AS lang_code, language.charset AS lang_charset, language.locale AS lang_locale, language.imagesoverride AS lang_imagesoverride, language.dateoverride AS lang_dateoverride, language.timeoverride AS lang_timeoverride, language.registereddateoverride AS lang_registereddateoverride, language.calformat1override AS lang_calformat1override, language.calformat2override AS lang_calformat2override, language.logdateoverride AS lang_logdateoverride, language.decimalsep AS lang_decimalsep, language.thousandsep AS lang_thousandsep FROM user AS user LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid) LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 2, user.languageid)) WHERE user.userid = 265; MySQL Error : Unknown column 'language.phrasegroup_adv_gallery' in 'field list' Error Number : 1054 Date : Sunday, April 9th 2006 @ 06:39:38 AM Script : http://www.njflyfishing.com/vBulleti...splay.php?f=12 Referrer : http://www.njflyfishing.com/vBulletin/index.php? IP Address : 68.x.x.x Username : Classname : vb_database --> |
Quote:
|
1st post updated.
Template Bug: Edit: forumdisplay_vbgallery Change: Code:
colspan="$foruminfo[vbgcat]" Code:
colspan="$foruminfo[vbgcount]" |
I did something bad. Now when I try to edit options in forum manager I get the error below. Any idea how to fix?
Fatal error: Field vbgcount is not defined in $validfields in class vb_datamanager_forum in \includes\class_dm.php on line 485 update: I uninstalled reinstalled works great. |
Quote:
|
This looks like a great hack, but it would be nice with a setting so showing the strip in the threads would be optional, please. (Personally I'd like it to show on the forum display but not in the threads as well)
|
Quote:
Hook Location: global_start Remove: Code:
if (THIS_SCRIPT == 'showthread'){ - I'll add later w/ option in AdminCP to toggle per forum. |
Thanks :)
However, after installing there seems to be a serious conflict between this hack and VBSEO I believe. After installing (and re-installing without the edit from above above), most threads in the forum will not display and instead shows this: Quote:
|
Quote:
|
Yes, PHP version 5.0.4
|
Quote:
/forums/includes/functions_gallery_store.php |
That fixed the problem! Thanks!
|
Quote:
The behavior of array_merge() was modified in PHP 5. Unlike PHP 4, array_merge() now only accepts parameters of type array. |
Hiya Zach baby! Does this work with 3.6.0 out of the box?
|
Ever get an answer on 3.6?
|
I just got the newest Gallery version and I plan to upgrade one of my sites to 3.6.2... I hope this works but if not I will share any code changes that were needed as this looks like a must have for my site!
|
Zach.
On my test board this hack works fine. running 3.6.4 however on my live board 3.6.3 I get this error Quote:
|
I got the same error after upgrading vBgallery to 2.1. Had to disable this mod. Btw, I'm running vB 3.6.4.
Any chance this could one day be included in the vBGallery itself, like the forum home and profile mods? :) |
Its really easy to fix to make it work in 3.6.4. I did it on my first try.
if Zach ( or an admin) gives me the ok I will tell the changes. I dont know if its ok or not as I never redid someones stuff before and dont know how that works. http://www.azbasszone.com/forums/forumdisplay.php?f=36 Delw |
to make it work for vb 3.6.* - 3.6.4 and PhotoPost vBGallery v2.1
you just need only to change the xml file line 41 was Code:
$globaltemplates = array_merge($globaltemplates, array('adv_gallery_imagebit','forumdisplay_vbgallery',)); Code:
$globaltemplates = array_merge($globaltemplates, array('ppgal_imagebit','forumdisplay_vbgallery',)); line 170 was Code:
FROM " . TABLE_PREFIX . "adv_gallery_images AS images Code:
FROM " . TABLE_PREFIX . "ppgal_images AS images just follow the org. directions omitting the functions_gallery_store.php upload Delw |
Stunning analysis Delw. Only change then is necessitated by the name change of the gallery tables. Nicely documented. Thank you so much!
|
Will this work on VB 3.6.4?
|
yes if you follow these directions in post #30
https://vborg.vbsupport.ru/showpost....1&postcount=30 |
Does anyone know of a vb ver. 3.6.4 board with this installed that I could view?
The DEMO link doesn't seem to work. |
<a href="http://www.azbasszone.com/forums/forumdisplay.php?f=37" target="_blank">http://www.azbasszone.com/forums/forumdisplay.php?f=37</a>
you can see it working at the above link. A word of caution we found that using this in version 3.6.4 and with the new version of gallery doesn't work with polls. its a bug and Zach was working on it when he gets time. if you use polls in the same forum as the pics , the polls will not work, however both work fine if not in the same forum. Delw |
Thank you for the information and the caveat.
So you are saying that polls will not work on threads in http://www.azbasszone.com/forums/forumdisplay.php?f=37? |
Is it possible to get it work on PhotoPost vBGallery 2.2? This hack doesn't work because there isn't any functions_gallery_store.php on this build. Please help to get it work.
Thanks in advance.. |
I plan on doing a revise :)
|
Zachariah, is there an option in vBGallery 2.3 to show the same image bar throught all the forum pages?
|
Once again, this is pretty cool. Works on 3.6.7_pl1. Zechariah, why not update this mod? ITs more comprehensive than the currently updated one. Such a small change to make this current.
Quote:
|
All times are GMT. The time now is 02:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|