Search Results for 'buddypress'
-
AuthorSearch Results
-
October 19, 2016 at 3:01 am #259973
In reply to: Very Important Features For BP
modemlooper
Moderator* Please refrain from @ mentioning specific users in the topics.
Most of these are plugin territory. The great thing about WordPress and BuddyPress is the nature of plugins and being able to choose the functionality you need to create a custom user experience.
October 19, 2016 at 12:33 am #259971In reply to: @mention autosuggest in visual editor
r-a-y
KeymasterRan into this issue recently regarding getting TinyMCE to work on BP group forum pages.
The following code fixes this:
/** * 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 my_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; }October 18, 2016 at 10:23 pm #259970In reply to: Migrating Ning to BuddyPress
karennadine
ParticipantHello Scott,
My site is not really focused on images and videos so I did not have to export/import a lot of this, but the media I did import went well.
Comments on blogs (from Ning) were imported so I guess this could work out well for comments on photos/videos as well. The only thing is whenever you have a lot of media content it will take some time to export.
You just would give it a try to see how it works out. I took the following steps:
Installed WP
Installed Buddypress
Installed BBPress
Downloaded the Ning Export tool (http://www.ning.com/help/?p=5219) and started exporting
Downloaded and installed Import from Ning tool https://wordpress.org/plugins/import-from-ning/I used ftp to upload the Ning files, to avoid errors I did this step by step (not all content at once).
Good luck with it!
October 18, 2016 at 10:23 pm #259969In reply to: the_ID = 0
danbp
ParticipantA partial explanation about “why”can be found here:
https://buddypress.trac.wordpress.org/ticket/6230#comment:11October 18, 2016 at 9:52 pm #259968In reply to: the_ID = 0
shanebp
ModeratorThe id is zero due to the way BP constructs those pages.
The how and why is a long answer – you may want to look at the codebase to see the how.In any event, you will not be able to change that.
Your best bet is to add tothe display conditions the user has set.Perhaps…
Give them an option to select the Groups Directory page.
Then usebp_is_groups_directory()to check if they are on that page.Or maybe specific single groups.
Then check to see if they are on a single group page by usinggroups_get_current_group().So the basic approach is to use template tags to find out where the user is and then show or not show an ad based on the
the display conditions the user has set.October 18, 2016 at 9:35 pm #259966In reply to: Very Important Features For BP
Henry Wright
ModeratorI know that Buddypress is a good growing project, but, needs very Important Native (by Default) features.
Not everyone will want the features you mention. The idea is to keep things as simple and bloat-free as possible. The plugin system will allow you to add features specific to your business needs.
October 18, 2016 at 9:28 pm #259963In reply to: Very Important Features For BP
livingflame
Participant——>>>> Notes:
* Add for Members template: Online Now. Yes, Bp has: Last Active, Newest and Alphabetical, but ONLY for a Widget > Online Members. Please! Add this for Page too, with Indicator (green point for online, blue for newest and gray for offline).
13 * Buddypress Preview Links (from Youtube, Tumblr, Vimeo, PDF, Docs, GIF too…)
* Buddypress Message with Attachments (jpg, png, mp3, mp4, doc, txt, pdf –– links: a small preview. Internal function like Facebook).
From Bp Opt. Panel you can Enable or Disable what Attach you want for you site.
14. Buddypress Social Media (links and share buttons, yes, like Blogger has!)
* Buddypress More Customizable > My Own Photo Album (you Enable this for: A part for the Cover, for a Widget. Example: https://goo.gl/KVOs4Z or like Twitter –> here Look at > Cover, Info Position, Photos, etc. https://twitter.com/ezramillerfans ).
@johnjamesjacoby
@djpaul
@boonebgorges
@imath
@mercime
@hnla
@tw2113October 18, 2016 at 9:26 pm #259962In reply to: Members showing
shanebp
ModeratorYou mean you’re using this
[bp_members]as a shortcode?
BuddyPress does not provide that shortcode, afaik.
So, you are using some plugin that provides that shortcode.
You need to pose your question the the author of that plugin.October 18, 2016 at 2:17 pm #259946danbp
ParticipantYou can add such a link very simply to your main menu by using the menu customizer:
http://example.com/members/me/Read: https://buddypress.org/support/topic/dynamic-profil-link/#post-259834
October 18, 2016 at 11:45 am #259944Henry Wright
Moderatorbp_core_get_user_domain( $user_id )will output something like http://example.com/members/andy/Note:
1. You will need to get
$user_idbefore hand. How you get that will depend on the page you’re viewing on the site. This article will explain more:2. To append ‘activity’ to the URL, you can use a period
.For example
bp_core_get_user_domain( $user_id ) . 'activity'will output something like http://example.com/members/andy/activity3. To wrap that URL in mark up
<a href="<?php echo esc_url( bp_core_get_user_domain( $user_id ) ); ?>"><?php esc_html_e( 'Text', 'text-domain' ); ?></a>October 18, 2016 at 11:27 am #259942In reply to: Group Types option display
Henry Wright
ModeratorInstead of filtering ajax_querystring, how about using bp_parse_args()?
Ref https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-groups/bp-groups-template.php#L431
October 18, 2016 at 8:26 am #259940danbp
ParticipantAs already said: it’s constructed.
The site url is defined in WP general settings and stored in wp_options table
The user name is stored in wp_users table
For the other questions about DB, read:October 18, 2016 at 8:21 am #259939In reply to: Group Types option display
danbp
ParticipantNothing ! I can sort them, but i was unable to assign them correctly. Whatever i tried until yet, didn’t work. It’s like the default group filters keep precedance. My feeling about group type, is that it is implemented to be used inside of group create step first and in a single group as second. In brief, it’s an information for single groups.
Also, this curious slug (groups/groupname/type/typename/) applied to the group type name showing up on a group header. This pseudo ‘type’ sub-page is used to display a directory of groups using the same type. But this directory isn’t the site group directory !
Despite this, the default group nav menu is also on that page. And when you click for example on All Groups (the default group directory page) you remain on /groups/groupname/type/typename/. Bad UX !That’s what i discovered after unpacking 2.7 RC2. I opened a ticket and Ray patched it a few hours later. Seems to resolve partialy that specific menu problem, but for the moment it’s only a patch and a bug- not the final solution.
Now, add to that issue, the fact that the group directory is ajaxified, that groups sort options have apparently priority whatever you add as custom option and also the (imho) complex way
groups_get_groupsapplies his filters is far away from what i’m able to do. The mangle of doc and use examples related to types is also an obstacle.There is most probably a filter missing. The question is: what, how and where to apply it. Do we use
bp_ajax_query_stringorgroups_get_groups? Or both or something other ?That said, my low php knowledge is probably the first obstacle. 😉 If you have a brilliant idea to surround this, don’t hesitate to share.
I you want i can send you a copy of what i’m trying to do, bundled as plugin.October 18, 2016 at 2:02 am #259930In reply to: Add BuddyPress User To Cart in WooCommerce?
Renato Alves
ModeratorI’m working on something very similar to the scenario you just described. Here is an idea it might work for you:
You could add/associate the contractors/user IDs with the WooCommerce cart. It would allow severals contractors to be associated with the same WooCommerce order/cart.
Here is a possible workable model.
– Add a project as a product;
– Add BuddyPress profile users IDs to the product in the cart;
– With the user IDs, you would fetch the users information to show their details;
– Go to the cart/checkout process as normally you would;
– Hook in WooCommerce to send the order but not charge it yet;
– Send the job to the contractor/user;
– Contractor accepts the job, hook in your payment gateway to perform the charge;
– Contractor performs the job as suggested/described by you;
– After job delivered by the contractor and accepted by the customer.A friend suggested I should consider using WooCommerce Pre-Orders.
October 17, 2016 at 4:30 pm #259909In reply to: Cannot get Registration / Login to work
danbp
ParticipantUsually, when the BP pages are “empty” it’s because you omitted to set the permalinks or because you assigned them a template model. BP pages shoud stay empty ! Just a title and nothing else.
October 16, 2016 at 11:42 pm #259898In reply to: Migrating Ning to BuddyPress
karennadine
ParticipantI have moved my site from Ning to Wp/Buddypress with a bbpress integration a few weeks ago. I was able to import a lot of content except the forum topics/responses.
What I did was this:
– used the export tool from Ning
– used the import tool to import ning to Buddypress
All my members (not that many, around 34 at that time) and their profiles, usernames, etc were transferred. All blogposts from Ning were imported as well.
It was easy for members to activate their account on my new Wp/Buddypress site.The only down thing was that I had to manually copy topics and responses from the forum since I was unable to import this due to an error in the json file. I tried to repair that file but with no succes.
I hope this helps, should you have any questions please let me know. Like you I browsed many old topics and was unable to find any recent topics, so I just started out with trail and error to do it all myself.
Karen
October 16, 2016 at 11:30 pm #259896lesanis
ParticipantHi again,
I found a way to achieve that…I made a copy of home.php inside my header.php but now
1) User’s name is not appearing above the cover image inside theme’s header
2)Buddypress tabs and cover image are appearing in every page..Do you think that there is a way to fix these 2 issues?
October 16, 2016 at 11:13 pm #259893In reply to: Removing ‘This is a notice to all users’
shanebp
ModeratorOnly members with the capability ‘bp_moderate’ will see that checkbox option.
And only site administrators are given that capability.
So unless you have a plugin that gives that capability to other members, nobody else can see that option. To check, log into your site as a non-admin.If you still want to remove it, create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.php
In your overload, remove this:<?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?> <p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", 'buddypress' ); ?></label></p> <?php endif; ?>October 16, 2016 at 9:33 pm #259891In reply to: Please, Help Me!
Venutius
ModeratorIf you go to Customize>>menus you will see there are buddyPress pages there you can add to menus, but these are the user specific menu items i.e. My Activity etc. To add the global pages you just need to create a link to the page in question, i.e. http://www.yoursite.com/activity
October 15, 2016 at 8:02 pm #259865In reply to: setting a default cover image
Ariful Alam Tuhin
ParticipantHello @atfpodcast,
Please, check -> https://codex.buddypress.org/themes/buddypress-cover-images/Regards
October 15, 2016 at 10:01 am #259856In reply to: Updated WordPress
Henry Wright
ModeratorThe most recent version of BuddyPress should work with the most recent version of WordPress. Can you describe the problem you’re seeing?
October 15, 2016 at 10:00 am #259855In reply to: How to customize buddypress profile page?
Henry Wright
ModeratorThe BuddyPress template hierarchy will help you customise your site’s pages. Check out this article:
October 15, 2016 at 12:31 am #259848In reply to: Where is BUddypress Member Profile Link?
Brajesh Singh
ParticipantHI,
Please visit Dashboard->Appearance->Menus and from the SCreen Options(Top right link), you can enable “BuddyPress”.Once you have checked it, A section named “BuddyPress” will appear under Pages. You can select the link/customize it for various profile links there.
Hope that helps.
October 14, 2016 at 2:51 pm #259835In reply to: How to Restore a deleted Group
Paul Wong-Gibbs
KeymasterNo, I’m afraid not. Nothing in BuddyPress has “trash”-like behaviour, allowing easy restores (to be honest, some of the extended profile stuff does but it’s a bit obscure to understand how that works). 🙁
You’d need to restore the appropriate data from the wp_BP_groups, wp_BP_groups_groupmeta, wp_BuddyPress_groups_members tables, from a database backup.
October 14, 2016 at 1:02 am #259825In reply to: BuddyPress Emails Not Sending
bcanr2d2
ParticipantUpdate – issue is with Bluehost, I am using Postman SMTP, and changed to the Google GMail API and all is well with BuddyPress emails again.
-
AuthorSearch Results