Search Results for 'wordpress'
-
AuthorSearch Results
-
October 22, 2014 at 11:25 am #222382
In reply to: Scroll down user profile page 2
danbp
Participanthttps://codex.wordpress.org/WordPress_Menu_User_Guide
As part of a wordpress plugin, BP menu use the same technique.October 22, 2014 at 8:38 am #222370In reply to: BP conflict with other plugins
danbp
Participanthi @gatera,
It’s only a PHP notice, and harmless in regard of a PHP Warning message. Apparently, your plugin is not completely compatible with BuddyPress or at least called to early or something like that.
You must debug your install.
https://codex.wordpress.org/Debugging_in_WordPressMore about bp_setup_current_user function
https://buddypress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly/?view=all#post-186116
https://buddypress.trac.wordpress.org/ticket/4830File ref: buddypress/bp-core/bp-core-dependency.php
Documented function: http://oik-plugins.eu/buddypress-a2z/oik_api/bp_setup_current_user/October 22, 2014 at 8:24 am #222366In reply to: BP conflict with other plugins
Paul Wong-Gibbs
KeymasterThanks @gatera! It might just be reflecting a problem in the other plugin, but I’ve created a bug report for BuddyPress and we’ll look into it sometime to see if it’s our fault or if there’s something we could be doing better. Thanks for letting us know:
October 22, 2014 at 6:51 am #222362In reply to: wp-admin blank page
giggio
ParticipantWhich setups? … WordPress is 4.0, BuddyPress is 2.1.1. The site is pokerspirit.net … When I try to enter in my wp-admin when BuddyPress plugin is active there is a message: “Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /users/user/public_html/wp-includes/widgets.php on line 720”. When BuddyPress plugin is deactivated wp-admin works.
October 21, 2014 at 5:00 pm #221409roddaut
ParticipantI keep everything up to date when WordPress says something needs to be updated. So I don’t know when the last update was made to Canvas. I do not use child-themes. I have not tried the Twentysomething theme. Since the problem was happening in the dashboard itself I thought the theme might not be the issue. I’ll check though just to be sure. Thanks for the suggestion.
October 21, 2014 at 3:02 pm #221400In reply to: BuddyPress won't take in new registers
DIYWWF
ParticipantAfter lots of searching I finally got round the problem of BP/WP not taking you to the registration page by adding the following file into wp-content/plugins/
bp-custom.php
<?php
/**
* Disables BuddyPress’ registration process and fallsback to WordPress’ one.
*/
function my_disable_bp_registration() {
remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );
remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ );
}
add_action( ‘bp_loaded’, ‘my_disable_bp_registration’ );add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”);
function firmasite_redirect_bp_signup_page($page ){
return bp_get_root_domain() . ‘/wp-signup.php’;
}This dispenses with BP’s registration system and falls back to the standard WP registration.
October 21, 2014 at 1:15 pm #221396ideasdesigninc
ParticipantI actually did read the description, and saw no mention whatsoever that WP Better Emails would allow me to modify any of the BuddyPress specific emails. Or does BuddyPress just hook into WordPress’s built-in emailing system for when new users are created?
Thanks,
– YvanOctober 21, 2014 at 12:44 am #221365In reply to: [Resolved] create a link or redirect
danbp
ParticipantWhat is redirecting ? BP Redirect to Profile is not updated since over a year and many things have changed since (given to be compatible to 1.7….)
Also it was intended for:- Redirect all normal users to their profile on login
- If the admin logs in from site front page,redirect him back to front page.
- If the Site Admin logs in from site backend, i.e. using http://yoursite.com/wp-login.php, let him go to the WordPress dashboard
You didn’t answered: what is the login plugin ?
October 20, 2014 at 10:43 pm #221279In reply to: Buddypress components access to specific roles only
Henry Wright
ModeratorI’m not aware of a plugin that can do exactly that? Perhaps some of the guys on here know of one?
To do it manually, you could hook a function to
initand work from there. For example:function my_function() { if ( ! is_user_logged_in() && bp_is_current_component( 'messages' ) ) { // Current user is not logged in so don't let them see stuff. In this case, private messages wp_redirect( home_url() ); exit; } $flag = false; // Get current user info. $user = wp_get_current_user(); if ( ! in_array( 'student', $user->roles ) ) { // The current member is not a student. $flag = true; } if ( $flag && bp_is_current_component( 'messages' ) ) { The currently logged-in member is not a student and is trying to view private messaging. Let's redirect them away. wp_redirect( home_url() ); exit; } } add_action( 'init', 'my_function' );From that, you should be able to see how you can achieve what you’re trying to do without the need of a plugin.
Refs:
October 20, 2014 at 7:42 pm #220407danbp
ParticipantI wrote:
If the question is How to style the HTML of the messages (ok with a french accent, but seriously, is it so ambiguous? 🙄 ) On each WordPress plugin page, you have a description. Read it !October 20, 2014 at 6:55 pm #220399ideasdesigninc
ParticipantThanks for your response, but the link you gave me doesn’t provide instructions on how to implement the “the_widget()” function. This page does:
https://codex.wordpress.org/Function_Reference/the_widget
“This template tag displays an arbitrary widget outside of a sidebar. It can be used anywhere in templates.”
But how do I reference the “(BuddyPress) Log In” widget using this function, and which additional parameters I’m supposed to pass to it, if any?
– Yvan
October 20, 2014 at 6:39 pm #220397danbp
ParticipantOf course it’s possible and explained on this Codex page:
https://codex.wordpress.org/Widgetizing_ThemesBut before, check your theme support. Maybe there is something related to mobile device ?
October 20, 2014 at 5:55 pm #220394ideasdesigninc
ParticipantI currently have 5 different widget areas in my WordPress theme:
1) sidebar
2) footer slot #1
3) footer slot #2
4) footer slot #3
5) footer slot #4However — all 5 of these widget areas completely disappear when viewed on mobile, which means I can’t put the BuddyPress login widget in any of them. So I want to place the widget in the one area that makes the most sense — which is in the top header section (ie: header.php)
So .. is that not programmatically possible? Isn’t there a way that I can accomplish this using WordPress’s the_widget() function?
– Yvan
October 20, 2014 at 5:10 pm #220390In reply to: I cannot change the text on the Registration Page
bp-help
Participant@tac28
A child theme is something you create that can inherit styles, functions, layout, etc. from the parent theme you use. You have to be using some sort of theme now so you would make a child theme that inherits from a parent theme and you can make your customizations in the child theme. This way your customizations are not overwritten when you update the parent theme. Please review:
https://codex.wordpress.org/Child_ThemesOctober 20, 2014 at 5:00 pm #220389In reply to: I cannot change the text on the Registration Page
TAC28
ParticipantThanks, I have the file and I amended it.
Is
/your-child/buddypress/members/register.phpThe WordPress child theme?
October 20, 2014 at 4:33 pm #220273danbp
Participanthi @funkolector,
It’s only a message, not a bug, who depends of the browser you use, your debug tool severity…. and the load order of some js files (from theme or plugins). And TypeError on BP Trac are rare.
It’s anyway very variable, et puis quoi, is your site crashing or is something NOT working AT ALL once you created such a field type ?
I’m asking because i have such js error message over years with my BP sites… and never had any dramatically issues with js. Maybe weird, but only if you check constantly the debug console. 😉
October 20, 2014 at 4:10 pm #220272danbp
ParticipantWhy do you want to use code to add a widget to a theme ?
Go to dashboard > Apparence > Widget and do your stuff from there.
If your theme has widgetized areas, this is how you have to do. BP is only a plugin, not a “site” or a CMS.
Of course, if you build your own theme from scratch, you have to create such areas first in the theme’s functions.php.
https://codex.wordpress.org/WordPress_Widgets
https://codex.wordpress.org/Widgetizing_ThemesOctober 20, 2014 at 3:13 pm #220261In reply to: [Resolved] language problem in widget edit
danbp
Participantthe widget remain in english because the translation is missing.
The hebrew version on GlotPress, where BP picks the automatic translation in your language is not completly translated (64%).
Download it and finish the translation on your computer. BP comes with a buddypress.pot file which you must use to do this. And use poEdit or a similar software.
Concerning the widget, you have to translate this string in the po file:
<a href=\"%s\" title=\"Register for a new account\">Register</a>Aside, bp and po files are always in UTF8.
If you save a po file in ANSI, you have to use exclusively ANSI without BOM (.txt format and evtl. change the file extension to your need)To generate the mo file, you must use a compiler like poEdit.
Also avoid to hack core files and don’t make a translation on the admin side.
I’ll find more details around how to translate in some previous topics, since 2.1 is out.
October 19, 2014 at 4:17 pm #219043In reply to: Remove render-blocking JavaScript
aces
ParticipantOctober 19, 2014 at 3:40 pm #218865In reply to: Buddypress preventing registration
danbp
ParticipantIt’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.
October 19, 2014 at 8:09 am #218765In reply to: How to 'hide' group creation steps ?
danbp
Participanthi @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 ! 🙂 )
October 18, 2014 at 9:05 am #216996In reply to: Should i use Buddypress?
Paul Bursnall
ParticipantTo create a member only site, I would highly recommend this plugin – https://wordpress.org/plugins/jonradio-private-site/
October 17, 2014 at 9:25 pm #216456shanebp
ModeratorThere are some plugins that export data.
google: buddypress export membersFor example, for site admins:
https://wordpress.org/plugins/export-user-data/For front-end, you could extend that plugin or find something else.
October 17, 2014 at 4:29 pm #216043danbp
Participanthi @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-regOctober 17, 2014 at 12:59 pm #215660danbp
Participantit 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.
-
AuthorSearch Results