The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add PhotoPost vBGallery to each forum Details »» | |||||||||||||||||||||||||
/* ----------------- 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.) Show Your Support
|
Comments |
#12
|
||||
|
||||
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 --> |
#13
|
||||
|
||||
Quote:
|
#14
|
||||
|
||||
1st post updated.
Template Bug: Edit: forumdisplay_vbgallery Change: Code:
colspan="$foruminfo[vbgcat]" Code:
colspan="$foruminfo[vbgcount]" |
#15
|
||||
|
||||
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. |
#16
|
||||
|
||||
Quote:
|
#17
|
|||
|
|||
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)
|
#18
|
||||
|
||||
Quote:
Hook Location: global_start Remove: Code:
if (THIS_SCRIPT == 'showthread'){ $search_text = '$navbar'; $vbulletin->templatecache['SHOWTHREAD'] = str_replace($search_text, $search_text.fetch_template('forumdisplay_vbgallery'),$vbulletin->templatecache['SHOWTHREAD']); } - I'll add later w/ option in AdminCP to toggle per forum. |
#19
|
|||
|
|||
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:
|
#20
|
||||
|
||||
Quote:
|
#21
|
|||
|
|||
Yes, PHP version 5.0.4
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|