SOS! about integration SOS! about integration
 

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

SOS! about integration

Started by i33333, June 29, 2006, 11:13:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

i33333

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!

Nibbler

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.

celeritycat

Quote from: Nibbler 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.

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.

Nibbler

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.

celeritycat

Quote from: Nibbler 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.

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.

i33333

thank U, everyone!

my board programm is discuz, do u know it?

i'll have a try

i33333

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?

Stramm


i33333

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?

Stramm

Quote from: i33333 on June 30, 2006, 03:45:57 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

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

thank U, Stramm!

Tranz

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.

i33333

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

i33333

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

what's your opition, friends?

i33333

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?