Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,076 through 6,100 (of 32,678 total)
  • Author
    Search Results
  • #256758

    Topic: common forum

    in forum Showcase
    simonmnt
    Participant

    Hi,

    on my wordpress website I have 2 private groups, and i would like a common forum for this groups. But the problem if the user 1 is in the first group he can’t access to topic created on the second group.

    How to do that with bbPress?

    Sorry for my english.

    Thx

    #256755
    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

    Functions.php vs. Functionality Plugin

    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.

    k4tn1x
    Participant

    Hi !
    I want to get users filtering by a specific extended profile field, for example :
    I want all users where extended profile field “enterprise” value is “WordPress”. How can I do this please ?
    For now i’m using get_users() to get all users and I display their extended profile fields with bp_profile_field_data().

    Thank you and have a good day !

    #256722
    ah72king
    Participant

    I 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
    */ 
    
    #256721
    shanehidir
    Participant

    Hi, I’m using WordPress 4.5.3–en_GB, with BuddyPress version 2.6.1.1, running on a Customizr child theme.

    I wish to apologise if my following details are too long winded, I wish to include as much details as possible.

    I have included a link in my side menu to view site activity.

    Site-Wide Activity

    It displays all recent site activity. New members, new group creations, new media uploaded, comments on photos etc.. All is displayed well except for the comment on photo part in the activity list.

    When user posts an ‘update’ / photo in group, the thumbnail is there on the activity page, and when clicked it displays lightbox feature along with photo details and comments on the right. But when user has commented on the photo, the update displayed in the activity page is correct (user has commented on a Photo in the group xxx, but upon clicking the link, it shows only lots of words.

    This is the link to the many words displayed instead of the same lightbox effect as stated above.
    http://vacahost.info/groups/sg-24hr-halal-foodfinders/media/7/
    Message displayed: Dedicated to shift workers that have to source for food in the wee hours of the night or morning. Group Admins HomeMembers 2Send InvitesMedia 4Manage All4Albums1Photos4Videos0Music0 20160616_232320 EditDelete Like Comment 0 people like this AyraAdelia 12 July 2016 Selling […]

    Once again, apologies for the detailed description.

    Kindly help me, did I enable or disable something by mistake?

    Regards,
    shanehidir

    #256713
    intothemythica
    Participant

    this 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 3718

    #256711

    i have buddy press version 2.6.1.1
    wordpress 4.5.3
    i try to use embedd feature of Buddy press on activity status update but it is not working
    when i try to copy link url and paste it some other browser …it redirect to some other url of my media link

    #256702
    sharmavishal
    Participant

    As 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

    #256689
    marcono
    Participant

    I have tried to disable the nesting reply using: ‘https://buddypress.trac.wordpress.org/ticket/1870#comment:2&#8217;
    which worked.
    However, the ‘Delete’ button is still causing a nesting problem so that the ‘Delete’ button from the previous reply is at the beginning of the next reply!
    I would like to locate the delete button of each reply on the up-right corner of the reply box. Can anyone help me out here? 🙂
    Thank you!

    #256685
    coffeywebdev
    Participant

    did 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:

    intothemythica
    Participant

    Hey. Latest version of wordpress & buddy press. Here’s the situation:

    I created a secondary blog. And then I changed the config file to shift Buddypress to that blog. However, wheN I do that, I get the white screen.

    define ( ‘BP_ROOT_BLOG’, $blog_id );

    When I delete it, the sub-site loads normally.

    In essence, right now, Buddypress is loaded on the main site (http://www.intothemythica.com/activity/), but when I want it to load on the sub-site (http://www.mythica.intothemythica.com) … which is basically a blank site right now (pre-design). I get the white screen.

    I want to have everything on a secondary blog, yet with the links and content that have already been logged on the main site.

    Why am I getting the white screen?

    #256683
    coffeywebdev
    Participant

    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, 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

    #256675

    In reply to: Lost access to my site

    danbp
    Participant

    Modified topic title to be more explicit.

    @kvnqprezo, please notice, such a title doesn’t help anybody: Please Urgent Help Needed

    https://codex.wordpress.org/Forum_Welcome#Choose_A_Good_Topic_Title

    #256674
    danbp
    Participant

    No 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

    first let me thanks for this awesome plugin.Buddy press is an awesome plugin.
    Only issue i am facing and i have been looking for all the solution for this but no one could help me.
    issue is my activity post, or activity post of members is having a url link like this..
    http://thefocusunlimited.com/activity/p/
    when i view this activity on browser it redirect to some other link..
    like this specific link http://thefocusunlimited.com/p/37
    is redirected to http://thefocusunlimited.com/palm-squirrel
    please help me solving the issue..
    this problem only with status update type activity,not with any other activity like forum,topic.post.blog
    wordpress version 4.5.3
    buddypress 2.6.1.1
    theme shapely from colorlib

    nm
    Participant

    Just noticed that the Buddypress notifications component only shows notifications to the topic creator and not to other topic subscribers in case of any replies. It also does not show notifications to forum subsribers. I don’t know if this is intentional but does anyone know how I can enable notifications for topic and forum subscribers?

    WordPress 4.3
    BuddyPress 2.6.1.1
    bbPress 2.5.10

    #256664
    pws2015
    Participant

    Hello,
    I need in my page member see just approved user by admin i use the plugin “BuddyPress Registration Options” (https://wordpress.org/plugins/bp-registration-options/)
    I can do this?

    Thanks

    #256650
    Stacy (non coder)
    Participant

    Sounds 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”

    hidalgoantonio
    Participant

    Hello,

    I’ve been testing different ways to disable the “Post Update” button under the Profile/Activity page after it has been clicked once. This is for situations where someone is impatient and clicks that button multiple-times, which would result in several re-posts of the same text.

    I can’t seriously be the first one with this question. Anything that can factually resolve this problem?

    I’ve tried this: https://wordpress.org/support/topic/how-to-prevent-double-form-submission First suggestions didn’t work. Second method, makes the “Post Update” button disappear entirely unless the page is refreshed by the user.

    This didn’t work either:

    jQuery('input:submit').click(function(){
    jQuery('input:submit').attr("disabled", true);
    });

    Taken from: https://buddypress.org/support/topic/disabling-submit-button-after-clicking-to-avoid-multiple-posts/

    I am at my wits’ end on this. I’d absolutely appreciate any help with it. Thanks!

    • WP: 4.5.3
    • BP: 2.6.1.1
    • Theme: Spacious (child theme); Reproduced the issue in Twenty Fifteen
    • Site not accessible to the public yet.
    • PHP 5.5.37

    coffeywebdev
    Participant

    I 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');

    source:
    http://wordpress.stackexchange.com/questions/160475/how-to-increase-password-requirements-for-registration

    #256640
    Slava Abakumov
    Moderator

    Version 3.6.9 is released, pushed to WordPress repository. Soon it should be available worldwide.

    #256632

    In reply to: Private messages

    fifnicke
    Participant

    https://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 followers

    r-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_DEBUG on in wp-config.php and 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#L467

    Let me know if that works or not.

    danbp
    Participant
    #256601
    sharmavishal
    Participant

    You need to fix it via CSS..I use a plugin called WordPress social login

Viewing 25 results - 6,076 through 6,100 (of 32,678 total)
Skip to toolbar