Search

bbPress Showcase » bbPress Chat

  1. ggwarpig
    ggwarpig

    new member
    Joined: Mar '09
    Posts: 4

    offline

    Having some trouble with the "Forum Is Category" plugin.
    And I am not the first, people refer to the bug as the "ADD NEW" bug here: http://bbpress.org/plugins/topic/forum-is-category/

    Once installed, the form for adding a new topic vanishes. Help me bring it back! Thanks!

    bbpress version: 0.9.0.4
    forum is category version: 1.2

    Posted 3 years ago #
  2. ggwarpig
    ggwarpig

    new member
    Joined: Mar '09
    Posts: 4

    offline

    hey _ck_, i noticed you tested out the forum is category plugin and had the same problem. did you ever get it working correctly? any chance you remember the problem?

    Posted 3 years ago #
  3. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    I don't use that plugin and have not looked at it since it was released.

    Posted 3 years ago #
  4. ggwarpig
    ggwarpig

    new member
    Joined: Mar '09
    Posts: 4

    offline

    Any chance you can take a look at it again? Its a very important feature and its breaking my template! You may want to fix your donation page too =) Maybe Google Checkout?

    Posted 3 years ago #
  5. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    Replace this function and it will work:
    function forum_is_category_restrict_posting($retvalue, $capability, $args) {
    	global $forums_that_are_categories;
    	if ($capability == "write_topic" && !empty($args[1]) && in_array($args[1], $forums_that_are_categories)) {
    		return false;
    	} elseif ($capability == "move_topic" && !empty($args[2]) && in_array($args[2], $forums_that_are_categories)) {
    		return false;
    	}
    	return $retvalue;
    }
    Posted 3 years ago #
  6. ggwarpig
    ggwarpig

    new member
    Joined: Mar '09
    Posts: 4

    offline

    Works perfect. _ck_ you rock.

    Posted 3 years ago #

RSS feed for this topic

Post a reply to “Forum Is Category Breaks Stuff”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
39 users online from in the past 30 minutes. 18 bots 21 guests
3,595 views today 8,638 yesterday 16,043 peak. Most at once 47 today 60 yesterday 131 peak. Visited today: qamilon, pandoracam, lvgalliera
2,288 posts in 394 topics over 66 months by 430 of 2,165 members. Latest: qwe12345100, Janvelden, watchessaleus