• Resolved gptxffa

    (@gptxffa)


    Hello,

    I have an issue with members assigned to Group 1, not being able to create a new topic from the Forum Index.

    They can reply to any existing topics. They can also create new topics if the go into that give sub forum.

    Members assigned to Group 2 do not have any issues with this at all.

    Thanks for your assistance,
    Preston

    https://www.ads-software.com/plugins/bbp-private-groups/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter gptxffa

    (@gptxffa)

    Forgot to mention that when they click submit for a new topic from the Index, it sends them to the Login/Profile page

    Plugin Author Robin W

    (@robin-w)

    ok, can I have the settings please for :

    Forum Visibility

    Forum visibility – active/non active
    Redirect pages – active/non active
    URL for login
    URL for non logged in
    Freshness – active/non active
    Freshness Message

    General Settings

    Hide topic and reply counts – active/non active
    Show Descriptions – active/non active
    Remove ‘Private Prefix’ – active/non active

    Thanks

    Plugin Author Robin W

    (@robin-w)

    and a list of the groups, and which forums have which groups

    Thread Starter gptxffa

    (@gptxffa)

    Forum Visibility

    Forum visibility – non active
    Redirect pages – I dont see a click box for this I just see that it says if your visibility is active it will use the URL you list
    URL for loginhttps://gptxffa.com/?page_id=83
    URL for non logged inhttps://gptxffa.com/?page_id=83
    Freshness – non active
    Freshness Message – none

    General Settings

    Hide topic and reply counts – non active
    Show Descriptions – non active
    Remove ‘Private Prefix’ – non active

    Thread Starter gptxffa

    (@gptxffa)

    Group 1-
    Chat
    Dept. Concerns
    News
    Pres/Rep’s Corner
    Budget Reports
    Minutes and Meetings
    Assoc. Minutes
    Admin Minutes
    City Mngt. Minutes
    Special Committees
    General
    Polls/Votes

    Group 2:
    Chat
    Dept. Concerns
    News
    Pres/Rep’s Corner
    Budget Reports
    Minutes and Meetings
    Assoc. Minutes
    Admin Minutes
    City Mngt. Minutes
    Special Committees
    General
    Polls/Votes
    Exec. Board

    All members Group 1 are subscribers/participant

    All members in Group 2 are subscribers/moderators

    Plugin Author Robin W

    (@robin-w)

    Thanks, let me look into that further

    Plugin Author Robin W

    (@robin-w)

    ok, so you have a forum with sub forums – yes?

    and can users raise topics in then sub-forums, but not the main forum?

    Does group 2 have sub forum as well?

    Thread Starter gptxffa

    (@gptxffa)

    General:
    –Chat
    –Dept. Concerns
    –Polls/Votes

    Minutes and Meetings:
    –Admin Minutes
    –Assoc. Minutes
    –City Mngt. Minutes
    –Exec. Board

    News:
    –Pres/Rep’s Corner
    –Budget Reports
    –Special Committees

    Thread Starter gptxffa

    (@gptxffa)

    the issue is that Group 1 members cannot start a new topic from the forum index page.

    Yes if they go into a give subforum they can create the topic from there.

    Group 2 members do not have any issues.

    Plugin Author Robin W

    (@robin-w)

    I’ve had a test or two, and can’t immediately replicate your issue, so can I confirm my understanding.

    So taking the general area

    You have general forum with groups 1 & 2 allocated to it
    This has sub forums of chat, Dept. concerns and Poll/Votes all of which have groups 1 & 2 allocated with them

    You have a user with subscribers/participant role allocated to just group 1

    When logged in and they go to the general forums page, they can type in all the topic details, but when they click submit they get sent to the login page.

    When they do the same on a sub-forum, it all works fine.

    Group 2 who are subscribers/moderators don’t have an issue (I’d be fairly sure that this is because they are moderators)

    Is this a good problem definition?

    Thread Starter gptxffa

    (@gptxffa)

    “When logged in and they go to the general forums page, they can type in all the topic details, but when they click submit they get sent to the login page.”

    —-

    NO,

    If they open the “General Forum” they can create a new topic.

    —-

    I have my Forum “Homepage” to display the 15 most recent topics up top, then below that it displays the Forum Index and each subforum.

    Below that it has an area to create a new topics. Being that this is the “Home page” you have to click the drop down menu and select which subforum your topic should be assigned into.

    When Group 1 members try and do this they are sent to the login page.

    When the open any of the subforums listed above they can create the topic in that forum.

    Thread Starter gptxffa

    (@gptxffa)

    This is my functions.php plugin if it possibly could be causing an issue.

    add_filter( 'bbp_get_single_forum_description', 'ja_return_blank' );
    
    add_filter( 'bbp_get_single_topic_description', 'ja_return_blank' );
    
    function ja_return_blank() {
    
        return '';
    
    }
    
    add_filter('protected_title_format', 'ntwb_remove_protected_title');
    function ntwb_remove_protected_title($title) {
    	return '%s';
    }
    
    add_filter('private_title_format', 'ntwb_remove_private_title');
    function ntwb_remove_private_title($title) {
    	return '%s';
    }
    
    function recent_bbpress_topics() {
     echo do_shortcode("[bbp-forum-index] [bbp-topic-form]");
     }
    
    add_action('bbp_template_after_topics_index','recent_bbpress_topics');
    
    add_filter( 'bbp_current_user_can_access_create_topic_form', 'custom_bbp_access_topic_form' );
    function custom_bbp_access_topic_form( $retval ) {
    
    	if ( bbp_is_forum_archive() ) {
    		$retval = bbp_current_user_can_publish_topics();
    	}
    
    	return $retval;
    
    }
    Plugin Author Robin W

    (@robin-w)

    Ok, I have limited time to decode functions that change the default way bbpress works.

    So I need you to tell me in details what this does

    add_filter( 'bbp_current_user_can_access_create_topic_form', 'custom_bbp_access_topic_form' );
    function custom_bbp_access_topic_form( $retval ) {
    
    	if ( bbp_is_forum_archive() ) {
    		$retval = bbp_current_user_can_publish_topics();
    	}
    
    	return $retval;
    
    }

    and why it is needed

    Thread Starter gptxffa

    (@gptxffa)

    well dont make me lie!

    Looking back at previous post/topics on BBpress I found where I got it.

    https://bbpress.org/forums/topic/new-topic-form-shortcode-issue/

    The objective is to be able to create a new topic area displayed on the index.

    It always worked fine, until adding this plugin. Now it only works for the group 2 ‘moderator’ accounts.

    Plugin Author Robin W

    (@robin-w)

    Ok, I’ve done some digging and put the code on my test site. The code above is not as far as I can see affecting the issue.

    can you

    a. take out

    URL for login – https://gptxffa.com/?page_id=83
    URL for non logged in – https://gptxffa.com/?page_id=83

    they aren’t used, and I just want to eliminate them.

    b. are all your forums set to ‘private’

    c. does this happen across all forums for group 1 users – ie can you test if it is just one forum, or any

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Cannot create new topic from forum index’ is closed to new replies.