Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 2,576 through 2,600 (of 20,277 total)
  • Author
    Search Results
  • David13_13
    Participant

    I have deactivated the shane’s function and added this to functions.php but nothing is happen, default tab is still activity

    Must I change or add something to the code?

    Thanks

    Edit: Ok, I understand now the function. If I use the cases for each individual group it works great, but if I put “forum” in default_tab I get a 404 error when I click on a group:

    default:		
    		$default_tab=‘forum’;// the original default landing tab
    		break;
    danbp
    Participant

    Try this snippet, which let’s you determine wich tab you will see first when on a group.

    function bpfr_custom_group_default_tab($default_tab){
    	/**
    	 * class_exists() is recommanded to avoid problems during updates 
    	 * or when Groups Component is deactivated
    	 */
    	if ( class_exists( 'BP_Group_Extension' ) ) : // 
    	
    	$group=groups_get_current_group();//get the current group
    	
    	if(empty($group))
    	return $default_tab;
    	
    	switch($group->slug){
    		
    		case 'kill-bill': // group name (use slug format)
    		$default_tab='forum';
    		break;
    		
    		case 'titanic':
    		$default_tab='members';
    		break;
    		
    		default:		
    		$default_tab='home';// the original default landing tab
    		break;
    		
    	}
    	
    	return $default_tab;
    	
    	endif; // end if ( class_exists( 'BP_Group_Extension' ) )
    }
    add_filter('bp_groups_default_extension','bpfr_custom_group_default_tab');

    Comment shane’s function before using this function.

    #233846
    Hugo Ashmore
    Participant

    @scaffies It is advisable if you run a mission critical that you don’t update it directly but first test things on a staging site or site running on your localhost machine this way you’ll trap problems and be able to ask around or pass on info to plugin developers.

    With your links could you place a prominent NSFW before and after each one if they lead to any material that people might find offensive, this is a public forum and people may be accessing from work machines ( NSFW = Not Safe For Work) in some countries employees cab be sacked for accessing certain sites on employers machines. 🙂

    Just my two cents, I think the color’s gorgeous (but then again, this shade of red is a personal favorite) and as a new user, it immediately draws my attention and helps me get oriented with the forums. It’s not distracting because I do need and appreciate big red signposts telling me where I am in the forums, etc, but maybe it could be made optional for users?

    #233837
    Henry Wright
    Moderator

    Hi @jeremy_lv

    Unfortunately, the functionality you describe isn’t available in BuddyPress currently. You could try opening a topic in the Ideas forum. Alternatively, you could attempt coding it yourself or perhaps search for a plugin in the WordPress Plugin Directory.

    If you decide to go-it-alone and code yourself, then feel free to open a new topic here for each specific question you may have.

    Hope this info helps!

    Henry Wright
    Moderator

    Hi @disha76

    P2 is made by Automattic so you can be sure the theme is of the highest quality. Whilst I haven’t tried it myself, I’ve heard it offers some great features such as inline comments and real-time updates. If you notice a problem with it, then try opening a support ticket on their support forum.

    Hope this helps 😀

    Ref: https://wordpress.org/themes/p2

    I gave the Role bp_moderate but that did not solve the issue. There must be some other check that needs to be passed for these menu items to show up.

    You may want to put a late filter on map_meta_cap to ensure it’s truly getting added, and not getting stomped or mapped back to manage_options.

    Maybe a compromise could be found and some new functionality for the front end could be introduced that allows you to assign someone as Group Admin. I think i am not the only one that sees value in that Role especially in a big community where you have the need to moderate but do not want to give people access to the backend or higher Administrative privileges.

    You’re on the right track. Each component could (and maybe should) come with its own hierarchy of roles. Just because someone can manage users doesn’t mean they can manage groups, if that makes sense?

    I also don’t quite understand why a Group admin could not be derived from one of the Forum Roles. A forum Moderator or Keymaster should be able to moderate all Forums incl. the private group ones and could subsequently also be allowed to manage all groups.

    Anything is possible, but I’m not sure this approach is a safe assumption for all installations. At least not in its current iteration.

    All good ideas. Thanks @ubernaut for the bump.

    #233758
    agentswall
    Participant

    Hello

    They worked fine and now they don’t. Members do not see a create groups field nor are able to create a forum. Also the forum and the group page on the menu started to show all my blogs. I have disabled these pages and have replaced them with the buddypress group page and forum page on the members area.

    You can join the site easily. I dont want to give access over a forum. If you use a dummy email that will be fine. I will watch for it coming in and activate your membership

    many thanks

    joe

    #233743

    In reply to: Forum page template

    @mercime
    Participant

    @gatelli yoursite > Groups > nameofgroup > Forum pages use the page layout of the the groups page template as it is integrated with that BuddyPress group. WP/BP versions? What theme are you using?

    Bill
    Participant

    Just a couple further thoughts about this, since you guys are re-thinking it:

    If you really want people to get into the right sub-forum, why show a long list of topics in the first place? If they’re browsing, they’ll click an interesting-looking topic, and then end up posting their own question in whatever category they find themselves in (or append their question to an existing topic).

    On the other hand, if they arrive at /support with the intention to post a query without browsing first, it isn’t immediately obvious that a category must be chosen first in order to do that.

    An alternative:
    buddypress.org/support perhaps shows a couple/few sticky posts, but the main content is a modified version of @modemlooper’s ‘When Asking for Support’. I’m guessing few people actually open that link before posting. For clarity, it might even be sub-divided into its troubleshooting advice, and the installation-environment probes.

    I’d follow (or even precede) that with concise instructions on initiating a query by first selecting the relevant category from the sidebar list.

    If there is a desire to just have all posts sorted by most-recent, just link to such a page. The /support page as it stands now seems to be geared for browsing.

    #233545
    ARCangelGIRL
    Participant

    Thank you for your answers! Looks like that I did not describe clear what is my problem, because what I tried from you suggestions it did not work.

    There is the code that I’m using to generate “Give a point” button”

    function one_star_points() {
    	if ( ! function_exists( 'mycred' ) ) return;
    	$current_id = get_current_user_id();
    	$profile_id = bp_displayed_user_id();
    	if ( $current_id == $profile_id ) return;
    	echo '<div class="award-star-rating-img">';
    	echo do_shortcode( '[mycred_send to="' . $profile_id . '" amount="1" ref="tip" log="Tipping"]Give a point[/mycred_send]' );
    	echo '</div>';
    }
    add_action( 'one_star_points_button', 'one_star_points' );

    To give points in user profile I used $profile_id = bp_displayed_user_id();
    To give points in forum I used $profile_user_id = bbp_get_reply_author_id();

    But i bumped into a problem when I want to give points to user in activity stream. I placed the button near every activity stream entry, so the user could give a point if the like what other user posted in activity stream. I used this code $profile_video_id = bp_get_activity_user_id(); There is no error or warning, but it’s not working, not giving points.

    Also I would like to give a point if I like private message answer that other user send me. I used this $profile_message_id = bp_get_the_thread_message_sender_id() ;, but it says that “Missing the recipient for this shortcode.”.

    Looks like that in the last two cases (activity stream and messages) something is wrong with indicating user id.
    Any recommendations on this? I have tried many functions, but still can’t grab user ID in those last two..

    #233543
    deshmukh
    Participant

    @henrywright I do not want to ‘add’ new activity. I just want that when one visits example.com/activity, it displays all profile updates (these are displayed even now), all updates to public groups (these, too, are displayed currently) AND all updates in private/ hidden groups where the concerned person is a member (this is NOT displayed currently.) How do I do that?

    Also, I understood the second part re threads with new comments coming to top. But could you please elaborate a bit? Do I need to add some code to bp-custom.php or mytheme/function.php? In this specific case, what code should I add?

    I am sorry if my question appear to be basic. I am a newbie — I like to guess, like many others coming to forums 🙂

    modemlooper
    Moderator

    List each forum on the support page with a few (5?) recent topics

    [ How-to & Troubleshooting ]
    topic here
    topic here
    topic here
    topic here
    topic here

    [Creating & Extending]
    topic here
    topic here
    topic here
    topic here
    topic here

    #233501
    modemlooper
    Moderator

    WP won’t allow any character. WP uses sanitize_user function to strip out.
    https://codex.wordpress.org/Function_Reference/sanitize_user

    First thing I would do is deactivate all plugins and test WP registration alone to see if its WP issue. If it is then search and post in the wp.org forums.

    #233496

    In reply to: Group Page is BLANK???

    shanebp
    Moderator
    #233480

    In reply to: Blog & Forum Comments

    namrons
    Participant

    Thanks for your responses.


    @danbp
    I switched “Allow activity stream commenting on blog and forum posts” back on and I tried your suggestion but it has had not effect, unfortunately. Any more ideas?

    danbp
    Participant

    @mcpeanut,

    laughing together is part of a user community. 😀
    Comparing a web 1.0/prehistorical best of site to our forum is off topic, of course, but demonstrate the existence of extremes in matter of design.
    To each his own. We must tolerate diversity… and so far, strong red category titles.

    Even if i personaly suspect a surreptitious advertising for a jamaïcan beer. 😉

    shanebp
    Moderator

    Try:

    function david_group_link_to_forum( $link ) {
         if( ! bp_is_group() ) 
              $link .= 'forum/';
    		
         return $link;
    }
    add_filter('bp_get_group_permalink', 'david_group_link_to_forum', 11, 1 );

    This should work on group links on the all Groups page.
    fyi – In activity stream, it works on group avatars, but not group names.

    #233434

    In reply to: Blog & Forum Comments

    danbp
    Participant

    Since BuddyPress 2.0.0 you can use this in bp-custom.php

    function namrons_activity_nocomment( $can_comment = true, $type = '' ) {
            if ( empty( $can_comment ) ) {
                    return $can_comment;
            }
     
            // activities which can't be commented
            $cant_comment_types = array( 
    				'new_forum_topic' => 1,
    				'new_forum_post' => 1,
            );
     
            return ! isset( $cant_comment_types[ $type ] );
    }
    add_filter( 'bp_activity_can_comment', 'namrons_activity_nocomment', 10, 2 );
    #233423

    In reply to: Notification

    chcsuter
    Participant

    Thank you this really is fantastic forum

    #233378
    Henry Wright
    Moderator

    I think creating a user role with ‘forum-only’ capabilities is perhaps your best bet. Try asking over at the bbPress support forum. The guys over there are specialists when it comes to forums (bbPress) so you may find some more joy there.

    #233374
    Melissa1968
    Participant

    Thanks for the reply. So I guess the next question is, does anyone know of a plug-in that can do this? Or have another suggestion for how to have a category of user that can post to forums but does not appear in or have access to any of the other Buddy Press features?

    #233312
    danbp
    Participant

    I’m sorry too, but i can’t learn you to use BuddyPress and WordPress. I can only guide you. It’s a volonteer based forum, and understand that i can’t offer you a lot of my time.

    You asked how to apply at least a background color to the buddy nav.

    The CSS code i indicated should go in a file called style.css
    This file exist in almost any theme. Open it and copy/paste the code, save and bam, you’re done.

    For more explanation about child theme or any other custom work, you have to read WP & BP‘s codex or find some tutorials on the net.

    Be also aware that you use a premium theme, which can be difficult for you to find assistance outside of the theme support.

    skyrant
    Participant

    John, Thank you for the pointers.

    I gave the Role bp_moderate but that did not solve the issue. There must be some other check that needs to be passed for these menu items to show up.

    Maybe a compromise could be found and some new functionality for the front end could be introduced that allows you to assign someone as Group Admin. I think i am not the only one that sees value in that Role especially in a big community where you have the need to moderate but do not want to give people access to the backend or higher Administrative privileges.

    I also don’t quite understand why a Group admin could not be derived from one of the Forum Roles. A forum Moderator or Keymaster should be able to moderate all Forums incl. the private group ones and could subsequently also be allowed to manage all groups.

    Just my 2 cents. let me know what you think.

    #233212
    danbp
    Participant

    hi @lucdkny,

    if you’re comfortable with CSS and JS, you could try this.
    The important part is the JS and your own CSS rules
    And of course, you can check this forum source code, wich uses a customized bbpress template.

Viewing 25 results - 2,576 through 2,600 (of 20,277 total)
Skip to toolbar