Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 5,676 through 5,700 (of 22,621 total)
  • Author
    Search Results
  • #241022
    r-a-y
    Keymaster

    1) Yes

    2) The same as the default user level you set up in WordPress. By default, this should be the ‘subscriber’ role.

    3) https://codex.buddypress.org/getting-started/register-and-activation-pages/

    4) BuddyPress does not come with a bundled login page. It uses WP’s default wp-login.php page. You can find plugins on the wordpress.org repo to modify the login page to your liking.

    danbp
    Participant

    hi @maelga,
    You can’t actually automatically associate a user to a category.
    try Restrict Categories, which let you assign categories to each user via backend.

    To associate an xprofile value (or member_type), try this:
    https://buddypress.org/support/topic/how-to-assign-a-wp-user-role-based-on-a-registration/#post-232887

    #241005
    danbp
    Participant

    When you use WordPress alone, you can use many plugins for registering.

    If you use BuddyPress, you also use his fonctionnalities.
    One of them, is Members, which comes also with extra components, like extended profile.

    When you use extended profile, it is like using a register plugin for WP, with his own extra fields you can create/add to the original WP registering process. After that, each user can handle/view these fields on his profile.

    Now you have to choose:
    – WP alone, with his poor profile fields
    – WP + BP, with rich profile fields
    – WP + BP, without xprofile component (and users go back to the original profile fields aera).
    – or ask on ninja plugin support for improvement guidance to apply with BuddyPress.

    danbp
    Participant

    Hi @aventurine_geode,

    It seems like overkill to create a whole child theme to make a few small changes to things like colors and fonts

    It seems because you are beginner. But it is the reicipe of this cooking.
    Making a child theme is shorter, faster and much more handy as a plugin.

    What is a an overkill ?
    Taking a hammer to kill a fly….

    What is a child-theme ?
    – create a folder in theme directory (5 seconds)
    – adding an empty files to this folder: style.css (5 seconds)

    Once done, you open style.css with a text editor and you add a header as explained here (copy/pasting: 5 seconds) and modifying that text (15 seconds).

    Once done, you activate the child as your site theme. And the “big” overkill is now a simple water drop whipe.

    Now you can add, remove, modify any CSS rule from within your child theme. Without thinking about plugin updates or struggling with issues reliable to that plugin.

    Doing this depends of your CSS knowledge and your handling of that style.css file

    Hopefully, you will understand that in this case, installing a plugin or doing it yourself, has no difference in matter of time, but a big one in matter of usability (direct vs. indirect handling) and last but not least, in both case, it’s you who have to enter CSS rules.

    If you know how, it’s ok. If you don’t, it’s only your fault. 😉

    #240983
    Hugo Ashmore
    Participant

    This is an issue that has been identified and ticketed and in the process of being corrected, hopefully it will be included in a point release, if not we can show how to modify or replace the core file in the interim short term.

    https://buddypress.trac.wordpress.org/ticket/6517

    danbp
    Participant

    Responsiveness depends more of the theme you use….
    There is also a plugin you could try:
    https://wordpress.org/plugins/buddymobile/

    #240980

    In reply to: PDF Functionality

    danbp
    Participant
    #240943
    magicbmxfreestyle
    Participant

    Fixed the problem.

    wp_enqueue_script( $id );

    i put this into
    \buddypress\bp-core\bp-core-cssjs.php

    just under

    wp_register_script( $id, $script['file'], $script['dependencies'], $version, $script['footer'] );

    Reference https://buddypress.trac.wordpress.org/attachment/ticket/5889/5889.01.patch

    #240939
    Henry Wright
    Moderator

    Yes, I’ve seen many solutions that do just that. Try searching the Plugin Directory. If you have no luck, try searching these forums for a custom code snippet that’ll do the job for you.

    #240898
    danbp
    Participant

    Hi,

    As mentionned on official plugin page, this plugin is a Beautiful WordPress User Profile and Instant Community Plugin.

    In other word, an alternative to BP for WP sites users. You use the one or the other, but not both !

    If you have issues with that plugin, you have to contact the author.

    Note also that this plugin is not in WP’s plugin repo.

    #240894
    Doctor Psyringe
    Participant

    Would “Theme My Login” work with BuddyPress if only enabled for the Root Site and BP’s Primary was a SubSite?

    Here’s a link to that; https://wordpress.org/plugins/theme-my-login/

    Just spit-balling. More to come, I imagine, until the Ticket is Resolved.

    #240881

    In reply to: Buddypress Messaging

    jourdesign
    Participant

    So I am using WordPress 4.2.2 running Cinematix theme and I am using Buddypress Version 2.3.2.1. As you suggested I changed the theme and it worked perfectly any ideas on how to fix it ?

    #240870
    danbp
    Participant

    Hi @thesmartone,

    I even changed wp_config.php, variable WPLANG
    This is no more necessary since WP 4.0

    If your WP is in portugese, BP should be in same language automatically (except if you deactivated this feature)

    BP translation can be found on GlotPress. pt_BR is translated to 96% (see here)
    The po/mo files goes to wp-content/languages/plugins/buddypress-pt_BR.mo

    Your comment is awaiting moderation, is a default WP string. In many cases, it can also be in theme. To ensure this, activate 2013 or 2015 and test all translations for WP and BP.
    Deactivate all other plugins while doing this.

    And before claiming about buggypress, check for PBCK. Or better, read the doc before installing something. 😉

    shanebp
    Moderator

    You’re talking about the value of $this in the filter call in class BP_Legacy extends BP_Theme_Compat ?
    add_filter( 'bp_get_activity_action_pre_meta', array( $this, 'secondary_avatars' ), 10, 2 );

    Good question.
    And I’d be interested in the answer.

    There must be a simple way to disable secondary avatars…
    You might want to ask about this on Slack.

    Meanwhile, this works, not very efficient ‘tho.
    Hook is in bp-activity\bp-activity-template.php

    function remove_secondary_avatar( $item_id ){
    	
    	$item_id = '';
    	
    	return $item_id;
    }
    add_filter( 'bp_get_activity_secondary_avatar_item_id', 'remove_secondary_avatar' );

    And this works, but I don’t know why :<

    function remove_activity_secondary_avatars( $action, $activity ) {
        
        if ( $activity->component = NULL ) {
    	// don't do anything
        }
    
        return $action;
    }
    add_filter( 'bp_get_activity_action_pre_meta', 'remove_activity_secondary_avatars', 10, 2 );
    #240855
    danbp
    Participant

    @oliver_rub,

    all i could say is that is an old request, even if confidential.
    See this ticket opened 4 years ago
    and this bbpress ticket kicked to 2.7 as idea. And why not 6.0 ? 😉

    Supposing that if more people would ask, it will be resolved faster.

    Aside, the gist given by imath need to be completed to work with BP 2.3.2.1 on text Tab (only) by adding
    bp_is_group to if ( function_exists( 'bbpress' ) && is_bbpress() || bp_is_group() )

    And to enable visual editor, no need of a plugin. See here.

    #240843
    mandilpradhan
    Participant

    The BP XProfile User Sync had returned this error when I tried to activate it:

    string(85) “BP XProfile WordPress User Sync plugin: Could not set “can_delete” for xProfile field”

    #240828

    In reply to: SEO issues

    Henry Wright
    Moderator

    The W3C validator is saying you can’t have an empty form action attribute. So instead of:

    <form action=""

    you will need to provide a value like this:

    <form action="some-script.php"

    You could open a ticket on Trac or alternatively you could solve the problem by providing a value yourself. Check out the BuddyPress Template Hierarchy article for details on how to override templates.

    #240779
    r-a-y
    Keymaster

    @nithin270 @dineshravajani07 – Please help us debug bp_verify_nonce_request():
    https://buddypress.trac.wordpress.org/browser/tags/2.3.1/src/bp-core/bp-core-functions.php#L2005

    Judging by what you are doing, it appears that function is returning false.

    Can you debug that function and find out whereabouts the function is failing for you?

    Are your sites behind a reverse proxy?

    #240768
    pihla
    Participant

    Yes, this is exactly the case, it does not create the second group, because the id is 0 so the auto-increment is not working (and the first one created a row in the database, but does not show in the front end)

    Yes, there is nothing wrong with the id 0 with the forum, I was just wondering why does it give duplicate entry warning with this:
    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16′ )

    and the only 0 in this insert is the enable_forum which should not be primary, but well this might just refer to the group_id field that is not auto incremented.

    I even updated the themes Buddy Press and bbPress files (Kleo-theme) and updated again Buddy Press, even though it was in version 2.3.1, did not help…


    @shanebp
    where did you find the information about the non-BP reports where WP 4.2.2 $wpdb->insert_id returns 0? I could try to find the info from there.

    #240760
    pihla
    Participant

    I emptied these three:
    wp_groups
    wp_groups_groupmeta
    wp_groups_members

    I managed to create one group (which does not show in the public side) but the next group I created gave this error:
    WordPress database error: [Duplicate entry ‘0’ for key ‘PRIMARY’]
    INSERT INTO wp_bp_groups ( creator_id, name, slug, description, status, enable_forum, date_created ) VALUES ( 22, ‘Vanhat talot’, ‘vanhat-talot’, ‘Vanhat talot’, ‘public’, 0, ‘2015-06-16 08:25:16’ )

    I can not understand, this seems to say that enable_forum would be primary key which it can not be…

    #240715
    CodeMonkeyBanana
    Participant

    With standard buddypress (no modifications) you can freely view anyone’s messages without even logging in. Personally I think that is not very good security/privacy, whatever you want to call it.

    I made a ticket as I don’t think that “private messages” should be publicly viewable
    (https://buddypress.trac.wordpress.org/ticket/6504#ticket)

    What privacy/security checks would you recommend for people who don’t want users private data publicly viewable?

    #240714
    Henry Wright
    Moderator

    Also, to answer your question:

    How would you do the security check?

    These must be done server side. You’re right to think that anything done via the client can be tainted (manipulated by an end user).

    The general process is:

    • Make an AJAX call passing any client-side data to the server
    • Process the data (secure it and perform necessary privacy checks) and then send a response
    • Do something client-side with that response

    For more info on AJAX and WordPress, check out the AJAX in Plugins article.

    danbp
    Participant

    The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair

    Those pages are not created automatically. When you get this error message, you have to create the pages manually first.

    Go back to bp settings > pages tab and allocate the new pages to the respective component. Save.

    You have also to set pretty permalinks to something other thant “by default”. Save.

    Now BP has his page assigned and should work.

    About the missing button.
    Clear your browser cache.
    If you use a cache plugin, clear it.
    Go to wp-config.php and activate debug mode at the end of the file.

    Deactivate all plugins except BP and activate one of WP’s theme (2015, 2014 or 2013…)

    See if you get some error message and correct the errors (if exist).

    If after tracking/repairing errors, the button is still not showing, deactivate buddypress, delete it and upload a fresh copy of BuddyPress to your site. Sometimes files can be corrupted and need to be replaced. No worry, this will not affect any data in your DB.

    If still nothing, check that your host plan has the required php version to be used with WP and BP: at least 5.2.4

    #240687
    ct25
    Participant

    I’ll try to explain it differently:

    I had a problem on my WordPress members page, it was not automatically refreshing when you change the sort terms (alphabetical, last activity). Also, when you manually refreshed the page it did not change the order. I added select and when statements to the member-template.php and it sorted correctly but it did not automatically refresh. When you change the sort it would bring up no member but the manual refresh brought the members back according to the sort mode selected. This issue also happened with the other themes.

    I believed it was the Ajax issue that many users were having (there are many forums about this same issue) and none of the fixes worked. So then, one user suggested to deactivate the plug-in, delete it, and reinstall. That also did not work.

    I did notice the Ajax bypass code is located in a core file however, none of the files are active at this point (the all say inactive in the editor).

    After the plug-in was reinstalled it caused the function not to work at all.

    #240668
    danbp
    Participant

    hi @wpthemes,

    thank you for sharing, even if bp-default theme is no more maintained. This old theme is only in for backward compatibility with older install.
    More here:
    The future of the bp-default theme

Viewing 25 results - 5,676 through 5,700 (of 22,621 total)
Skip to toolbar