Welcome, Guest. Please Login or Register.
November 28, 2024, 01:44:11 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta][Code] SubForums 0.1 « previous next »
Pages: [1] 2 3 4 Reply Ignore Print
Author Topic: [Beta][Code] SubForums 0.1  (Read 15865 times)
Niko
Noobie
*
Posts: 6


[Beta][Code] SubForums 0.1
« on: August 01, 2002, 08:41:22 PM »
Reply with quote

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
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:[Beta][Code] SubForums 0.1
« Reply #1 on: August 02, 2002, 03:31:06 PM »
Reply with quote

http://users.skynet.be/bk334194/sub%20board.zip
this is a boardmod file + a mysql file,

i havent test it, but it should work ;) ;D
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:[Beta][Code] SubForums 0.1
« Reply #2 on: August 02, 2002, 04:06:25 PM »
Reply with quote

And it dozent work for me!!!
there's something wierd with all of this
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
Robbie
Noobie
*
Posts: 48


Trendhost.net

ICQ - 54598099deloodgieter@wanadoo.nl WWW
Re:[Beta][Code] SubForums 0.1
« Reply #3 on: August 02, 2002, 05:11:43 PM »
Reply with quote

That's not nice. I really like thisone to work :'(
Logged

Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:[Beta][Code] SubForums 0.1
« Reply #4 on: August 02, 2002, 06:16:19 PM »
Reply with quote

yeah, me to :'(
Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
Niko
Noobie
*
Posts: 6


Re:[Beta][Code] SubForums 0.1
« Reply #5 on: August 02, 2002, 08:53:36 PM »
Reply with quote

Hmm...
what error comes?

look my board at http://pokefile.suidzer0.org/keskustelu/index.php

Logged
owen100
Noobie
*
Posts: 39


I'm not an alcoholic - alcoholics go to meetings

owen100@hotmail.com WWW
Re:[Beta][Code] SubForums 0.1
« Reply #6 on: August 03, 2002, 12:07:43 AM »
Reply with quote

Isn't this going to be a built-in feature of the next YaBB release? If so, how's about a preview in the form of a mod released now!?
Logged
Tha Master
Full Member
***
Posts: 201


G€€N G€KL!€R, !K B€N H!€R

vermeulen_yves@hotmail.com WWW
Re:[Beta][Code] SubForums 0.1
« Reply #7 on: August 03, 2002, 08:02:24 AM »
Reply with quote

cant you make it like this board???

i mean that cant you make it so that subboard is in the real board, with the images

Logged

« Last Edit: Next Week at 23:59:59 pm by Tha Master »
_________________________________________________________________________________________________________
tha master was here ;)
http://www.forumekes.tk
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta][Code] SubBoard V1.3
« Reply #8 on: October 02, 2002, 05:06:38 PM »
Reply with quote

Unfortunately, I don't speak English. I have improved the Mod. Look here:

To this downloads click here:  SubBoard V1.3 for YaBB SE 1.4.x

Here one Screenshot: SubBoards create
Here one Screenshot: AdminCenter
Here one Screenshot: Board Overview
Here one Screenshot: click on SubBoards
« Last Edit: May 23, 2003, 09:29:00 AM by MC600 » Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
deus
Noobie
*
Posts: 3


I'm a llama!

Re:[Beta][Code] SubForums 0.1
« Reply #9 on: October 04, 2002, 03:51:54 AM »
Reply with quote

This mod works fine, but it has 1 bug... it does not show the last post in the main forum if someone posts something in the subforums...
Logged
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
Re:[Beta][Code] SubForums 0.1
« Reply #10 on: October 04, 2002, 07:55:38 AM »
Reply with quote

One is Beta Version, this I work on an improvement.
Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:[Beta][Code] SubForums 0.1
« Reply #11 on: October 06, 2002, 08:29:48 PM »
Reply with quote

If you want a preview of SE2 subboard....
http://www.gamerzalliance.com/community/index.php?board=20

Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
MC600
YaBB God
*****
Posts: 968


Jetzt habe ich Zähne!

ICQ - 168723559 WWW
[MOD-UPDATE] V1.3 SubBoard
« Reply #12 on: October 08, 2002, 01:07:19 PM »
Reply with quote

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

Here one Screenshot: SubBoards create
Here one Screenshot: AdminCenter
Here one Screenshot: Board Overview
Here one Screenshot: click on SubBoards
« Last Edit: May 23, 2003, 09:30:34 AM by MC600 » Logged

Freundliche Grüße aus Hönow - MC600 - Forum Gegen Krebs
Newsletter Service - Info´s über MOD´s von MC600 - Hier eintragen
TuSlic
Noobie
*
Posts: 38


WWW
Re:[Beta][Code] SubForums 0.1
« Reply #13 on: October 09, 2002, 08:53:23 AM »
Reply with quote

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
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:[Beta][Code] SubForums 0.1
« Reply #14 on: October 10, 2002, 05:32:15 AM »
Reply with quote

sometime in 2003...
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Pages: [1] 2 3 4 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta][Code] SubForums 0.1 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.054 seconds with 20 queries.