1
djayko
2 different xoops-sites, but one forum cbb 3.05??
  • 2007/1/4 13:00

  • djayko

  • Just popping in

  • Posts: 7

  • Since: 2006/5/11


Hi all,

has anyone of the xoops-experts an idea, how its possible to use it in two different xoops-sites.

One Site has no user-login or register, but only admins for the content.

The second site has user-logins and new members can register.

thanks and regards
Ayko

2
coopersita
Re: 2 different xoops-sites, but one forum cbb 3.05??

This is just a thought...

Install both XOOPS site in the same database (different database prefixes). In the admin site, which doesn't need registration, you can hack the cbb module to read the database of the other XOOPS installation, instead of the one of that installation.

you'd have to look for statements like:

$sql "SELECT COUNT(*) AS total FROM 
"
.$xoopsDB->prefix("bb_topics")." WHERE forum_id = $forum_id";


and change them to something like:

$sql "SELECT COUNT(*) AS total FROM 
xoops_client_bb_topics WHERE forum_id = 
$forum_id";


I did something similar to get xcgall to read from a coppermine installation...

Login

Who's Online

230 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits