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 04-27-2006 05:04 PM

Quote:

Originally Posted by Magle
Yes, PHP version 5.0.4

Try this new file please.

/forums/includes/functions_gallery_store.php

Magle 04-28-2006 07:37 AM

That fixed the problem! Thanks!

Zachariah 04-28-2006 12:46 PM

Quote:

Originally Posted by Magle
That fixed the problem! Thanks!

Cool beans.

The behavior of array_merge() was modified in PHP 5.
Unlike PHP 4, array_merge() now only accepts parameters of type array.

FleaBag 08-13-2006 04:40 PM

Hiya Zach baby! Does this work with 3.6.0 out of the box?

bulbasnore 10-07-2006 04:34 PM

Ever get an answer on 3.6?

Quarterbore 10-07-2006 04:40 PM

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!

Delw 12-31-2006 05:05 AM

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:

Invalid SQL:

SELECT imageid, images.title, filename, thumbname, originalname, extension, images.catid ,images.userid, images.username, images.title, images.description, images.dateline
FROM vb3adv_gallery_images AS images

WHERE valid = 1
AND images.catid IN (4,13)
ORDER BY RAND()
LIMIT 4;

MySQL Error : Table 'xxxxxxx_vbulletin.vb3adv_gallery_images' doesn't exist
Error Number : 1146
Date : Sunday, December 31st 2006 @ 01:37:11 AM
Script : http://www.myforums.com/forums/showthread.php?t=49610
Referrer : http://www.myforums.com/
IP Address :
Username : Compa
Classname : vb_database

Magle 01-07-2007 05:30 PM

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? :)

Delw 01-07-2007 06:29 PM

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

Delw 01-08-2007 08:31 PM

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',));
change line 41 to


Code:

$globaltemplates  = array_merge($globaltemplates, array('ppgal_imagebit','forumdisplay_vbgallery',));

line 170 was

Code:

                FROM " . TABLE_PREFIX . "adv_gallery_images AS images
Change line 170 to
Code:

                FROM " . TABLE_PREFIX . "ppgal_images AS images
do not upload the file functions_gallery_store.php as vbgallery already has this file in there in the version 2.1

just follow the org. directions omitting the functions_gallery_store.php upload



Delw


All times are GMT. The time now is 07:00 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.01113 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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