News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Multiple Forum Mod

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

Previous topic - Next topic

iridion_us

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


Hj Ahmad Rasyid Hj Ismail

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.

iridion_us

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



iridion_us

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.

iridion_us

Dear Forum Moderators or Admins.

Can you guys make this forum thread sticky.

Thanks.


tobytoby

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

flapjack

is there any php variable that would help me figure out in which subforum I am at the moment?

Dean Williams

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!

TomW

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.

Hj Ahmad Rasyid Hj Ismail

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

wynnyelle

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?


ImmortalLife

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.
ImmortalLife's Shack [nofollow] - Personal Blog
Kadoo Forums Project [nofollow]

WIP Mods:
SMF Wiki - A BBC based Wiki integrated right into SMF! (60-70% complete)
SMF Project Center - A Project Center for SMF! (10% complete)

KensonPlays

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!

Owner of Mesozoic Haven

SilverKnight

#213
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

feline

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

SilverKnight

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?

shaitanfr

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

feline

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

shaitanfr

I confirm: it works well with Opera now. Thank you Feline.

FireDitto

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.
Second Pass Weyr<br />An AU Pernse RPG<br /><br />SMF 2.0.6 with SP 2.3.5

Advertisement: