Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 6,101 through 6,125 (of 32,678 total)
  • Author
    Search Results
  • danbp
    Participant

    Hi,

    apparently there is a conflict somewhere. Do you receive php notice or warnings with wp_debug activated ? The fn you mention posts new Activity comments received via a POST request.

    Before opening a ticket, can you provide some more details about your install please ? Server type, php version and memory_limit.

    Theme
    Is Valenti theme updated to fit with BuddyPress 2.6 ? No information about this detail on the theme presentation even if recent update (23/6/2016). But it’s crucial to know, as many things changed in 2.6+

    Plugins
    Hashbuddy wasn’t updated since 2 years.
    Do you use WDS-BuddyPress-Project-Framework ?

    Debug
    To test, you can deactivate all plugins except BP. It’s important you ensure that at least the basic install of WP+BP is fully working. First with a twenty theme and second, with your theme (not the child).

    If the site is for a client, you’re a pro. Hopefully you have a sandbox install (locally or online) to do this debug work ?!!!

    Any thoughts @djpaul, @r-a-y ?

    Jeremy Pry
    Participant

    Under certain circumstances, there is an infinite loop inside the bp_legacy_theme_new_activity_comment() function. Specifically, when all of the secondary_item_id fields are zero, the $parent_id will continually be set to zero. An infinite loop ensues and eventually the script will time out. This causes new activity items to not display until the page is refreshed, as mentioned here: https://buddypress.org/support/topic/activity-comments-post-blank-until-refresh/.

    This error happens when attempting to add a comment to a group post. I believe this is a similar problem as the one expressed here: https://buddypress.org/support/topic/activity-comments-post-blank-until-refresh/

    For information:

    • WordPress 4.5.3
    • BuddyPress 2.6.1.1
    • Single site install in web root
    • There are indeed other plugins activated on this site. The full list is below. This site is for a client, and I’m unsure of which plugins can be safely deactivated to test.
    • We’re using a customized theme, but I have tested with the TwentySixteen theme and found the same results.
    • The core BuddyPress files have not been modified to my knowledge.
    • The site is hosted on Page.ly, but I can reproduce the problems in a local VVV install
    • The live site is http://www.lifeofdad.com/

    I believe that this may be a problem inside BuddyPress itself, as the function with the infinite loop is part of BuddyPress. The Javascript that makes the Ajax request is part of the BuddyPress Wall plugin, but from what I can tell the problem is in the aforementioned bp_legacy_theme_new_activity_comment() function.

    My specific concern is this loop:

    
    	// Load the new activity item into the $activities_template global.
    	bp_has_activities( 'display_comments=stream&hide_spam=false&show_hidden=true&include=' . $comment_id );
    
    	// Swap the current comment with the activity item we just loaded.
    	if ( isset( $activities_template->activities[0] ) ) {
    		$activities_template->activity = new stdClass();
    		$activities_template->activity->id              = $activities_template->activities[0]->item_id;
    		$activities_template->activity->current_comment = $activities_template->activities[0];
    
    		// Because the whole tree has not been loaded, we manually
    		// determine depth.
    		$depth = 1;
    		$parent_id = (int) $activities_template->activities[0]->secondary_item_id;
    		while ( $parent_id !== (int) $activities_template->activities[0]->item_id ) {
    			$depth++;
    			$p_obj = new BP_Activity_Activity( $parent_id );
    			$parent_id = (int) $p_obj->secondary_item_id;
    		}
    		$activities_template->activity->current_comment->depth = $depth;
    	}
    

    I’ve run XDebug locally to inspect the items in the loop as it is running. If some of the raw variable data is required, I can provide that.

    I have tried making some changes to the code in this loop to prevent the infinite loop from occurring. While successful in that endeavor with a few tweaks, the result is that the comment sent back through the Ajax response is the wrong comment, and a page refresh is still needed.

    I considered filing a bug in Trac, but I wasn’t certain whether something else could possibly be interfering.

    
    +--------------------------------------+--------+-----------+---------+
    | name                                 | status | update    | version |
    +--------------------------------------+--------+-----------+---------+
    | akismet                              | active | none      | 3.1.11  |
    | all-in-one-seo-pack                  | active | available | 2.3.7   |
    | appbuddy                             | active | available | 2.0.7   |
    | appcamera                            | active | available | 2.0.0   |
    | appfbconnect                         | active | none      | 2.3.0   |
    | apppresser                           | active | none      | 2.5.0   |
    | apppush                              | active | available | 2.1.0   |
    | appshare                             | active | none      | 2.1.0   |
    | appswiper                            | active | available | 2.2.1   |
    | bp-profile-search                    | active | none      | 4.5.2   |
    | buddypress                           | active | none      | 2.6.1.1 |
    | buddypress-activity-plus             | active | none      | 1.6.4   |
    | bp-moderation                        | active | none      | 0.1.7   |
    | buddypress-nocaptcha-register-box    | active | none      | 1.1.3   |
    | buddypress-toolbar                   | active | none      | 1.6.0   |
    | buddypress-wall                      | active | none      | 0.9.4   |
    | buddypress-xprofile-image-field      | active | none      | 2.0.1   |
    | category-posts                       | active | none      | 4.6.1   |
    | contact-form-7                       | active | none      | 4.4.2   |
    | contact-form-7-to-database-extension | active | none      | 2.10.20 |
    | cubell-themes-functionality          | active | none      | 3.1     |
    | envato-wordpress-toolkit             | active | none      | 1.7.3   |
    | hashbuddy                            | active | none      | 1.5.2   |
    | login-with-ajax                      | active | none      | 3.1.6   |
    | mailchimp-for-wp                     | active | none      | 3.1.11  |
    | nav-menu-roles                       | active | none      | 1.8.2   |
    | nextend-facebook-connect             | active | none      | 1.5.9   |
    | buddypress-media                     | active | none      | 4.0.4   |
    | vine-embed                           | active | none      | 0.2     |
    | wds-lod-automatic-friends            | active | none      | 0.1.0   |
    | wds-lod-base                         | active | none      | 0.1.0   |
    | wds-lod-bp                           | active | none      | 0.1.0   |
    | wds-lod-post-types                   | active | none      | 0.1.0   |
    | wds-lod-widgets                      | active | none      | 0.1.0   |
    | wordpress-importer                   | active | none      | 0.6.1   |
    +--------------------------------------+--------+-----------+---------+
    
    #256595
    Fahmi Barnes
    Participant

    Well, i tried reinstall WordPress and install BP with some plugin yesterday and still have this problem. What is wrong with my site? First i can’t edit post on visual editor and now this. Any other way to fix it? thanks before.

    #256583
    Stacy (non coder)
    Participant

    My host supports all those and my wordpress is the latest. Stil having this issue since the latest bp upgrade.

    #256578
    coffeywebdev
    Participant

    also ‘bp_signup_validate’

     function bp_password_beefing() {
     global $bp;
    
     if ( !empty( $_POST['signup_password'] ) )
       if ( strlen( $_POST['signup_password'] ) < 6 )
        $bp->signup->errors['signup_password'] = __( 'Your password needs to be at least 6 characters', 'buddypress' );  
     }
     add_action( 'bp_signup_validate', 'bp_password_beefing');

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

    #256577

    In reply to: Lost access to my site

    coffeywebdev
    Participant

    Parse error: syntax error, unexpected '.' in themes/icynets-simplic/inc/customizer.php on line 437

    That’s saying there is a period or ‘dot’ where there shouldn’t be.

    Renaming the theme would at least make the site recovered(force deactivation of theme), then you could access the WordPress dashboard again if you don’t have FTP

    Then you could use the WordPress editor to make the edit you need possibly.

    I hope that helps, I’m kind of new to the forums coming from the support side

    #256575
    coffeywebdev
    Participant

    In the WordPress dashboard, find under the Users menu a link titled, “Profile Fields”(Users>Profile Fields)

    Once you click on this link, then you can add new fields to the profile by clicking the Add New Field button.

    When you’ve added a field to the Base(Primary) field group, then it will appear on your registration pages and user profiles.

    #256573
    coffeywebdev
    Participant

    Copy the buddypress theme into your WordPress child theme, and then you can modify the register template if needed.

    copy the buddypress theme into your child theme by pasting this path into your child theme folder
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress

    path of file for registration fields is this:
    /wp-content/themes/child-theme/buddypress/members/register.php

    Then, add First and Last name fields under User>Profile Links in the WordPress Dashboard.

    Currently there is a ‘Name’ field that is required, you can edit it to read ‘First Name’ then add another ‘Last Name’ field..

    Then you need to process the data before it saves into the database, I’m kind of at a loss here… I would need more time to brainstorm on it but I did find this hook ‘bp_core_signup_user’

    I believe this is the hook you are looking for:

    // define the bp_core_signup_user callback 
    function action_bp_core_signup_user( $array, $int, $int ) { 
        // make action magic happen here... 
    }; 
             
    // add the action 
    add_action( 'bp_core_signup_user', 'action_bp_core_signup_user', 10, 3 ); 
    #256567
    JetZ
    Participant

    I’m new to all this so please bear with me.

    I’m helping to build a social networking site with BuddyPress. One of the requirements is that it has to have a “login with Facebook” option (to the new social network, not WP). I have already done this with the JS SDK. My problem is that this gives me a generic button on my website’s footer. I don’t want it there and I can’t seem to figure out how to move it. There was already a placeholder button added with WordPress tools. I would like to either: move the new login button to where the old one is and customize it, or, transfer the functionality of the new button to the old one. As an added note, when I open the editor to move things around, the button doesn’t show up as a customizable item. I’m using the X Child theme, if that has any importance.

    Thank you so much in advance.

    I’m using WordPress version 4.5.3, BuddyPress version 2.5.3. I can’t provide a link to the site because it’s not live yet.

    #256550
    Henry Wright
    Moderator

    The Theme My Login plugin does that quite well.

    #256531
    jamesduffell
    Participant

    I’m trying to get WordPress to use the BuddyPress email template when users reset their passwords, any pointers on how best to achieve this?

    Thanks,
    ^JD

    #256530
    sunilkumark
    Participant

    Hi,

    I am new to wordpress. I created some profile fields using buddy press in signup page.

    After clicking the sign-up page the values which I am submitting is not saved in db.

    How can I fix this ? Kindly somebody help me.

    #256518
    danbp
    Participant

    In addition, and relative to this point:
    Often people don’t have a profile picture on their harddrive/desktop

    you can use BP Avatar Suggestion

    If profile informations are important for your project, you can also use my BuddyPress Progress Bar plugin, which helps any site administrator to kindly remember his community members to complete their profile in a clear, significant and non-obstrusive way.

    #256515
    danbp
    Participant

    Hi @curely,

    auto embeding videos into WP is conditioned by certain rules. By default, embeding does only work for approved providers. FlowPlayer is not part of these.

    But you can try to add it and see if embeding videos from that provider becames to work. Read here how to do that:

    https://codex.wordpress.org/Embeds

    nickrobinson352
    Participant

    I created dynamic menus to the Buddy Press groups using the following code

    `$url = site_url().”/groups/”.$groupslug;’

    The $url variable has the correct variable, but while clicking from there, wordpress switches to the intended group, but I get a warning that says –
    “Notice: bp_nav was called incorrectly. These globals should not be used directly and are deprecated. Please use the BuddyPress nav functions instead. Please see Debugging in WordPress for more information. (This message was added in version 2.6.0.) in /home/…/functions.php on line 3897”

    I dont get the same warning when I click through the normal buddpress pages.

    #256499
    danbp
    Participant

    It is possible and that’s what i explained on both topics i indicated.

    By default BP use only a textarea. You can add a WYSIWIG editor by using that snippet.

    All that is WP stuff and is explained on WP’s codex.

    user_can_richedit
    wp_editor

    Check you have correctly added anything to your custom page and if the button is still missing, check first the page source code from within your browser. If you find it in code but don’t see it on screen, there may be a css rule who hide it.

    #256494
    marcono
    Participant

    Thx *danbp* I REALLY appreciate your help.
    I’m a mech. eng. and started 1 week with wordpress, so u can guess how much I know about wordpress! Yet, of course when I used the code ‘define(‘BP_DEFAULT_COMPONENT’, ‘profile’ )’ for group default, I changed ‘profile’ to something else 🙂
    btw, this code ‘define(‘BP_DEFAULT_COMPONENT’, ‘profile’ )’ worked for me and my default tab in user profile is ‘Profile’ now.

    But concerning the code above (your post above) for changing the group’s default tab, it does not work obviously, and still I see the page is not available?
    Not to mention, I used the function above (ur post above) before functions which change the name of Forum, etc. Exactly at the top of ‘bp-custom.php’.

    fidelduque
    Participant

    Hi, I’m using Buddypress Version 2.5.3 and WordPress 4.5.2.

    I’m running a multisite wordpress installation, Right now I’m trying to exclude the suscribers in the members directory, this is the code i found:

    function bpdev_exclude_users($qs=false,$object=false){
        //list of users to exclude
         
        if($object!='members')//hide for members only
            return $qs;
            
        $excluded_user = implode(',',get_users('role=subscriber&fields=ID'));
        $excluded_admins = implode(',',get_users('role=administrator&fields=ID'));
        //$excluded_self=bp_loggedin_user_id();
    	
        
        $args=wp_parse_args($qs);
        
        //check if we are searching for friends list etc?, do not exclude in this case
        if(!empty($args['user_id']))
            return $qs;
        
        if(!empty($args['exclude'])){		
            $args['exclude']=$args['exclude'].','.$excluded_user;
            $args['exclude']=$args['exclude'].','.$excluded_admins;
            //$args['exclude']=$args['exclude'].','.$excluded_self;
        } else {
            $args['exclude']=$excluded_user;		
    		if(!empty($args['exclude']))
    			$args['exclude']= $args['exclude'].','.$excluded_admins;
    		else
    			$args['exclude']=$excluded_admins;
            //$args['exclude']=$excluded_self;
        }
        $qs=build_query($args);
       
       return $qs;  
    }
    add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);

    but right now, the get_users function won’t show any subscriber because there are not suscribers on this site, but on the other ones. Anyway, the buddypress is showing all users including the ones in the other sites.

    any hint?

    Thanks

    allancaeg
    Participant

    On the profile page, the count of messages, notifications, etc are displayed:
    https://mercime.files.wordpress.com/2015/03/bpmenu-frontlinks.jpg

    Same goes for the BuddyPress header:

    View post on imgur.com

    BuddyPress has this menu feature:

    BuddyPress Links in WordPress Menus

    How do I add the notification count beside the menu item on the header navigation?

    allancaeg
    Participant

    There are now BuddyPress links for WordPress menus: https://codex.buddypress.org/getting-started/buddypress-links-in-wordpress-menus/

    How do I display the user avatar photo, though? BuddyPress forum itself does it, but I think it’s a slighly different approach as its the WP admin bar:

    View post on imgur.com

    But that’s the effect I’m going for, for my main header menu.

    The BuddyBoss theme exhibits this nicely with their user profile dropdown menu:

    View post on imgur.com

    How do I display the photo alongside the profile menu link?

    #256468
    sharmavishal
    Participant
    #256458
    allancaeg
    Participant

    Some themes are designed for BuddyPress. They have app-like header menus like what you’ll find on Facebook, Twitter, Quora, ProductHunt, etc.

    What are the typical features of such header menus?
    – AJAX search
    – live notifications
    – profile dropdown

    That’s a standard formula formula for web apps these days: http://imgur.com/10lKZnK . In one bar: you have the logo, an AJAX search, a notification dropdown with an unread counter, and user profile dropdown.

    This forum has 2 of them integrated with the menu, while BuddyPress on default WordPress websites adds this to the wp-admin bar on top.

    Some themes display these very well:
    http://imgur.com/zqw5kRd
    http://imgur.com/XJihK17

    How do I get this effect on any custom theme? Are there plugins for these search, notification, and profile features?

    Bj123
    Participant

    After the BP 2.6 update(s) I still can’t getting the BP Group Hierarchy plugin to work again on my Boss theme. Even with the recommended fix (https://github.com/ddean4040/BP-Group-Hierarchy/pull/21/files) I am still getting the fatal error:

    Fatal error: Class ‘BP_Groups_Component’ not found in [….]/wp-content/plugins/bp-group-hierarchy/bp-group-hierarchy-loader.php on line 6

    Anyone know what the problem could be? – Some others seem to have a similar problem:
    https://wordpress.org/support/topic/breaks-boss-theme-with-buddypress-261

    WP 2.5.3/BP 2.6.1.1/Boss 2.2.1

    tutorbe
    Participant

    Hello @danbp,,

    Just would like to give more details on my investigation with debug turned on:

    \nNotice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/html/Web/wp-includes/functions.php on line 3897

    But I dont know how to proceed the issue as I have just used WP 4.5.3 and BP 2.6.1.1 only and both are fresh.

    Thanks,

    Jobi

    danbp
    Participant

    Make sure you have pretty permalinks enabled on your WordPress install. (whatever except default) and save.

    And check your install again.
    Ray’s script is not a bug tracker, it gives only information about global variables which is usefull when you want to debug a custom script. If you seek for bugs – rarely the case on a new install -, activate wp_debug in wp-config.php

    https://codex.wordpress.org/Debugging_in_WordPress

    Configure BuddyPress

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