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: SOS! about integration  (Read 5735 times)

0 Members and 1 Guest are viewing this topic.

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
SOS! about integration
« on: June 29, 2006, 11:13:46 am »

who will tell the essential principles of integration between coppermine picture gallery and a BBS?

my BBS isn't in the available BBS list

thank U!
Logged

Nibbler

  • Guest
Re: SOS! about integration
« Reply #1 on: June 29, 2006, 07:06:34 pm »

What is your BBS ?

Bridging means your users need only register and login to a BBS on the same domain to be automatically recognised by Coppermine.
Logged

celeritycat

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: SOS! about integration
« Reply #2 on: June 30, 2006, 12:27:50 am »

What is your BBS ?

Bridging means your users need only register and login to a BBS on the same domain to be automatically recognised by Coppermine.

I have Coppermine already setup and it works wonderfully, Thank you ;D. http://velvet-peacock.com/pixelparty/
I want to use SMF also, but a little nervous about bridging the 2. I understand they need to share the same database, but do these same principals apply whether you use their method of bridging or Coppermine's method. Will one way or the other cause one script to be the dominating for logging in and for user theme choice.
Logged

Nibbler

  • Guest
Re: SOS! about integration
« Reply #3 on: June 30, 2006, 12:32:59 am »

They don't need to share the same database. I don't know what 'their method' is, but our method makes SMF dominant. Themes are not connected.
Logged

celeritycat

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: SOS! about integration
« Reply #4 on: June 30, 2006, 01:44:08 am »

They don't need to share the same database. I don't know what 'their method' is, but our method makes SMF dominant. Themes are not connected.

Thank You SO Much...
and thanks for clarifying the database thing too. i think I was a little confused in the documentation, but now my understanding, they are just using the same users.
Logged

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #5 on: June 30, 2006, 03:22:41 am »

thank U, everyone!

my board programm is discuz, do u know it?

i'll have a try
Logged

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #6 on: June 30, 2006, 08:20:22 am »

hello, Nibbler.

U said "Bridging means your users need only register and login to a BBS on the same domain to be automatically recognised by Coppermine.", will you tell in detail how to make it? what files of Coppermine should i modify to make the BBS recognised by Coppermine?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: SOS! about integration
« Reply #7 on: June 30, 2006, 01:13:50 pm »

read here how to integrate coppermine with a bbs
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #8 on: June 30, 2006, 03:45:57 pm »

yes, Stramm, thank u for your link. but the board program i use is not in the available list, that means i must write a bridge file(.inc.php) by myself or realise the integration by other ways.

so, i must know the essential principles of integration or bridgeing.


any other ideas?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: SOS! about integration
« Reply #9 on: June 30, 2006, 03:54:06 pm »

so, i must know the essential principles of integration or bridgeing.

best way is to have a look at the existing bridge files. Then take the one that fits best to your existing bbs and modify it till everything works smooth

there's no bridge documentation

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #10 on: July 01, 2006, 04:24:58 am »

OK, i'll write a bridging file according to the existing ones.

thank U, Stramm!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: SOS! about integration
« Reply #11 on: July 01, 2006, 04:43:50 am »

If you do finish it, it would be great if you were to share the bridge so that others using the same board can benefit, too.
Logged

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #12 on: July 01, 2006, 01:00:26 pm »

some key files of the BBS program i use are encrypted, so that i failed to get the definition of some superglobal variables and functions.

i am trying...
Logged

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #13 on: July 03, 2006, 04:20:43 am »

i want Coppermine to read the cookie of the users' login status of the BBS simply

what's your opition, friends?
Logged

i33333

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: SOS! about integration
« Reply #14 on: July 19, 2006, 05:57:20 am »

i modified the 2 files of udb_base.inc.php and coppermine.inc.php under the bridge directory in order to fit CPG for my BBS program, but after the modification, the following error occured:

//--------- begin ----------------
Template error
Failed to find block 'my_profile'(#(<!-- BEGIN my_profile -->)(.*?)(<!-- END my_profile -->)#s) in :

            <!-- BEGIN home -->
        <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a> ::
  <!-- END home -->  <!-- BEGIN my_gallery -->
        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
  <!-- END my_gallery -->  <!-- BEGIN allow_memberlist -->
        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a> ::
  <!-- END allow_memberlist -->      <!-- BEGIN leave_admin_mode -->
        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
  <!-- END leave_admin_mode -->  <!-- BEGIN upload_pic -->
        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a> ::
  <!-- END upload_pic -->  <!-- BEGIN register -->
        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a> ::
  <!-- END register -->  <!-- BEGIN faq -->
        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
  <!-- END faq -->  <!-- BEGIN login -->
        <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}">{LOGIN_LNK}</a>
  <!-- END login --> 
//------------ end ------------------

everybody, any idea?
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 15 queries.