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)

kallenapp 07-24-2006 06:25 AM

Hi,

is it posible to open the Gallery in a new window? when i open it withe the gallery2.php, my layout ist broken.

maybe there ist a way tho sync the users only with a cronjob?

thx for help

Keyser520 07-27-2006 03:52 AM

Quote:

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'gallery'); // change this depending on your filename
Ok...so what do I change in the above?

And how do I create a new template?

And where do I set permissions so that I can select who gets to upload and who doesn't?

-Thanks!

SilVert 07-27-2006 02:09 PM

Quote:

Originally Posted by kallenapp
Hi,

is it posible to open the Gallery in a new window? when i open it withe the gallery2.php, my layout ist broken.


maybe there ist a way tho sync the users only with a cronjob?

thx for help

i dont see why opening in a new window would break it... you can go straight to your gallery.php file without going to the front page of your board...

Quote:

Originally Posted by Keyser520
Ok...so what do I change in the above?

And how do I create a new template?

And where do I set permissions so that I can select who gets to upload and who doesn't?

-Thanks!

if you have a template in VBB it would need to be named "gallery" with the code you quoted.

there is a step by step at the begining fo the thread of how to do all this. to get to your styles you haev to log into the adminCP, then "Styles & Templates", style manager, select your style, then create a new template...

coachjohns 07-28-2006 12:31 AM

Getting this Error:

Fatal error: main(): Failed opening required '/homepages/11/d155644365/htdocs/forums/gallery2/modules/core/classes/GalleryUtilities.class' (include_path='.:/usr/local/lib/php') in /homepages/11/d155644365/htdocs/forums/gallery2/install/index.php on line 45

Keyser520 07-28-2006 04:26 AM

I'm getting some really strange looking crap and error messages.. Please check it out.


www.gargleblasterblues.com/forums/gallery2.php

I don't really care about "integrating" it into my vbulletin pages. What I want is to be able to have it interact with the vbulletin database, so I don't have to create new users, etc, etc, etc. How can I just make the two databases link together and be all happy like?

SilVert 07-28-2006 01:38 PM

Quote:

Originally Posted by Keyser520
I'm getting some really strange looking crap and error messages.. Please check it out.


www.gargleblasterblues.com/forums/gallery2.php

I don't really care about "integrating" it into my vbulletin pages. What I want is to be able to have it interact with the vbulletin database, so I don't have to create new users, etc, etc, etc. How can I just make the two databases link together and be all happy like?

the problem you are seeing is either due to a wrong path or the URL Rewrite module. i cant remember which. but i would disable the URL Rewrite. it is fairly advanced and a PITA. i have my gallery working, but i cant use 98% of the rewrite rules...

there is a "plugin" that would do what you want, BUT the people that were developing it have stoped using "gallery" and are now using something else. they sent me a copy, but i dont feel like messing with a working copy of my board. if you go back to the 1st post and send the guy that made the plugin a PM, he might be able to send it to you. i just dont know what state it is in.

Quote:

Originally Posted by coachjohns
Getting this Error:

Fatal error: main(): Failed opening required '/homepages/11/d155644365/htdocs/forums/gallery2/modules/core/classes/GalleryUtilities.class' (include_path='.:/usr/local/lib/php') in /homepages/11/d155644365/htdocs/forums/gallery2/install/index.php on line 45

lets start from the top...
where is your website located?
where is your gallery install located?
what is your websites adress?

fudge55 07-31-2006 02:25 PM

1 Attachment(s)
Ok, i've gone through this thread and it seems that others has the same problem, but i couldn't find the answer...

Install is done and it's working well, except one thing, the international characters. If i call the gallery2 the 'usual' way, it's ok.

When i view the source i can see this:

Code:

<h2> Gal?ria </h2>
When i use the embedded version, the same lines look this way:

Code:

<h2> Gal??ria </h2>
It seems that the core module outputs something else when i use the embedded version. I don't know why... Any solutions?

2 screens are attached...

SilVert 08-01-2006 03:15 PM

Quote:

Originally Posted by fudge55
Ok, i've gone through this thread and it seems that others has the same problem, but i couldn't find the answer...

Install is done and it's working well, except one thing, the international characters. If i call the gallery2 the 'usual' way, it's ok.

When i view the source i can see this:

Code:

<h2> Gal?ria </h2>
When i use the embedded version, the same lines look this way:

Code:

<h2> Gal??ria </h2>
It seems that the core module outputs something else when i use the embedded version. I don't know why... Any solutions?

2 screens are attached...

hmm, thats odd... i wish i had an anwser for you. i think this is a Gallery problem not a integration script problem. have you looked around on Gallery2.org to see if there is any talk about this issue on there?

i think it is probobly due to the "embed mode" not undertanding other languages like the standard mode is(not the integration script), but i really dont know how to resolve that.

sorry i cant help more man. let me know if you run across anythign else, il see what i can do to help :)

kallenapp 08-03-2006 10:10 AM

Quote:

Originally Posted by fudge55
Ok, i've gone through this thread and it seems that others has the same problem, but i couldn't find the answer...

Install is done and it's working well, except one thing, the international characters. If i call the gallery2 the 'usual' way, it's ok.

When i view the source i can see this:

Code:

<h2> Gal?ria </h2>
When i use the embedded version, the same lines look this way:

Code:

<h2> Gal??ria </h2>
It seems that the core module outputs something else when i use the embedded version. I don't know why... Any solutions?

2 screens are attached...


Gallery2 is using only utf-8. you must convert your vb-database to utf-8 an set this to the default chareset in vbulletin.

m0nde 08-03-2006 11: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.

Everything went very smoothly and I am able to browse the gallery by itself.

But, when I launch gallery2.php, I get the following while logged in as myself:

Code:

line: 98, Failed to create G2 user with extId [1]. Here is the error message from G2:
Error (ERROR_COLLISION)

    * in modules/core/classes/GalleryUser.class at line 154 (gallerycoreapi::error)
    * in modules/core/classes/GalleryEmbed.class at line 360 (galleryuser::create)
    * in /home/bostonlo/public_html/forums/gallery2.php at line 95 (galleryembed::createuser)
    * in /home/bostonlo/public_html/forums/gallery2.php at line 50

Also, if someone logs out, they get this message:

Code:

Unable to add cookies, header already sent.
File: /home/bostonlo/public_html/forums/includes/class_dm_user.php(1571) : eval()'d code
Line: 10

Thanks in advance for any help.


All times are GMT. The time now is 08:28 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01584 seconds
  • Memory Usage 1,758KB
  • 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
  • (8)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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