vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Gallery 2.1 and vBulletin 3.5.X integration (https://vborg.vbsupport.ru/showthread.php?t=111931)

silkie 05-19-2006 04:17 PM

ROFLMAO! absolutely no offense taken.

Webmist 05-20-2006 03:19 AM

Okay I've gone over everything with the users. I've checked user tables and they are duplicating into the gallery users nicely but I can't view any images. I keep getting this error. I have a fresh install of Gallery2 and one album. I run under the following:
Subdreamer is root/
Forums is forum/
Gallery2 is gallery2/

Code:

line: 115, G2 did not return a success status. Here is the error message from G2:
Error (GALLERY_SUCCESS)

    * in at line 0


Warning: Cannot use a scalar value as an array in /gallery2.php on line 51

I changed the query to report to true and line #51 is the following:
PHP Code:

$data['title'] = (isset($data['title']) && !empty($data['title'])) ? $data['title'] : 'Gallery'

Anyone want to take a shot at this?

SilVert 05-22-2006 03:53 PM

Quote:

Originally Posted by Webmist
Okay I've gone over everything with the users. I've checked user tables and they are duplicating into the gallery users nicely but I can't view any images. I keep getting this error. I have a fresh install of Gallery2 and one album. I run under the following:
Subdreamer is root/
Forums is forum/
Gallery2 is gallery2/

Code:

line: 115, G2 did not return a success status. Here is the error message from G2:
Error (GALLERY_SUCCESS)

    * in at line 0


Warning: Cannot use a scalar value as an array in /gallery2.php on line 51

I changed the query to report to true and line #51 is the following:
PHP Code:

$data['title'] = (isset($data['title']) && !empty($data['title'])) ? $data['title'] : 'Gallery'

Anyone want to take a shot at this?

did you create an account and then remove it?

the #51 thing i dont know.... all the scripts have that, yours is reporting an error for some reason....

Webmist 05-22-2006 11:02 PM

Quote:

Originally Posted by SilVert
did you create an account and then remove it?

the #51 thing i dont know.... all the scripts have that, yours is reporting an error for some reason....

Yes I did. I found the culprit though. I had a 2.1 beta developers kit installed and hadn't got it upgraded to full version on the site with vb yet. Once I did everything was fine.

Thanks for the help.

Smurky 05-23-2006 01:35 AM

Thanks for the hack, I use gallery2 but the performance of it is very poor, takes forever for pages to load but other scripts work just fine :p

SilVert 05-23-2006 12:21 PM

Quote:

Originally Posted by Smurky
Thanks for the hack, I use gallery2 but the performance of it is very poor, takes forever for pages to load but other scripts work just fine :p

on my VBB site, it takes a few seconds longer than i would like on the original load, but once gallery is loaded and you navigate, it seems to be normal. but i am running on a dedicated server. maybe that is the difference?

on my phpbb site with gallery, it seems to be a bit slow. but that is a shared machine. so i dont know what else is on the machine....

there are 1 or 2 tweaks you can do within gallery to attempt to improve performance. i enabled the full acceleration for guests and partial for the users(i dont remember the module name, i think it was "Performance")...

redlabour 06-01-2006 05:57 AM

Quote:

Originally Posted by Brent H
This tutorial will outline the steps needed to integrate your vBulletin 3.5.X and Menalto Gallery 2.1 installations.

Why did you not Post it as a Hack ?

I want to integrate it to my installed Hacks List. ;)

Brent H 06-02-2006 08:47 AM

I didn't release it as a hack because it wasn't me who coded the plugins or the php file. I know just enough PHP to be dangerous, so all I can really do is show people how I got things to work.

If I had released it as a hack, I'd also feel obligated to provide some kind of support, which I can't ;)

redlabour 06-02-2006 10:27 AM

You only have to uncheck the Box "supported". That´s the same and makes more comfort for all of us.

Brent H 06-02-2006 09:26 PM

Still, it's not my code and there was more than one or two people involved in writing said code, so obtaining permission would be more trouble than it's worth for me... If you want to release this as a plugin, feel free to do so.


All times are GMT. The time now is 03:41 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.03023 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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