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)
-   -   Coppermine 1.4.2 intgration to vB3.x.x (https://vborg.vbsupport.ru/showthread.php?t=101995)

nicedreams 02-17-2006 05:55 PM

Quote:

Originally Posted by jeytee2
Problem:
I use VB 3.5.3 and Coppermine 1.4.3 with this bridge.
But after the konfiguration when coppermine starts comes follow message:
Fatal error: Cannot redeclare class core_udb in /home/httpd/vhosts/mini2-rheinland.de/httpdocs/cpg143/bridge/udb_base.inc.php on line 22


Help Please

Post #51 in this thread.

Jim

nicedreams 02-17-2006 06:07 PM

Quote:

Originally Posted by The Chief
ahh, too hard, have no idea what to do and I get an error when doing the test..

There is a line in cpmfetch_dao.php that you need to change depending on the version of cpm. Between line 55-65, there is a var $sqlPictureAlbumSelect line,reverse which one is commented out. That will fix that error message.

Also check out this thread on coppermine: http://coppermine-gallery.net/forum/...?topic=19564.0

Jim

Tefra 02-17-2006 11:28 PM

i found a small bug.

Steps:

1. Go in your forums log in (tick remember me)
2. Enter Gallery (it shows you as loggen in)
3. Close Broswer/Start Browser
4. Access gallery (without visiting forums first it shows you as logged out.)

The bug of the bridge is that you have to first access vbulletin and then access gallery to show you as logged in. Most you don't care because your main page is vbulletin forums but for people that using another cms not intergrated to vb this is a problem. I also check this bug in myetalk where The Chief is using joomla vb right ?

Can you please fix this ?

Please i beg you i tested everything and it's working great i even fixed the template to fit the rest of my site and then i found this really annoying bug that kepts me away from using coppermine instead of my current gallery :disappointed:

Hellcat 02-17-2006 11:30 PM

Quote:

Originally Posted by Tefra
Can you please fix this ?

Not easiely, since CPG utilizes the session cookie of vB rather than the "remeber me" cookie(s).
Once you're inactive for a set ammount of time, or close the browser, the session cookie expires.

To change this hacking the CPG files would be neccesary....

Tefra 02-17-2006 11:34 PM

Quote:

Originally Posted by Hellcat
Not easiely, since CPG utilizes the session cookie of vB rather than the "remeber me" cookie(s).
Once you're inactive for a set ammount of time, or close the browser, the session cookie expires.

To change this hacking the CPG files would be neccesary....


i want to cry it took me all day to understand coppermine and learn how to use it and skin it. oOh boy and those docs where huge

khaleel 02-19-2006 11:27 AM

great mod!!!! *installs*

nicedreams 02-22-2006 09:17 PM

Quote:

Originally Posted by Hellcat
Not easiely, since CPG utilizes the session cookie of vB rather than the "remeber me" cookie(s).
Once you're inactive for a set ammount of time, or close the browser, the session cookie expires.

To change this hacking the CPG files would be neccesary....

Ok, I have almost the reverse problem. When a user is in the gallery section for over the amount of the vb cookie(1200 - 20 minutes), and goes back to vb, you are no longer logged in. This is with the remember me box set to unchecked. I have this box hidden and always set to unchecked so if they close their browser, they will always have to re-login.

I realize I can increase the cookie timeout in vb, but I don't to inflate the online users in the who's online page.

So how can I update the activity of the vb cookie, or whatever is timing out in vb, *IN* the coppermine pages? Is there a vb function I can call to update it?

Jim

rhorta 03-06-2006 05:34 PM

I am running into a problem while bridging.

First I tried from a different domain, I got the error message that the brdiging tool could not find the ../includes/config.php file.

Well then I tried doing the same thing from the same domain, but still no go, same error.

Now it could be how the wizard is set up.

I have my forum installed in a sub domain, instead of a folder under www.etc.com

So my current test

forum.mydomain.com

and

www.mydomain.com/Gallery

Would love to see this bridging work.

Thanks for your attention.

Hellcat 03-07-2006 12:21 AM

That setup doesn't work for bridging, sorry!
The CPG manual has a section about that issue....

rhorta 03-07-2006 04:06 AM

OK thanks, I should have checked that first - as the famous saying goes.

But could it work from two seperate domains / dbases?


All times are GMT. The time now is 10:35 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.01453 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
  • (5)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