1
gruessle
Multiple Bulletin Board
  • 2003/10/28 10:35

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


How can I run two or more Bulletin Board on one xoops?

I know I have to create a new following tables

Quote:
xoops_bb_categories
xoops_bb_forum_access
xoops_bb_forum_mods
xoops_bb_forums
xoops_bb_posts
xoops_bb_posts_text
xoops_bb_topics


something like this

Quote:
xoops_bb2_categories
xoops_bb2_forum_access
xoops_bb2_forum_mods
xoops_bb2_forums
xoops_bb2_posts
xoops_bb2_posts_text
xoops_bb2_topics


But what else do I need to do?


2
gruessle
Re: Multiple Bulletin Board
  • 2003/10/28 11:35

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Herko Coomans: you can duplicate the module easily bu changing the module folder name, and all references to that folder name in the code, as well as the xoops_vserion.php
Herko Coomans: then you change the mysql.sql file to fit your changed prefix
Herko Coomans: install the module and then import your data into the tables, using that new names
Gruessle: The module folder name is easy , MySQL too but how do I find all the "all references to that folder name in the code"
Herko Coomans: newbb, right?
Gruessle: yes
Herko Coomans: let me check
Gruessle: Thanks
Herko Coomans: do you have a text editor with seach/replace functions?
Gruessle: Yes
Herko Coomans: then open modules/newbb/index.php
Gruessle: OK
Gruessle: Where is the module, I can't find it at xoops.org?
Herko Coomans: it's in the core package
Gruessle: got it
Gruessle: I have changed $bbUrl['root'] = XOOPS_URL."/modules/newbbvic/";
Gruessle: in confic.php
Herko Coomans: also change xoops_version.php
Herko Coomans: it has references like module_dir
Herko Coomans: and index.php has references to the newbb_ tables, as well as the modules/newbb/ folder
Gruessle: can't find references anything with module or dir
Herko Coomans: $modversion['dirname'] = "newbb";
Gruessle: got is
Herko Coomans: like I said, newbb is a complex module to duplicate, but do a search for the text newbb in every file, and replace it with your other name. But check every instance you do this, because for templates, you don't need to change them
Gruessle: Thanks - I think I can take it from here
Herko Coomans: great

3
gruessle
Re: Multiple Bulletin Board
  • 2003/10/28 22:43

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Looks like this isn't that easy

Now I have the categories and topics of my new bbnew in the index showing but the links still point to bbnew.

It is still linking to
http://www.guyscope.com/modules/newbb/viewforum.php?forum=1

but it should link to
http://www.guyscope.com/modules/newbbvic/viewforum.php?forum=1

Why are the links always creating full URLs anyway?

However I am stuck now can someone help?

4
Anonymous
Re: Multiple Bulletin Board
  • 2003/10/29 0:17

  • Anonymous

  • Posts: 0

  • Since:


Quote:
Herko Coomans: $modversion['dirname'] = "newbb";


Well by using this it will still use the newbb not the newbbvic, so change this:

$modversion['dirname'] = "newbbvic";

Greetz Predator

5
gruessle
Re: Multiple Bulletin Board
  • 2003/10/29 2:49

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


I think he was saying I should change that and so I did.
In other word that is not the problem.

I can't believe nobody else has ever needed more then one forum.

6
mike--h
Re: Multiple Bulletin Board
  • 2003/11/6 15:02

  • mike--h

  • Just popping in

  • Posts: 29

  • Since: 2003/6/22


Did you see earlier post about newbb2
a newbb clone that appears to work fine as a multiple post its up in petitoops site

Any news on the guys who are involved in newbb plus?

7
gruessle
Re: Multiple Bulletin Board
  • 2003/11/7 22:38

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Thank you I went to petitoops site and it looks good but mean while just adding one more newbb will not be enough.
What I really need is adding a main category in to the database.


xoops_bb_main_categories
xoops_bb_categories
xoops_bb_forum_access
xoops_bb_forum_mods
xoops_bb_forums
xoops_bb_posts
xoops_bb_posts_text
xoops_bb_topics

How hard would this be?
The main page showing all main categories and when a xoops_bb_main_categories is selected show the xoops_bb_categories which belong to the xoops_bb_main_categories.

Can't anybody see how this would enhance scalability?

I have two websites running on two different topics but with many common topics as well. This is the only thing that is keeping me from combining both sites in to one.

Login

Who's Online

199 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 199


more...

Donat-O-Meter

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

Latest GitHub Commits