Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Avail on November 24, 2009, 09:59:59 AM

Title: Multiple Forum Mod
Post by: Avail on November 24, 2009, 09:59:59 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2137)

This modification allows you to display different categories on different 'subforums'. When using the term 'subforum', I am referring to a pseudo-forum located on a different directory, subdomain, or domain than the 'primary forum'. The primary forum is any forum that has this modification installed.

For the most part, usage of this customization is relatively simple in nature. After installing the mod, you are able to change the 'forum id' (a numerical value used to identify each forum) of main forum through Server Settings.

To work with subforums, simply go to the Modifications section under the Configuration category in your administration panel. There are two new pages here: 'Subforum Settings' and 'Create New Subforum'. A subforum is able to store these specific settings: board title, board url, and forum id. You can only create a new subforum through the primary forum, and you can only modify subforum settings inside a subforum.

Creating a subforum is extremely easy. All you must do is fill out the information inisde the Create New Subforum page and submit the form. It will generate the code for your subforum's index.php. You must then copy and paste that code into the file it specifies, and you are done. Going to that address will display your subforum.

In order to split categories, each category is specifically set to display for one id. In future versions of this customization, there may be support for multiple ids that the categories can be displayed on, but for now, it's limited to one. You are able to specify which forum the category will be displayed on through the category edit page. You specify the forum using its id.

To-do List

All of the features above will be added into the next version of the modification. I'll be rewriting it completely from scratch, as the old version will be too hard to build upon.
Title: Re: Multiple Forum Mod
Post by: Kreator on November 25, 2009, 07:30:28 PM
I assume that you need to add all the php original files to the subforum?

Title: Re: Multiple Forum Mod
Post by: Arantor on November 25, 2009, 07:41:41 PM
No. You just add the index.php, which includes all the other files from the master set.
Title: Re: Multiple Forum Mod
Post by: Avail on November 26, 2009, 12:05:25 AM
Quote from: Arantor on November 25, 2009, 07:41:41 PM
No. You just add the index.php, which includes all the other files from the master set.

That, and optionally agreement.txt. Otherwise, the agreement in the subforum registration pages will be empty.
Title: Re: Multiple Forum Mod
Post by: Kreator on November 26, 2009, 02:10:18 AM
 
Quotewhich includes all the other files from the master set.

does it?? i made a index.php and stuck it in a new folder on my server nothing happens !

all thats in this folder is the index.php
Title: Re: Multiple Forum Mod
Post by: SoLoGHoST on November 26, 2009, 02:35:20 AM
Sounds like an interesting mod, however, a few pics on it would be nice...??
Title: Re: Multiple Forum Mod
Post by: Arantor on November 26, 2009, 03:06:01 AM
Quote from: Kreator on November 26, 2009, 02:10:18 AM
does it?? i made a index.php and stuck it in a new folder on my server nothing happens !

all thats in this folder is the index.php

Provided it has the correct paths set up when you create it from the Create Subforum area it should work.
Title: Re: Multiple Forum Mod
Post by: Avail on November 28, 2009, 01:58:27 PM
Quote from: SoLoGHoST on November 26, 2009, 02:35:20 AM
Sounds like an interesting mod, however, a few pics on it would be nice...??

Ah yes, I forgot about uploading some pictures. Thanks for reminding me. :)
Title: Re: Multiple Forum Mod
Post by: kingkingston on November 28, 2009, 02:42:16 PM
Anyone used it yet ?
Title: Re: Multiple Forum Mod
Post by: Arantor on November 28, 2009, 02:48:48 PM
I have :)

But then again I was one of the ones testing it. Works very nicely, IMO.
Title: Re: Multiple Forum Mod
Post by: kingkingston on November 28, 2009, 03:22:42 PM
Quote from: Arantor on November 28, 2009, 02:48:48 PM
I have :)

But then again I was one of the ones testing it. Works very nicely, IMO.
Well you can always trust the Arantor Rex
Title: Re: Multiple Forum Mod
Post by: kingkingston on November 28, 2009, 03:49:53 PM
Impressive mod
Title: Re: Multiple Forum Mod
Post by: kingkingston on November 28, 2009, 03:55:53 PM
the only thing i would want to see added is the ability to switch boards from forum to forum because if you already have forums set up i can't think where you can do that.
Title: Re: Multiple Forum Mod
Post by: Kreator on November 28, 2009, 06:07:23 PM
I can`t get it to work...

I get this fatal error each time I go to the subforum:

Fatal error: require_once() [function.require]: Failed opening required '/customers/animanon.com/animanon.com/httpd.www/Kreator/SSI.php' (include_path='.:/usr/share/php') in /customers/animanon.com/animanon.com/httpd.www/Forum3/Sources/Subs-Portal.php on line 100

Title: Re: Multiple Forum Mod
Post by: kingkingston on November 28, 2009, 06:51:36 PM
Quote from: Kreator on November 28, 2009, 06:07:23 PM
I can`t get it to work...

I get this fatal error each time I go to the subforum:

Fatal error: require_once() [function.require]: Failed opening required '/customers/animanon.com/animanon.com/httpd.www/Kreator/SSI.php' (include_path='.:/usr/share/php') in /customers/animanon.com/animanon.com/httpd.www/Forum3/Sources/Subs-Portal.php on line 100
it doesn't work on 1.1.10 if that's what your using
Title: Re: Multiple Forum Mod
Post by: Arantor on November 28, 2009, 06:56:55 PM
You're also not supposed to use SSI inside portal blocks.
Title: Re: Multiple Forum Mod
Post by: Kreator on November 28, 2009, 07:11:48 PM
Using SMF2 RC 2 ..... Just out of interest I stuck my SSI.php from original Forum  into the new SubForum/directory and  behold it now works..!!!


QuoteYou're also not supposed to use SSI inside portal blocks.


I wouldn`t know anything about that, The SimplePortal would have made those mods when I installed it!
Title: Re: Multiple Forum Mod
Post by: Hoodie on November 28, 2009, 07:57:03 PM
Are paid subscriptions shared using this modification?  Also any mods that we make on the main forum will show up across the sub-forums as well correct?  Basically this is just creating SUPER categories to make it look like it's own forum right?
Title: Re: Multiple Forum Mod
Post by: Arantor on November 28, 2009, 07:58:33 PM
Yes, the forums are shared on a single code base, and yes it is basically like super categories.
Title: Re: Multiple Forum Mod
Post by: Hoodie on November 28, 2009, 08:11:47 PM
Very nice mod then..  I think this will work perfectly for what I'm trying to do..

Only suggestion I would have but I'm not sure how much it would involve is to be able to select different themes individually for each sub-forum..
Title: Re: Multiple Forum Mod
Post by: Arantor on November 28, 2009, 08:14:24 PM
You'd do it on a per-board level (since you can configure themes for individual boards out of the box)
Title: Re: Multiple Forum Mod
Post by: Hoodie on November 28, 2009, 08:33:27 PM
Quote from: Arantor on November 28, 2009, 08:14:24 PM
You'd do it on a per-board level (since you can configure themes for individual boards out of the box)

I understand that but when you go to the main sub-forum it wouldn't be the separate theme, it would be the main thing..  If we want it to look like an entirely separate entity, it would be a different theme on the landing page of that sub-forum..
Title: Re: Multiple Forum Mod
Post by: Arantor on November 28, 2009, 08:34:37 PM
Ah, yes, I'd forgotten that.

/me thinks this is a feature for the next version.
Title: Re: Multiple Forum Mod
Post by: Hoodie on November 28, 2009, 08:43:38 PM
Awesome..  Looking forward to the next release but seeing as the themes that I want to use aren't released for RC2 yet, I'll use it now..
Title: Re: Multiple Forum Mod
Post by: Hoodie on November 28, 2009, 08:49:02 PM
And the only other thing that isn't separated and would probably be harder to do is the statistics center..  It shows main board statistics in the sub-forums statistics even if the board is not in that sub-forum..
Title: Re: Multiple Forum Mod
Post by: Kreator on November 29, 2009, 09:21:29 AM
Quote from: Automotive Nation on November 28, 2009, 08:49:02 PM
And the only other thing that isn't separated and would probably be harder to do is the statistics center..  It shows main board statistics in the sub-forums statistics even if the board is not in that sub-forum..

and vice versa .... have any of you other guys had to put the SSI.php in the subforum to get it to work??
Title: Re: Multiple Forum Mod
Post by: Arantor on November 29, 2009, 09:26:15 AM
Kreator: No, because the rest of us don't use a portal that comes with an SSI dependency.
Title: Re: Multiple Forum Mod
Post by: Kreator on November 29, 2009, 09:45:05 AM
ah, so I`m not doing anything wrong with inserting the SSI in there then?
Title: Re: Multiple Forum Mod
Post by: Arantor on November 29, 2009, 09:52:19 AM
No, though it's something we strongly discourage for performance.
Title: Re: Multiple Forum Mod
Post by: kingkingston on November 29, 2009, 04:13:06 PM
Ok found a problem,if i am on a different forum and i see a topic i want to look at and it shows up in the info center,i found if i click on the link i get this reply

"The board you specified is located on a different forum",shouldn't the links in the info box work just as normal ?
Title: Re: Multiple Forum Mod
Post by: Kreator on November 29, 2009, 06:09:06 PM
kingkingston: Yup I get that as well, may be a bit confusing to members!!
Title: Re: Multiple Forum Mod
Post by: Hoodie on November 29, 2009, 08:33:55 PM
I think that's from the Recent Posts..  Not sure exactly why it's doing that..  My solution till it gets fixed:  Disable recent posts on boardindex inside the current theme settings..
Title: Re: Multiple Forum Mod
Post by: Avail on November 30, 2009, 10:58:03 PM
Quote from: Automotive Nation on November 28, 2009, 08:33:27 PM
Quote from: Arantor on November 28, 2009, 08:14:24 PM
You'd do it on a per-board level (since you can configure themes for individual boards out of the box)

I understand that but when you go to the main sub-forum it wouldn't be the separate theme, it would be the main thing..  If we want it to look like an entirely separate entity, it would be a different theme on the landing page of that sub-forum..

I like that idea. I don't think it would be very hard at all to implement that in a later version. Thanks for the suggestion! :)

Quote from: Automotive Nation on November 28, 2009, 08:49:02 PM
And the only other thing that isn't separated and would probably be harder to do is the statistics center..  It shows main board statistics in the sub-forums statistics even if the board is not in that sub-forum..

Oh, that doesn't sound very friendly. :( I kept tossing the idea back and forth whether to show the stats for the entire forum, or make them specific to the boards the user can see. I leaned toward the latter, so you really shouldn't be able to see any topics that aren't on that board. If you can, could you give me a little more information on where this is occurring? And about the statistics center, that was basically the only part of the site I purposely left 'global'. Does anyone think statistics should be specific to the boards viewable (ie, the specific subforum)?

Maybe I should just implement everything and add more settings for the mod. I'm not sure yet. :P

Quote from: kingkingston on November 29, 2009, 04:13:06 PM
Ok found a problem,if i am on a different forum and i see a topic i want to look at and it shows up in the info center,i found if i click on the link i get this reply

"The board you specified is located on a different forum",shouldn't the links in the info box work just as normal ?

The real error is what Automotive Nation said below, but that should be fixed soon. I'm planning on modifying that error message to include a link to the board the topic/board requested should be on.

Quote from: Automotive Nation on November 29, 2009, 08:33:55 PM
I think that's from the Recent Posts..  Not sure exactly why it's doing that..  My solution till it gets fixed:  Disable recent posts on boardindex inside the current theme settings..

Recent posts shouldn't be showing up from other boards. I'll look into that later. Thanks for letting me know.
Title: Re: Multiple Forum Mod
Post by: kingkingston on November 30, 2009, 11:09:12 PM
I think all recent posts should show up on the main board and be clickable so you can go to that board from the recent post area,also only recent posts from sub boards should appear in those sub boards.
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 01, 2009, 03:37:00 PM
Quote from: Avail on November 30, 2009, 10:58:03 PM
Quote from: Automotive Nation on November 28, 2009, 08:33:27 PM
Quote from: Arantor on November 28, 2009, 08:14:24 PM
You'd do it on a per-board level (since you can configure themes for individual boards out of the box)

I understand that but when you go to the main sub-forum it wouldn't be the separate theme, it would be the main thing..  If we want it to look like an entirely separate entity, it would be a different theme on the landing page of that sub-forum..

I like that idea. I don't think it would be very hard at all to implement that in a later version. Thanks for the suggestion! :)

No problem..  Just thinking of ways to make it better..

Quote from: Avail on November 30, 2009, 10:58:03 PM
Quote from: Automotive Nation on November 28, 2009, 08:49:02 PM
And the only other thing that isn't separated and would probably be harder to do is the statistics center..  It shows main board statistics in the sub-forums statistics even if the board is not in that sub-forum..

Oh, that doesn't sound very friendly. :( I kept tossing the idea back and forth whether to show the stats for the entire forum, or make them specific to the boards the user can see. I leaned toward the latter, so you really shouldn't be able to see any topics that aren't on that board. If you can, could you give me a little more information on where this is occurring? And about the statistics center, that was basically the only part of the site I purposely left 'global'. Does anyone think statistics should be specific to the boards viewable (ie, the specific subforum)?

Maybe I should just implement everything and add more settings for the mod. I'm not sure yet. :P

Wasn't trying to be unfriendly..  I was thinking it would be harder to separate those but you've already looked into it..  Statistics are fine being global..  I guess I didn't explain it very well..  I was talking about the recent posts area but you've covered why that is later and I've commented again on those as well..  Also, if you click more stats, the Top 10 Boards, Top 10 Topics (By Replies), and Top 10 Topics (By Views) are all shared among the sub-forums..  I think this is also tied into the recent posts part..

Also, giving the option to set it as global or sub-forum only stats isn't a bad idea but like I said, nobody's gonna count individual board posts to see if it all adds up right..

Quote from: Avail on November 30, 2009, 10:58:03 PM

Quote from: kingkingston on November 29, 2009, 04:13:06 PM
Ok found a problem,if i am on a different forum and i see a topic i want to look at and it shows up in the info center,i found if i click on the link i get this reply

"The board you specified is located on a different forum",shouldn't the links in the info box work just as normal ?

The real error is what Automotive Nation said below, but that should be fixed soon. I'm planning on modifying that error message to include a link to the board the topic/board requested should be on.

Quote from: Automotive Nation on November 29, 2009, 08:33:55 PM
I think that's from the Recent Posts..  Not sure exactly why it's doing that..  My solution till it gets fixed:  Disable recent posts on boardindex inside the current theme settings..

Recent posts shouldn't be showing up from other boards. I'll look into that later. Thanks for letting me know.

Not exactly sure why they would be either..  I set my recent posts on boardindex to 10 and posted a few test messages in the two boards that I had (few in main forum and few in sub-forum)..  Posts from both boards were showing up in main forum and sub-forum identically..

Just to clarify, the user has access to both forum and sub-forum..  I just want the sub-forum to only have recent posts from that sub-forum..

Quote from: kingkingston on November 30, 2009, 11:09:12 PM
I think all recent posts should show up on the main board and be clickable so you can go to that board from the recent post area,also only recent posts from sub boards should appear in those sub boards.

That's exactly how I think the recent posts should be displayed as well..  Hopefully it won't be too hard to implement it that way..
Title: Re: Multiple Forum Mod
Post by: Avail on December 02, 2009, 11:27:57 AM
Quote from: Automotive Nation on December 01, 2009, 03:37:00 PM
Quote from: Avail on November 30, 2009, 10:58:03 PM
Quote from: Automotive Nation on November 28, 2009, 08:49:02 PM
And the only other thing that isn't separated and would probably be harder to do is the statistics center..  It shows main board statistics in the sub-forums statistics even if the board is not in that sub-forum..

Oh, that doesn't sound very friendly. :( I kept tossing the idea back and forth whether to show the stats for the entire forum, or make them specific to the boards the user can see. I leaned toward the latter, so you really shouldn't be able to see any topics that aren't on that board. If you can, could you give me a little more information on where this is occurring? And about the statistics center, that was basically the only part of the site I purposely left 'global'. Does anyone think statistics should be specific to the boards viewable (ie, the specific subforum)?

Maybe I should just implement everything and add more settings for the mod. I'm not sure yet. :P

Wasn't trying to be unfriendly..  I was thinking it would be harder to separate those but you've already looked into it..  Statistics are fine being global..  I guess I didn't explain it very well..  I was talking about the recent posts area but you've covered why that is later and I've commented again on those as well..  Also, if you click more stats, the Top 10 Boards, Top 10 Topics (By Replies), and Top 10 Topics (By Views) are all shared among the sub-forums..  I think this is also tied into the recent posts part..

Also, giving the option to set it as global or sub-forum only stats isn't a bad idea but like I said, nobody's gonna count individual board posts to see if it all adds up right..

Aha, I was referring to the problem as being unfriendly. ;)

So just to clarify, having global statistics should remain, but inside those statistics the top ten boards and posts should be accessible from any of the forums. Furthermore, the recent posts should only show recent posts from the subforum you are on, and links to other boards and topics within the forums should be redirected to the specific forum those boards/topics are on.

Basically, I'd replace the 'The post or board you specified is on a different (sub)forum' error to being a redirect to the correct forum. Would this be an inconvenience for the user?
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 02, 2009, 11:01:04 PM
For me personally, I'd rather not see the posts from any other sub-forums in any of those spots..  If that's possible..

If that's not possible, then yes, I would rather have a redirect to the actual board/topic instead of an error message..

Board/Topic/Reply count should be shared but boards/topics/replies themselves should be separated if possible basically..
Title: Re: Multiple Forum Mod
Post by: SilverKnight on December 03, 2009, 04:37:33 AM
Why can't this be for 1.1.11 grrrrrrrrr
Title: Re: Multiple Forum Mod
Post by: Arantor on December 03, 2009, 04:51:01 AM
SilverKnight: Because it would be a complete rewrite of the mod from the ground up, and not every author wants to support both versions, especially since 1.1.x is not receiving any updates other than security fixes (only).
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on December 04, 2009, 08:01:50 PM
Any live site using this mod? I want to see and evaluate before testing it.
Title: Re: Multiple Forum Mod
Post by: kingkingston on December 04, 2009, 10:54:27 PM
Quote from: Abu Fahim Ismail on December 04, 2009, 08:01:50 PM
Any live site using this mod? I want to see and evaluate before testing it.

here
http://www.wewantsport.com

up top under "forums"
Title: Re: Multiple Forum Mod
Post by: The Great OZ on December 05, 2009, 12:00:05 AM
So I love the idea of this mod and would be awesome to use,  but I get an error with the Sources/Admin.php file,  the second edit isnt there, or at least the code before the edit isnt there.  I was gonna put it in manually if I could find it but it just doesnt exist.  Any Ideas?
Title: Re: Multiple Forum Mod
Post by: Arantor on December 05, 2009, 04:27:54 AM
The Great OZ: What version of SMF?
Title: Re: Multiple Forum Mod
Post by: The Great OZ on December 05, 2009, 08:37:16 AM
2.0 Rc1.2
Title: Re: Multiple Forum Mod
Post by: Arantor on December 05, 2009, 08:41:52 AM
And what other mods do you have?
Title: Re: Multiple Forum Mod
Post by: DJBoddington on December 05, 2009, 02:41:51 PM
OMG just want it needed, i currently run 3 sites...but all the 3 sites share the same forum but now they dont need to!

Cheers for the great mod :D
Title: Re: Multiple Forum Mod
Post by: Arantor on December 05, 2009, 02:50:15 PM
Technically they would still share the same forum, it just wouldn't look like it.
Title: Re: Multiple Forum Mod
Post by: The Great OZ on December 05, 2009, 04:22:00 PM
well I went a little crazy with the mods,  but here is what I have:

Admin Notepad     
Thumbnail Topic Mod    
SimplePortal    
RulesOnPost    
SMF Media Gallery
SA Affiliates    
SA Shop    0.3 RC1
Global Headers Footers    
Signature Image Rotator    
Highslide Image Viewer    
FlashChat Integration    
Hack's Park Shoutbox    
Favicon       
Reason For Editing Mod    
Reflect BBCODE    
Karma Buttons    
PM to New Members
Custom Copyright    
Book of Unknown Action    
Annoy User    
Users Online Today    
Contact Page    
MessagePreviewOnHover
Thank-O-Matic
Title: Re: Multiple Forum Mod
Post by: Arantor on December 05, 2009, 04:23:32 PM
Hmm, several of those add to the admin files if I remember rightly. Not sure, without going through most of them manually, which would be the one to work on.
Title: Re: Multiple Forum Mod
Post by: DJBoddington on December 05, 2009, 04:40:01 PM
Quote from: Arantor on December 05, 2009, 02:50:15 PM
Technically they would still share the same forum, it just wouldn't look like it.

ye true :P I couldn't word it right :P..but yea :D
Title: Re: Multiple Forum Mod
Post by: The Great OZ on December 05, 2009, 08:13:05 PM
so I just need to go through the mods I installed and look to see what was changed in my admin file,  and that should point me in the right direction,  maybe?
Title: Re: Multiple Forum Mod
Post by: Arantor on December 05, 2009, 08:13:28 PM
That's the general thing - that's all I'd do were I looking into this.
Title: Re: Multiple Forum Mod
Post by: The Great OZ on December 05, 2009, 08:28:34 PM
Thanks for pointing me in the right direction,  its the flashchat integration mod,  it replaced the line that this mod was looking for.

Edit: Ok so I did the maual edit to get the code in the right spot,  but now it is giveing me another error when trying to install it,  This is the error,  I did look and categories is there in the database,

Table 'name.smf_{db_prefix}categories' doesn't exist
File: /home/content/s/3/c/Name/html/Packages/temp/install.php
Line: 14
Title: Re: Multiple Forum Mod
Post by: Avail on December 06, 2009, 10:57:01 PM
Quote from: The Great OZ on December 05, 2009, 08:28:34 PM
Thanks for pointing me in the right direction,  its the flashchat integration mod,  it replaced the line that this mod was looking for.

Edit: Ok so I did the maual edit to get the code in the right spot,  but now it is giveing me another error when trying to install it,  This is the error,  I did look and categories is there in the database,

Table 'name.smf_{db_prefix}categories' doesn't exist
File: /home/content/s/3/c/Name/html/Packages/temp/install.php
Line: 14

Well, I don't know why that error is happening. Either way, you should be able to manually make the database changes. Append a column to the categories table with the following  properties:

name: forumid
type: TINYINT(4)
null: not null
default: 0

That will make the necessary changes, but I don't know if it will get rid of the installation error. Assuming the error is being thrown when trying to make the changes, and not when checking the table, maybe it will work. Any other input anyone?
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on December 07, 2009, 12:14:49 AM
I have few requests.

1. Can the future production of this mod allows admin to set different category to different Twitter / FB (wall or group)? I am looking to implement this together with Multiple Forum Mod which creates a forum out from a category.

2. Can the future production of this mod also allows admin to permit members to link their own created topic(s) created to Twitter / FB (wall or group)? This will help promoting the forum very much.

I hope they can be implemented. Thank you for a great mod.
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 07, 2009, 01:11:45 AM
Okay, can I have some instructions on how to do this, besides just "Place this code into the following file: administration/index.php"

Because, you know, I did that. Only, all I'm getting is a blank page and that obviously isn't what I want. At all.

Very frustrated. Still trying to figure it out, but help would be greatly appreciated.
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 07, 2009, 01:31:23 AM
I figured out what the problem is; now trying to figure out how to fix it:

URL should be: hxxp://mysite.net/OOC/index.php?action=lala
URL is: hxxp://mysite.net/OOC/OOC/index.php?action=lala


How do I fix this... and why is it doing it? o_O



EDIT: also, is there a way to avoid having to log in every time a new forum is loaded? At current I can't access the new ones, because of the bizarre URL hitch. I can't log in.... But is there a way to do it so if you're logged in to ONE of them, you're logged into all of them?
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 07, 2009, 10:58:15 PM
Quote from: FireDitto on December 07, 2009, 01:31:23 AM
I figured out what the problem is; now trying to figure out how to fix it:

URL should be: hxxp://mysite.net/OOC/index.php?action=lala
URL is: hxxp://mysite.net/OOC/OOC/index.php?action=lala


How do I fix this... and why is it doing it? o_O



EDIT: also, is there a way to avoid having to log in every time a new forum is loaded? At current I can't access the new ones, because of the bizarre URL hitch. I can't log in.... But is there a way to do it so if you're logged in to ONE of them, you're logged into all of them?

When creating a new sub-forum under ACP, you copy the code it gives you after creation..  You create a new index.php and put it in the folder on your host..  And it should be fine..

The logged in comes from the cookie..  This is currently setup to provide a random cookie per sub-forum..  Change $cookiename = 'SMFCookie123'; to whatever you have at index.php?action=admin;area=serversettings;sa=cookie on your forum..  That should do the trick..
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 08, 2009, 06:25:54 AM
Quote from: Automotive Nation on December 07, 2009, 10:58:15 PM
Quote from: FireDitto on December 07, 2009, 01:31:23 AM
I figured out what the problem is; now trying to figure out how to fix it:

URL should be: hxxp://mysite.net/OOC/index.php?action=lala
URL is: hxxp://mysite.net/OOC/OOC/index.php?action=lala


How do I fix this... and why is it doing it? o_O

EDIT: also, is there a way to avoid having to log in every time a new forum is loaded? At current I can't access the new ones, because of the bizarre URL hitch. I can't log in.... But is there a way to do it so if you're logged in to ONE of them, you're logged into all of them?

When creating a new sub-forum under ACP, you copy the code it gives you after creation..  You create a new index.php and put it in the folder on your host..  And it should be fine..

That's what I did. But it's still giving me the double up in the URL.

QuoteThe logged in comes from the cookie..  This is currently setup to provide a random cookie per sub-forum..  Change $cookiename = 'SMFCookie123'; to whatever you have at index.php?action=admin;area=serversettings;sa=cookie on your forum..  That should do the trick..

That worked for it, so I am at least logged in when I get a page loaded... but again; it's still doing the double up in the URL, so every time I refresh a page, it inserts the repeat and brings up a page that says

"Page not found

The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.

- Click the Back button in your browser to try another link.
- Use a search engine like Google to look for information on the Internet.

HTTP 404 - File not found"


Obviously because of the faulty URL.
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 08, 2009, 04:32:52 PM
Quote from: FireDitto on December 08, 2009, 06:25:54 AM
Quote from: Automotive Nation on December 07, 2009, 10:58:15 PM
Quote from: FireDitto on December 07, 2009, 01:31:23 AM
I figured out what the problem is; now trying to figure out how to fix it:

URL should be: hxxp://mysite.net/OOC/index.php?action=lala
URL is: hxxp://mysite.net/OOC/OOC/index.php?action=lala


How do I fix this... and why is it doing it? o_O

EDIT: also, is there a way to avoid having to log in every time a new forum is loaded? At current I can't access the new ones, because of the bizarre URL hitch. I can't log in.... But is there a way to do it so if you're logged in to ONE of them, you're logged into all of them?

When creating a new sub-forum under ACP, you copy the code it gives you after creation..  You create a new index.php and put it in the folder on your host..  And it should be fine..

That's what I did. But it's still giving me the double up in the URL.

When putting into your ACP, are you using the full address (hxxp://mysite.net/OOC) or just OOC?
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 08, 2009, 09:39:29 PM
Just the OOC...
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 08, 2009, 09:53:32 PM
use the full address using the http://mysite.net/OOC and see if that helps out at all..
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 10, 2009, 04:37:07 AM
But then it requires the folder to be named:

http://mysite.net/OOC

And ended up in complete failure...

><

I ended up with this as the URL:

hxxp://mysite.net/mysite.net/OOC/index.php


And again; if I clicked on a link, it would take me to a dead page, because it would change the URL on me... This time it was taking OUT the extra mysite.net instead of adding in an extra OOC


I am completely and utterly confused!!!
Title: Re: Multiple Forum Mod
Post by: kingkingston on December 10, 2009, 05:11:55 AM
Quote from: FireDitto on December 10, 2009, 04:37:07 AM
But then it requires the folder to be named:

http://mysite.net/OOC

And ended up in complete failure...

><

I ended up with this as the URL:

hxxp://mysite.net/mysite.net/OOC/index.php


And again; if I clicked on a link, it would take me to a dead page, because it would change the URL on me... This time it was taking OUT the extra mysite.net instead of adding in an extra OOC


I am completely and utterly confused!!!
What is your website called ?
Title: Re: Multiple Forum Mod
Post by: SilverKnight on December 10, 2009, 08:02:47 AM
Keep up the good work Avail, don't give up, i have high aspects for this mod! It's the only reason im considering upgrading to SMF 2.0.

My only suggestion for now, would be for this to work with tinyportal properly.
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link (http://itchneomon.dreamscaperpgs.net/forum/)

There is very little to see.

The multiple forums addresses are:

OOC (http://itchneomon.dreamscaperpgs.net/OOC/) and url/url/admin (http://itchneomon.dreamscaperpgs.net/itchneomon.dreamscaperpgs.net/administration/index.php)
Title: Re: Multiple Forum Mod
Post by: kingkingston on December 10, 2009, 04:54:49 PM
Quote from: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link (http://itchneomon.dreamscaperpgs.net/forum/)

There is very little to see.

The multiple forums addresses are:

OOC (http://itchneomon.dreamscaperpgs.net/OOC/) and url/url/admin (http://itchneomon.dreamscaperpgs.net/itchneomon.dreamscaperpgs.net/administration/index.php)
why have you got 2 urls in the one address ?
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 10, 2009, 07:16:04 PM
Quote from: kingkingston on December 10, 2009, 04:54:49 PM
Quote from: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link (http://itchneomon.dreamscaperpgs.net/forum/)

There is very little to see.

The multiple forums addresses are:

OOC (http://itchneomon.dreamscaperpgs.net/OOC/) and url/url/admin (http://itchneomon.dreamscaperpgs.net/itchneomon.dreamscaperpgs.net/administration/index.php)
why have you got 2 urls in the one address ?

Well, if you had read the previous couple of posts.

OOC was done by just entering the "OOC" into the part to make a new URL
The url was done by entering the whole url + hte new piece, to make the doubled up one.

Why?

Because neither are working and damned if I can figure out why.
Title: Re: Multiple Forum Mod
Post by: kingkingston on December 10, 2009, 07:41:02 PM
Quote from: FireDitto on December 10, 2009, 07:16:04 PM
Quote from: kingkingston on December 10, 2009, 04:54:49 PM
Quote from: FireDitto on December 10, 2009, 04:31:18 PM
Quote from: kingkingston on December 10, 2009, 05:11:55 AM
What is your website called ?

Link (http://itchneomon.dreamscaperpgs.net/forum/)

There is very little to see.

The multiple forums addresses are:

OOC (http://itchneomon.dreamscaperpgs.net/OOC/) and url/url/admin (http://itchneomon.dreamscaperpgs.net/itchneomon.dreamscaperpgs.net/administration/index.php)
why have you got 2 urls in the one address ?

Well, if you had read the previous couple of posts.

OOC was done by just entering the "OOC" into the part to make a new URL
The url was done by entering the whole url + hte new piece, to make the doubled up one.

Why?

Because neither are working and damned if I can figure out why.
Have you put the folders in the right area on ftp ?
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 10, 2009, 09:47:51 PM
I assume so.

They are located in the same base as the folder that contains all the files for the site:

Aka:


/home/

--  /forum
-- /OOC
-- /blah

Etc.

[does that make any sense? lol]


They are put in that location, because I found that would put the url as:

mysite.net/forum
mysite.net/ooc
mysite.net/blah

as opposed to putting htem in the Forum folder, and getting:

mysite.net/forum
mystie.net/forum/ooc
mystie.net/fourm/blah
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 11, 2009, 06:18:26 AM
If you could post the code on your index.php that is in the /OOC and /administration folders we could probably disect it and get it straight for you..
Title: Re: Multiple Forum Mod
Post by: kingkingston on December 11, 2009, 06:46:29 AM
Quote from: FireDitto on December 10, 2009, 09:47:51 PM
I assume so.

They are located in the same base as the folder that contains all the files for the site:

Aka:


/home/

--  /forum
-- /OOC
-- /blah

Etc.

[does that make any sense? lol]


They are put in that location, because I found that would put the url as:

mysite.net/forum
mysite.net/ooc
mysite.net/blah

as opposed to putting htem in the Forum folder, and getting:

mysite.net/forum
mystie.net/forum/ooc
mystie.net/fourm/blah
so you put them in actual folders ?

one of mine is /public_html/basketball and the stuff you have to copy and paste goes on a txt page in that folder
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 12, 2009, 01:46:58 AM
Yes, they are actual folders:

Screen shot of the FTP folder can be seen attached.

<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
global $boardurl$cookiename$boarddir$forumid$mbname;
$boardurl 'OOC';
$cookiename 'SmfCookie789';
$boarddir dirname(__FILE__);
$forumid 2;
$mbname 'Out Of Character';
}

function 
getTargetPath() {
global $targpath;
return $targpath;
}

?>




I am using SMF 2.0 RC2
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 12, 2009, 02:44:20 PM
<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
   global 
$boardurl$cookiename$boarddir$forumid$mbname;
   
$boardurl 'http://itchneomon.dreamscaperpgs.net/OOC/';
   
$cookiename 'SmfCookie789';
   
$boarddir dirname(__FILE__);
   
$forumid 2;
   
$mbname 'Out Of Character';
}

function 
getTargetPath() {
   global 
$targpath;
   return 
$targpath;
}

?>


Replace "$targpath = 'REMOVED/forum/index.php';" with whatever the actual path to your main board index.php was..
Title: Re: Multiple Forum Mod
Post by: kingkingston on December 13, 2009, 04:46:16 AM
Avail any update on this great mod,just wondering what your trying to do to it next :D
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 13, 2009, 10:23:47 PM
Quote from: Automotive Nation on December 12, 2009, 02:44:20 PM
<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
   global 
$boardurl$cookiename$boarddir$forumid$mbname;
   
$boardurl 'http://itchneomon.dreamscaperpgs.net/OOC/';
   
$cookiename 'SmfCookie789';
   
$boarddir dirname(__FILE__);
   
$forumid 2;
   
$mbname 'Out Of Character';
}

function 
getTargetPath() {
   global 
$targpath;
   return 
$targpath;
}

?>


Replace "$targpath = 'REMOVED/forum/index.php';" with whatever the actual path to your main board index.php was..

... Obviously; I removed that because I didn't feel it would be wise to share all the behind the scene linkage information... Which is why I wrote "REMOVED" in big capitals there. Sorry for not making a  note as well.
Title: Re: Multiple Forum Mod
Post by: SilverKnight on December 14, 2009, 04:26:12 PM
So.. any updates to this mod?
Title: Re: Multiple Forum Mod
Post by: Avail on December 15, 2009, 10:40:31 AM
Quote from: kingkingston on December 13, 2009, 04:46:16 AM
Avail any update on this great mod,just wondering what your trying to do to it next :D

Quote from: SilverKnight on December 14, 2009, 04:26:12 PM
So.. any updates to this mod?

No updates yet, but I am planning on running the mod on a portal site to see how it runs. I did come up with any idea that might make this mod possible to run cross-server, but it wouldn't be added for a while.
Title: Re: Multiple Forum Mod
Post by: SilverKnight on December 15, 2009, 11:53:22 AM
I think its best to keep it internal for now, keep up the good work, if you have time for testing, try it with TinyPortal, and see if it works well. Im still on 1.1.11.
Title: Re: Multiple Forum Mod
Post by: Arantor on December 15, 2009, 12:03:59 PM
1.0.11 is very old and should be upgraded to 1.0.19 at your earliest convenience... unless you mean 1.1.11...
Title: Re: Multiple Forum Mod
Post by: SilverKnight on December 16, 2009, 12:18:39 AM
Quote from: Arantor on December 15, 2009, 12:03:59 PM
1.0.11 is very old and should be upgraded to 1.0.19 at your earliest convenience... unless you mean 1.1.11...

Yeah, sorry it was a typo.
Title: Re: Multiple Forum Mod
Post by: Hoodie on December 16, 2009, 06:36:14 AM
Quote from: FireDitto on December 13, 2009, 10:23:47 PM
Quote from: Automotive Nation on December 12, 2009, 02:44:20 PM
<?php

$targpath 
'REMOVED/forum/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
   global 
$boardurl$cookiename$boarddir$forumid$mbname;
   
$boardurl 'http://itchneomon.dreamscaperpgs.net/OOC/';
   
$cookiename 'SmfCookie789';
   
$boarddir dirname(__FILE__);
   
$forumid 2;
   
$mbname 'Out Of Character';
}

function 
getTargetPath() {
   global 
$targpath;
   return 
$targpath;
}

?>


Replace "$targpath = 'REMOVED/forum/index.php';" with whatever the actual path to your main board index.php was..

... Obviously; I removed that because I didn't feel it would be wise to share all the behind the scene linkage information... Which is why I wrote "REMOVED" in big capitals there. Sorry for not making a  note as well.

So did that work for you or no?
Title: Re: Multiple Forum Mod
Post by: FireDitto on December 19, 2009, 08:59:03 PM
I removed the actual information that linked to the forum and replaced it with the word "REMOVED" before posting it on here, because I didn't feel it would be prudent to post that on a public forum.

In the actual coding, I removed and replaced nothing and it reads as it should with all the

"/word/webnumber/letternumbers/hostinfo/file/forum/index.php"
Title: Re: Multiple Forum Mod
Post by: Avail on December 27, 2009, 01:27:23 AM
Quote from: FireDitto on December 19, 2009, 08:59:03 PM
I removed the actual information that linked to the forum and replaced it with the word "REMOVED" before posting it on here, because I didn't feel it would be prudent to post that on a public forum.

In the actual coding, I removed and replaced nothing and it reads as it should with all the

"/word/webnumber/letternumbers/hostinfo/file/forum/index.php"

I'm sorry for not keeping up with your progress. Have you yet to find a solution to your problem?
Title: Re: Multiple Forum Mod
Post by: ChaosEnergy on December 29, 2009, 05:20:10 AM
hi

this mod is the feature, i always expected as build in feature of smf
there was a started project for 1.x but it never got updated...
hope this mod will go into smf2 release to..and further!!!

some questions

will there be an import feature, so we can import already existent forums as subforum
or is there already a script that is able to merge 2 smf forums into one, so that it is possible to split them after this

will there be some security settings like, user a is allowed to go into forum x but not y
as i did not installed it yet (still upgrading all 1.x forums to 2 rc2) are there possibilities to create different permissions for eg modificaions
so mod x is allowed for user a in that forum but not in the other?

Title: Re: Multiple Forum Mod
Post by: ~DS~ on January 04, 2010, 05:25:13 AM
This is is a great mod, however I am trying to separate the sub-forum into a different language. But every time I change it as default both forums change...
Title: Re: Multiple Forum Mod
Post by: Arantor on January 04, 2010, 05:30:35 AM
Technically it's still one forum. Just it looks like two.
Title: Re: Multiple Forum Mod
Post by: ~DS~ on January 04, 2010, 05:39:09 AM
Quote from: Arantor on January 04, 2010, 05:30:35 AM
Technically it's still one forum. Just it looks like two.
Yes, I know. The rules, and the registration works in different language by modify the agreement.txt   
Title: Re: Multiple Forum Mod
Post by: Arantor on January 04, 2010, 05:46:50 AM
Yes... but that means you can't set a default language for each forum, because it's one forum.
Title: Re: Multiple Forum Mod
Post by: ~DS~ on January 04, 2010, 05:53:16 AM
Quote from: Arantor on January 04, 2010, 05:46:50 AM
Yes... but that means you can't set a default language for each forum, because it's one forum.
Darn, it. Wish it can. Was worth a try after all.  ;D
Title: Re: Multiple Forum Mod
Post by: ChaosEnergy on January 04, 2010, 05:55:50 AM
there was a MOD for 1.1x that alowed to install different agreement.txt for langauge, and also allowed to give boards different names depending on language
i assume this would be the thing you need
but someone needs to update the mod for smf2...

can anyone answer my questions http://www.simplemachines.org/community/index.php?topic=349954.msg2426906#msg2426906
Title: Re: Multiple Forum Mod
Post by: Arantor on January 04, 2010, 05:57:44 AM
You can have multiple agreement.txt files on 2.0 without a mod. Multiple board names is a bit trickier.

As for the other questions, I'm not familiar enough with the mod to help - hopefully the author can.
Title: Re: Multiple Forum Mod
Post by: ChaosEnergy on January 04, 2010, 06:01:45 AM
Yes..I still hope to get an answer by the author..I like the mod very much, but before implementing, I need to know if it will get supported in release of smf2...
wont loose all data...as this is a very huge modification

for the multiple aggreements..how is it done in ONE forum
i only remember the mod for 1.1x
Title: Re: Multiple Forum Mod
Post by: Arantor on January 04, 2010, 06:02:48 AM
From what I remember, in 2.0 you have agreement.{language}.txt files. I've not done it much though (since I only speak English)
Title: Re: Multiple Forum Mod
Post by: ~DS~ on January 04, 2010, 06:40:18 AM
Quote from: Arantor on January 04, 2010, 06:02:48 AM
From what I remember, in 2.0 you have agreement.{language}.txt files. I've not done it much though (since I only speak English)
Chaos, agreements.txt can be done, confirmed from me. But not the forum itself like Arantor say since it's technically one forum.
Title: Re: Multiple Forum Mod
Post by: akbora on January 05, 2010, 12:09:27 PM
I coudn't create a subforum unfortunately.

What must I do code?

Which file will I put in it?
Title: Re: Multiple Forum Mod
Post by: kingkingston on January 06, 2010, 11:37:48 AM
Any updates ?
Title: Re: Multiple Forum Mod
Post by: KensonPlays on January 06, 2010, 11:38:45 AM
Nice Mod (Took me a while to figure out how to use it tho)
Title: Re: Multiple Forum Mod
Post by: KensonPlays on January 06, 2010, 02:04:05 PM
New Question. I have the EzPortal installed on my main forum, it does work with all the forums, but I was wondering if the Recent Posts EzBlock shows the most recent posts from any of my forums...

...thanks again for this awesome mod!

I mean, it does work. But when I am in a sub-forum, and I click on a topic that is on another forum, it says that it is on another forum. Thanks.
Title: Re: Multiple Forum Mod
Post by: KensonPlays on January 06, 2010, 05:16:37 PM
I don't know if it has been posted in this topic yet, but is it possible to make a category (ID Field) split into multiple forums, like ID: 1,2,3,4,etc?? Thanks in advance!
Title: Re: Multiple Forum Mod
Post by: ~DS~ on January 06, 2010, 05:39:58 PM
Quote from: Kcmartz on January 06, 2010, 05:16:37 PM
I don't know if it has been posted in this topic yet, but is it possible to make a category (ID Field) split into multiple forums, like ID: 1,2,3,4,etc?? Thanks in advance!
Yes, it's possible I have 3 sites using ID with this mod.
Title: Re: Multiple Forum Mod
Post by: KensonPlays on January 07, 2010, 10:58:02 AM
I don't see a single category shown in multiple sub-forums, which is what I want...
Title: Re: Multiple Forum Mod
Post by: Neverhurry on January 07, 2010, 06:41:35 PM
Read all the posts, didn't really got what the mod is doing. Can author gave a screen shot?
Or, Is it something like crafster dot org that uses boards to make sub forums?
Thanks.
Title: Re: Multiple Forum Mod
Post by: KensonPlays on January 08, 2010, 12:15:07 PM
Quote from: Dismal Shadow on January 06, 2010, 05:39:58 PM
<SNIP>
Yes, it's possible I have 3 sites using ID with this mod.

I tried 1,2,3 and those wouldn't work...
Title: Re: Multiple Forum Mod
Post by: KensonPlays on January 15, 2010, 01:57:15 PM
How do I make a category appear on different "forums"?
Title: Re: Multiple Forum Mod
Post by: Avail on February 06, 2010, 04:41:55 PM
Sorry for not keeping active with this topic.

Quote from: Kcmartz on January 15, 2010, 01:57:15 PM
How do I make a category appear on different "forums"?

As of now, you can't. That was one of the first limitations I realized after releasing the mod. If it's not on the to-do list, it will be shortly.

Quote from: ChaosEnergy on December 29, 2009, 05:20:10 AM
hi

this mod is the feature, i always expected as build in feature of smf
there was a started project for 1.x but it never got updated...
hope this mod will go into smf2 release to..and further!!!

some questions

will there be an import feature, so we can import already existent forums as subforum
or is there already a script that is able to merge 2 smf forums into one, so that it is possible to split them after this

will there be some security settings like, user a is allowed to go into forum x but not y
as i did not installed it yet (still upgrading all 1.x forums to 2 rc2) are there possibilities to create different permissions for eg modificaions
so mod x is allowed for user a in that forum but not in the other?



Like others have said previously, the subforums are just extensions of the existing forum, but are still apart of that forum. For this reason, importing another forum wouldn't work. The only unique information that is stored due to this mod is where the category should be shown.

I'm not exactly sure what you mean by 'security'. The categories are still governed by the global forum permissions, so if you don't want a user to access a board, you can change it in the 'Edit Board' screen.

Quote from: Dismal Shadow on January 04, 2010, 05:25:13 AM
This is is a great mod, however I am trying to separate the sub-forum into a different language. But every time I change it as default both forums change...

That's not something that's crossed my mind before (as I am only an English speaker myself, so I never worked with multiple languages in SMF before). I think it's a great idea for the next release of the package.

-----

To sum everything up, I have grown partially tired of the mod. I don't like its limited functionality anymore, or the difficulties in working with multiple subforums. I am currently running a site that is currently using 6 subforums. Based on how I am implementing these forums, there are many limitations and irritations that arise.

In addition to another mod I wish to develop, I plan on completely redoing this modification. I want to incorporate subforums IDs implicitly, not explicitly. I want to enable per-subforum themes and languages. I want to allow both categories and membergroups to appear on any of the subforums the person desires, or the main forum. I may implement subforum-specific news, and other sorts. There's a lot I can do with this modification, but how much is needed is questioning.

In addition to the easy, yet elegant features I specified above, I'd also like to implement some more complex additions such as cross-server subforums and subforum-specific permissions (for modifying settings on a particular subforum). I'd also like to find a simpler way of supporting portals (as of now, you are required to copy SSI.php into the subforum directory for a portal to work). I don't think there's any easy way of doing this without changing portal code.

I can't give a time estimate as to when I will start or finish the new mod, but I hope it's within the next few months.
Title: Re: Multiple Forum Mod
Post by: Snogmarr on February 10, 2010, 05:35:30 PM
Avail

I have this great mod installed but It causes conflict with the sitemap mod and or vice versa

I asked for advice on this.

I have included the response because it may be helpfull should others have the same issue.

Please don't shoot the messenger I  am only trying to help"!

The mod developer replied as follows

I believe this was already addressed and partially solved in the mod topic, but another mod is causing issues. 

The reason is because the subforum mod returns some php code, and the closing tag causes errors.... when this mod installs, it is set to install before ?>... the php code returned by that mod includes ?> and thus my mod install wrong.  Here is a repaired version of your file:  You should point out to the author of that mod that they should use ?' . '> in their code to avoid future issues.


Thanks

 



Title: Re: Multiple Forum Mod
Post by: ~DS~ on February 11, 2010, 01:13:50 AM
Quote from: xnathansxdadx on February 10, 2010, 05:35:30 PM
Avail

I have this great mod installed but It causes conflict with the sitemap mod and or vice versa

I asked for advice on this.

I have included the response because it may be helpfull should others have the same issue.

Please don't shoot the messenger I  am only trying to help"!

The mod developer replied as follows

I believe this was already addressed and partially solved in the mod topic, but another mod is causing issues. 

The reason is because the subforum mod returns some php code, and the closing tag causes errors.... when this mod installs, it is set to install before ?>... the php code returned by that mod includes ?> and thus my mod install wrong.  Here is a repaired version of your file:  You should point out to the author of that mod that they should use ?' . '> in their code to avoid future issues.


Thanks


That will not work, I have tried that...it brings a parser error if you click the "Modification Settings"
Title: Re: Multiple Forum Mod
Post by: ~DS~ on February 11, 2010, 01:22:46 AM
Try this:

/Sources/ManageSettings.php

Find:
$targpath;'."\n\t".'return $targpath;'."\n".'}'."\n\n".'?>';
}


Replace with:
$targpath;'."\n\t".'return $targpath;'."\n".'}'."\n\n".'?' .'>';
}

:)

Title: Re: Multiple Forum Mod
Post by: Snogmarr on February 11, 2010, 04:09:55 AM
Which is what I have now.

But on install of site map it broke the code and created the following
$targpath;'."\n".'}'."\n\n".'function ModifySitemapSettings($return_config = false)

Which gave me a parse error
Parse error: syntax error, unexpected T_STRING in /Sources/ManageSettings.php on line 2507

So Manual edit of the file was needed for it to work.

So all I was saying is that this may occur for others if they have Multiforum mod installed then try to install sitemap...

So I was just making people aware of the issue I had.

The suggestion to change the code  comes from the author of sitemap!
Not me!

I am just the postman delivering the post.

Thanks Dismal for the edit BTW.
Title: Re: Multiple Forum Mod
Post by: ~DS~ on February 11, 2010, 04:17:40 AM
Quote from: xnathansxdadx on February 11, 2010, 04:09:55 AM
Which is what I have now.

But on install of site map it broke the code and created the following
$targpath;'."\n".'}'."\n\n".'function ModifySitemapSettings($return_config = false)

Which gave me a parse error
Parse error: syntax error, unexpected T_STRING in /Sources/ManageSettings.php on line 2507

So Manual edit of the file was needed for it to work.

So all I was saying is that this may occur for others if they have Multiforum mod installed then try to install sitemap...

So I was just making people aware of the issue I had.

The rest comes from the author of sitemap!


Thanks Dismal for the edit BTW.
Yes if you install multiple forum first...it's good bye.
Title: Re: Multiple Forum Mod
Post by: Avail on February 18, 2010, 11:34:51 PM
Oh wow, that one completely passed by me. I see the problem in doing that now. I'll be sure to add that to the bug list and fix it on the next release. Thanks for pointing it out.
Title: Re: Multiple Forum Mod
Post by: GrassrootsPA on February 28, 2010, 03:27:43 AM
Folks, I am a SMF newbie (less than a week). SMF is AMAZING...can't believe I wasted so much time with bbPress!

Have been trying like to find a way to get 2 forums installed on the same database to share the same user info (ugh, no one has found a way) and decided to mess around with your plugin. Yeah, it isn't going to fix my main issue, but it was still worth playing with if I wanted to have subdomain forums (going that route).

I'm running SMF 2.0 RC2 and ran into the SAME EXACT issue as FireDitto.

I followed the exchanges and am totally confused...did you guys ever address what FireDitto wrote about? The problem still exists/DOES exist!

Would be great if this were fixed in the mod so I could try it out! Thanks!
Title: Re: Multiple Forum Mod
Post by: Snogmarr on February 28, 2010, 06:16:59 AM
GRASS

Read this

http://www.simplemachines.org/community/index.php?topic=358564.msg2443303#msg2443303
Title: Re: Multiple Forum Mod
Post by: Neverhurry on March 03, 2010, 05:16:23 PM
Finally I understand what it does, and I have to say, it is a great mod. Good job man!
May I ask, how to do that when I enter a subforum it will go directly into a board, say, board=9.0? Maybe this is already not a question related with this mod. Thank you.
Title: Re: Multiple Forum Mod
Post by: GrassrootsPA on March 03, 2010, 09:24:25 PM
Avail & xnathansxdadx:

Finally got this to work. Awesome Mod!  :D

Is there a way to customize the theme for each subforum so they don't all load the same exact one? I noticed that if I change the theme on one it seems to change the theme on each forum. This is a problem (if DomainA.com, DomainB.com, DomainC.com use the same exact theme they also share one set of logos and images)

I have a different logo and tagline to go with every domain (DomainA.com logo, DomainB.com logo, etc) so I was hoping to somehow customize each a bit.

Perhaps there might be a way to do this in the next release of this mod?

UPDATE:

Haha, looks like I found a fix: leaving something like "/logo/logo.gif" in "Logo image URL:"
Title: Re: Multiple Forum Mod
Post by: GrassrootsPA on March 04, 2010, 05:45:56 AM
Hey Avail,

When one tries to access a post or forum on another subforum via "Show Posts" section under a user's profile they will get an error when clicking on 2 of the 3 links in that section.

"The board you specified is located on a different forum" or "The board you specified doesn't exist" error pops up when clicking the board or post link. The category link will work though!

Anyway you can resolve this in the next release?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on March 04, 2010, 05:54:23 AM
Quote from: GrassrootsPA on March 03, 2010, 09:24:25 PM


UPDATE:

Haha, looks like I found a fix: leaving something like "/logo/logo.gif" in "Logo image URL:"
Where's this located?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on March 04, 2010, 05:54:40 AM
Quote from: GrassrootsPA on March 04, 2010, 05:45:56 AM
Hey Avail,

When one tries to access a post or forum on another subforum via "Show Posts" section under a user's profile they will get an error when clicking on 2 of the 3 links in that section.

"The board you specified is located on a different forum" or "The board you specified doesn't exist" error pops up when clicking the board or post link. The category link will work though!

Anyway you can resolve this in the next release?
Same here
Title: Re: Multiple Forum Mod
Post by: GrassrootsPA on March 04, 2010, 06:04:42 AM
Hey Dismal Shadow,

Under "Current Theme" master setting I left "/logo/logo.gif" under the "Logo image URL" setting

Then I FTPed the customized logo I wanted under a "/logo/" folder under the corresponding domain I set the new subforum for and obviously renamed each of those gif files "logo.gif" after placing it in that location

Example: DismalShadowA.com/logo/logo.gif is the location for the logo I wanted for DismalShadowA.com, etc

Hope this makes sense (I am obviously forced to use the same theme for each subforum so this was the only way to customize the look)

BTW, I'm using the 5th designed by pixelslot (RC2)
Title: Re: Multiple Forum Mod
Post by: ~DS~ on March 12, 2010, 01:19:02 AM
Great, my forum is mixed with spanish and english after upgrading to RC3. Hopefully there an update for this soon. Or either way the code works for me. If anyone knows the codes to make it work for RC3 please do post.
Title: Re: Multiple Forum Mod
Post by: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.

Title: Re: Multiple Forum Mod
Post by: ~DS~ on March 14, 2010, 12:22:18 PM
Quote from: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.

There's also a fix for a error when installing other mods that uses Manage.Settings.php
http://www.simplemachines.org/community/index.php?topic=349954.msg2496479#msg2496479
Title: Re: Multiple Forum Mod
Post by: Kasp on March 14, 2010, 02:07:12 PM
This mod for only RC3 or for RC2 and RC1.2 aswell?

Let me know and i will add it into the install file, Unless the mod owner is to do it?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on March 14, 2010, 02:15:42 PM
Yes, but for RC3 and a little fix by me is just above your post.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on March 18, 2010, 07:15:42 PM
Grea mod. But not as great as Shared Forum Mod by Goosemoose.  Each category is only limited to one forum/subforum. I wish the category can be allowed to be in more than one forum/subforum. I hope it can be updated soon.
Title: Re: Multiple Forum Mod
Post by: ~DS~ on March 23, 2010, 12:28:58 PM
Someone knows how to make the links work between 2 forums?
I am getting this often and it's annoying.
The board you specified is located on a different forum
Title: Re: Multiple Forum Mod
Post by: kingkingston on March 23, 2010, 02:47:30 PM
Quote from: Dismal Shadow on March 23, 2010, 12:28:58 PM
Someone knows how to make the links work between 2 forums?
I am getting this often and it's annoying.
The board you specified is located on a different forum

Yeah that's been a problem for months,was told it will be fixed when the mod gets updated next
Title: Re: Multiple Forum Mod
Post by: Aabaakawad on March 24, 2010, 11:51:35 AM

Quote from: GrassrootsPA on March 04, 2010, 06:04:42 AM
Hey Dismal Shadow,

Under "Current Theme" master setting I left "/logo/logo.gif" under the "Logo image URL" setting

Then I FTPed the customized logo I wanted under a "/logo/" folder under the corresponding domain I set the new subforum for and obviously renamed each of those gif files "logo.gif" after placing it in that location

Example: DismalShadowA.com/logo/logo.gif is the location for the logo I wanted for DismalShadowA.com, etc

Hope this makes sense (I am obviously forced to use the same theme for each subforum so this was the only way to customize the look)

BTW, I'm using the 5th designed by pixelslot (RC2)

Hey, if you are stuck with the same theme throughout, but are allowed different pics, maybe you can work-around using different skins, or custom style sheets, or diff onsite shortcodes files?
Title: Re: Multiple Forum Mod
Post by: kingkingston on March 28, 2010, 08:15:50 PM
So no fix yet champ ?
Title: Re: Multiple Forum Mod
Post by: santanu on April 03, 2010, 11:26:25 PM
can this be done in smf version 1.1.11
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 03, 2010, 11:30:37 PM
Quote from: santanu on April 03, 2010, 11:26:25 PM
can this be done in smf version 1.1.11
Does it says it's compatible with 1.1.11? It would require a complete rewrite.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 04, 2010, 05:20:05 AM
Quote from: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.

I use your attachment for RC3, yes?

Just want to make sure I have it right before installing it and having things go kablooie
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 04, 2010, 05:52:00 AM
Okay, I used the attachment posted by Kasp, and it seems to be working lovely... However, whenever I add the

"Forum Parent
The ID of the sub-forum this category is usable on"

And click "Modify"

However, it doesn't save it; the boards do not appear on the page as they are meant to, and when I click "Modify" and go back to the options, the box is empty once more.

Everything installed cleanly on a clean site; no other mods.



Ahh, I'm getting the same issue as I earlier described on an earlier version of SMF:
There should only be ONE "addy/" in there, yet whenever I click on a link, or try to log in, it adds an extra one... I cannot figure out why.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimages.fusilladeink.org%2FUntitled-1.png&hash=1cad652f81f1462327ba4cf8b3d2344f29230c6d)
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 05, 2010, 08:16:14 PM
Anyone have any suggestions or help?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 05, 2010, 08:20:23 PM
You need to have two SMF database for this to work.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 05, 2010, 08:48:47 PM
... I do?

Could you please explain how I go about that? Sorry, still relatively new to SMF.

Thank you.
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 05, 2010, 09:13:01 PM
You need to have two SMF installed on your server amusing you have only one.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 05, 2010, 09:32:01 PM
I do...

Why do I need two, and where do I place the second one?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 05, 2010, 09:36:53 PM
The same way you install your primary forum. It should be install in the root of your /public_html
You know how to install right?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 05, 2010, 09:40:07 PM
Or you can create  index.php without installing the forum. Please read the whole thread especially in the first page.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 05, 2010, 09:55:09 PM
I do know how to install. I have read the whole thread.

I posted, because I am unable to find the answer to my question, which means two things:

1. it isn't there.
2. I don't understand it if it is, and thus, require re-wording or pointing out; and I don't want to count how many times I've read the first page, looking for the answer.


On top of that, I do not have a /public_html anywhere, and if I am meant to create it, where do I put it?
Title: Re: Multiple Forum Mod
Post by: Gwydion Frost on April 06, 2010, 07:48:10 PM
Fireditto-- PM me on TWN, I'll walk you through it.

I've got an interesting experience--

If you look at the attached pic...?

Yeah, see... the subforum keeps RELOADING the base URL with every click of a link on the subforum, duplicating it. Thus, I end up with what you see... which also initially prevents the subforum from having accessible links in the first place.... aka, you can see the subforum, but you get an error page if you actually try to interact with it.

Solutions?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 06, 2010, 07:52:24 PM
For what it's worth you would need another subdomain.
Have a look on mine:
http://thetwoworldsforum.com/
http://esp.thetwoworldsforum.com/
Title: Re: Multiple Forum Mod
Post by: kingkingston on April 06, 2010, 08:26:57 PM
Quote from: Dismal Shadow on April 05, 2010, 08:20:23 PM
You need to have two SMF database for this to work.
What did she try to do ????, you don't need 2 databases for this mod to work or was she trying something else ?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 06, 2010, 08:32:31 PM
Quote from: kingkingston on April 06, 2010, 08:26:57 PM
Quote from: Dismal Shadow on April 05, 2010, 08:20:23 PM
You need to have two SMF database for this to work.
What did she try to do ????, you don't need 2 databases for this mod to work or was she trying something else ?
I was implying to say 2 smf root folders but it can be done without another installation with index.php
Title: Re: Multiple Forum Mod
Post by: Jorgen All Tech on April 07, 2010, 01:33:39 PM
Ok... I have two sites:
Mysite1.com
Mysite2.com
I installed 2.0 RC3 on Mysite1 and installed the multiple forum mod on it,
I created a sub-forum and made a index.php file with this in it only:

<?php

$targpath 
'SERVERPATH/htdocs/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
global $boardurl$cookiename$boarddir$forumid$mbname;
$boardurl 'MYSITE2';
$cookiename 'SmfCookie880';
$boarddir dirname(__FILE__);
$forumid 1;
$mbname 'Jorgen Support';
}

function 
getTargetPath() {
global $targpath;
return $targpath;
}

?>


SERVERPATH is the path to my forum.
MYSITE2 is the URL without formatting. EX: mysite.com

If someone can correct my problem, or show how to install the entire thing from scratch, I will appreciate it!  :)
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 07, 2010, 03:46:34 PM
Put the code in second forum of Mysite2.com on index.php
Title: Re: Multiple Forum Mod
Post by: Jorgen All Tech on April 07, 2010, 05:43:00 PM
Quote from: Dismal Shadow on April 07, 2010, 03:46:34 PM
Put the code in second forum of Mysite2.com on index.php

Can you show an example of the index.php on Mysite2?
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 09, 2010, 04:06:34 AM
Can we get a dot-point procession on making this mod work, please, guys?
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 09, 2010, 09:45:43 PM
Quote from: FireDitto on April 09, 2010, 04:06:34 AM
Can we get a dot-point procession on making this mod work, please, guys?
This is suppose to be a simple mod with easy installation. So basically, you have to have at least 2 domains.

The main domain (eg. http://main.domain.com) is the one which you installed your forum and this mod. Later get the code like was shown just above by our friend at http://www.simplemachines.org/community/index.php?topic=349954.msg2574351#msg2574351.

Create an index.php file using that code and save it ath root of your 2nd domain (eg. http://2nd.domain.com) You dont need to install anything on this 2nd domain except creating that index.php file.

When you browse 2nd domain, you shall get your second forum. I think that is it. Good luck.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 09, 2010, 11:42:10 PM
But I don't want to use half a dozen different domains for each of the subforums.

I want to use separate directories, so I have

www.domain.com/forumA and www.domain.com/forumB

Not, main.domain.com and 2nd.domain.com



The front page specifically says we can use "a different directory, subdomain, or domain than the 'primary forum'." -- I want to use a different directory, and from what I can gather, I've done the right things in order to make it work.

And yet it does not.

I have followed the instructions correctly, I believe.

I have my domain, and on it, I have /forum, in which SMF is installed.

Then I have /addy, in which the administrative subforum should be installed. I have put in the index.php as given by the modification, however, although the forum is apparently working at first glance, it doesn't appear to carry across the fact that I am logged in, clicking on links doubles up on the address in the URL bar [thus, I cannot log in] and I cannot assign the forums to the subforum, as I explained in previous posts.


I am trying again on a second clean site, to see if a different method will work. Will keep you posted.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 10, 2010, 12:41:02 AM
Main Forum: http://test.dreamscaperpgs.net

Sub ForumA: http://test.dreamscaperpgs.net/foruma  [In the foruma directory, it has the index.php as given by the mod, and nothing else]
Sub ForumB: http://test.dreamscaperpgs.net/forumb [in the forumb directory, it has the index.php as given by the mod, and nothing else]

The only site that works, is the Main Forum; attempting to click on links in the Subs, doubles up in the URL and brings about errors. It is impossible to log in, and although it says I am logged in at the bottom of the page on both main and subs, it does not carry across that fact on the Subs, and I am logged in only on the Main Forum.

Like I said; the Main Forum is totally operational. The SubForums are not even minutely operable.

I would like to know how to correct this.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 10, 2010, 05:25:36 AM
Quote from: FireDitto on April 10, 2010, 12:41:02 AM
Main Forum: http://test.dreamscaperpgs.net

Sub ForumA: http://test.dreamscaperpgs.net/foruma  [In the foruma directory, it has the index.php as given by the mod, and nothing else]
Sub ForumB: http://test.dreamscaperpgs.net/forumb [in the forumb directory, it has the index.php as given by the mod, and nothing else]

The only site that works, is the Main Forum; attempting to click on links in the Subs, doubles up in the URL and brings about errors. It is impossible to log in, and although it says I am logged in at the bottom of the page on both main and subs, it does not carry across that fact on the Subs, and I am logged in only on the Main Forum.

Like I said; the Main Forum is totally operational. The SubForums are not even minutely operable.

I would like to know how to correct this.
I can see that they are all working perfectly according to this mod. You already got all three forum working i.e. Testing One, Test A and Test B.

What we all need to understand from this mod is that it doesn't share category. Each category will be displayed only to their respective forum which you must assign.

In this case you only have one category which you set on Testing One. Note: As default, non-assigned category will be displayed in Main Forum and in your case Testing One.

What you have to do now is to create new category(ies) and assign each of them to the forum that you want. It will display them in the assigned forum.

Remember, each category can only be assigned to one forum only. They cannot be shared. That is it for now. Good Luck!
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 10, 2010, 05:33:18 AM
Would someone PLEASE read my issue and address IT instead of telling me what I already know?!


I can NOT log in to the subs, as they double up the ADDRESS LINK.


I want to know WHY so I can FIX IT so that I can USE the subs!




I tried to get into the sub-forum's forum: http://test.dreamscaperpgs.net/forumb/forumb/index.php?board=2.0
and it added the bolded bit, and brought me to an ERROR page.

I cannot log in, as it does this to the link: http://test.dreamscaperpgs.net/forumb/forumb/index.php?action=login2

--- Should I not already be logged in, anyway? Should it not be picking up that particular fact from the Main Forum?

Can someone please tell me how to correct this before I go bald from pulling my damned hair out?!
Title: Re: Multiple Forum Mod
Post by: ~DS~ on April 10, 2010, 05:41:18 AM
You NEED a DOMAIN or SUBDOMAIN to make this mod work, which means another folder, NOT in the SAME folder of your primary SMF folder.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 10, 2010, 06:06:31 AM
Quote from: Dismal Shadow on April 10, 2010, 05:41:18 AM
You NEED a DOMAIN or SUBDOMAIN to make this mod work, which means another folder, NOT in the SAME folder of your primary SMF folder.
That could be the solution you want, dear FireDitto.

For mer, try not putting the index.php under the same folder with your main domain as you referred above i.e. http://test.dreamscaperpgs.net/forumb. When you mentioned this, you might mean that forumb is inside your smf main domain folder. When I said this, it refers to the path not url as you stated. Put them in different folder instead, outside your smf main domain folder. Try it again. It should work then. Something like this:
From this:
/home/yourpath/public_html/yoursmfmaindomainfolder/foruma
To this:
/home/yourpath/public_html/yoursmfforumafolder

If this didn't work, you can always try convert the link to subdomain like http://foruma.dreamscaperpgs.net and http://forumb.dreamscaperpgs.net. (But IMHO I don't really think this is necessary at all when the folders are already put out of smf main folder)
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 10, 2010, 07:29:40 AM
I've included an image of my FTP, so you can see what I've done.


/public_html is where the main forum is kept, the highlighted 'foruma' and 'forumb' is where the subs are located, and it was working.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimages.fusilladeink.org%2Fftp.png&hash=d75ad14058fade556fac250af38e42dbcec888fe)


I moved the main forum into '/public_html/forum' and the subs are still in '/public_html/foruma' and '/public_html/forumb' -- As you will see below:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimages.fusilladeink.org%2Fftp2.png&hash=adc14f72ed9e3b87c2b1d141819c4ed1aea0690e)


It is "working" in the same fashion it was before I shifted the main forum into the /forum area; links double up the address when clicked, and I cannot log in... It just looks neater in the FTP and stuff. Lol.

Links:

http://test.dreamscaperpgs.net/forum/
http://test.dreamscaperpgs.net/foruma/
http://test.dreamscaperpgs.net/forumb/

Quote from: Dismal Shadow on April 10, 2010, 05:41:18 AM
You NEED a DOMAIN or SUBDOMAIN to make this mod work, which means another folder, NOT in the SAME folder of your primary SMF folder.

Could you explain why, because I fail to understand; why do I need to install a second relative sub-domain? And how do I link them together, because I have an FTP full of forums in separate folders that are on the same level as my public_html folder, and if that's all I had to do, it would be ******ing with at least 5 or 6 forums of mine, 'cause they're all sub.dreamscaperpgs.net forums.

Unless you mean what I've gone and done in the second image. Which, if that's the case, it still isn't working properly.

Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 10, 2010, 06:32:39 PM
IMHO, your original links have no problem at all. Here is the test forums i set using the similar methods you just mentioned above. It just works. I also created another set of categories and boards each for sub forum A and B. You can test it here:
http://try.qom.my/forum
http://try.qom.my/foruma
http://try.qom.my/forumb

My only guess is your problem is not caused by the mod itself but either duplicate of old version codes or the codes you created and pasted in your index.php for both your Test A & B forums. Manually access the index.php file you created and check this line. Yours could be:
   $boardurl = 'http://test.dreamscaperpgs.net/forumb/forumb';
instead of
   $boardurl = 'http://test.dreamscaperpgs.net/forumb';

I notice this as all the links your Test A & B forums is of the first line instead of the second. Note that you shouldn't put end trailing "/". Otherwise, clean the modified files or better, install again. Good Luck!
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 10, 2010, 09:19:58 PM
Actually, all it has is:

$boardurl = 'foruma';


I'll swap it to the full link, and see what happens.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 10, 2010, 09:22:19 PM
IT WORKS IT WORKS IT WORKS

*dances*

YAY!!!! :D




Quick question: Is there any way I can make it carry across the fact that I'm logged in, or do I have to log in to all the forums? -- changing the cookies to be the same across the entire spectrum sorted that out.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 11, 2010, 06:05:01 AM
Quote from: FireDitto on April 10, 2010, 09:22:19 PM
IT WORKS IT WORKS IT WORKS

*dances*

YAY!!!! :D




Quick question: Is there any way I can make it carry across the fact that I'm logged in, or do I have to log in to all the forums? -- changing the cookies to be the same across the entire spectrum sorted that out.

Aha, so that is why. It is normal that when you are not using full URL, things like that could happen. Nice to hear it all works out for you. Also, be careful when it comes to URL and PATH next time. Cheers...
Title: Re: Multiple Forum Mod
Post by: Snogmarr on April 14, 2010, 09:14:12 PM
Now here is a weird one?

My forum is my site/forum
And the created forum is john
So I used the url  http://www.mysite/forum/john
I was getting http://www.mysite/forum/john/http://www.mysite/forum/john

And it was driving me nuts,,,,,,, I just could not get it to work

Until I used my forums true path...
/home/fancyach/public_html/forum/john
Works like a dream now!
Weird or what?
Title: Re: Multiple Forum Mod
Post by: Jorgen All Tech on April 16, 2010, 11:07:02 AM
my code just gives me a blank page.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 16, 2010, 02:02:31 PM
Quote from: Jorgen All Tech on April 16, 2010, 11:07:02 AM
my code just gives me a blank page.
What code? Can't you be more specific please?
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 16, 2010, 07:59:16 PM
/website = website directory; the folder your URL points to.

/forumA = main forum folder WITHIN the /website directory
/fourmB = sub forum ""
/fourmC = sub forum ""
/llama = sub forum we're creating.

In the main forum, you need to have the complete SMF set up as downloaded from their download page.

In the subforums, you need to fill out the form the mod gives you; I do it thus:

New Forum ID: [number of choice, but not 0] ie. 9
New Forum URL (WITHOUT THE TRAILING '/' !): llama
New Forum Name: Llama

When it takes you to the new page, you will get a selection of code, and a piece of text in bold. The bold, is the name of the new folder [llama/index.php] llama being the folder name, and index.php being the file within it.

Then you have this:

<?php

$targpath 
'The Target Path To Lead To Main Forum';

require_once(
$targpath);

function 
setSubforumSettings() {
global $boardurl$cookiename$boarddir$forumid$mbname;
$boardurl 'llama'; <--- This will need to be corrected, and changed to the address of your forumIEwww.website.com/llama else it will NOT work.
$cookiename 'SmfCookie689'; <-- This should be changed to the cookies of your Main Forum for ease of logging in/outNothing else needs to be touched.
$boarddir dirname(__FILE__);
$forumid 9;
$mbname 'Llama';
}

function 
getTargetPath() {
global $targpath;
return $targpath;
}



?>





This may not be what you're after, but I figure it will help others, as it's what I was having the most difficulty with. =)
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 17, 2010, 12:08:09 PM
Quote from: FireDitto on April 16, 2010, 07:59:16 PM
In the subforums, you need to fill out the form the mod gives you; I do it thus:

New Forum ID: [number of choice, but not 0] ie. 9
New Forum URL (WITHOUT THE TRAILING '/' !): llama <<<===<<< This is wrong!
New Forum Name: Llama
Notice: <<<===<<< This is wrong!
You should put URL and not just folder name. http://llama.yourdomain.tld or http://yourdomain.tld/llama. IMHO This is why you get error last time. I hope you are aware of this. This are links from mod page showing exactly what you should expect. I list them in order.
1. What to fill in the given form to Create New Subforum. (http://custom.simplemachines.org/mods/index.php?action=download;mod=2137;id=125583;image)
2. Code to create index.php for new subforum domain. (Remember you will need agreement.txt file.) (http://custom.simplemachines.org/mods/index.php?action=download;mod=2137;id=125577;image)
3. Setup for category in main forum domain i.e. the ID number will determine the forum. (http://custom.simplemachines.org/mods/index.php?action=download;mod=2137;id=125579;image)
4. Subforum Settings Page i.e. viewable in your subforum domain. (http://custom.simplemachines.org/mods/index.php?action=download;mod=2137;id=125581;image)
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 17, 2010, 07:44:46 PM
Yeah, and when I put the FULL LINK, it makes is so the folder it points to is THE FULL LINK, as seen in the image below.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimages.fusilladeink.org%2Fstupid.png&hash=a93b3c4c68bc408c68d3f301853ba0f25641c33b)

Which is why I SPECIFICALLY only put the FOLDER name in that section of the mod. Putting in the FULL link is originally why I had so many issues.

Maybe I do it "wrong", but it WORKS if you continue to follow my instructions!
Doing it the "right" way, only ******s up my forum.

So frankly: whatever.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 17, 2010, 09:31:56 PM
IMHO you get it wrong at the first place and try to rectify it later. It an extra unnecessary job. You should try to get it right by following the instructions from the very beginning. What you show is the PATH i.e. $targh='/home/user/public_html/yourpathtomainforum';. The PATH is taken automatically from your smf settings. The only thing the mod requires is the URL of your targeted subdomain forum and not the PATH.

If you scroll down further, your will see what I had said to you earlier. The code conetent $boardurl = 'http://yourdomain.tld/subforum'; or $boardurl = 'http://subforum.yourdomain.tld'; is taken from your inserted URL. You must put http:// at the front and no trailing "/" at its end.

I really mean it when I say this:
Quote from: Abu Fahim Ismail on April 11, 2010, 06:05:01 AM
Aha, so that is why. It is normal that when you are not using full URL, things like that could happen. Nice to hear it all works out for you. Also, be careful when it comes to URL and PATH next time. Cheers...

Yes. You can do it either ways. IMHO make no mistake from the very beginning and you do less job in the future. Cheers.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 17, 2010, 10:04:40 PM
Yeah, 'cause your way DOES NOT WORK for me.

Hence, I do it my way, and was offering up the information on HOW I do it my way, for others that have the same issue, 'cause if you LOOK at the last 8 pages, I'm not the only one with this issue, and it took a good 3 pages to FIGURE IT OUT. I'm trying to help save other people the stupid headaches I was subjected to, because the rest of you talk in circles and make NO SENSE.

It's like, "Oh, if we keep repeating the same BS over and over, something might happen!"

Yeah. A need for more medication to sooth pointless headaches.


I'm not saying my way is RIGHT, or the ONLY way, but I AM saying it WORKS when done as I said.

Full stop. The end.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 18, 2010, 12:29:44 AM
 :) It is not my way. It is the mod owner's way. All the guide put down by me is from him at the mod page and this support thread.  ;)

I do enlighten you about it before. I also believe that I do rectify your problem by highlighting the fault. The error is caused by you not providing the right URL and the others are not able to help because you did not provide full details. All that we can do is guess. Luckily, I managed to guess your problem almost correctly and solved it indirectly (if not directly enough for you).

Quote from: Abu Fahim Ismail on April 10, 2010, 06:32:39 PMMy only guess is your problem is not caused by the mod itself but either duplicate of old version codes or the codes you created and pasted in your index.php for both your Test A & B forums. Manually access the index.php file you created and check this line. Yours could be:
   $boardurl = 'http://test.dreamscaperpgs.net/forumb/forumb';
instead of
   $boardurl = 'http://test.dreamscaperpgs.net/forumb';

I notice this as all the links your Test A & B forums is of the first line instead of the second. Note that you shouldn't put end trailing "/". Otherwise, clean the modified files or better, install again. Good Luck!

Am I not?  O:) No offence, but IMHO everybody should follow the steps given by the mod owner. He creates this mod and surely he knows better than any of us. Cheers!  :D
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 18, 2010, 01:41:29 AM
And I repeat:

Following THOSE instructions = NON WORKING MOD.

Which is completely pointless, and as I stated, I am not the only one that has had these same issues with the modification. Thus, I was sharing MY WAY on how I got it to work correctly, for any that wished to use it. Like I said: I'm not saying it's right, I'm not saying it's the way that it should be done. I'm saying that's how I got it to work, and if anyone's interested: There it is.


Mayhap someone should write better "official" instructions, then. If I were the only one who'd screwed it up and gotten lost, confused and done it "wrong" then it would be different. But I wasn't, and I'm not.
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 18, 2010, 04:15:54 AM
Are you all daft? My way WORKS FOR ME and I was offering it to others if they want to use it.

Gtf off your high horses and cope.

Jesus Christ.
Title: Re: Multiple Forum Mod
Post by: RandomNick on April 19, 2010, 11:37:31 AM
Hey there!

I'm having problems getting this mod to run correctly... Here my configs for the subboard:

Quote$targpath = '/directory/to/main/boards/index.php';

require_once($targpath);

function setSubforumSettings()
{
        global $boardurl, $cookiename, $boarddir, $forumid, $mbname;

        $boardurl = 'h..p://url/subboard';
        $cookiename = 'SmfCookie123';
        $boarddir = "/directory/to/maiin/boards";
        $forumid = 1;
        $mbname = 'Some Name';
}
As you see, I had to change the "$boarddir = dirname(__file__); into the path to my mainboards, without the trailing /, in order to make it work. Everything else left the site completely blank.

Although this seems to work mostly (getting some subboards with correct Subboardname and so on on the /subboard/index.php), the Subboards themself remain missing (Template, Menu, etc.. works. Just the area where the Categories are shown are empty)

Somebody here with an idea what's wrong?

Thx in advance.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 19, 2010, 03:23:23 PM
Nobody is saying you cannot go for another options. Well, it is your own choice. May be next time, your can figure it out yourself.

Another thing, I don't use the official mod as it is only up to RC2. I am using the one that is attached here. May be there is a difference? I dont know. But I use this, follow the exact instructions and it just works. Go to this post link (at page 7) if you want to download it:

Quote from: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.

I am sorry if I had offended any of you but surely, IMHO it is not a big deal at all. Cheers!
Title: Re: Multiple Forum Mod
Post by: Snogmarr on April 19, 2010, 07:03:48 PM
Quote from: RandomNick on April 19, 2010, 11:37:31 AM
Hey there!

I'm having problems getting this mod to run correctly... Here my configs for the subboard:

Quote$targpath = '/directory/to/main/boards/index.php';

require_once($targpath);

function setSubforumSettings()
{
        global $boardurl, $cookiename, $boarddir, $forumid, $mbname;

        $boardurl = 'h..p://url/subboard';
        $cookiename = 'SmfCookie123';
        $boarddir = "/directory/to/maiin/boards";
        $forumid = 1;
        $mbname = 'Some Name';
}
As you see, I had to change the "$boarddir = dirname(__file__); into the path to my mainboards, without the trailing /, in order to make it work. Everything else left the site completely blank.

Although this seems to work mostly (getting some subboards with correct Subboardname and so on on the /subboard/index.php), the Subboards themself remain missing (Template, Menu, etc.. works. Just the area where the Categories are shown are empty)

Somebody here with an idea what's wrong?

Thx in advance.

maybe because categories remain invisible till you add a board or maybe in admin boards modify you have not put the forum number in and it is still at zero,,,,,,,,,,,?????????????


Title: Re: Multiple Forum Mod
Post by: RandomNick on April 20, 2010, 07:52:41 AM
Quote from: xnathansxdadx on April 19, 2010, 07:03:48 PM
maybe because categories remain invisible till you add a board or maybe in admin boards modify you have not put the forum number in and it is still at zero,,,,,,,,,,,?????????????
Nope for both: I added a couple of categories to the subboard that hold boards. Also all my categories have a subboard-id set in Admin->Boards.
*Sigh* Don't know what to do else. I'll check the version posted by Abu Fahim Ismail.

Thank you two anyway

EDIT: That Version doesn't work either. Same Problem :S
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 21, 2010, 12:02:13 PM
I am not sure whether I have edited the mod file to make it work. But maybe I did. Here is the mod file that I am using. Use with care i.e. always made a back up before you try any mod.
Title: Re: Multiple Forum Mod
Post by: santanu on April 26, 2010, 10:29:25 PM
can we have this feature for smf 1.1.11
Title: Re: Multiple Forum Mod
Post by: FireDitto on April 28, 2010, 08:13:59 AM
Quote from: santanu on April 26, 2010, 10:29:25 PM
can we have this feature for smf 1.1.11

This (http://www.simplemachines.org/community/index.php?topic=158330.0) is the 1.1.x equivalent, but I do not know how up to date it is, because I haven't been keeping an eye on it since upgrading to the 2 line.
Title: Re: Multiple Forum Mod
Post by: Avail on April 28, 2010, 02:38:00 PM
Okay well, I haven't exactly been supportive of this mod lately. A recent private message has brought it again to my attention.

I didn't want to update it until the final SMF 2.0 version is released, but it seems a lot of people are having too many issues working with the mod. As I stated on the first page of the topic, I am going to rewrite the mod instead of just appending to it. I will immediately begin this update. I will thoroughly test the current mod to see what is wrong with it and why people are having such a wide range of problems. The new mod is intended to have more features and less complexity than the current mod. I hope this will help everyone who is now dependent upon this mod.

If there are any other problems that aren't listed below or on the front page, or if there is a feature that hasn't been suggested yet, please post about it. Once I update the mod, I don't intend on having to continually update it. I want one working copy that will last until SMF is again updated.

These are the problems it seems people are having:

Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 29, 2010, 04:12:08 AM
Quote from: Avail on April 28, 2010, 02:38:00 PM
Okay well, I haven't exactly been supportive of this mod lately. A recent private message has brought it again to my attention.

I didn't want to update it until the final SMF 2.0 version is released, but it seems a lot of people are having too many issues working with the mod. As I stated on the first page of the topic, I am going to rewrite the mod instead of just appending to it. I will immediately begin this update. I will thoroughly test the current mod to see what is wrong with it and why people are having such a wide range of problems. The new mod is intended to have more features and less complexity than the current mod. I hope this will help everyone who is now dependent upon this mod.

If there are any other problems that aren't listed below or on the front page, or if there is a feature that hasn't been suggested yet, please post about it. Once I update the mod, I don't intend on having to continually update it. I want one working copy that will last until SMF is again updated.

These are the problems it seems people are having:


  • Absolute paths are not working, but relative are (local server)
  • Compounding domains (self-concatenated)
  • Problems with recent posts
  • Issues when working with SSI.php (especially with portals)
This is a great news. I hope we can share categories, instead of categories are being restricted for one forum, in this coming smf 2.0 final version of your mod. Good luck!
Title: Re: Multiple Forum Mod
Post by: KensonPlays on May 06, 2010, 06:15:03 PM
Great! Will you be able to have a one-word for a name instead of just numbers? So u could number OR name them?
Title: Re: Multiple Forum Mod
Post by: KensonPlays on May 06, 2010, 08:06:58 PM
Tried installing. error in Manageboards.template.php, none of code for that page was created!
Title: Re: Multiple Forum Mod
Post by: luismanson on May 08, 2010, 02:01:16 PM
whats the status of this for RC3 ?
Title: Re: Multiple Forum Mod
Post by: ~DS~ on May 08, 2010, 02:02:38 PM
Quote from: luismanson on May 08, 2010, 02:01:16 PM
whats the status of this for RC3 ?
http://www.simplemachines.org/community/index.php?topic=349954.msg2538812#msg2538812
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on May 08, 2010, 03:20:05 PM
Quote from: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.

http://www.simplemachines.org/community/index.php?topic=349954.msg2538812#msg2538812

should work for your RC3, but if it doesn't, you can always try this:

http://www.simplemachines.org/community/index.php?topic=349954.msg2594285#msg2594285
Title: Re: Multiple Forum Mod
Post by: KensonPlays on May 08, 2010, 03:38:31 PM
Someone, Kasp posted a unofficial version, should I wait for support for RC3, or download that?

Quote from: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.
Title: Re: Multiple Forum Mod
Post by: luismanson on May 08, 2010, 04:49:11 PM
thanks ! :D
Title: Re: Multiple Forum Mod
Post by: luismanson on May 08, 2010, 05:28:46 PM
Quote from: Avail on April 28, 2010, 02:38:00 PM
These are the problems it seems people are having:


  • Absolute paths are not working, but relative are (local server)
  • Compounding domains (self-concatenated)
  • Problems with recent posts
  • Issues when working with SSI.php (especially with portals)

could you elaborate on the absoulte path and compunding domains problem ?
Title: Re: Multiple Forum Mod
Post by: luismanson on May 08, 2010, 10:28:46 PM
i made some changes to make it work with prettyurls, im asking vbgamer45 if would work ok can someone PLEASE test it ?

http://www.simplemachines.org/community/index.php?topic=146969.msg2619838#msg2619838
Title: Re: Multiple Forum Mod
Post by: dmacleo on May 17, 2010, 11:05:21 AM
I also am anxiously awaiting for supported rc3 version. I  am not knowledgeable enough to do it otherwise.
however I am going to take some good backups and try the mod posted here just to live dangerously :)
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on May 17, 2010, 08:59:15 PM
Quote from: Avail on April 28, 2010, 02:38:00 PM
Okay well, I haven't exactly been supportive of this mod lately. A recent private message has brought it again to my attention.

I didn't want to update it until the final SMF 2.0 version is released, but it seems a lot of people are having too many issues working with the mod. As I stated on the first page of the topic, I am going to rewrite the mod instead of just appending to it. I will immediately begin this update. I will thoroughly test the current mod to see what is wrong with it and why people are having such a wide range of problems. The new mod is intended to have more features and less complexity than the current mod. I hope this will help everyone who is now dependent upon this mod.

If there are any other problems that aren't listed below or on the front page, or if there is a feature that hasn't been suggested yet, please post about it. Once I update the mod, I don't intend on having to continually update it. I want one working copy that will last until SMF is again updated.

These are the problems it seems people are having:


  • Absolute paths are not working, but relative are (local server)
  • Compounding domains (self-concatenated)
  • Problems with recent posts
  • Issues when working with SSI.php (especially with portals)
Title: Re: Multiple Forum Mod
Post by: iridion_us on May 31, 2010, 08:40:35 AM
Hello people

I just want to ask what is the purpose of the forum ID ?

can someone explain to me because i'm having problem assigning the category to subforum using this subforum ID?

How do i share a category into various subforums?

thanks in advance.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on May 31, 2010, 02:28:32 PM
Quote from: iridion_us on May 31, 2010, 08:40:35 AM
Hello people

I just want to ask what is the purpose of the forum ID ?

can someone explain to me because i'm having problem assigning the category to subforum using this subforum ID?

How do i share a category into various subforums?

thanks in advance.
You can only set a category or categories to one subforum and cannot share it with others at the same time. I guess you already get it working already. It is different with the Goosemoose & Arstio original mod to that effect.
Title: Re: Multiple Forum Mod
Post by: iridion_us on June 01, 2010, 06:46:35 PM
Well i wish Avail will add another feature like the one i mentioned.

Feature Request:
1.) I want a category will appear on different sub-forums not limited to one sub-forums only.
2.) Also it is cool if we can determine people their origin of registration.
     For example;
     If we have two forums, let say forum-a and forum-b then i registered from forum-b
     then afterward i posted on forum-a then there should be a way people from forum-a to determine
     that i came from forum-b. the admin can choose to enable this feature or dis-able.

I guess this is a cool feature and i'm hoping these will be implemented too.

Thanks avail your Multi_Forum Mods is awesome.




Title: Re: Multiple Forum Mod
Post by: FireDitto on June 03, 2010, 12:56:40 AM
Quote from: iridion_us on June 01, 2010, 06:46:35 PM
Well i wish Avail will add another feature like the one i mentioned.

Feature Request:
1.) I want a category will appear on different sub-forums not limited to one sub-forums only.
2.) Also it is cool if we can determine people their origin of registration.
     For example;
     If we have two forums, let say forum-a and forum-b then i registered from forum-b
     then afterward i posted on forum-a then there should be a way people from forum-a to determine
     that i came from forum-b. the admin can choose to enable this feature or dis-able.

I guess this is a cool feature and I'm hoping these will be implemented too.

Thanks avail your Multi_Forum Mods is awesome.

These are both things I'd love to see around, as I've plans for a rather intricate network and knowing who is joining from which end of the scale would be greatly interesting and useful.

I'd also like to note that I emulated the Subaccounts (http://www.simplemachines.org/community/index.php?topic=347710.0) mod onto my site, and the two interact nicely and with no hitches [unless I sub in on a forum the sub has no access to, which is to be expected!]

Quote from: Avail on April 28, 2010, 02:38:00 PM
Okay well, I haven't exactly been supportive of this mod lately. A recent private message has brought it again to my attention.

I didn't want to update it until the final SMF 2.0 version is released, but it seems a lot of people are having too many issues working with the mod. As I stated on the first page of the topic, I am going to rewrite the mod instead of just appending to it. I will immediately begin this update. I will thoroughly test the current mod to see what is wrong with it and why people are having such a wide range of problems. The new mod is intended to have more features and less complexity than the current mod. I hope this will help everyone who is now dependent upon this mod.
Sounds wonderful! Thank you so much :D

QuoteIf there are any other problems that aren't listed below or on the front page, or if there is a feature that hasn't been suggested yet, please post about it. Once I update the mod, I don't intend on having to continually update it. I want one working copy that will last until SMF is again updated.

These are the problems it seems people are having:


  • Absolute paths are not working, but relative are (local server)
  • Compounding domains (self-concatenated)
  • Problems with recent posts
  • Issues when working with SSI.php (especially with portals)

Is the "Problems with recent posts" referring to the

"An Error Has Occurred!
The board you specified is located on a different forum" ?

If so, my request would be something along the lines of additional links;

"Show unread posts for Current Forum"
"Show unread replies for Current Forum"
"Show unread posts for all Forums"
"Show unread replies for all Forums"

and of course, the "No unread topics found since your last visit. Click here to try all unread topics." for them, restricted to "Current Forum" or "All Forums" -- Why?

In the 1.1.x version similar to this own, the unreads only display on the individual forums; you cannot see EVERYTHING for the entire forum, only whichever sub you are on. Which has it's uses, but when one wants to see EVERYTHING across the board, it can be irritable, especially as an Admin or Moderator. So the option to see all, or just that area, would be useful I think.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on June 06, 2010, 04:13:50 PM
Quote from: iridion_us on June 01, 2010, 06:46:35 PM
Well i wish Avail will add another feature like the one i mentioned.

Feature Request:
1.) I want a category will appear on different sub-forums not limited to one sub-forums only.
2.) Also it is cool if we can determine people their origin of registration.
     For example;
     If we have two forums, let say forum-a and forum-b then i registered from forum-b
     then afterward i posted on forum-a then there should be a way people from forum-a to determine
     that i came from forum-b. the admin can choose to enable this feature or dis-able.

I guess this is a cool feature and i'm hoping these will be implemented too.

Thanks avail your Multi_Forum Mods is awesome.





For your second thought, there is a mod on setting membergroup upon registration. May be you can take a look. I am not sure how it really works or will it work with this mod but you can always test it first.
Title: Re: Multiple Forum Mod
Post by: Avail on June 10, 2010, 05:33:22 PM
Quote from: FireDitto on June 03, 2010, 12:56:40 AM
Quote from: iridion_us on June 01, 2010, 06:46:35 PM
Well i wish Avail will add another feature like the one i mentioned.

Feature Request:
1.) I want a category will appear on different sub-forums not limited to one sub-forums only.
2.) Also it is cool if we can determine people their origin of registration.
     For example;
     If we have two forums, let say forum-a and forum-b then i registered from forum-b
     then afterward i posted on forum-a then there should be a way people from forum-a to determine
     that i came from forum-b. the admin can choose to enable this feature or dis-able.

I guess this is a cool feature and I'm hoping these will be implemented too.

Thanks avail your Multi_Forum Mods is awesome.

These are both things I'd love to see around, as I've plans for a rather intricate network and knowing who is joining from which end of the scale would be greatly interesting and useful.

I'd also like to note that I emulated the Subaccounts (http://www.simplemachines.org/community/index.php?topic=347710.0) mod onto my site, and the two interact nicely and with no hitches [unless I sub in on a forum the sub has no access to, which is to be expected!]

Quote from: Avail on April 28, 2010, 02:38:00 PM
Okay well, I haven't exactly been supportive of this mod lately. A recent private message has brought it again to my attention.

I didn't want to update it until the final SMF 2.0 version is released, but it seems a lot of people are having too many issues working with the mod. As I stated on the first page of the topic, I am going to rewrite the mod instead of just appending to it. I will immediately begin this update. I will thoroughly test the current mod to see what is wrong with it and why people are having such a wide range of problems. The new mod is intended to have more features and less complexity than the current mod. I hope this will help everyone who is now dependent upon this mod.
Sounds wonderful! Thank you so much :D

QuoteIf there are any other problems that aren't listed below or on the front page, or if there is a feature that hasn't been suggested yet, please post about it. Once I update the mod, I don't intend on having to continually update it. I want one working copy that will last until SMF is again updated.

These are the problems it seems people are having:


  • Absolute paths are not working, but relative are (local server)
  • Compounding domains (self-concatenated)
  • Problems with recent posts
  • Issues when working with SSI.php (especially with portals)

Is the "Problems with recent posts" referring to the

"An Error Has Occurred!
The board you specified is located on a different forum" ?

If so, my request would be something along the lines of additional links;

"Show unread posts for Current Forum"
"Show unread replies for Current Forum"
"Show unread posts for all Forums"
"Show unread replies for all Forums"

and of course, the "No unread topics found since your last visit. Click here to try all unread topics." for them, restricted to "Current Forum" or "All Forums" -- Why?

In the 1.1.x version similar to this own, the unreads only display on the individual forums; you cannot see EVERYTHING for the entire forum, only whichever sub you are on. Which has it's uses, but when one wants to see EVERYTHING across the board, it can be irritable, especially as an Admin or Moderator. So the option to see all, or just that area, would be useful I think.

I'm not sure how to go about doing recent posts. In fact, the interaction between the sub forums and the main forum has been a controversy over the entire development of this package. I couldn't decide whether it'd be more applicable to make everything subforum-specific or make it all global. Each has its own uses, but I couldn't come up with a way of doing them both at once. I want to make a control panel that allows the administrators to chose how the package behaves, but I'm not sure that will be implemented anytime soon.

As for the actual error regarding the boards, I'd rather create a redirection to the subforum. This is in compliance with the new structure of the mod I have planned (which involves using a much nicer, UI-based method of managing the subforums).

There are plans of many subforum-specific settings (as discussed on the front page), but no plans on implementing them. Some of them (such as the permissions) will take a considerable amount of editing of internal smf systems, and I'd rather get a distribution out for the newest release of SMF than add half a dozen features which will bring in a dozen more bugs.
Title: Re: Multiple Forum Mod
Post by: iridion_us on June 15, 2010, 09:16:19 AM
I created categories and forums under the SubForum
But after i created them and browse them they did not show up.
Nothing happened.

By the way i did no inputted IDs numbers in the subforum, is this the reason?
or is there any other reason?
Anyone can explain to me why is this not showing up? and advice me on how to make this forums and categories show up.


Thanks in advance.






Title: Re: Multiple Forum Mod
Post by: iridion_us on June 15, 2010, 09:26:26 AM
I was a little confused.

okay i got it.

I entered the sub forum IDs and yes it's working fine now.

no need to reply to this.

cheers...  :D

Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on June 15, 2010, 09:26:50 AM
Quote from: iridion_us on June 15, 2010, 09:16:19 AM
By the way i did no inputted IDs numbers in the subforum, is this the reason?
Yes, it could be.
Title: Re: Multiple Forum Mod
Post by: iridion_us on June 16, 2010, 06:09:12 PM
Additional feature request:

Under "Manage Boards and Categories",
I think it is much better if each subforums holds each category that is only related to itself.
And not one long list of categories and forums.

This will minimize very long list of categories and forums and minimize confusion and make it more organize.

Thanks again AVAIL this is really a very nice MODs but a little more tweaking and enhancement is needed.

I hope i can write my own SMF MODs someday.

Thanks.


Title: Re: Multiple Forum Mod
Post by: iridion_us on June 16, 2010, 06:13:22 PM
Bug i guess.

The IDs when i edit the category it did not remember it.

I'm not sure if this is a bug?

Thanks again.
Title: Re: Multiple Forum Mod
Post by: iridion_us on June 16, 2010, 09:23:21 PM
Dear Forum Moderators or Admins.

Can you guys make this forum thread sticky.

Thanks.

Title: Re: Multiple Forum Mod
Post by: tobytoby on June 18, 2010, 04:27:06 PM
Table 'd60679595.smf_{db_prefix}categories' doesn't exist
File: /mnt/w0007/d22/s30/b028b525/www/svfff.com/Packages/temp/install.php
Line: 14


any ideas
Title: Re: Multiple Forum Mod
Post by: flapjack on July 12, 2010, 09:48:16 PM
is there any php variable that would help me figure out in which subforum I am at the moment?
Title: Re: Multiple Forum Mod
Post by: Dean Williams on July 25, 2010, 09:56:20 AM
Someone may find this useful, I modified the mod so it installs on RC3!

However I decided this mod wasn't for me, and instead I now have two separate installs and I share some SQL tables between the two forums :) Works much better!
Title: Re: Multiple Forum Mod
Post by: TomW on July 25, 2010, 02:21:45 PM
Quote from: tpvgames on July 25, 2010, 09:56:20 AM
Someone may find this useful, I modified the mod so it installs on RC3!

However I decided this mod wasn't for me, and instead I now have two separate installs and I share some SQL tables between the two forums :) Works much better!

I'm very interested in learning which SQL tables you are sharing, and what files you modified to make this work, as this is what I'm planning to do with my forums.  You may pm me the details.  Thanks.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on August 01, 2010, 04:30:33 PM
Quote from: tpvgames on July 25, 2010, 09:56:20 AM
Someone may find this useful, I modified the mod so it installs on RC3!

However I decided this mod wasn't for me, and instead I now have two separate installs and I share some SQL tables between the two forums :) Works much better!
It is already been done earlier:
Quote from: AbuFahim⎝⏠⏝⏠⎠ on May 08, 2010, 03:20:05 PM
Quote from: Kasp on March 14, 2010, 05:48:26 AM
I did a few mods to the addon to allow for installing onto RC3.

This worked for me so please give it a try.

http://www.simplemachines.org/community/index.php?topic=349954.msg2538812#msg2538812

should work for your RC3, but if it doesn't, you can always try this:

http://www.simplemachines.org/community/index.php?topic=349954.msg2594285#msg2594285
Title: Re: Multiple Forum Mod
Post by: wynnyelle on August 29, 2010, 06:40:47 PM
This is a really cool mod to give a member their own sub forum if they wish. Is it possible to name people staff on these sub forums only and give them total control, but only on the sub forums? Do posts and stuff made on the sub forum show up on the main info centre's count?

Title: Re: Multiple Forum Mod
Post by: ImmortalLife on September 02, 2010, 08:05:02 PM
Hey, thanks for this mod, its just what i've been looking for, well except for a few things.

I'm going to figure out how to do those things on my own, but i'll post them in here for anyone else who wants them.

First one i've done is seperate themes for each site.

Simply add this into your settings in the index.php (the subforums index.php)

$subtheme = "themeid";

also, make sure you add $subtheme to the global, so your whole subforum index.php should look like this.

<?php

$targpath 
'D:\xampp\htdocs\subforum1/index.php';

require_once(
$targpath);

function 
setSubforumSettings() {
global $boardurl$cookiename$boarddir$forumid$mbname$subtheme;
$boardurl '';
$cookiename 'SmfCookie577';
$boarddir dirname(__FILE__);
$forumid 1;
$mbname 'Subforum 1';
$subtheme 7;
}

function 
getTargetPath() {
global $targpath;
return $targpath;
}

?>


Next, just a simple edit to Load.php.

Find this line

global $context, $settings, $options, $sourcedir, $ssi_theme, $smcFunc;

and add this below it.

global $subtheme;

// load subforum theme if we are in one.
if (function_exists('setSubforumSettings'))
$id_theme = $subtheme;


the load.php edit only has to be done once. you can change the $subtheme in the index.php for each subforum, so each subforum can have a different theme. I might add a nice menu for this at some point, idk yet.

Enjoy.
Title: Re: Multiple Forum Mod
Post by: KensonPlays on September 02, 2010, 08:08:28 PM
one thing i dont like is the nav items for the main site appear. like the Arcade link, and when you click it it gives error. can you fix it to link properly? thanks!
Title: Re: Multiple Forum Mod
Post by: SilverKnight on September 04, 2010, 04:47:08 AM
As always im looking forward to the release of the next version, this is a very important mod to me and id had to see it die.

It doesn't seem to work in rc3
Title: Re: Multiple Forum Mod
Post by: feline on September 04, 2010, 01:02:23 PM
We have create a other mod that do the same and have a complete Admin part for setup.
Currently it's in a closed test, but you can see it in action on our site (left side block named SubForums)
Note that you have to register on our site before you can test it ...

Fel
Title: Re: Multiple Forum Mod
Post by: SilverKnight on September 04, 2010, 08:53:45 PM
Quote from: feline on September 04, 2010, 01:02:23 PM
We have create a other mod that do the same and have a complete Admin part for setup.
Currently it's in a closed test, but you can see it in action on our site (left side block named SubForums)
Note that you have to register on our site before you can test it ...

Fel

Sounds cool, the mod on portamx?
Title: Re: Multiple Forum Mod
Post by: shaitanfr on September 05, 2010, 04:11:27 AM
Quote from: feline on September 04, 2010, 01:02:23 PM
We have create a other mod that do the same and have a complete Admin part for setup.
Currently it's in a closed test, but you can see it in action on our site (left side block named SubForums)
Note that you have to register on our site before you can test it ...

Fel

Feline,

Will it be possible to use a domain name ?
The links are inactive with Opera beta rev 9036
Title: Re: Multiple Forum Mod
Post by: feline on September 05, 2010, 11:38:54 AM
I dont known whats wrong in Opera .. seems he have problems to replace the hostname with javascript  :o what works with all other browser.
Ok .. I have changed that a little bit and now it works also with Opera

Fel
Title: Re: Multiple Forum Mod
Post by: shaitanfr on September 05, 2010, 11:44:07 AM
I confirm: it works well with Opera now. Thank you Feline.
Title: Re: Multiple Forum Mod
Post by: FireDitto on September 16, 2010, 03:24:46 AM
I have the Recent Posts block active in the EzPortal modification

However, because I have the MultiForum Mod installed, my Forums URL varies; eg:

www.mydomain.com/a
www.mydomain.com/b

etc.

So, when I click on a recent post link, I get told this:

QuoteAn Error Has Occurred!
The board you specified is located on a different forum

What I would like to know is this; is it possible to edit the code below, so as that it takes into account the forum URL, instead of just the action:

[Code from the EzPortal Recent Updates portion]

'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.msg' . $row['ID_MSG'] . '#msg' . $row['ID_MSG'] . '">' . $row['subject'] . '</a>',

URL A:
MYDOMAIN.com/ooc/index.php?topic=24.msg86;topicseen#new {This brings up the error, as the thread is located at the next URL}
MYDOMAIN.com/admin/index.php?topic=24.msg86;topicseen#new {This is where the thread is ACTUALLY located}


Thank you.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on September 16, 2010, 05:46:31 AM
Try to use new PortaMX Sub Forum mod as feline mentioned above. It really works.
Title: Re: Multiple Forum Mod
Post by: FireDitto on September 17, 2010, 06:53:06 AM
I would look into it, if I were able to find a place to download it, though from what I gather, it isn't available.

And I am not particularly keen to change from EzPortal to a new portal system, though the lack of assistance I've been receiving is starting to push me towards doing so.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on September 17, 2010, 09:43:03 AM
Quote from: FireDitto on September 17, 2010, 06:53:06 AM
I would look into it, if I were able to find a place to download it, though from what I gather, it isn't available.

And I am not particularly keen to change from EzPortal to a new portal system, though the lack of assistance I've been receiving is starting to push me towards doing so.
Just pm feline. Better at her site. May be she can provide you with the mod since it has not been released yet. It is really a good mod though I am not sure whether it can work fine with other portal system. But you can have a try for sure.
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 07, 2010, 12:13:37 PM
I installed, did a manual edit on ManageBoards, get this error:

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 ')
WHERE b.id_board NOT IN (1) AND 1=1 AND b.redirect = '' AND b.id_cat = c.id_' at line 3
File: /home/content/k/c/m/kcm93/html/Sources/Subs-MessageIndex.php
Line: 69


EDIT:
When viewing a board, even the main ?action=forum kicks me the error.
Title: Re: Multiple Forum Mod
Post by: feline on October 07, 2010, 04:21:39 PM
First you have to restore the original query.
What you have changed on the query ?

Fel
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 07, 2010, 07:45:24 PM
Nothing. Installed did one file edit and me the error...
Title: Re: Multiple Forum Mod
Post by: feline on October 08, 2010, 05:50:29 AM
The mod dont changed the ManageBoards or  Subs-MessageIndex.
So I repeat my question what you have manually edit...

Fel
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 08, 2010, 09:59:12 AM
What I said, ManageBoards.template.php.
Title: Re: Multiple Forum Mod
Post by: Spoogs on October 08, 2010, 10:07:10 AM
Quote from: Kcmartz on October 08, 2010, 09:59:12 AM
What I said, ManageBoards.template.php.
Dude you're still not answering the question
The question is... what is the edit that you made?
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 08, 2010, 10:27:43 AM
Find:

< d t >
< s t r o n g > ' . $ t x t
[ ' c o l l a p s e _ e n a b l e ' ] .
' < / s t r o n g > < b r / >
< s p a n
c l a s s = " s m a l l t e x t " > ' .
$ t x t
[ ' c o l l a p s e _ d e s c ' ] . ' < /
s p a n >
< / d t >
< d d >
< i n p u t t y p e = " c h e c k b o x "
n a m e = " c o l l a p s e " ' ,
$ c o n t e x t [ ' c a t e g o r y ' ]
[ ' c a n _ c o l l a p s e ' ] ? '
c h e c k e d = " c h e c k e d " ' :
' ' , ' t a b i n d e x = " 2 "
c l a s s = " i n p u t _ c h e c k " / >
< / d d >


Add after:

< s t r o n g > ' . $ t x t
[ ' f o r u m i d _ t i t l e ' ] . ' < /
s t r o n g > < b r / >
< s p a n
c l a s s = " s m a l l t e x t " > ' .
$ t x t [ ' f o r u m i d _ d e s c ' ] .
' < / s p a n >
< / d t >
< d d >
< i n p u t t y p e = " t e x t "
n a m e = " f o r u m _ i d " ' ,
$ c o n t e x t [ ' c a t e g o r y ' ]
[ ' f o r u m i d ' ] , '
s i z e = " 4 " t a b i n d e x = " 3 " /
>
< / d d >
Title: Re: Multiple Forum Mod
Post by: Oya on October 08, 2010, 03:35:38 PM
ur phone broke the formatting, kcmartz
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 08, 2010, 03:45:29 PM
I edited it in Terminal on a LINUX DESKTOP, not my phone.
Title: Re: Multiple Forum Mod
Post by: Oya on October 08, 2010, 03:49:23 PM
then why does ur post have the mobile icon?
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 08, 2010, 04:40:24 PM
because when i REPLIED i was on my phone.
Title: Re: Multiple Forum Mod
Post by: Spoogs on October 08, 2010, 04:48:05 PM
So it still stands that your phone broke the formating since you replied from your phone ;)
Title: Re: Multiple Forum Mod
Post by: feline on October 08, 2010, 06:24:25 PM
Quote from: Kcmartz on October 08, 2010, 09:59:12 AM
What I said, ManageBoards.template.php.
Then restore to the ORIGINAL file and test again ...

Fel
Title: Re: Multiple Forum Mod
Post by: ~DS~ on October 08, 2010, 06:28:07 PM
LOL. Android FAIL.
Title: Re: Multiple Forum Mod
Post by: feline on October 08, 2010, 06:42:26 PM
with my android handy that works perfect  ;D
Title: Re: Multiple Forum Mod
Post by: KensonPlays on October 09, 2010, 11:58:49 AM
Quote from: feline on October 08, 2010, 06:42:26 PM
with my android handy that works perfect  ;D
Go feline!
Title: Re: Multiple Forum Mod
Post by: Rix_ on December 01, 2010, 03:44:44 AM
In case any of you still needs help with it, I just installed it on my forum and it works great. This is for RC3 (yes, 3) and I think it should work on RC2 as well. Here's a guide (they're the exact steps as what I did):

What you need:
- Primary forum
- Secondary forum

We start by installing the secondary forum. We'll call this forum TestForum2.com while the primary forum is TestForum1.com

Install the mod on TestForum1.com and create a new subforum which is TestForum2.com. The id of TestForum1.com will be 0 and TestForum2.com will be 1. From your FTP editor or whatsoever, open up TestForum2.com's index.php file and paste the code you were given before the end of the file.

Code (TestForum2.com/htdocs/path/to/forum/index.php) Select

<?php
...
...
// code goes here
?>


Once that's done you need to go to TestForum1.com admin panel and modify a category. Change the parent ID to 2. Go back to TestForum2.com and you'll see no changes. (Yes, you'll see no changes). Open up TestForm2.com admin panel and install the mod as well. If you don't, it's not going to work.

After that mod has been installed on TestForum2.com, go to its (TestForum2.com) server settings->database and paths and make the database name and table prefix the same as TestForum1.com! Fix the paths to anything, and voila, you have 2 forums sharing the same database!

Enjoy :)
Title: Re: Multiple Forum Mod
Post by: KensonPlays on December 13, 2010, 12:13:33 PM
Please update for RC4. Thanks.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on December 13, 2010, 01:28:02 PM
I am afraid the owner will update only in Gold.
Title: Re: Multiple Forum Mod
Post by: feline on December 13, 2010, 08:21:07 PM
Yes .. currently I have no time to make a RC4 version ...

Fel
Title: Re: Multiple Forum Mod
Post by: KensonPlays on December 14, 2010, 11:34:18 PM
are you new owner Fel? if so, i just hope gold comes before christmas :P (a great christmas present!!! :D)
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on December 15, 2010, 08:34:24 AM
But christmas can be in any coming year too  :D
Title: Re: Multiple Forum Mod
Post by: KensonPlays on December 15, 2010, 10:28:28 AM
You should know what I meant.
Title: Re: Multiple Forum Mod
Post by: SilverKnight on April 13, 2011, 01:45:35 AM
Quote from: ahrasis on December 15, 2010, 08:34:24 AM
But christmas can be in any coming year too  :D

:(
Title: Re: Multiple Forum Mod
Post by: flapjack on April 13, 2011, 06:54:17 AM
just to let you know - it works with RC5 with a minor problem - the rss seems to be broken
Title: Re: Multiple Forum Mod
Post by: ljsevern on April 13, 2011, 08:17:13 AM
Quote from: flapjack on April 13, 2011, 06:54:17 AM
just to let you know - it works with RC5 with a minor problem - the rss seems to be broken

I can't see to get it to work in RC5. When I go to the new subforum page and try to login, it redirects me to /subforum/subforum/index.php, instead of /subforum/index.php
Title: Re: Multiple Forum Mod
Post by: feline on April 13, 2011, 01:52:27 PM
We have stopped the development of this mod.
If anyone will continue this, he can call us ...
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on April 13, 2011, 11:05:32 PM
Quote from: feline on April 13, 2011, 01:52:27 PM
We have stopped the development of this mod.
If anyone will continue this, he can call us ...
Hmmm... A nice mod actually. But I would prefer your SubForums Mod (http://portamx.com/2008/subforums-v1-0-for-smf-2-0-rc3/) in many ways. I hope I can look into again it very soon.
Title: Re: Multiple Forum Mod
Post by: luuuciano on April 30, 2011, 12:14:06 AM
oh god feline, we need a SubForums Mod!! :)
Title: Re: Multiple Forum Mod
Post by: Avail on August 21, 2011, 12:44:30 AM
I'm wondering if there is still interest in this mod being updated for SMF 2.0 final? I have a lot of new ideas I'd like to implement, and am more keen to doing so now that 2.0 is finally released. Does anyone think this mod will still be used, or is the apparent replacement on the other site more likely to be used instead?
Title: Re: Multiple Forum Mod
Post by: luuuciano on August 21, 2011, 12:53:58 AM
Join the PMx-SubForums mod team!
Its a great work...

Or, what will be the differences?
Title: Re: Multiple Forum Mod
Post by: feline on August 21, 2011, 08:25:27 AM
Yea .. we have created a new version of the Subforums modifiation for SMF 2.0. It's currently in the SMF approve queue ...
Title: Re: Multiple Forum Mod
Post by: Avail on August 21, 2011, 11:40:57 AM
Quote from: luuuciano on August 21, 2011, 12:53:58 AM
Join the PMx-SubForums mod team!
Its a great work...

Or, what will be the differences?

I'm not sure how developed their mod is, but I was sort of thinking a whole panel of options, ranging from splitting permissions (meaning administration per-subforum), splitting the moderator board (so that reports are separate per site, same with the trash bin), and a whole lot of customizations. People can have redirect categories setup on the main forum to redirect to the subforums, topics and boards with the incorrect url will automatically redirect to the right forum, people can customize the who's online area to show per-subforum and global. Separating membergroups so that certain groups only show up on certain subforums. I was even thinking of a means of allowing people to have a subforum over multiple webservers, even though it'd be pretty tricky.

If most of that is already supported, then I won't bother to update it. :P
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on August 21, 2011, 06:07:43 PM
Avail, you need not be defined by PMx-Subforums mod. Yours is definitely unique in its own way. Why don't you do whatever you plan to do and let's the users decide what is best for them.
Title: Re: Multiple Forum Mod
Post by: Maniacle on September 25, 2011, 07:25:26 AM
Quote from: ahrasis on August 21, 2011, 06:07:43 PM
Avail, you need not be defined by PMx-Subforums mod. Yours is definitely unique in its own way. Why don't you do whatever you plan to do and let's the users decide what is best for them.

I agree. Keep working on yours Avail. I just installed this on Simple Portal and SMF2.0.1 and i got it working fine. I do have some minor issues, but i found it much better then the PMxSubforums or whatever it is. It definitely works differently and has better flexibility for what i'm trying to do.
Title: Re: Multiple Forum Mod
Post by: maryclare on November 17, 2011, 02:46:19 PM
Hello.  I have been searching for a fix to my problem and maybe this is it.
I have a forum running on 1.15.
Have had several problems getting it updated to 2.0.
Installed a new forum (2.0) in a new directory, but want it to link to the 1.15 dbase, otherwise I lose all of my posts.  No luck on that end.
I don't mind continually trying to get my  1.15 updated, but when I do that on the active forum, and it completely crashes, the forum is down until I restore it,
Could I copy my existing 1.15 forum to a new directory, pointing to the same db, and get though the update struggles in the 'background' on the 'shadowed forum' using this mod?

Any suggestions would be Greatly appreciated.
Title: Re: Multiple Forum Mod
Post by: Avail on June 20, 2012, 02:36:14 PM
Alright so, I'm finally going to update this mod. Please be ready for an update over the next few weeks. I hope to try and beat out some of those other subforum mod copiers. :P
Title: Re: Multiple Forum Mod
Post by: shigoxin on June 23, 2012, 01:51:23 AM
hello,

Using SMF 2.0.2, my sub-forum only appears and whatever I clicks on sub-forums refers to double url (eg. www.abc.com/ww.abc.com/index.php instead of www.abc.com/index.php)

Any fix please?
And pls update the mod ASAP

thank you very much.
Title: Re: Multiple Forum Mod
Post by: Hj Ahmad Rasyid Hj Ismail on August 28, 2012, 09:31:33 PM
Quote from: Avail on June 20, 2012, 02:36:14 PM
Alright so, I'm finally going to update this mod. Please be ready for an update over the next few weeks. I hope to try and beat out some of those other subforum mod copiers. :P
Lol. Good to hear that. But by the I read this, it has been months. So how was the progress, avail?
Title: Re: Multiple Forum Mod
Post by: zapiy on August 31, 2012, 03:51:40 AM
Would this mod allow 2 domains to share a forum?
Title: Re: Multiple Forum Mod
Post by: TomW on September 25, 2013, 11:09:48 PM
Quote from: ahrasis on August 28, 2012, 09:31:33 PM
Quote from: Avail on June 20, 2012, 02:36:14 PM
Alright so, I'm finally going to update this mod. Please be ready for an update over the next few weeks. I hope to try and beat out some of those other subforum mod copiers. :P
Lol. Good to hear that. But by the I read this, it has been months. So how was the progress, avail?

Ditto.  Has this mod been abandoned?
Title: Re: Multiple Forum Mod
Post by: TomW on September 27, 2013, 07:58:49 PM
Okay, I got this to work on my localhost with SMF 2.0.5, using the RC3 version in this thread.  There are a couple of things to note:  The new index.php file that you must create needs a modification for $cookiename. From your original forum, go to the Server Settings, Cookies and Sessions, and you will see the cookie name.  Edit your new index.php to match the value of the cookie name.  Next I'll try it out on my production site and post the results.