Search Results for 'buddypress'
-
AuthorSearch Results
-
September 5, 2016 at 5:03 pm #258411
In reply to: identify code
idichoo
ParticipantHi,
well… it sound complicated to me as i am still quite confuse.
Anyway, i need to identify because i wish to change notification word in buddypress menu bar to chinese by hard coding or whatever.
Can you advise what to enter into the css or where to change it.
September 5, 2016 at 4:46 pm #258410In reply to: How to Change the From Email for Activation
steigw
ParticipantIt’s a staging site that doesn’t have public access, but I can put the code and info in here. Here is the complete code of the functions.php in the child theme. maybe I just put it all together wrong.
<?php function nisarg_enqueue_styles() { $parent_style = 'nisarg-style'; wp_enqueue_style( 'bootstrap', get_template_directory_uri().'/css/bootstrap.css' ); wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/font-awesome/css/font-awesome.min.css' ); wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'nisarg-child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) ); } add_action( 'wp_enqueue_scripts', 'nisarg_enqueue_styles' ); ?> <?php function custom_wp_mail_from( $email ) { $handle = ‘accounts’; $find = 'http://'; $replace = ''; $link = get_bloginfo( 'url' ); $domain = str_replace( $find, $replace, $link ); return $handle . '@' . $domain ; } add_filter( 'wp_mail_from', 'custom_wp_mail_from' ); ?>The email link is:http://mydomain.com/activate/JA0BvkK1Q0DND10SYegdOtkTMemhGUF0/
When I click on it immediately, I get all this:
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: ‘accounts’@mydomain.com’ in /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/class-phpmailer.php:946 Stack trace: #0 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/pluggable.php(352): PHPMailer->setFrom(‘\xE2\x80\x98accounts\xE2\x80\x99@…’, ‘WordPress’) #1 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/pluggable.php(1726): wp_mail(‘webmaster@arlin…’, ‘[My Dev Sit…’, ‘New user regist…’) #2 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-content/plugins/buddypress/bp-members/bp-members-functions.php(2031): wp_new_user_notification(18) #3 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-content/plugins/buddypress/bp-members/bp-members-screens.php(364): bp_core_activate_signup(‘JA0BvkK1Q0DND10…’) #4 [internal function]: bp_core_screen_activation(”) #5 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/plugin.php(524): cal in /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/class-phpmailer.php on line 946
If I wait a while, then I get the normal webpage and it says “invalid activation key”. I don’t understand the significance of an immediate click on the link in the email vs. waiting a few more seconds, but it definitely matters.
September 5, 2016 at 4:16 pm #258407In reply to: WP Multisite + BuddyPress
Paul Wong-Gibbs
KeymasterBuddyPress is always global to the whole network on multisite.
If you want to run multiple, separate BuddyPresses on a *multisite*, what you actually want is to set up WordPress multi-network (something like https://wordpress.org/plugins/wp-multi-network/).
This is actually complicated, and if you do not need to share users between your BuddyPresses, I’d suggest setting up multiple standalone regular WordPresses (or standalone multisites).
September 5, 2016 at 4:02 pm #258404In reply to: Activity embeds in activity stream
Stacy (non coder)
ParticipantThere’s also this option for now @binary10 if I’m understanding your request, but it’s not so automatic. https://wordpress.org/plugins/buddypress-activity-plus/
September 5, 2016 at 4:00 pm #258403In reply to: Your connection to this user
jbboro3
Participant@danbp I did not find any such string in the .pot file, this is why I had to search it manually to confirm it.. It looks like the buddypress component.. you can check in this http://imgur.com/Zc9rzVq to confirm it..
September 5, 2016 at 3:50 pm #258401In reply to: Activity embeds in activity stream
Stacy (non coder)
ParticipantThe vid explains that adding a bp activity link to a post embeds. Is embedding in the activity native yet?
What the embed scripts? like of the provider.
Would love to make this compatible , especially in the groups https://wordpress.org/plugins/iframely/
Here was my old combo to achieve this. https://wordpress.org/support/topic/plugin-oembed-for-buddypress-embedly-oembed-4-bp-all-embedly-content-in-bp-forum-yaaay/
September 5, 2016 at 1:13 pm #258393In reply to: problem with confirmation code
israelle
Participantthank you Paul @djpaul for your replay
i’m using host – http://www.hostinger.co.il its a free host for php and wordpress websites
those are the plugins in my siteClef
Limit Login Attempts
Mailgun integration for WordPress
Regenerate Thumbnails
WooCommerce
Akismet
buddypress
bbpress
wipi Hebrew theme page editor
hello doliSeptember 5, 2016 at 12:02 pm #258390In reply to: Private messaging with friend auto complete style
buddycore
ParticipantThanks, I’ve never got hold of working with core functionalities and thus I have failed miserably with some technical matters. Given there’s a lot of undocumented but feature rich functionality in BuddyPress this puts me in no mans land.
I’m looking forward to BP-Nouveau for now I will work with what’s available and what you have written here.
September 5, 2016 at 11:46 am #258387In reply to: No Fields On Registration Page After Installing
Paul Wong-Gibbs
KeymasterRight, good spot — not sure where got the
.htmlon the end of the URL from. If it’s form a menu or template that BuddyPress generates, let us know which one and I’ll try to figure out this crazyiness. 🙂September 5, 2016 at 11:43 am #258385In reply to: Private messaging with friend auto complete style
Paul Wong-Gibbs
KeymasterIf you’re referring to this https://cloudup.com/cmbgottNhQf — yes, that particular autocomplete script is awful (the other at-mention auto-complete used elsewhere throughout a site are better). Sorry. 🙁
I am not sure what you want, however. This autocomplete script is added to the screen via the
messages_autocomplete_init_jsblockfunction. If you look at jquery.autocomplete.js, maybe there’s an option you could use, or initialize it differently.A different, maybe better approach than the hell that is this 2007-era jquery.autocomplete.js script, is to replace it with the other autocomplete script we use throughout BuddyPress. I forget why we haven’t done it yet; it may just be a lack of time, or perhaps there’s some complexity I’m forgetting as I write this message.
— If this sounds interesting, let me introduce you to what we’re calling BP Nouveau — a replacement for the BP Classic set of templates. It’s not done yet for production use, but take a look at this specific function: https://github.com/buddypress/next-template-packs/blob/master/bp-templates/bp-nouveau/js/buddypress-messages.js#L524
I am 99% sure that unhooking
messages_autocomplete_init_jsblockand instead adding a copy of that JS function from BP Nouveau will switch over the auto-complete for the “Send Messages To” field. There may be further tweaks needed to make this work out-of-the-box, but it seems to work well in BP Nouveau, so dig arounds its CSS if something looks off.Hope this helps
September 5, 2016 at 11:20 am #258381In reply to: Widget doesn’t show up on Home Profile
Paul Wong-Gibbs
KeymasterDo widgets work on non-BuddyPress specific pages? Such as, a site footer or sidebar. I am trying to understand if they are broken everywhere or only broken on BuddyPress screens.
If widgets generally do work, have you confirmed that a widget that does work, does NOT show up on the BuddyPress page? If so, what widget is that? (Just need one example).
Please also let us know the names of all active plugins on your site, thanks.
September 4, 2016 at 5:59 pm #258368In reply to: Registration and activate page
isavarg
ParticipantThanks. It’s working now. I wouldn’t have thought of looking under that as it’s not in the BuddyPress settings.
September 4, 2016 at 2:55 pm #258364Henry Wright
Moderatorwp_insert_post()takes an array as its first param.post_dateis set to the current time by default so something is setting it to 0000-00-00 00:00:00.If you’re talking about BuddyPress activity items (not WordPress posts) then
recorded_timealso defaults to the current time. Again, in this case there must be something in your plugin that is setting it to 0000-00-00 00:00:00.Ref: https://codex.buddypress.org/developer/function-examples/bp_activity_add/
September 4, 2016 at 2:17 pm #258363David Cavins
KeymasterHi r083r7-
Within the same site, you could write a short code that would render the profile. Outputting profile data is pretty straightforward: https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/
One another site, I’m less sure. You’d need BP API or similar, which we’re just now writing.
Check our Bowe Codes for some other useful short codes and examples for your own: https://wordpress.org/plugins/bowe-codes/screenshots/
September 4, 2016 at 2:12 pm #258361In reply to: These field options are invalid error
David Cavins
KeymasterI really have no idea, but checking the code base, that error is thrown when a field type supports options (like a dropdown or checkbox set) and the data posted at save is unpopulated or is not an array. If you’re familiar with the developer tools in Firefox or Chrome, visit that page and submit the form, then see what the
$_POSTpayload looks like.Code reference: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php#L1074
I can’t see what moving hosts would change here, but the internet is a fragile thing. 🙂
September 4, 2016 at 2:05 pm #258359In reply to: Remove header images
David Cavins
KeymasterSince it’s theme specific, your best choice is to create a child theme and override that template part when you don’t want to see the image. (There are lots of conditional you can use, like
is_buddypress()which returns true on a BP page.)It’s extremely unlikely that there will be a plugin that changes one aspect of a specific theme.
Child themes: https://codex.wordpress.org/Child_Themes
September 3, 2016 at 10:05 pm #258356In reply to: 2nd Registration form
danbp
ParticipantWhich plugin did you use for the 2nd register page ?
WP need for any user, a username, an email and a password. That’s mandatory even if you have 2 or 50 register page.
If you use only BP’s default register page and add a select box where you can choose Teacher or Student, you can afterwards give teachers a role of editor. That’s do able with built-in member_type
Also, depending the role with help of conditionnal field plugin, you can show fields for teachers only, for students only or both.
Another solution would be to add manually the teachers directly from within the admin. Usually, a school has less teachers as students. This shouldn’t be to difficult to add 10 or 20 teachers. This can also be handy as you can give them a lower capability (ie author) and attribute “editor” to only one or two of them, which will be in charge of students registering and dispatching. So in fact, only students have to register from front-end.
Another alternative would be to use what’s described here.
September 3, 2016 at 3:10 pm #258340In reply to: Conflict between memberships paid pro and plugins
danbp
ParticipantHi !
BPB was made for BuddyPress, not to fit all existing membership plugins, especilly for premium plugins whose code is not public. If you need a feature related to paid membership pro, you have to ask this plugin author how to do this. I’m the author of BPB, but can’t help you for this. Sorry !
September 3, 2016 at 12:24 pm #258336In reply to: [Resolved] Front-End Visual Editor Options
danbp
ParticipantHi,
this question is not related to BuddyPress as it seems you use Events Manager to let your members add events. Accordingly to plugin’s demo, you’ll probably have such a page.
From what i see on demo, the visual editor is the one used by WordPress. Read on WP Codex how to customize TinyMCE and use wp-editor function.
Maybe you could use this plugin to your advantage ?
September 3, 2016 at 8:34 am #258330In reply to: Activities
danbp
ParticipantHi @mei-ling,
you have to filter the activity content. See here how to do that:
https://buddypress.org/support/topic/filtering-bp_get_activity_content_body-bp_get_activity_secondary_item_id/September 3, 2016 at 4:52 am #258328In reply to: buddypress settings no save option
EMar
ParticipantI just diactivated all plugins, then installed BP again, still no save button.
Using chrome to inspect elements for BuddyPress Settings page:
http://www.site.com/main/wp-content/themes/music/musicband/events/css/jquery-ui-timepicker-addon.css Failed to load resource: the server responded with a status of 404 (Not Found)
load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=4.6:9 JQMIGRATE: Migrate is installed, version 1.4.1
http://www.site.com/main/wp-content/themes/music/musicband/events/css/jquery-ui-timepicker-addon.css Failed to load resource: the server responded with a status of 404 (Not Found)September 3, 2016 at 12:32 am #258325In reply to: Registration and activate page
September 3, 2016 at 12:24 am #258323In reply to: No Fields On Registration Page After Installing
danbp
ParticipantHi,
On your Toolbar you have the correct link to the correct register page !
http://www.nyfertility.org/register/ (which is not blank at all !) 😉Note that WP/BP use mostly php files. Searching for
file-name.htmlbrings generally nothing else as blank pages.When you create a page or use one of BP pages, edit the page and get the permalink (underneath the page title), so you be sure to have the correct path to it.
Other advice ? 🙂 Hum… read the documentation!
September 3, 2016 at 12:13 am #258322In reply to: How to Change the From Email for Activation
danbp
ParticipantHi,
i would use a cleaner code like what is indicated here.
WP function references
wp_mail_from
wp_mail_from_nameBP function references
bp_core_email_from_name_filter
bp_core_email_from_address_filterNB: please use the
codebutton when you insert code on this forum.September 2, 2016 at 3:48 pm #258315ico33
ParticipantI changed the theme as suggested. Nothing to do. If I create a discussion (bbpress), it is shown in buddypress activity. If I delete the discussion from the forum, it is still present in activity, but oviously clicking on it it shows 404 error page not found.
Any Idea?
-
AuthorSearch Results