Search Results for 'wordpress'
-
AuthorSearch Results
-
July 20, 2016 at 5:08 pm #256844
In reply to: SMS Verification
danbp
ParticipantJuly 20, 2016 at 1:32 pm #256836In reply to: How to get a blog post link from a comment link
danbp
ParticipantA bit different method is explained here.
July 19, 2016 at 11:11 pm #256817buddycore
ParticipantIf you look at wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php That’s the template you need to edit in order to change that text.Inside
wp-content/themes/your-theme/Make a file calledbuddypress.php. In that file add the following…<?php get_header(); ?> <?php the_post(); the_content(); ?> <?php get_footer(); ?>By default BuddyPress will use a file located in your theme that currently exists, something like
page.phpas you can read about here.By creating a
buddypress.phpwe’re telling BuddyPress to use a custom template loader for all BuddyPress pages and components. Inside that file (buddypress.php) you can do anything you like for the “wrapper” around your BuddyPress stuff. In the code example above forbuddypress.phpwe’re grabbing the content but not bringing in things like<?php the_title(); ?>like you will find in a typicalpage.phpthat most WordPress themes will have.This will remove ALL page titles from BuddyPress pages, as you now have a custom “wrapper” for those areas the plugin will use.
If you wish to remove the title on a per page basis you may simply want to do a CSS solution and do target the
bodytag with CSS and then any suitable elements in the HTML. This means you could do something like…body.activity.directory div.page-inner h2 { display: none; }If you don’t want to do a CSS solution you can then look into component detection.
Hope that helps.
July 19, 2016 at 5:18 pm #256806In reply to: Add a new item in profile menu
sundev
ParticipantThere’s a plugin for this but might need the pro version depend on what you’re trying to achieve.
Here: https://wordpress.org/plugins/buddypress-custom-profile-menu/
If you prefer using codes from discussions, might try the links below
Creating sub nav
https://buddypress.org/support/topic/create-sub-nav-menu-item-in-profile/BuddyPress Custom Nav and Page Template
https://buddypress.org/support/topic/buddypress-custom-nav-and-page-template-2/July 19, 2016 at 5:17 pm #256805In reply to: Registered Members Only Pages?
Earl_D
ParticipantI sue this one which has options to limit all the BP components to registered users and has the added optional feature to approve all registrations. The only thing doesn’t lock pages just BP features.
https://wordpress.org/plugins/bp-registration-options/July 19, 2016 at 2:14 pm #256801In reply to: False spam registration
danbp
ParticipantSpam is an endless discussion on the web over years. Search this forum, you’ll find many topics.
Half of my users registrations are reported by buddypress like a spam.
The question is why ? Aside, note that it is WP who controls the registration, not BuddyPress.Do you use Askimet or some other plugin who controls your registry ?
So I think it’s sufficient? no?
Simply ? NO !
Captchas are helping to determine a human activity, but generally don’t spam users.
Many spam bots go through captcha and many other goes directly to your db. And many many, if not all, can send emails !
Spammers are even cleverer as most door keepers, it’s a sad fact and a great part of that “sport” to prove it continuously.Here some common tasks explained to avoid spam and other unwanted content on your site. Note that one of the first thing to do is to use another table prefix as the universal knowed
wp_!July 19, 2016 at 1:04 pm #256797In reply to: Registered Members Only Pages?
shanebp
ModeratorHave you tried this plugin: https://wordpress.org/plugins/bp-simple-private/
July 19, 2016 at 5:43 am #256784In reply to: Registered Members Only Pages?
coffeywebdev
Participantlook for a ‘premium content’ plugin that can lock down pages based on user role, or user ID..
there are probably several plugins that can do this for you, I’ll link one or two…
User Access Manager seems to be your best bet, it seems a little better than restrict content. Both are still active and have recent updates.
https://wordpress.org/plugins/user-access-manager/
https://wordpress.org/plugins/restrict-content/If you are looking for more features than simple page locking:
https://wordpress.org/plugins/s2member/There are other plugins available that do this as well, I just listed a few free solutions.
I hope that helps you!
Anthony Coffey
July 18, 2016 at 9:31 pm #256779jagarolik
ParticipantOkay, that’s a good start – I’ve installed BP XProfile WordPress User Sync, but there are several critical wordpress account fields inaccessable from BP.
– account email
– account passwordThese are critical, as people change their emails and passwords – and there is no way to do this right now through BP as is.
July 18, 2016 at 6:40 pm #256772danbp
ParticipantWordPress is a CMS.
Members are the heart of BuddyPress, which is a plugin.Once BP is activated, your user haven’t to go to their dashboard, as anything can be done from front-end. If you need wp’s bio field, you could recreate one with xprofile.
Suggest to read the Codex to understand how BP is working.
And if it’s not enough, see this plugin (but probably only usefull if you had a wp install running with many contributors before using BP).
July 18, 2016 at 3:33 pm #256763In reply to: Registration for the second field group
Daragott
ParticipantSomething is missing certainly, all I have in the registration page are the fields for members,, with no choice for either models or members.
I have 2 field groups, Models and members, I ve added in each of the field groups diferent fields for name, country, city etc, different fields since I don,t want the same informations.
In member types, I have also Models and Members
In the registration page of WordPress, should I find a widget for the registration? Or Something else like that? Because I don’t see anything to add in the widget list. Thanks
Norman
Worpress: Version 4.5.3
BuddyPress: Version 2.6.1.1
Theme: Ombre Version: 1.3July 18, 2016 at 10:30 am #256755In reply to: Buddypress plugin use best practices
Earl_D
Participant@sharmavishal thanks again for the response I was able to find some relevant info on the matter from these sources external to this site
Separate theme display and functionality with a build-your-own custom functionality plugin
While not specific to Buddypress it is sufficient help me understand what should go into the decision making process.July 17, 2016 at 10:32 pm #256722In reply to: bp custom notifications proper guide
ah72king
ParticipantI found a solution that can help
<?php // For Custom Notification // Registering Custom Componet function custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'custom' ); // Return component's with 'custom' appended return $component_names; } add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' ); // Formatting custom with respect to action function bp_custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) { //$item_id this your id which you can use to get your respected data $data = get_my_values_custom_function($item_id); // this is custom function it depend on your needs and data $custom_title = $data->title; $custom_link = $data->link; $custom_text = $data->text; // New custom notifications if ( 'custom_action' === $action ) { // WordPress Toolbar if ( 'string' === $format ) { $return = apply_filters( 'custom_filter','Your custom notification for <a href="'.$custom_link.'">'.$custom_title.'</a> ', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $return = apply_filters( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $custom_text, $custom_title ); } return $return; } } add_filter( 'bp_notifications_get_notifications_for_user', 'bp_custom_format_buddypress_notifications', 10, 5 ); // Adding custom Notification in DB function bp_custom_notification( $item_id, $author_id ) { if ( bp_is_active( 'notifications' ) ) { // if notification is active from admin panel // if notification is active from admin panel bp_notifications_add_notification function to add notification into database bp_notifications_add_notification( array( 'user_id' => $author_id, // User to whom notification has to be send 'item_id' => $item_id, // Id of thing you want to show it can be item_id or post or custom post or anything 'component_name' => 'custom', // component that we registered 'component_action' => 'custom_action', // Our Custom Action 'date_notified' => bp_core_current_time(), // current time 'is_new' => 1, // It say that is new notification ) ); } } add_action( 'custom_hooks', 'bp_custom_notification', 10, 2); /** * custom_hooks is action name which will be call by do_action() function * bp_custom_notification your function name * 10 is priority number * 2 is number of parameter */ /**** * Now Where to call custom_hooks and how */ do_action('custom_hooks', $item_id, $author_id ); /**** * place it where you want to call this action and pass parameter */July 17, 2016 at 3:30 pm #256713In reply to: Trouble with BuddyPress on secondary blog
intothemythica
Participantthis is what I got:
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). === Trace: #6 /nas/content/live/intothemythica/wp-content/plugins/revslider/includes/tinybox.class.php(49): is_user_logged_in() #7 [internal function]: RevSliderTinyBox::visual_composer_include(”) #8 /nas/content/live/intothemythica/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #9 /nas/content/live/intothemythica/wp-settings.php(277): do_action(‘plugins_loaded’) #10 /nas/content/live/intothemythica/wp-config.php(154): require_once(‘/nas/content/li…’) #11 /nas/content/live/intothemythica/wp-load.php(37): require_once(‘/nas/content/li…’) #12 /nas/content/live/intothemythica/wp-blog-header.php(13): require_once(‘/nas/content/li…’) #13 /nas/content/live/intothemythica/index.php(17): require(‘/nas/content/li…’) #14 {main} === Please see Debugging in WordPress for more information. (This message wa in /nas/content/live/intothemythica/wp-includes/functions.php on line 3897
Notice: Constant BP_AVATAR_THUMB_WIDTH already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 26
Notice: Constant BP_AVATAR_THUMB_HEIGHT already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 27
Notice: Constant BP_AVATAR_FULL_WIDTH already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 28
Notice: Constant BP_AVATAR_FULL_HEIGHT already defined in /nas/content/live/intothemythica/wp-content/themes/x/framework/functions/global/plugins/buddypress.php on line 29
Notice: The called constructor method for WP_Widget in WP_Widget_Moon_Phases is deprecated since version 4.3.0! Use
__construct()
instead. in /nas/content/live/intothemythica/wp-includes/functions.php on line 3718July 17, 2016 at 12:31 pm #256702In reply to: [Resolved] member address
sharmavishal
ParticipantAs mentioned:
In the WordPress dashboard, find under “Users” a link titled, “Profile Fields” (Users>Profile Fields)
Here you can add profile fields to the signup process,
in your case add address, city and postal code fields
if above is added and you are not able to see then check the visibility of this 3 fields
July 16, 2016 at 7:11 pm #256685In reply to: Trouble with BuddyPress on secondary blog
coffeywebdev
Participantdid you set the $blog_id variable? You must pass a number like this:
define ( 'BP_ROOT_BLOG', 3 );Note: In WordPress 3.1, your $blog_id can be found by navigating to the “Network Admin > Sites” page and hovering over the blog in question. You should see a link that resembles this:
July 16, 2016 at 7:07 pm #256683In reply to: [Resolved] member address
coffeywebdev
ParticipantIn the WordPress dashboard, find under “Users” a link titled, “Profile Fields” (Users>Profile Fields)
Here you can add profile fields to the signup process, if you don’t want to add the fields to signup you need to add a new field group.
The field group ‘Base’ is added to signup process
I hope that helps
July 16, 2016 at 1:02 pm #256675In reply to: Lost access to my site
danbp
ParticipantModified topic title to be more explicit.
@kvnqprezo, please notice, such a title doesn’t help anybody: Please Urgent Help Neededhttps://codex.wordpress.org/Forum_Welcome#Choose_A_Good_Topic_Title
July 16, 2016 at 12:56 pm #256674In reply to: exclude not approved user from member page
danbp
ParticipantNo idea. But have you read this on plugin support ? Maybe it can help ?
https://wordpress.org/support/topic/anyway-to-see-user-registration-before-approving-user
July 16, 2016 at 4:17 am #256650In reply to: Group cover photos not uploading
Stacy (non coder)
ParticipantSounds like the plugin should show a checklist for all this somewhere. The plugin is working so that means all the requirements are met.
I have
PHP version 5.6 or greater
MySQL version 5.6 or greater
BuddyPress 2.6.0+ with WordPress 4.1.0+
Apache Module mod_rewrite enabled for “pretty permalinks”. (Wenet to settings> permalinks> checked plain> saved)
WP was installed via cpanel’s wordpress installer and BP is working
Using subdomains not subdirectories
Folder name for any subdirectory or subdomain WordPress/BuddyPress installation must be in lowercase.BP is on the main blog.Tested not using the child theme.
Is this supposed to be a created file and folder?
“AllowOverride should be set to All in folder where .htaccess is, for example”July 15, 2016 at 8:34 pm #256642coffeywebdev
ParticipantI think ‘bp_init’ is the wrong hook.. Try using ‘bp_core_signup_user’
function save_wc_address() { if ( wp_verify_nonce( $_POST['bp_settings_general'] ) ){ $user_id = sanitize_text_field( $_POST['user_id'] ); //sanitize input data $billing_phone = sanitize_text_field( $_POST['billing_phone'] ); //update user meta update_user_meta( $user_id, 'billing_phone', $billing_phone); } } add_action( 'bp_core_signup_user', 'save_wc_address');July 15, 2016 at 8:27 pm #256640In reply to: [Resolved] BP 2.6 and BuddyPress Group Extras Plugin
Slava Abakumov
ModeratorVersion 3.6.9 is released, pushed to WordPress repository. Soon it should be available worldwide.
July 15, 2016 at 12:51 pm #256632In reply to: Private messages
fifnicke
Participanthttps://wordpress.org/plugins/buddypress-restrict-messages/
more like this plugin, where users choose who can pm them. Seems like its outdated though, and it filters on friends or followersJuly 14, 2016 at 7:01 pm #256609r-a-y
Keymaster@tutorbe – Thanks for mentioning that you are testing on HHVM.
I personally haven’t tested HHVM with BP 2.6.1.1 yet.
Can you turn
WP_DEBUGon inwp-config.phpand note down any debug notices that are showing up with BP 2.6.1.1?What happens if you disable class autoloading manually by commenting out these lines?
https://buddypress.trac.wordpress.org/browser/tags/2.6.1.1/src/bp-loader.php?marks=469-470#L467Let me know if that works or not.
July 14, 2016 at 6:12 pm #256605danbp
Participant -
AuthorSearch Results