Since the bridgescript that comes with Coppermine 1.4.2 for vBulletin doesn't work at all I started digging in the script and corrected it to finally work.
While I was at it I also added support for the vBulletin 3.5.x branch
Installation:
Easy!
Just upload the "vbulletin30.inc.php" from this archive into your Coppermine's bridge folder while OVERWRITING the existing one.
You can then launch the bridgemanager (http:/www.yourdomain.tld/gallery/bridgemgr.php) and set everthing up.
That should have done it.
If you followed all the instructions from the manual and the bridgemanager you should now have a fine working Coppermine with your vBulletin.
I tested this myself on my own forums with the following setups:
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
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.
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:
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....
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
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?