[OBSOLETE] How to Integrate Coppermine with SMF

Started by dtm.exe, July 09, 2005, 04:59:26 PM

Previous topic - Next topic

SA™

#320
hi i have intergrated coppermin on my site but when i click on th gallery button i get


Fatal error: Call to undefined function tp_loadtheme() in /www/110mb.com/j/o/y/r/i/d/e/r/joyrider/htdocs/Sources/Load.php on line 1181

this any help its to do with smf

see for yourself here
joyrider.110mb.com/gallery/
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Teal

I have SMF and Coppermine bridged and it appears everything is working fine with one exception. When a user clicks on the link tab in the forum to go to Coppermine, a password box appears and asks them to log in, even though they are, already. If they try and log in through this box, they simply get returned to the forum home page. The only way (that I have found) for anyone to get to Coppermine (including myself the admin) is to "logout" while in the forum and then "login" again. Once that's done, all users can then enter Coppermine via the link tab.

I'm guessing this is Cookie related somehow but have no clue on how to correct it.

Ideas?
www.overclockeddoc.com
www.hellzhawtdogz.com

Kindred

This would be related to how you have smf bridged to coppermine.

It sounds like Coppermine is eithe rno using the SMF cookie, or the coppermine cookie expires while the SMF cookie is still active.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Teal

The cookie used by the SMF and Coppemine are not the same. I am sure that the instructions said "not" to have them the same. Is this not correct?

If it is the other as you suggested (cookie expiring), how would I correct it?

Thanks!
www.overclockeddoc.com
www.hellzhawtdogz.com

Teal

#324
Quote from: Teal on May 28, 2007, 08:47:51 AM
I have SMF and Coppermine bridged and it appears everything is working fine with one exception. When a user clicks on the link tab in the forum to go to Coppermine, a password box appears and asks them to log in, even though they are, already. If they try and log in through this box, they simply get returned to the forum home page. The only way (that I have found) for anyone to get to Coppermine (including myself the admin) is to "logout" while in the forum and then "login" again. Once that's done, all users can then enter Coppermine via the link tab.

I'm guessing this is Cookie related somehow but have no clue on how to correct it.

Ideas?
I have fixed this problem by changing the cookie setting in SMF to the 2nd alternate and disabling the first.

I can now access the gallery with out the login issue. I am now faced with the next issue:

Users other than "admin" cannot see all of the albums nor can they "upload" to the one they can. I have set the albums users to "community member" which is the group from the forum that  needs access to all of the albums.

When I check under "groups" in Coppermine, there is no reference to the user group "community member"
I am quite puzzled by this and have read several threads in this forum but haven't found any info that has helped me cure this problem.

Ideas?
www.overclockeddoc.com
www.hellzhawtdogz.com

SMdot™

I have SMF 1.1.2 Installed (manually) and Coppermine 1.4.10 Installed (fantastico)

I went through the Bridge Manager and everything went smoothly. However now whenever I click on the Login link while in the gallery (simpgfx.com/gallery) I'm taken to the SMF Login. I don't even need the gallery to be "inline" with the forum/theme etc... I just want to be able to use it =( Does anyone know what could be wrong?

Teal

You need to add a link button in the forum.
You also need to change the cookie setting in the forum from the default setting to the second option.
You will also need to "clear your cookies" one time afterwards to avoid any login issues.
www.overclockeddoc.com
www.hellzhawtdogz.com

SMdot™

#327
Quote from: Teal on June 01, 2007, 12:43:13 PM
You need to add a link button in the forum.
You also need to change the cookie setting in the forum from the default setting to the second option.
You will also need to "clear your cookies" one time afterwards to avoid any login issues.

i don't "need" to add the button I can do that later...

but how do I know what option for the cookie setting... since both the checkboxes are unchecked



Teal

The top one is normally checked by default.
In this case, you need to check the bottom one.
www.overclockeddoc.com
www.hellzhawtdogz.com

SMdot™

thank you SO SO much... it now shows that I'm logged in when I go to the gallery (/gallery) now to figure out how to get it wrapped into my SMF site so that it all matches =P any ideas??

Teal

Why not just adjust the color scheme in the style.css file after you select a theme (in Coppermine).
By comparing that file in both Coppermine and SMF (theme being used), you can easily note the hexidecimal colors used in both and adjust to suit.
I use both Photoshop and Jasc paint shop pro for this purpose. If you simply enter the six digit color code into the color palette, you'll see what it looks like and that, will assist you to identify what colors are where.
www.overclockeddoc.com
www.hellzhawtdogz.com

SMdot™

well I got it integrated in a sense (www.simpgfx.com/forum/index.php?action=gallery) but theres a few things I need to fix =P

Quote from: Teal on June 01, 2007, 06:40:26 PM...you simply enter the six digit color code into the color palette, you'll see what it looks like and that, will assist you to identify what colors are where.

thanks for the info I do graphics design for a living.

clarkkent93

Quote from: Teal on June 01, 2007, 12:43:13 PM
You need to add a link button in the forum.
You also need to change the cookie setting in the forum from the default setting to the second option.
You will also need to "clear your cookies" one time afterwards to avoid any login issues.

Finally after a couple days of ripping my hair out, searching, screaming I find this post and my question is answered.  A stupid cookie issue.  Duh!  Make a link button!  Obviously people do this, so why isn't there documentation on it!

Thanks a mil for the simple solution and preventing me from going totally bald!
SMF 1.1.6

Yaxley

Might make another post, but I have installed the latest SMF and the latest Coppermine. Bridged fine. Need a button on the SMF to go to CM, and then a button on CM to link back to SMF......sooooooo, how do I do this???

Thanks, Bill

edsute

Quote from: Yaxley on July 02, 2007, 10:14:29 PM
Might make another post, but I have installed the latest SMF and the latest Coppermine. Bridged fine. Need a button on the SMF to go to CM, and then a button on CM to link back to SMF......sooooooo, how do I do this???

Thanks, Bill

I know very little about php but i have managed to link SMF with coppermine. But I need to make buttons as Bill is requesting (post above)

Thanks ed

BHClanGaming.com™

QuoteReplace /smf with the directory you have your SMF forum installed in.  If SMF is installed in your root directory, remove smf leaving you with $path = '../';.

Once all necessary changes have been made, upload Coppermine to its own directory (examples: /coppermine, /gallery, /album).  Once uploaded, run install.php.  Make sure you install Coppermine on the same database as that of your SMF forum.  Once installed, your new Coppermine gallery will be up and ready for use .

do i have to still use the same database??  Thanks
Take the holeshot or someone else will!


Irc_Sandman

Hiyas, I think i have the same question.....

This is how things are atm..

My SMF is already setup and recently upgraded to latest version.

I want to setup the latest CPG to be integrated with my current SMF.

I've had a CPG setup for ages now but it's all outdated and I want to delete that one and install the latest CPG and have it bridged using the latest CPG's bridge manager...

My question is.... when I install CPG, do i have to Install it on the same Database as my current SMF to use the CPG bridge ?  or do I install CPG on it's own database and then use the bridge?

Thanks in advance :)

anna.young

Hello Irc_Sandman;

I have SMF and CPG on the same database.  The newest version of CPG has a build-in bridge, so all you need to do is follow easy directions.

Good luck

Anna
Toronto German Shepherd Dog Rescue

"Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes... the ones who see things differently -- they're not fond of rules... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things... they push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." (SJ)

Irc_Sandman

Hi Anna, thank you for your reply :)

I think my SMF is on a different version of MySQL that is needed for the CPG, but i'm not sure.

Yeah i've read a lil bit of the built in bridge instructions, but just couldn't find anywhere about it having to be installed on the 'same' database as the SMF i wanna bridge to. So I definitely 'need' to install it on the same DB as the current SMF for the bridge to work then ?
I just don't want to risk hurting my SMF database in any way is all.

thank you again in advance :)

anna.young

As per README file from CPG 1.4.12 you need: MySQL 3.23.23 or newer (MySQL 4.1 is recommended, MySQL 5 is supported)

QuoteIf you already have a database you're using for a BBS or something else, that'll work just as well. You can use that database for Coppermine, too. If you have a BBS and plan to connect it to Coppermine install, you'll need to share the database anyway.

So, it looks like you need to have the same db if you want to bridge it.

Anna

Toronto German Shepherd Dog Rescue

"Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes... the ones who see things differently -- they're not fond of rules... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things... they push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." (SJ)

Advertisement: