Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: access CPM database from external site  (Read 2795 times)

0 Members and 1 Guest are viewing this topic.

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
[Solved]: access CPM database from external site
« on: April 10, 2008, 01:15:29 am »

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
« Last Edit: April 18, 2008, 08:13:32 am by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: access CPM database from external site
« Reply #1 on: April 10, 2008, 07:02:05 am »

Possible if you code it. As this requires editing the code of SMF, not coppermine, you better ask this on the SMF board.
« Last Edit: April 11, 2008, 08:11:34 am by Joachim Müller »
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: access CPM database from external site
« Reply #2 on: April 11, 2008, 02:40:36 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: access CPM database from external site
« Reply #3 on: April 11, 2008, 08:13:42 am »

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.
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: access CPM database from external site
« Reply #4 on: April 11, 2008, 10:17:51 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: access CPM database from external site
« Reply #5 on: April 11, 2008, 11:29:42 pm »

Quote from: Hot Rides link=http://www.simplemachines.org/community/index.php?topic=233350.0 date=1207747365
And 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
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: access CPM database from external site
« Reply #6 on: April 12, 2008, 04:09:51 am »

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
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: access CPM database from external site
« Reply #7 on: April 18, 2008, 12:16:16 am »

Turns out it was a CPM issue.

Consider this solved.

For those curious as to what I did go here
Logged

Hot Rides

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
  • I am
    • Hot Rides Show & Cruise
Re: access CPM database from external site
« Reply #8 on: April 18, 2008, 12:17:34 am »

Turns out it was a CPM issue.

Consider this solved.

For those curious as to what I did go here
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.