[Solved]: access CPM database from external site [Solved]: access CPM database from external site
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: access CPM database from external site

Started by Hot Rides, April 10, 2008, 01:15:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hot Rides

How can I write to the DB from another page?
I have and SMF bridge and I wish for users to be able to edit cp things from the smf profile page as well as display gallery/album info and also automaticlly create an album when ever a user signs up.

Forum version: SMF 1.1.4
Coppermine Photo Gallery 1.4.16

Joachim Müller

#1
Possible if you code it. As this requires editing the code of SMF, not coppermine, you better ask this on the SMF board.

Hot Rides

they say its a coppermine issue. I knew the editing had to be done to the smf pages. I just want the code or at least an idea of what the code should be. I have been experimenting and have done nothing but mess things up. I just want some guidance.

Joachim Müller

Well, you access the coppermine database in the same way you access any other database. A coder should know what to do, as the method that coppermine is using doesn't differ from any other app. Post a link to your corresponding thread on the SMF board - I'm pretty sure that the SMF staff haven't send you here to ask how the coppermine db can be accessed, so I need to see their actual question.

Hot Rides

Well I am no coder. . . yet. I am learning, but I could find nothing on the internet to push me in the right direction and noone is giving me any help.

the smf thread;
http://www.simplemachines.org/community/index.php?topic=233350.0

Joachim Müller

Quote from: Hot Rides link=http://www.simplemachines.org/community/index.php?topic=233350.0 date=1207747365And so you dont try to assume what i'm wrongly, The main thing Im wanting to do is have an album in coppermine created everytime a user registers.
Take a look at the thread http://forum.coppermine-gallery.net/index.php/topic,35121.0.html

Hot Rides

Quote from: Joachim Müller on April 11, 2008, 11:29:42 PM
Take a look at the thread http://forum.coppermine-gallery.net/index.php/topic,35121.0.html
I had found that thread before, but that does not work with a coppermine/smf bridge
I finally got a bit of help from the smf guys and will see if it works

Hot Rides

Turns out it was a CPM issue.

Consider this solved.

For those curious as to what I did go here

Hot Rides

Turns out it was a CPM issue.

Consider this solved.

For those curious as to what I did go here