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)

morrow 04-09-2006 12:52 PM

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
-->

Zachariah 04-16-2006 08:24 PM

Quote:

Originally Posted by morrow
Database error in vBulletin 3.5.4:

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
-->

I would say you do not have PhotoPost vBGallery 1.0.2 installed.

Zachariah 04-17-2006 08:58 PM

1st post updated.

Template Bug:

Edit: forumdisplay_vbgallery
Change:
Code:

colspan="$foruminfo[vbgcat]"
To:
Code:

colspan="$foruminfo[vbgcount]"

mikeclarke 04-21-2006 01:35 AM

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.

Zachariah 04-21-2006 04:37 PM

Quote:

Originally Posted by mikeclarke
update: I uninstalled reinstalled works great.

Cool :)

Magle 04-26-2006 08:12 PM

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)

Zachariah 04-26-2006 10:32 PM

Quote:

Originally Posted by Magle
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)

Plugin: Add vBGallery - Main
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.

Magle 04-27-2006 10:37 AM

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:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /*path removed*/music-forums/includes/functions_gallery_store.php on line 23

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /*path removed*/music-forums/includes/functions_gallery_store.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /*path removed*/music-forums/includes/functions_gallery_store.php:23) in /includes/functions_vbseo.php on line 393

Warning: Cannot modify header information - headers already sent by (output started at /*path removed*/music-forums/includes/functions_gallery_store.php:23) in /includes/functions_vbseo.php on line 394
Reverting the edit to the init.php file brings things back to normal (but then the hack will of course not function).

Zachariah 04-27-2006 11:38 AM

Quote:

Originally Posted by Magle
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:

Reverting the edit to the init.php file brings things back to normal (but then the hack will of course not function).

You are running PHP5.x on your webserver ?

Magle 04-27-2006 12:24 PM

Yes, PHP version 5.0.4


All times are GMT. The time now is 09:55 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.01052 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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