Your ultimate PunBB resource!
You are not logged in.
## ## ## Mod title: Sub Forum Mod ## ## Mod version: 1.0 ## Works on PunBB: 1.2.6 ## Release date: 2005-08-11 ## Author: pabb ## ## Description: This mod lets Administrators add subforums to forums. ## ## Affected files: index.php ## viewtopic.php ## viewforum.php ## admin_forums.php ## ## Affects DB: Yes ## ## Notes: Um.. none. ## ## DISCLAIMER: Please note that "mods" are not officially supported by ## PunBB. Installation of this modification is done at your ## own risk. Backup your forum database and any and all ## applicable files before proceeding. ## ##
Offline
here is a demo http://stfu.frac.dk/mods/subforum/
Offline
Nice mod thank you very much
Offline
Offline
Just wanted to give a 'heads-up' for anyone attempting to install this mod on PostgreSQL. The install_mod.php does not properly alter the tables. Simple change out the following line:
$db->query('ALTER TABLE '.$db->prefix.'forums ADD COLUMN parent_forum_id INTEGER UNSIGNED DEFAULT 0;');
for:
$db->query('ALTER TABLE '.$db->prefix.'forums ADD COLUMN parent_forum_id INTEGER;');
$db->query('ALTER TABLE '.$db->prefix.'forums ALTER COLUMN parent_forum_id SET DEFAULT 0;');
This has not been thoroughly tested, only on my install using PostgreSQL 7.4.2. Use at your own risk.
can someone who has this installed on a relatively fresh copy of punBB make a patch style diff? i've gone through this install a couple of times and whenever i try to go to admin_index.php, the webserver just hangs. rolling back to a previous revision of my codebase (before the mod install) and that goes away. i have a feeling i'm just overlooking something or have some other code thats interfering.
Hi,
I have got PunBB 1.2.7 and I can't install this mod.
Does it work on PunBB 1.2.7? If yes, how can I install it? And if no, did you plan to make a version for the 1.2.7 of you Sub Forum Mod and when may I expect to have it (if it is possible to give a approximative release date)?
This mod would realy be usefull to me, I hope that I'll be able to use it.
Thanks in advance for your answer.
Last edited by Philippe Worontzoff (2005-09-10 04:50:08)
Offline
this mod will work on 1.2.7 you just have to edit in the version number into the install
Offline
Yes, it works. :-) Thanks.
I found out a very little html mistake :
In the readme, line 134 there is :
<div id="vf" class="blocktable">
It makes that there are two vf id in the same page and there must be only one id with that name on each page. So, I suggest to replace it by :
<div id="vsf" class="blocktable">
For "View Sub-Forum" instead of "View Forum" (that is what I guess vf is).
When replaced, the instructions in the readme.txt may be followed.
Then, there is another changes to do in the /style/imports/base.css file (Author schould add it to the readme.txt if he made the previous suggested changes) :
Find the lines :
#punindex TABLE, #vf TABLE {TABLE-LAYOUT: fixed}
.tcl {TEXT-ALIGN: left; WIDTH: 50%}
.tc2, .tc3, .tcmod {WIDTH: 9%; TEXT-ALIGN: center}
.tcr {WIDTH: 32%; TEXT-ALIGN: left}
#punsearch #vf .tcl, #punmoderate #vf .tcl {WIDTH: 41%}
#punsearch #vf .tc2 {WIDTH: 18%; TEXT-ALIGN: left}And replace it by :
#punindex TABLE, #vf TABLE, #vsf TABLE {TABLE-LAYOUT: fixed}
.tcl {TEXT-ALIGN: left; WIDTH: 50%}
.tc2, .tc3, .tcmod {WIDTH: 9%; TEXT-ALIGN: center}
.tcr {WIDTH: 32%; TEXT-ALIGN: left}
#punsearch #vf .tcl, #punsearch #vsf .tcl, #punmoderate #vf .tcl, #punmoderate #vsf .tcl {WIDTH: 41%}
#punsearch #vf .tc2, #punsearch #vsf .tc2 {WIDTH: 18%; TEXT-ALIGN: left}Last edited by Philippe Worontzoff (2005-09-13 12:56:40)
Offline
Last post on sybforum not working ![]()
"Bad request. The link you followed is incorrect or outdated."
see... her not working to
http://stfu.frac.dk/mods/subforum/viewforum.php?id=1
pls, help
Offline
skoruppa wrote:
Last post on sybforum not working
"Bad request. The link you followed is incorrect or outdated."
see... her not working to
http://stfu.frac.dk/mods/subforum/viewforum.php?id=1
pls, help
Hi for All...
You can download the newest version Sub Forum Mod 1.0.1. Fixed by NeoTall. All CopyRight by pabb.
Offline
cool now working
NeoTall can you change a search to? in search subforum looking like forum
Offline
skoruppa wrote:
cool now working
NeoTall can you change a search to? in search subforum looking like forum
I'm test my forum http://ru.uus4u.com/forum/search.php (it's russian forum). You can try enter "I386" for testing... Search works fine (Info: punBB ver.1.2.9 + Sub Form Mod 1.0.1)
Last edited by NeoTall (2005-10-22 07:16:39)
Offline
Hi for ALL...
You can download the newest version Sub Forum Mod 1.0.2. Fixed by NeoTall. All CopyRight by pabb.
History:
in version 1.0.2
- Correctly displaying Last Post, Last Poster and Last Posted Time
- Correctly displaying Total Topics and Total Posts
in version 1.0.1
- Correctly creating Last Post link
- Correctly displaying word "Topics" on SubForum header
Offline
im waiting for wersion witch fixed search ![]()
Offline
skoruppa wrote:
im waiting for wersion witch fixed search
Hi...
What is the problem you have?.. Write "Step-by-Step", please ![]()
Offline
ok i install subforum mod, now i go to search and subforum in search loking like forum. DId you understand?
Offline
skoruppa wrote:
ok i install subforum mod, now i go to search and subforum in search loking like forum. DId you understand?
Yes... I think. that I understand the problem... But I don't know its "nature"...now. I'll see the code and may be will correcting this problem...
Offline
Hi for ALL...
You can download the newest version Sub Forum Mod 1.0.3. Fixed by NeoTall. All CopyRight by pabb.
History:
in version 1.0.3
- Fixed search in SubForum when using "Non-MultiByted" language
in version 1.0.2
- Correctly displaying Last Post, Last Poster and Last Posted Time
- Correctly displaying Total Topics and Total Posts
in version 1.0.1
- Correctly creating Last Post link
- Correctly displaying word "Topics" on SubForum header
Offline
skoruppa wrote:
no i want this, see now look that:
http://img460.imageshack.us/img460/9558 … 1yw.th.jpg
but i want:
http://img460.imageshack.us/img460/7131 … 8iv.th.jpg
OK... Now I understand you.
With your help I'm fixed an search at using English language... Thanks... But say me now: Is it very importantly three spaces before subforum name? Excuse me: I think NO...
Offline
i want to be that space before subforum and subforum benn under hes forum
see:
forum
forum
subforum
subforum
subforum
forum
sobforum
forum
somthink like this i need this, pls
subforum must by under right forum
Last edited by skoruppa (2005-10-25 05:10:36)
Offline
Hi for ALL...
Update Sub Forum MOD links:
Sub Forum Mod v.1.0.4 (without Addon "Last Post Link")
Sub Forum Mod v.1.0.4 (with Addon "Last Post Link")
Sub Forum Mod v.1.0.3 (without Addon "Last Post Link")
Sub Forum Mod v.1.0.3 (with Addon "Last Post Link")
History:
in version 1.0.4
- Fixed items in combobox "Select where to search"
in version 1.0.3
- Fixed search in SubForum when using "Non-MultiByted" language
in version 1.0.2
- Correctly displaying Last Post, Last Poster and Last Posted Time
- Correctly displaying Total Topics and Total Posts
in version 1.0.1
- Correctly creating Last Post link
- Correctly displaying word "Topics" on SubForum header
Fixed by NeoTall. All CopyRight by pabb.
2 skoruppa
Only for you ![]()
Last edited by NeoTall (2005-10-25 11:08:32)
Offline
NeoTall, you are the best thx
.... but can i ask you for help witch that mod http://forums.punbb.org/viewtopic.php?id=7096 i want to add more files than 1 (example 4, like in IPB) in one post
Offline