Niko
Noobie
Posts: 6
|
|
[Beta][Code] SubForums 0.1
« on: August 01, 2002, 08:41:22 PM » |
|
Features that are missing: Add/Modify on Admin Listing on MessageIndex Features that it have: Basic Subforums Listing Add/Modify via MySql admin Index.php Add After: else if ($action == 'search2') { include_once "$sourcedir/Search.php"; plushSearch2(); } This: else if ($action == 'subboard') { include_once "$sourcedir/SubBoard.php"; }
Sources/SubBoard.php (edited Board Index)
Download from: http://www.saunalahti.fi/~pahajoet/turhat/SubBoard.txt
Sources/BoardIndex.php Replace if ($row_board['ID_BOARD'] != '') with if ($row_board['ID_BOARD'] != '' && $row_board['parent'] =='0')
Add After:
$startPage = (floor(($numReplies)/$maxmessagedisplay)*$maxmessagedisplay);
That:
$id = $row_board['ID_BOARD']; $subs = "<a href=\"$scripturl?action=subboard;subid=$id\">$txt[sub1]</a>";
Raplace <br>$row_board[description]</font>$showmods</td>
with: <br>$row_board[description]</font>$showmods<br>$subs</td>
english.lng
Add (in some place) $txt['sub1'] = "View SubBoards";
finnish.lng (not required)
Add (in some place) $txt['sub1'] = "Näytä SubBoardit";
Run Sql: ALTER TABLE `database`.`yabbse_boards` ADD `parent` INT DEFAULT '0' NOT NULL AFTER `ID_BOARD`;
Modifying into subforum:
Update yabbse_boards SET parent=' parent board id here ' where ID_BOARD=' board id that comes to subforum'
I know code is bad but, yuo can edit it if yuo want This is for YaBB Se 1.4.0 not tested on others
|
|
|
Logged
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MC600
YaBB God
Posts: 968
Jetzt habe ich Zähne!
|
|
[MOD-UPDATE] V1.3 SubBoard
« Reply #12 on: October 08, 2002, 01:07:19 PM » |
|
SubBoard V1.3 from MC600 for YaBB SE 1.4.x - German/English Four are in the archives *.mod Files contained. - subboard.mod Standart Mod
- subboard_speed.mod for Speed Up BoardIndex
- subboard_mousecell.mod for Mouseover Cell
- subboard_mousecell_speed.mod for Mouseover Cell and Speed Up BoardIndex
To this downloads click here: SubBoard V1.3 for YaBB SE 1.4.xHere one Screenshot: SubBoards createHere one Screenshot: AdminCenterHere one Screenshot: Board OverviewHere one Screenshot: click on SubBoards
|
|
« Last Edit: May 23, 2003, 09:30:34 AM by MC600 »
|
Logged
|
|
|
|
TuSlic
Noobie
Posts: 38
|
|
Re:[Beta][Code] SubForums 0.1
« Reply #13 on: October 09, 2002, 08:53:23 AM » |
|
QuoteUnfortunately, I don't speak English. I have improved the Mod. Look here: lol I cant get this mod to work and I cant even email the ma crappity smacka who made it cuz he cant speak english good grief QuoteIf you want a preview of SE2 subboard.... http://www.gamerzalliance.com/community/index.php?board=20 when is that ish comin out?
|
|
|
Logged
|
|
|
|
|