Forum Replies Created
-
In reply to: Grouping similar activity items?
If you have an activity like User A rated Movie A with 9/10, means that you use a rating plugin or similar system. This isn’t part of BuddyPress.
You have probably better to ask this plugin author for an improvement or a new feature.
Might this even be something to add to the core?
Don’t think that such a big count of grouped activities would be appreciated, as such an improvement could dramatically slowdown a site.In reply to: I cannot change the text on the Registration Pagehi @tac28,
as you’re a first timer, i would suggest that you read attentively the Codex, and try to understand how BuddyPres works.
I am using a child theme based on Headway Base and have no need of a bp theme.
You can use any theme you want with BuddyPress.
Modifying the registration page is explained here.
xProfile fields settings is explained here.
In reply to: Individual blogs for each memberPlease don’t jump into old threads.
Open yor own and give details about YOUR issue.Closing this topic as initial question was answered multiple times.
In reply to: Nested a tag in a tag notificationsThe notice area doesn’t allow html usage, by default. It’s a short (raw, unstyled)message tool, not a post editor.
If you add an url, you simply copy/paste it into the area. There is no need to built an extra href, BP will convert it automatically as clickable link.Don’t use:
<a href="http://nvdaforum.niceguys.eu/vb.jpg">My link</a>
Just paste:
http://nvdaforum.niceguys.eu/vb.jpgand all went well (normally). 😉
no i haven’t register on your site.
i noticed that BP is not declared as usual. Have you set it up correctly ? Has each active BP component a dedicated page ?
Are pretty permalinks enabled ?
Do you use a child theme ?
Have you some custom function in your theme functions.php or bp-custom.php ?i’m also wondering what this pm is:
pm is not defined (index):1095(anonymous function)This page works for me: http://focallocal.org/register/
have you tested with another theme ?
If you use a cache, clear it and deactivate also the landing page plugin.There is also a html error in a menu who can disturb js.
<div class="menu-focallocal-3-container"><ul id="menu-focallocal-4" class="menu"><option value="http://focallocal.org">Home</option></li>In reply to: BuddyPress won't take in new registers@focallocal, please don’t double post.
Answered here: https://buddypress.org/support/topic/register-broken-page-refreshes-seen-problem-posted-often-but-no-solutions/In reply to: Help with CometchatHi @kgumhiok,
you say nothing about what you want to do ! And you use a premium plugin which is not part of BuddyPress. Sorry but i’m afraid we can’t help you. Ask eigther on plugin support.
In reply to: Buddypress preventing registrationIt’s probably because you’re using WP New User Approve which may not work with BuddyPress. See author comment and check the recent update changelog. BP problem seems not be solved yet.
Deactivate the plugin and give a try.Or consider perhaps this plugin.
In reply to: How to 'hide' group creation steps ?hi @ahd904,
behind your tech question, two things need some clarification at least.
First:
I just want to hide some of the group creation steps as these might make the users think too complicated to join the community.
Register process doesn’t include group creation, nore joigning a group, so i guess you are thinking about a problem that doesn’t exist at this stage.
If you allow your users to create groups, they have to follow the 3 creation steps, because it is intended so in BuddyPress. Thinking that this might be to complicated, implies that you think that your users are not able to do this. Mabe you’re right, but maybe not. Anyway in this case, simply deactivate group creation for users and create users groups yourself.
Assuming that you don’t think it’s too complicated for the user to click on “join group” ! 🙄As @bphelp said with reason, what your question implies needs some extra coding and much more as a simple snippet. You can do many things with BuddyPress, but not everithing or anything. 😉
Second:
Core simplification is a hard work (see Trac), so don’t expect that your goal could be reached easily, as BP will never be a “one click” tool. IMO this plugin is already very easy to use as is.That said, you could imagine your project differently and perhaps apply another strategy.
For example, the ability for users to join automatically a group at registration. 2 plugins can do that actually.- This one allows a new BuddyPress user to select groups to join during the registration process. You create the group, user choose his group.
- This one create a new Group when a new user sign up. But what will happen when you have 50 registration by day, spammers included ?
In both case, pros and cons have to be considered.
if you love the snippets and sweat on your site, here are two other options.
- Snippet: automatically add new user to a group
- Snippet: allow new user to be auto joined to groups you select from the admin (from core dev @imath). Explanation in french, coded in english – of course ! 🙂 )
codex is your friend !
To limit the # of members or groups, you can modify your template. Respectively the members-loop and the group-loop.https://codex.buddypress.org/type/loop/
Members: https://codex.buddypress.org/developer/loops-reference/the-members-loop/
Groups: https://codex.buddypress.org/developer/loops-reference/the-groups-loop/In reply to: Nested a tag in a tag notificationshi @bjusters,
it’s a bit unclear. Do you really have an issue or is it only esthetic ?What is your theme ?
Can you share an URL or a screenshot please ?See here for ref:
https://codex.buddypress.org/buddypress-components-and-features/notifications/hi @flickchicks,
take example from the TOS at the bottom of this page. But you probably have to inquire for something more accurate with the dutch law, depending your project.
https://buddypress.org/support/topic/accept-site-terms-and-conditions/
http://wordpress.stackexchange.com/questions/81935/add-first-name-last-name-date-of-birth-and-terms-and-conditions-to-regit is not intended by default. bbPress use a simplified version of tinyMCE and image upload are not included, for security reasons. Allowing forum users to access the media library of all your site is probably not what you want…
To the above mentionned plugins, there are also BuddyDrive and MediaPress, a new plugin who permit any user to upload media files (photo, audio,video,doc) to his profile page, that way it is very simple for each subscriber to share his stuff, even on the forum, by just giving a link to his media gallery.
In reply to: Club Listing database incorporationthere is only one user table on a WP/BP install, and this table is controlled by WordPress.
Extended profile information (like club & there details) are controlled partially by BP and are stored in the 4 xprofile tables.
To import properly, you have to adjust the old tables structure to the new one first. As you tell nothing about the old db from another site (wp, joomla, postgres, excel,… ?) i can’t say much you more for the moment.
Anyway, you have to built a import file in CSV or Sql format and probably have to accomplish a long handwork to import.
Here’s a ressource to help you build your import query:
As BP is “only” a plugin and your question not specific to it (DB belongs to WP), you will find much more informations around importing datas on the WordPress Codex.
https://codex.wordpress.org/Importing_Contenthere’s a working snipppet found on WPMUDev which add a show/hide comments button above each activity item.
To see the button you must enable “allow blog and forum comments” in BP settings.
Add the script to bp-custom.php or child theme functions.phpadd_action( 'wp_footer', 'add_comment_hide_show' ); function add_comment_hide_show() { ?> <style> .single-group .activity-comments ul{display: none;} </style> <script type="text/javascript"> jQuery(function($) { setInterval(function() { $('.activity-meta').each(function() { if( !$(this).find('.show-comments').length ){ var html = '<a href="#" class="button bp-primary-action show-comments">Show/Hide Comments</a>'; $(this).find('.button.acomment-reply').after(html); } }); }, 500); $('body').on('click', '.show-comments', function(e) { e.preventDefault(); var obj = $(this).closest('.activity-content').next('.activity-comments').find('ul'); obj.slideToggle(); return false; }); }); </script> <?php }In reply to: [Resolved] Disable @mentions (links) completelyyou’re welcome ! 😉
In reply to: [Resolved] Disable @mentions (links) completelyNo the above code doesn’t disable @-mentions in bbpress
You use this filter for bbPress topics:
add_filter( 'bbp_find_mentions', '__return_false' );hi @mahdiar,
searching forum before asking a question brings this:
https://buddypress.org/support/topic/how-to-hide-activity-stream-comments-for-long-list-comments/In reply to: Custom post video sharesee if the brand new MediaPress plugin can be a solution for you.
In reply to: Redirect if not logged in and not on register pagetry without space:
if ( !is_user_logged_inIn reply to: Missing Media TabIn reply to: Incorrect activity timehi @tiger007xy
Have you tested with one of the wp theme (2012,2013….) ?
In reply to: bp_has_members not working after updateHere’s a snippet to filter members list based on profile field.
Remove your custom members-loop file first and revert to default one.
The example use field ID 62 with value = public
The field is called Privacy in xProfile and use a selectbox field type who shows 2 options: private and public.You’ll probably also have to remove, or to conditionnally show, the top navbar, search box, etc in the template (childtheme/buddypress/members/index.php)
Add this snippet to bp-cutom.php.
class BP_Custom_User_Ids { private $custom_ids = array(); public function __construct() { $this->custom_ids = $this->get_custom_ids(); add_action( 'bp_pre_user_query_construct', array( $this, 'custom_members_query' ), 1, 1 ); add_filter( 'bp_get_total_member_count', array( $this, 'custom_members_count' ), 1, 1 ); } private function get_custom_ids() { global $wpdb; // collection based on an xprofile field $custom_ids = $wpdb->get_col("SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 62 AND value = 'Public'"); return $custom_ids; } function custom_members_query( $query_array ) { $query_array->query_vars['include'] = $this->custom_ids; } function custom_members_count ( $count ) { $new_count = count( $this->custom_ids ); return $count - $new_count; } } function custom_user_ids( ) { new BP_Custom_User_Ids (); } add_action( 'bp_before_directory_members', 'custom_user_ids' );Props @shanebp (tip on github)
In reply to: Redirect after signup popup?ensure first you setup correctly WP and BP before turning off something you can’t remember…
Deactivate all plugins and your theme and use Twenty thirteen to test the whole login process.You use event registration plugin. Maybe something goes wrong at this level or this plugin is not compatible with BP ?
Also, your charter page is not accessible (404), but the register page charter pop-up works.