News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Coppermine integration

Started by charlottezweb, November 07, 2003, 06:42:23 PM

Previous topic - Next topic

NukeWorker.com

My next suggestion is to run the cvs 1.4

Owdy

Is that downloadable somewhere?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0


Elijah Bliss

Quote from: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.

My problem is logging in. I followed all of the directions, but I can't log in to coppermine. I converted my forum from yabb and my tables are prefixed yabbse. Should I be using the smf.inc or the yabbse.inc instead?

NukeWorker.com

Quote from: Elijah Bliss on March 21, 2005, 09:48:50 PM
Quote from: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.

My problem is logging in. I followed all of the directions, but I can't log in to coppermine. I converted my forum from yabb and my tables are prefixed yabbse. Should I be using the smf.inc or the yabbse.inc instead?

SMF bridge.

Elijah Bliss

Quote from: NukeWorker.com on March 21, 2005, 09:55:33 PM
Quote from: Elijah Bliss on March 21, 2005, 09:48:50 PM
Quote from: Owdy on March 09, 2005, 03:38:21 PM
Quote from: ping on March 09, 2005, 02:02:46 PM
I followed the instructions to bridge an SMF forum, and it worked perfectly.
I have integration also, but it wont work pwerfectly. Logging out wont work from coppermine. Other than that, no big issues.

My problem is logging in. I followed all of the directions, but I can't log in to coppermine. I converted my forum from yabb and my tables are prefixed yabbse. Should I be using the smf.inc or the yabbse.inc instead?

SMF bridge.

ok, I'm using that right now, I get this strange url link from the login link:
http://www.blaqboard.com/coppermine/login.php?referer=%2Fcoppermine%2F

I have database driven sessions turned off as well, but I still cannot get in to coppermine.

Elijah Bliss


kegobeer

"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Elijah Bliss


NukeWorker.com

Here is some code to put in your "anycontent.php" file to show the Top 10 Uploaders".
(It's my first attempt as a DB query)

If you have some questions about the anycontent, see this link:
http://coppermine.sourceforge.net/board/index.php?topic=8405

echo '<table width="100%"><tr><td width="50%">';
starttable("100%", "Top 10 Uploaders",2);

$result = db_query("
SELECT realName AS user_name, ID_MEMBER, COUNT( * ) AS numpics
FROM {$CONFIG['TABLE_PICTURES']}, " . $UDB_DB_NAME_PREFIX . SMF_TABLE_PREFIX . SMF_USER_TABLE . "

WHERE ID_MEMBER = owner_id
GROUP BY owner_id
ORDER BY numpics DESC
LIMIT 10
");

$i = 1;
while ($row = mysql_fetch_assoc($result)){
echo "<tr><td class=\"tableb\" >" . $i++ . ") <a href=\"profile.php?uid={$row['ID_MEMBER']}\">{$row['user_name']}</a></td><td class=\"tableb\"><a href=\"thumbnails.php?album=lastupby&uid={$row['ID_MEMBER']}\">{$row['numpics']} uploads</a></td></tr>";
}

endtable();
echo '</td></tr>';
endtable();

kegobeer

I didn't have any problems with the login link.  It directed me to your SMF forum.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Elijah Bliss

Quote from: kegobeer on March 23, 2005, 07:24:29 PM
I didn't have any problems with the login link.  It directed me to your SMF forum.

that works, however when I log in, and go back to coppermine, I'm not logged on.

kegobeer

Can you post a test user/password so I can see?
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Elijah Bliss

Quote from: kegobeer on March 23, 2005, 10:09:04 PM
Can you post a test user/password so I can see?

Check your PM.

snork13

@NukeWorker.com

Thanks for the "Top Uploader block"..

works great :D

snork
Mods
Please DO NOT PM me with requests for individual support, but post your questions and concerns in the appropriate section of the forum where other users can benefit from them as well. Thank you.
I have been super busy as of late. Working on updates to all my modifications for 2.0.1

kegobeer

Ok.  Normally we recommend this for a typicall install:

domain/forum
domain/coppermine

I think you have this:
domain
domain/coppermine

That shouldn't be causing any real problems though.  I think the problem may be that you are using http://www.blaqboard.com/v2/Diesel/Edition/cpg132/ for your Coppermine URL, but you are using
http://blaqboard.com/v2/Diesel/Edition/index.php for your SMF URL.

In your Coppermine config settings, change your "Target address for the 'See more pictures' link in e-cards" to http://blaqboard.com/v2/Diesel/Edition/cpg132/

When I used IE, I was able to log in to your SMF site and then go to Coppermine, even though it was www.blaqboard.../cpg132/ instead of blaqboard.../cpg132/.  With Firefox, I was redirected to www.blaqboard.../cpg132/ and wasn't logged in.  Once I removed the www. from the URL, it showed me as logged in.

Hopefully changing the Target address will fix this.  Make sure to delete your blaqboard and www.blaqboard cookies and restart your browser.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Elijah Bliss

Quote from: kegobeer on March 24, 2005, 08:32:19 PM
Ok.  Normally we recommend this for a typicall install:

domain/forum
domain/coppermine

I think you have this:
domain
domain/coppermine

That shouldn't be causing any real problems though.  I think the problem may be that you are using http://www.blaqboard.com/v2/Diesel/Edition/cpg132/ for your Coppermine URL, but you are using
http://blaqboard.com/v2/Diesel/Edition/index.php for your SMF URL.

In your Coppermine config settings, change your "Target address for the 'See more pictures' link in e-cards" to http://blaqboard.com/v2/Diesel/Edition/cpg132/

When I used IE, I was able to log in to your SMF site and then go to Coppermine, even though it was www.blaqboard.../cpg132/ instead of blaqboard.../cpg132/.  With Firefox, I was redirected to www.blaqboard.../cpg132/ and wasn't logged in.  Once I removed the www. from the URL, it showed me as logged in.

Hopefully changing the Target address will fix this.  Make sure to delete your blaqboard and www.blaqboard cookies and restart your browser.

YES!

Thank you very very much, I got in just fine with your instructions. Thanks again!

kegobeer

Glad to help.  If you have any other Coppermine issues, stop by the Coppermine support site.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

grymlin72

Login/logout problems....  it seems to be acting squirlly...  If i try to log out, i get a blank screen.  No errors, just a blank screen.  Once i do manage to logout, and try to log back in...same thing. Blank screen on index2.php.   somehow, it does manage to login and logout, but i still get the screen.

Any suggestions?  Anyone care to have a look?  pm me and I'll send you link.  Rather not post it due to it's content.

thanks
Big Easy Domains [nofollow]

kegobeer

For the quickest help, please go to the Coppermine support boards for Coppermine bridge support.  There's a board dedicated to bridge questions.

I'm pretty much the only Coppermine dev who visits the SMF site regularly.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Advertisement: