Need advices to build a new bridge for b2evolution Need advices to build a new bridge for b2evolution
 

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

Need advices to build a new bridge for b2evolution

Started by slamp, May 09, 2005, 11:34:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

slamp

I will try to create a new bridge to integrate Coppermine and b2evolution (a blog system).
I checked files in bridge folder but I have some questions:
- Is the any documentation describing how to create a new bridge

- The user table in b2evo contains the following columns: ID, user_login, user_pass, user_firstname, user_lastname, user_nickname, user_icq, user_email, user_url, user_ip, user_domain, user_browser, dateYMDhour, user_level, user_aim, user_msn, user_yim, user_locale, user_idmode, user_notify, user_grp_IDDo I need to add others colomns in this table ?

- For authentication, b2evo uses 2 cookies: one for the username, one for the password. Do I need to write a new  function to make the authentication, or can I use an existing function ?
Cookie's example: cookieb2evouser user
cookieb2evopass 21232fff7a57a5a743894a0e4a801fc3


- If I use an existing bridge file, which one is most "adapted" ?

- Do have any advices to help me ?

Nibbler

I'd wait for version 1.4 of coppermine. It will be a lot easier to create bridge files, plus any bridge you create for 1.3 will need rewriting for 1.4 anyway. If you want to make one now, then basing it on the phpbb bridge file would probably be best.

slamp

As I already begun, I will continue. It will be easier for me to rewrite a new bridge for 1.4 if I understand now how it should run ;-)

I have a question about groups when bridging cpg.
Bellow the default groups set in CPG and b2evolution:
CPG.group_ID, CPG.group_name
Admin
2 Members
3 Guests
4 Banned

b2evo.grp_ID, b2evo.group_name
Administrators
2 Priviledged Bloggers
3 Bloggers
4 Basic Users


- Do I have to manually create cpg_groups in b2evolution table ? I mean guests and banned that do not exist by default in b2evolution ?

- When a new user will subscribe (in b2evolution), it will not be putted in any group as there is no default group in b2evolution; should I have it automatically in cpg Guests group ?

Slamp
PS: When 1.4 will be release ?