Welcome, Guest. Please Login or Register.
April 25, 2024, 11:11:52 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2 « previous next »
Pages: 1 2 [3] 4 5 ... 7 Reply Ignore Print
Author Topic: [Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2  (Read 112545 times)
babylonking
Full Member
***
Posts: 174


Proudly Canadian

WWW
Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #30 on: July 12, 2003, 02:28:36 PM »
Reply with quote

ok this code will disallow guests from viewing the members gallery even if the members set their albums permissions to every body (public album).

Edit init.inc.php and add

Quoteif ($username == "Guest")
cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);

Just before
Quote?>
Logged

Proudly Canadian          
arturoramos
Noobie
*
Posts: 7


No contaban con mi astucia!

Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge
« Reply #31 on: July 21, 2003, 05:52:24 AM »
Reply with quote

Quote from: zarsky99 on July 06, 2003, 05:38:59 PM
jack,

No it was an include path problem...as i suspected...I fixed it a crappy way...i have a few other problems I noticed already:

session check failure when loggin out.

An Error Has Occurred!

Session check failure. Please try again.


profile link does not load the yabbse profile page...nor does it load the gallery profile page.

"users" link in gallery does not load the member list or anything very useful


You can turn off this session check feature in YABB and have the login/logout work directly from the Coppermine buttons:

http://www.chezgreg.net/cpgboard/viewtopic.php?t=2032&start=24
Logged
arturoramos
Noobie
*
Posts: 7


No contaban con mi astucia!

New Bridge V 0.9.3 file available
« Reply #32 on: July 23, 2003, 04:02:50 PM »
Reply with quote

The problem that I mentioned above with the session check failure, and other issues have been fixed in the bridge file.

The updated version 0.9.3 is available at:

http://www.ramosfamily.org/yabbse-cm-093-wip.zip

This version integrates the following changes:

1. Fixes the definition of web path to YaBB SE Board directory.
2. Adds integration of user language preference.
3. Fixes redirect urls for login, logout, edit users and edit user profile.
4. Adds session ID information to redirects to avoid session check failures.

The version also includes instructions on enabling SSI.php support so as to allow the use of SSI.php functions, such as the YaBB SE menu, in Coppermine templates.
Logged
jack-uk
Full Member
***
Posts: 118


I'm a llamatron addict

Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #33 on: July 23, 2003, 05:48:05 PM »
Reply with quote

Thanks to arturoramos for his work in this - I have had a lot less spare time than I thought I would have recently.
Logged

Valconeye
Full Member
***
Posts: 190


Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #34 on: July 23, 2003, 11:59:08 PM »
Reply with quote

i get this error

Coppermine critical error:
Unable to connect to YaBB SE Board database !

MySQL said: Unknown MySQL Server Host 'YS_BD_HOST' (2)
« Last Edit: July 24, 2003, 12:12:36 AM by Valconeye » Logged
zarsky99
Noobie
*
Posts: 28


I'm a llama!

Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #35 on: July 24, 2003, 02:22:59 AM »
Reply with quote

works perfectly....thank you!!!!
Logged
arturoramos
Noobie
*
Posts: 7


No contaban con mi astucia!

Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #36 on: July 29, 2003, 06:42:17 PM »
Reply with quote

Quote from: Valconeye on July 23, 2003, 11:59:08 PM
i get this error

Coppermine critical error:
Unable to connect to YaBB SE Board database !

MySQL said: Unknown MySQL Server Host 'YS_BD_HOST' (2)


Have you changed the line in the yabbse.inc.php file that reads require_once("/var/web/yabbse/Settings.php"); to point to your YaBB SE settings file?
Logged
Valconeye
Full Member
***
Posts: 190


Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #37 on: July 30, 2003, 08:57:36 PM »
Reply with quote

yeah, it is
require_once("/home/warcraft/public_html/forums/Settings.php");
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #38 on: July 30, 2003, 09:21:54 PM »
Reply with quote

is it possible to have the gallery with the forums if it's at another server under another domain?

cause I have the forums in a server with just enough bandwidth for the forums and have an account at another server with a lot of wasted bandwidth
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
arturoramos
Noobie
*
Posts: 7


No contaban con mi astucia!

Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #39 on: July 30, 2003, 09:24:00 PM »
Reply with quote

Quote from: Valconeye on July 30, 2003, 08:57:36 PM
yeah, it is
require_once("/home/warcraft/public_html/forums/Settings.php");

I think there is a typo in the script that is causing this problem!  Can you try this and see if it works:

Find the following code at the bottom of the script:

if (!UDB_CAN_JOIN_TABLES) {
       $UDB_DB_LINK_ID = @mysql_connect(YS_BD_HOST, YS_DB_USERNAME, YS_DB_PASSWORD);
       if (!$UDB_DB_LINK_ID) die("<b>Coppermine critical error</b>:<br />Unable to connect to YaBB SE Board database !<br /><br />MySQL said: <b>".mysql_error()."</b>");
}


and change YS_BD_HOST to YS_DB_HOST

Can you also post your problem on the Coppermine forum?  There are more hackers there working on the bridge script who may be able to help if this doesn't work.  Anyhow, we can use your feedback and help in debugging the script.
Logged
arturoramos
Noobie
*
Posts: 7


No contaban con mi astucia!

Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #40 on: July 30, 2003, 09:27:11 PM »
Reply with quote

Quote from: Anguz on July 30, 2003, 09:21:54 PM
is it possible to have the gallery with the forums if it's at another server under another domain?

cause I have the forums in a server with just enough bandwidth for the forums and have an account at another server with a lot of wasted bandwidth

No it is not.  The gallery needs to access the user tables from the forums database and it can only do so if they reside on the same server.
Logged
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #41 on: July 30, 2003, 09:27:26 PM »
Reply with quote

Quote from: Anguz on July 30, 2003, 09:21:54 PM
is it possible to have the gallery with the forums if it's at another server under another domain?

cause I have the forums in a server with just enough bandwidth for the forums and have an account at another server with a lot of wasted bandwidth

Havent looked at the mod, but you could try copying the settings.php to the server that the gallery is on, changing the mysql server host to the domain/ip of the server that the forum runs on and pointing the bridge to the settings.php you have created. Not looked at the mod so I have no idea if that will work, but its worth a go.

Oh you may need to set up the mysql server to accept connections from the server the gallery is on as usually its restricted to localhost.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #42 on: July 30, 2003, 09:38:48 PM »
Reply with quote

I see...

now that I read your reply, I'm thinking another thing could be done, maybe the gallery can be at the same server the forums are, so the db connections would be local, much faster and less trouble

the difference would be that the pictures could be saved at the other server... could this be done? can the script upload files or delete them if they're in a directory at another server? if it's via FTP, it probably can, if it's via HTTP I don't know...
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Ben_S
Disciple of Joe
Support Team
YaBB God
*****
Posts: 1586


I Love YaBB SE!

WWW
Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #43 on: July 30, 2003, 09:58:25 PM »
Reply with quote

Not looked at how coppermine works, but I doubt it supports ftp..
Logged
Valconeye
Full Member
***
Posts: 190


Re:[Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2
« Reply #44 on: July 30, 2003, 11:16:54 PM »
Reply with quote

I have Changed yabb_bd_host to yabb_DB_host and i get this error

Fatal error: Call to undefined function: database_error() in /home/warcraft/public_html/forums/Sources/Load.php on line 141


Line 141 of load.php
$request = mysql_query("SELECT passwd, realName, emailAddress, websiteTitle, websiteUrl, signature, posts, memberGroup, ICQ, AIM, YIM, gender, personalText, avatar, dateRegistered, location, birthdate, timeFormat, timeOffset, hideEmail, ID_MEMBER, memberName, MSN, lngfile, skin FROM {$db_prefix}members WHERE ID_MEMBER='$username' LIMIT 1;") or database_error(__FILE__, __LINE__);
« Last Edit: July 30, 2003, 11:18:32 PM by Valconeye » Logged
Pages: 1 2 [3] 4 5 ... 7 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.4] Coppermine Photo Album - YabbSE Integration Bridge V 0.9.2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.046 seconds with 20 queries.