Ok, so I am trying out TP for my site, currently I am using Joomla and the bridge and also the Shared Forum Mod (http://www.simplemachines.org/community/index.php?topic=64492.0)....is there a way to do this sort of thing using TP? I really want to continue to have this functionality on my site. Any help would be much appreciated.
Since Tiny Portal is basically just a mod for SMF, although a very nice one, I think it may be possible, the only true way to know however is to give it a shot, I would make backups first.
Let us know how it works out if you give it a try.
I actually did get it working, using actions (though the recent topics block will not work when you go to a one of the "forums".....if anyone is interested I will be more than happy to show you what I did.
I'm using Joomla! and the Shared Forum Mod too and I'm very interested in knowing how you got it working with TP!
it would be nice if youÃ,´d share your knowledge, latinlives cuz iam having some problems with that ^^
List of changes.
index.php one for each forum name.
line 334 'forumname' => array('BoardIndex.php', 'BoardIndex'),
Load.php, you have to add &&($_GET['action'] == 'forumname') for each forum that you put up
line 527
//SHARED FORUM MOD
if(!isset($_REQUEST['board']) &&!isset($_REQUEST['topic']) &&isset($_REQUEST['action']) &&($_GET['action'] == 'forumname')){
$sharedforummod = $_GET['action'];
$forumList = db_query("SELECT catList FROM {$db_prefix}forums WHERE forumName = '$sharedforummod'", __FILE__, __LINE__);
$row_forumList = mysql_fetch_assoc($forumList);
$user_info['query_see_board'] .= ' AND FIND_IN_SET(c.ID_CAT, "' . $row_forumList['catList'] . '")';
}
Changing the linktree to the right forum doesnt work, and I have not had a chance to try and get it to work yet....
line 547
// Start the linktree off empty..not quite, have to insert forum
if ($_GET['action'] == 'forumname') {$context['linktree'] = array(array('url' => $scripturl . '?action=forumname', 'name' => 'ForumName'));}
else
$context['linktree'] = array(array('url' => $scripturl . '?action=forum', 'name' => 'Forum'));
The database side is set up the same as it is in the shared forum mod for Joomla/SMF
Hey, thanks a lot! I will try your changes. May we see a URL?
If I manage to get the recent topics block working with the mod, I will let you know. ;)
i will gibe it a try tomorrow. thank you very much :)
does not work for me... also if i create another forum with the mysql tool it wont appear in the smf_forums table
I'm writing a mod for multiple forums in SMF+TP. It's based on Shared Forum Mod by Goosemoose, but it is quite a bit better. ;)
For example, the forum parameter is put in user's session/cookie, so the URLs are now quite clean. Also, I've made a mod admin panel, where you can set up your forums and set several mod options.
It's going to be cool. Check it out here (http://www.simplemachines.org/community/index.php?topic=158330.0) and comment if you have any ideas or would like a specific feature.
I plan to release a working beta as soon as possible.
EDIT: Oh, and did I mention that I'm going to release an installable mod package rather than a hack? ;)
Shared Forum Mod (SFMod) Beta 1 is released. This version is for TP only.
http://www.simplemachines.org/community/index.php?topic=158330.msg1041585#msg1041585
Tested on TP 0.9.8.3, but should work in 0.9.7.1 too.