I've not found anyone that's shown how to do this, so I'm doing it myself. Hopefully I can get some feedback and help squash the errors.
This is basically a mod guide, so I'm assuming you already know how to at least follow directions, copy & paste code into the files, and upload them.
Assumptions: phpNuke 6.5 or higher running bbtoNuke 2.0.4 or higher.
(I'm running phpNuke 6.7 with the latest bbtoNuke 2.0.6, but I believe this should work for all above. Can I get confirmation on this?)
I know this is hardcoded stuff, and there probably is a better way to do this using tables, but I'm too lazy to rewrite all the files to do this
So here we go:
Code:
Assuming your second forum is named 'Forums2'... go ahead and replace it with whatever name you feel like.
--- [ COPY FOLDER ] ---
/modules/Forums to /modules/Forums2
--- [COPY DATABASE ] ---
This will create a second database for the forum with the '_bb2' prefix
Either:
take the nuke.sql install file, copy the nuke_bb* forum instructions, replace all '_bb' strings with '_bb2' (WARNING: one exception: 'enable_bbcode' field in the _bbposts table)
Or
Just copy each _bb* table directly, assuming a fresh install
--- [EDIT includes/constants.php] ---
AFTER
//Table names
Here's my list of problems so far:
Since certain things are shared with the nuke tables, obviously there will not be independent things for each forum: post count, signatures, private messages, profiles, avatars.
Some configurations need to be sync'd like Avatars: (ie if you have linked avatars on one forum, it won't show on the other forum unless you enable it there too)
I hope this helps somebody. And eventually I want to make this easier to install, but a few hard-coded areas isn't so bad.
Tell me what you think.
Last edited by Evaders99 on Sat Oct 29, 2005 8:07 pm; edited 4 times in total
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12389
Posted:
Sat Sep 06, 2003 12:20 pm
Oh, I hope to go through the Google Tap changes too, unless someone else posts it.
Too tired to do it right now
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12389
Posted:
Mon Sep 08, 2003 1:56 pm
And here we go.. assuming you already have Google Tap in-place and working:
I assume this should work for further duplicates of the Forums module.
Everywhere, replacing 'Forums2' and 'f2' with whatever you've named them.
Hope someone here can find this useful, and help me squash the bugs.
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12389
Posted:
Fri Sep 12, 2003 10:34 pm
Fix for the post reviews:
--- [EDIT modules/Forums2/common.php] ---
BEFORE
if ($forum_admin == 1) {
ADD
$module_name = 'Forums2';
WhiteWisperX Nuke Cadet
Joined: Dec 05, 2003
Posts: 3
Posted:
Fri Dec 05, 2003 6:58 am
Hi. I tryed what you said with the phpnuke 6.9 and got this error under the forums2
phpBB : Critical Error
Could not query config information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '.config' at line 2
SELECT * FROM nuke_.$bbprefix.config
Line : 214
File : D:\Software Files\Apache Group\Apache2\htdocs\modules\Family_Forums\common.php
i checked everything 3 or 4 times and it is all correct. And just for me to know do you HAVE to have a second database or can the bb2 tables be created in the same db?
Thanks in advance,
Whitey
GPaX Nuke Cadet
Joined: Jan 08, 2004
Posts: 1
Posted:
Thu Jan 08, 2004 3:37 am
Big kudo's Evaders99 - I've been beating my head against this one for a while, and just found this - what a godsend!!!!
I have done some stuff and packaged it up - it's proly not what everyone needs, but it worked for me a treat, so I'll share.....
Grab it here. Modify if you can improve and post it back - would like it a little cleaner, but don't have the time right now......
Thanks again Evaders99!
JoJoMoJo Nuke Cadet
Joined: Apr 02, 2004
Posts: 8
Posted:
Fri Apr 02, 2004 9:01 pm
Is this all and good or is there an update for this?
There seems to be no real difference from the BBToNuke 2.0.x core and the phpNuke 6.5+/7+ core that would really affect it.
I have it running on the BBToNuke 2.08 and phpNuke 6.9, modding the original files everytime they are updated. There shouldn't be any problem following the above steps.
(If you've noticed, this thread is old. So don't trust that download for the latest files. Better if you mod them yourself using the latest BBToNuke core)
JoJoMoJo Nuke Cadet
Joined: Apr 02, 2004
Posts: 8
Posted:
Fri Apr 02, 2004 11:53 pm
it worked like a charm.............so much thanks.... www.xtreme-area.com you can see a sep. game and overclockers forums up now.
Well works perfectly except when you make a reply in the topic review box the following errors show. any help fixing would indeed be greatly appreciated.......... but again would like to thankyou for getting me this far. the name of my second forums is xtremeoverclockers incase it was not obvious hee hee.
Warning: main(modules/Tavern/extension.inc): failed to open stream: No such file or directory in W:\www\modules\XtremeOverClockers\posting.php on line 72
Warning: main(): Failed opening 'modules/Tavern/extension.inc' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\modules\XtremeOverClockers\posting.php on line 72
Warning: main(modules/Tavern/common.): failed to open stream: No such file or directory in W:\www\modules\XtremeOverClockers\posting.php on line 73
Warning: main(): Failed opening 'modules/Tavern/common.' for inclusion (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in W:\www\modules\XtremeOverClockers\posting.php on line 73
Fatal error: Call to undefined function: message_die() in W:\www\includes\topic_review.php on line 84
nevermind i found it refering to line posting.php i didnt change the name great mod! its gold! Now just need to create more for each game type ect heehee
Ok this is really pisen me off that i cant do this...
i downloaded the .zip file and fallowed directions exactly and i changed the name to DarkenedRealms and im on nuke 7.2 when i got to edit the forums it edits both forums.. so when i add a fourm on Forums it show in both Forums and DarkenedRealms... ive tryed evrything and ive done it over thousands of times someone please help
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum