Search Results for 'forum'
-
AuthorSearch Results
-
February 26, 2018 at 6:54 pm #271040
In reply to: @mention autosuggest in visual editor
Robin W
ParticipantAfter kicking this around, I found that
add_filter( ‘tiny_mce_before_init’, ‘cac_enable_mentions_in_group_forum_tinymce’, 10, 2 );
is never fired, presume this is an order thing.
After some further research, I created a small plugin that has some much of the above, but also some js that executes for the visual version.
available at
February 25, 2018 at 1:52 pm #271032In reply to: Incompatibility with PHP 7
Hugo Callens
ParticipantThat may well be, but a php check by my hosting company says there is a lot of deprecated or forbidden code in the following files:
/bp-forums/bbpress/xmlrpc.php
/bp-forums/bbpress/bb-includes/backpress/class.bp-log.php
/bp-forums/bbpress/bb-includes/backpress/class.ixr.php
/bp-forums/bbpress/bb-includes/backpress/functions.core.php
and so on…February 23, 2018 at 6:56 pm #270999In reply to: Users can’t reply to forum
sasenzon
ParticipantI have tried to deactivate all plugins and the theme. Nothing helps.
When I am logged in as myself and I reply on a forum, I move the cursor into the textbox and click, that sort of resets the page and I get a new url with #post-number. Then I can type in the box and it works every time.
When I login as the user (and there are a few of them having this issue), when I click the cursor into the box nothing happens. no page load, no #post-number appears. Then when I hit submit the page just goes back to the main forum page.
February 23, 2018 at 6:04 pm #270998angrywarrior
ParticipantRight thanks @derrickhall.
So is there any Buddypresss admin/dev that could jump in and help out with how to disable that?
It´s really a privacy concern and issue because groups are somewhat a private entity and updates should stay inside the groups themselves and not be spammed in the general forums update stream.
Thanks!
February 23, 2018 at 5:32 pm #270997In reply to: @mention autosuggest in visual editor
Robin W
ParticipantI know this is an old thread, but I can’t get your excellent code working for tinymce on topic/reply front end.
Works fine in tinymce on backend, Works fine for textarea on front end, but not timymce on front end. I need it working on frontend in forums.
Is there a more up to date version that works with current bp and bbp, or do you have any ideas how to get it working.
the code I am using is
/** * Enable at-mention autocomplete on BuddyPress group forum textareas. */ function my_enable_mentions_in_group_forum_textareas( $retval ) { $bbpress = false; // Group forum reply. if ( bp_is_group() && 'topic' === bp_action_variable() && bp_action_variable( 1 ) ) { $bbpress = true; } // Group forum topic. if ( bp_is_group() && bp_is_current_action( 'forum' ) ) { $bbpress = true; } // Do stuff when on a group forum page. if ( true === $bbpress ) { $retval = true; // Ensure at-mentions autocomplete works with TinyMCE for bbPress. add_filter( 'tiny_mce_before_init', 'cac_enable_mentions_in_group_forum_tinymce', 10, 2 ); } return $retval; } add_filter( 'bp_activity_maybe_load_mentions_scripts', 'my_enable_mentions_in_group_forum_textareas' ); /** * Ensure at-mentions autocomplete works with TinyMCE for bbPress. * * @param array $settings An array with TinyMCE config. * @param string $editor_id Unique editor identifier, e.g. 'content'. * @return array $mceInit An array with TinyMCE config. */ function cac_enable_mentions_in_group_forum_tinymce( $settings, $editor_id ) { // Add bbPress' editor IDs to enable BP mention autocomplete. if ( 'bbp_topic_content' === $editor_id || 'bbp_reply_content' === $editor_id ) { $settings['init_instance_callback'] = 'window.bp.mentions.tinyMCEinit'; } return $settings; }February 21, 2018 at 9:49 pm #270961In reply to: Users can’t reply to forum
David Cavins
KeymasterYou might try the bbPress support forum for more specific help. https://bbpress.org/forums/
February 20, 2018 at 10:10 pm #270932In reply to: Buddypress Group Extension API Not Working
ethanstein
ParticipantYes, definitely helpful. Any idea how to implement the solution within the groups index page as a bulk option as oppose to having to go into the individual group?
I tried using wordpress’s bulk admin similar to the example pertaining to load-users.php, but it isn’t working.
add_filter( 'handle_bulk_actions-toplevel_page_bp-groups', 'add_bpgroups_to_bpgroup', 10, 3 ); function add_bpgroups_to_bpgroup($redirect_to, $doaction, $group_ids) { trigger_error($doaction); trigger_error($redirect_to); if( bp_is_active('groups') ): if ( $doaction !== 'assign_parent_group' ) { return $redirect_to; } trigger_error(print_r($group_ids,TRUE)); $redirect_to = add_query_arg( 'groups_assigned' , implode(',', $group_ids) , $redirect_to ); endif; return $redirect_to; } add_filter( 'bulk_actions-toplevel_page_bp-groups', 'register_bulk_assign_parent_action' ); function register_bulk_assign_parent_action ($bulk_actions) { $bulk_actions['assign_parent_group'] = __( 'Assign Parent Group', 'assign_parent_group'); //form submission add_action( 'admin_footer', function() { ?> <script type="text/javascript" charset="utf-8"> jQuery("#doaction").click(function(e){ if(jQuery("select[name='action'] :selected").val()=="assign_parent_group") { e.preventDefault(); gid=prompt("Enter a Group ID","1"); if (gid != null) { jQuery(".wrap form").append('<input type="hidden" name="bp_gid" value="'+gid+'" />').submit(); } } }); </script> <?php }); return $bulk_actions; } add_action( 'admin_notices', 'bulk_assign_parent_action_admin_notice' ); function bulk_assign_parent_action_admin_notice() { if ( ! empty( $_REQUEST['groups_assigned'] ) && ! empty( $_REQUEST['assigned_group'] ) ) { $groups_assigned = $_REQUEST['groups_assigned'] ; $parent_id = $_REQUEST['assigned_group']; $parent_group = groups_get_group($parent_id); if ($parent_group->id == 0) { printf( '<div id="message" class="error">Unknown group ID %s</div>', $parent_id); return; } $group_ids = explode(',' , $groups_assigned); foreach ($group_ids as $group_id) { $group = groups_get_group( $group_id ); if (false === groups_edit_group_settings($group_id, $group->enable_forum, $group->status, false, $parent_id )) { printf( '<div id="message" class="error">Failed to add group %s to %s.</div>', $group->name, $parent_group->name); break; } } printf( '<div id="message" class="updated fade">Successfully ' . _n( 'assigned %s group', 'assigned %s groups', $groups_assigned, 'assign_parent_group' ) . 'to %s</div>', $groups_assigned, $group_name ); }It fires the
add_filter( ‘bulk_actions-toplevel_page_bp-groups’, ‘register_bulk_assign_parent_action’ );correctly but seems to completely ignore
add_filter( ‘handle_bulk_actions-toplevel_page_bp-groups’, ‘add_bpgroups_to_bpgroup’, 10, 3 );
Any ideas?
February 19, 2018 at 8:18 pm #270894starvoters1
ParticipantAfter posting this, I found CSS that works to remove the menu items, if it helps anyone else.
https://premium.wpmudev.org/forums/topic/how-to-customize-or-delete-buddypress-standard-menus
For the site CSS I set:
a#user-notifications {display : none !important}
a#user-invite-anyone {display : none !important}
a#user-settings {display : none !important}February 18, 2018 at 10:51 am #270845In reply to: Remove rel=”nofollow” for admin only?
jameshh93
ParticipantOr if not how can I just turn off the rel nofollow for all users then?
Posted on Bbpress forums and looks as though the solution provided their for getting rid of nofollow seem to get ignored when buddypress activated see link to forum thread
February 15, 2018 at 1:17 pm #270802In reply to: Searching within a PRIVATE Group Forum
Venutius
ModeratorHi there,
Are you searching as a none-member of the group using the search bar of the forums page?
That’s what I just tried and I could not see the content of hidden forums.
February 6, 2018 at 10:24 am #270601In reply to: Group Forum Permalink Structure
Abolfazl Ahani
ParticipantThanks Paul
I hope you are doing well.
- I read this topics: https://bbpress.org/forums/topic/change-the-permalink-of-topics-from-name-to-id-bbpress-plugin/ and according to JJJ, future versions of BP will use proper rewrite rules.
- I also followed the BP trac and found ticket 4954, it seems this ticket is awaiting contributions.
There is still no sign of this long-awaited enhancement.
Best Regards
February 4, 2018 at 5:06 pm #270571In reply to: Group Forum Permalink Structure
Paul Wong-Gibbs
KeymasterIf you’ve found a way to change the permalinks directly via bbPress (the /forums/ permalinks), then you know the plugin’s worked. If they’re not working for the permalinks on the Groups Forum screen, you’re probably out-of-luck.
Unfortunately, most of the permalinks through BP are hardcoded and are very, very tricky to customise.
February 4, 2018 at 5:03 pm #270570In reply to: Create a forum of WordPress site?
Paul Wong-Gibbs
KeymasterIf you want a traditional forum, you want to use bbPress not BuddyPress. See https://bbpress.org.
February 3, 2018 at 6:34 pm #270563In reply to: This forum is impossible
David Cavins
KeymasterKeep in mind that BuddyPress is developed and supported by an all-volunteer community.
If you are in need of more specialized help or more immediate help than this forum can provide, I’d recommend that you develop a business relationship with a local WP developer. Any WP developer who understand the filters/actions approach of WordPress will be able to develop for BP.
February 2, 2018 at 10:04 pm #270551In reply to: Register Not Working (Logged Out)
iesbakersfield
ParticipantAccidentally put under this forum, cant move it.
February 2, 2018 at 3:54 am #270538In reply to: Sub-forums inside a group?
Scott Hartley
ParticipantActually, I believe this is in the correct space.
Currently, my understanding is in BuddyPress we are making an association between the forum that you add during the setup screen and then retrieving the topics of the associated forum.
Which means this is, in fact, a BuddyPress issue. However, I don’t know how much of an issue this is because while subforums are possible within bbPress, the implementation in BuddyPress has no way to add Subforums (or to even create a forum as a category for that matter). This simply means the use case would only be those who have an administrator level and can create those from the backend.
February 2, 2018 at 2:01 am #270537In reply to: Sub-forums inside a group?
Andrew Tegenkamp
ParticipantI cross posted at https://bbpress.org/forums/topic/sub-forums-inside-a-group/ since this is that area where they work with each other, but any guidance even on where to get started to develop this as an option or feature is certainly appreciated.
Thanks.
February 1, 2018 at 5:58 pm #270523In reply to: Sub-forums inside a group?
Venutius
ModeratorHi,
This is a bbPress question, you need to ask on their forums.
January 31, 2018 at 8:32 am #270479In reply to: [Resolved] Change Order by (Groups –> Documents)
ulrich.stettler
ParticipantThanks, I’ll post it also on the BuddyPress Grpoups Forum, this could also be marked as solved.
January 31, 2018 at 8:26 am #270478In reply to: [Resolved] Change number of Viewing item (Groups)
ulrich.stettler
ParticipantThanks for the information, I posted the question in the BuddyPress forum, so it can be marked as solved.
January 31, 2018 at 7:19 am #270477Venutius
ModeratorThat behaviour must have changed since last time I tested it. You should ask in the forum for the plugin
January 30, 2018 at 9:02 pm #270468Shashi Kumar
ParticipantHi @ngoegan
Above code is working fine on my install. I am not facing a redirection issue on forum page. If you closely watch the code there is an if statement which checks if we are on register page.
You can do a few things
1. Clear your cache if using a caching plugin.
2. Clear your browser cookies and check
3. Go to settings > permalink and re save
4. Change to default theme and deactivate all plugins except bbpress and buddypress and place the code in theme’s functions.php file and check
Happy Debugging 🙂January 30, 2018 at 7:51 pm #270467ngoegan
ParticipantOh no! I’m having redirect issues again 🙁
My Events Page (The Events Calendar plugin) and My Forum Page (bbpress) are both redirecting to the Activity page now. All others are fine – groups, members, etc.
I tried re-setting them in the navigation menu, I tried disabling plugins, I’m not sure why your code is causing pages other than ‘register’ to re-direct to activity?
January 30, 2018 at 5:57 pm #270464In reply to: PHP 7.0 en 7.1 update needed, site is slow
David Cavins
KeymasterrtMedia is a plugin of its own and not a part of a standard WordPres install. Check out their support forum here:
January 30, 2018 at 11:47 am #270439Shashi Kumar
ParticipantHi @ottiya
Adding an author box after post which displays author bio need a different approach. I can not explain in this forum as it involves certain difficulties. But, I have written a tutorial on how to add author box below post with author bio. Kindly check and if you need help kindly ask.
Thanks -
AuthorSearch Results