Re: [Release] Subforums

When you make a forum a subforum, can you set its category to the same as its parents rather than always 1?  This keeps it in the proper spot in the admin page rather than sticking all of them under the first category.  Unfortunately, for the quick jump, it still shows up under the first category.

Last edited by Imperial (2009-03-31 04:58:25)

Re: [Release] Subforums

Imperial wrote:

When you make a forum a subforum, can you set its category to the same as its parents rather than always 1?  This keeps it in the proper spot in the admin page rather than sticking all of them under the first category.  Unfortunately, for the quick jump, it still shows up under the first category.

Sorry, I can't say now why all subforums went to first category. I rewrote this code, maybe it helps.
Also fixed some other bugs.
Ver. 0.9 alpha-5.

PS: Quick jump will be rewrite to tree soon.

Re: [Release] Subforums

I would guess they go to first category because when you enable a parent, it disables the category selector and sets it to first category.  I will try the new version shortly.

Re: [Release] Subforums

putnik wrote:

I upload an alpha version of 0.9 (see first post).
Please don't use it on active projects, it may be not stable. I can't test it on clear forum now, and my projects not forums but PunBB 1.3 roll I hope that I'll test it at the end of next week.

Some changes was done for my projects, and maybe them will split to other extension in future. Changes are:
* Forum statistics include all it subforums (topics, posts, last post)
* 3 modes of view for index: only main forums, subforums, and subforums with their descriptions
* 2 views of viewforum.php: you may (anybody need? lol) move subforums to topics list
* Quick link for create subforum of current forum (but it don't work in empty forums, I'm use hack for it; will be fixed later)
* Bad view of search page (only main forums)
If I'll have free time, I'll publish version with good search page in next days.
Enjoy.

So, any idea when will the stable version will be released. Or progress done. Thanks ALOT for you great work on the extension.

Sports2All: Watch (Wrestling, Football & All other Sports) Online For Free.
My Punbb Style: Yellowish (Yellow, Silver), Technature (Green & Blue), SilverLight (Black, Sliver Professional)

Re: [Release] Subforums

I have an issue, when I create a subforum and try to change the permissions to not allow Guests to view it, you can not longer see the Subforum listed on the main Forum page. I can get to the subforum, once I enter the main forum topic, then the subforum is available. Any ideas? Thank you!

Re: [Release] Subforums

Hmm
i have one problem if the forum have subforums
and in subforums some posts on the forum index it's not showing the last posted
thing
Help?
edit:
here is screen:
http://img41.imageshack.us/img41/7228/app.jpg
no last post
but there is a post in Operating Systems section
i tryed version 0.7 and 0.9 alpha 5 same problem

Last edited by Developer (2009-05-24 14:32:48)

32

Re: [Release] Subforums

Not working!

Re: [Release] Subforums

Wuu wrote:

Not working!

that helps hmm

34

Re: [Release] Subforums

I am getting the message Bad request. The link you followed is incorrect or outdated. while adding a new subforum.

Re: [Release] Subforums

The problem regarding the categories is because of the JavaScript you're using:

function changeParent(cat_name, parent_name) {
    if (document.getElementsByName(parent_name)[0].value == 0)
        document.getElementsByName(cat_name)[0].disabled=false;
    else 
        document.getElementsByName(cat_name)[0].disabled=true;
}

Disabled means its value isn't sent, and then you've got the following code:

if (isset($_POST['add_forum']) && !empty($_POST['set_parent']) && empty($_POST['add_to_cat']))
    $_POST['add_to_cat'] = 1;

--snip--

Nevermind, the solution I posted here wouldn't work,  as the select element doesn't understand the readonly attribute.

--snip--

Cheers. smile

Last edited by sunshine (2009-06-08 07:22:04)

Re: [Release] Subforums

When to finish this extensions? smile

Re: [Release] Subforums

Thanks ! Works great.
Only the info text doesn't show. But that's a minor prob.

I use subforums, becasue of the lack of real categories. You cannot select the categories by url, they are only informational.

Re: [Release] Subforums

I've found a bug :-/
It's not possible to enter a forum description => it erases the forum... roll

Re: [Release] Subforums

another prob: the message count shows 0 on the frontpage (not in the subforums.

Re: [Release] Subforums

Guys please try and complete this extension....It would be great to create subforums withing the current PunBB board