News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Multiple Forum Mod

Started by Avail, November 24, 2009, 09:59:59 AM

Previous topic - Next topic

~DS~

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.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

KensonPlays

I don't see a single category shown in multiple sub-forums, which is what I want...

Owner of Mesozoic Haven

Neverhurry

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.
I am using SMF 2.0.1, curve themes.

KensonPlays

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...

Owner of Mesozoic Haven

KensonPlays

How do I make a category appear on different "forums"?

Owner of Mesozoic Haven

Avail

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.

Snogmarr

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

 




~DS~

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"
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

~DS~

Try this:

/Sources/ManageSettings.php

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


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

:)

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Snogmarr

#109
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.

~DS~

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.
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Avail

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.

GrassrootsPA

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!
I'm Feeling This!


Neverhurry

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.
I am using SMF 2.0.1, curve themes.

GrassrootsPA

#115
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:"
I'm Feeling This!

GrassrootsPA

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?
I'm Feeling This!

~DS~

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?
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

~DS~

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
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

GrassrootsPA

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)
I'm Feeling This!

Advertisement: