1
ibanez
How do I get two forums running side by side?
  • 2004/8/10 20:19

  • ibanez

  • Just popping in

  • Posts: 33

  • Since: 2003/1/28


Is there a way I can get two forum modules (newBB) to run seperatly without using the same database?

I have little sql experience so if there is an easy way then great, if not, give me all the gritty details and I can have a play. Alternatively if there is no way then thanks for your time...

Hope some of you can help...

2
phppp
Re: How do I get two forums running side by side?
  • 2004/8/10 20:53

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


firstly, change table names in mysql.sql:
CREATE TABLE `bb_SOMETHING`
=>
CREATE TABLE `ANOTHERbb_SOMETHING`

THEN, change all
$db->prefix("bb_SOMETHING")
=>
$db->prefix("ANOTHERbb_SOMETHING")

xoops_version.php
$modversion['dirname'] = "newbb";
=>
$modversion['dirname'] = "ANOTHERnewbb";

$modversion['blocks'][x]['show_func'] = "b_newbb_SOMETHING_show";
=>
$modversion['blocks'][x]['show_func'] = "b_ANOTHERnewbb_SOMETHING_show";

$modversion['blocks'][x]['edit_func'] = "b_newbb_SOMETHING_edit";
=>
$modversion['blocks'][x]['edit_func'] = "b_ANOTHERnewbb_SOMETHING_edit";

blocks/newbb_new.php
function b_newbb_SOMETHING
=>
function b_ANOTHERnewbb_SOMETHING

3
solo71
Re: How do I get two forums running side by side?
  • 2004/8/10 21:09

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


Or use neBBex. Totally compatible.


4
poiinthepark
Re: How do I get two forums running side by side?

thanks solo, newbbex worked a treat.

Login

Who's Online

148 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 148


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