Search Results for 'forum'
-
AuthorSearch Results
-
February 5, 2015 at 11:18 pm #233878
David13_13
ParticipantI 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;February 5, 2015 at 10:32 pm #233873danbp
ParticipantTry 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.
February 5, 2015 at 9:39 pm #233846In reply to: BP 2.2 Broke Chat and Messenger
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. 🙂
February 5, 2015 at 9:35 pm #233845The Barefoot Bookworm
ParticipantJust 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?
February 5, 2015 at 9:06 pm #233837In reply to: Add Friend only with Admin Role
Henry Wright
ModeratorHi @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!
February 5, 2015 at 9:02 pm #233835Henry Wright
ModeratorHi @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 😀
February 5, 2015 at 8:06 pm #233821John James Jacoby
KeymasterI 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_capto ensure it’s truly getting added, and not getting stomped or mapped back tomanage_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.
February 5, 2015 at 6:12 pm #233758In reply to: [Resolved] Problem with Update
agentswall
ParticipantHello
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
February 5, 2015 at 5:16 pm #233743In 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?
February 4, 2015 at 8:20 pm #233575Bill
ParticipantJust 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.
February 4, 2015 at 9:56 am #233545In reply to: How to get user id of activity
ARCangelGIRL
ParticipantThank 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..February 4, 2015 at 9:31 am #233543In reply to: Modify the activity loop
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 🙂
February 3, 2015 at 6:19 pm #233506modemlooper
ModeratorList 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 hereFebruary 3, 2015 at 6:00 pm #233501In reply to: lots of username craziness
modemlooper
ModeratorWP won’t allow any character. WP uses sanitize_user function to strip out.
https://codex.wordpress.org/Function_Reference/sanitize_userFirst 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.
February 3, 2015 at 5:23 pm #233496In reply to: Group Page is BLANK???
shanebp
ModeratorDuplicate of https://buddypress.org/support/topic/creating-the-forum-and-groups/
Please do not double post.
February 3, 2015 at 1:40 pm #233480In reply to: Blog & Forum Comments
namrons
ParticipantThanks 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?February 3, 2015 at 1:21 am #233460danbp
Participantlaughing 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. 😉
February 2, 2015 at 9:52 pm #233447shanebp
ModeratorTry:
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.February 2, 2015 at 7:22 pm #233434In reply to: Blog & Forum Comments
danbp
ParticipantSince 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 );February 2, 2015 at 2:44 pm #233423In reply to: Notification
chcsuter
ParticipantThank you this really is fantastic forum
February 1, 2015 at 9:14 pm #233378In reply to: Excluding role from (almost) everything
Henry Wright
ModeratorI 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.
February 1, 2015 at 7:27 pm #233374In reply to: Excluding role from (almost) everything
Melissa1968
ParticipantThanks 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?
January 31, 2015 at 9:09 pm #233312In reply to: Buddypress navigation menu styling
danbp
ParticipantI’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.
January 31, 2015 at 3:34 pm #233216skyrant
ParticipantJohn, 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.
January 31, 2015 at 2:35 pm #233212 -
AuthorSearch Results