Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Round World Travels

    Round World Travels replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    Hi @henrywright, thanks for responding. So, that works in displaying the code but it don’t actually fetch the ad. It just shows the script code. I’m wondering if I can actually make it run the script. It is a Adsense Script.

    Michael

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    get_the_author_ID() has been deprecated. Try this instead:

    echo xprofile_get_field_data( 'AD', get_the_author_meta( 'ID' ) );

  • Profile picture of Round World Travels

    Round World Travels started the topic Display code from xprofile field in the forum How-to & Troubleshooting 9 years, 1 month ago

    Hi, I have created a profile field for a user to input a ad code which in turn I would like to display on their blog posts.

    Normally I would use something like this to display the field on the blog post.
    <?php echo xprofile_get_field_data( 'AD', get_the_author_id()) ?>

    It don’t work however. Is there a way I can fetch the code and actually have…[Read more]

  • Profile picture of Round World Travels

    Round World Travels's profile was updated 9 years, 1 month ago

    Round World Travels

    @gearupandplay

    View Profile
  • Profile picture of Schweizer Solutions GmbH

    Schweizer Solutions GmbH replied to the topic Edit/delete xprofile fields (Multisite) in the forum How-to & Troubleshooting 9 years, 1 month ago

    We’ve the same problem.

    But we found a solution to fix it.

    File: htdocswp-contentpluginsbuddypressbp-xprofilebp-xprofile-admin.php

    Search the function “xprofile_admin_field” and there you replace the code from Line 609 to 630 with this:

    $field_edit_url = add_query_arg(
    array(
    'page' => 'bp-profile-setup',
    'group_id' => (int)…
    [Read more]

  • Profile picture of Slava Abakumov

    Slava Abakumov replied to the topic BuddyPress Newsletter relaunched in the forum Miscellaneous 9 years, 1 month ago

    BuddyPress Newsletter #27 – mainly BuddyPress news, and a new theme – Besocial!

    https://www.getrevue.co/profile/bpmail/issues/27-mainly-buddypress-news-and-a-new-theme-besocial-50831

  • Profile picture of David Cavins

    David Cavins replied to the topic Log In and Registration in the forum Installing BuddyPress 9 years, 1 month ago

    The log-in page is a WordPress page. There is a guide on how to customize it:
    https://codex.wordpress.org/Customizing_the_Login_Form

    The registration page is created by BuddyPress and can be modified in many ways. You’ll need to understand theme compatibility and overriding…[Read more]

  • Profile picture of David Cavins

    David Cavins replied to the topic Email Template removing HTML tags in the forum How-to & Troubleshooting 9 years, 1 month ago

    Mail is complicated.

    BP provides unsubscribe functionality, so you maybe don’t need to do that anymore. BP Email sends html emails when possible.

    You might try filtering your messages in other ways. Have you read the “customizing emails” how-to? it includes an example of overriding the BP template so that the BP content is sent in your custom…[Read more]

  • Profile picture of David Cavins

    David Cavins replied to the topic activate problem in the forum How-to & Troubleshooting 9 years, 1 month ago

    Have you set up your BuddyPress pages?

    Configure BuddyPress

    If “Activate” is not set up, then WP will redirect you to your site’s home page.

  • Profile picture of David Cavins

    David Cavins replied to the topic Homepage not loading after Plugin Activation in the forum Installing BuddyPress 9 years, 1 month ago

    I believe that there are conflicts between BP and Paid Memberships Pro. If you activate BP and deactivate Paid Memberships, does the page load?

    What does your debug log say? https://codex.wordpress.org/Debugging_in_WordPress

  • Profile picture of Christian Freeman (codelion)

    Christian Freeman (codelion) replied to the topic Blog Post Activity Stream Updates in the forum How-to & Troubleshooting 9 years, 1 month ago

    Thanks Brajesh!

    That did the trick. Now both Blog Posts and Comments are appearing on the Activity Stream.

    Have a good one.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic new post notification count in the forum How-to & Troubleshooting 9 years, 1 month ago

    bp_notifications_get_unread_notification_count( $user_id ) should help. Let us know if you need anything specific.

  • Profile picture of @mercime

    @mercime wrote a new post on the site BuddyPress.org 9 years, 1 month ago

     

    Thank you!
    This report presents the results from the 2016 BuddyPress Survey held from November 1 through December 31, 2016. Three hundred and two (302) respondents from 61 countries completed the survey […]

  • Profile picture of Jerome

    Jerome's profile was updated 9 years, 1 month ago

    Jerome

    @jeromebierman

    View Profile
  • Profile picture of Henry Wright

    Henry Wright replied to the topic BuddyPress restrict User Activity in the forum How-to & Troubleshooting 9 years, 1 month ago

    1. You could use user meta to store a post count
    2. You could use user meta to store a message count
    3. This could use post meta
    4. User meta
    5. Are you using an album plugin?

    You could run a scheduled task to remove the daily meta after 24h. I’m not aware of a plugin which will do all of this so I think custom code would be needed.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Remove Last Activity in the forum How-to & Troubleshooting 9 years, 1 month ago

    You will need to modify the template file. See the Template Hierarchy article for more info.

    Template Hierarchy

  • Profile picture of Codieslab

    Codieslab started the topic BuddyPress restrict User Activity in the forum How-to & Troubleshooting 9 years, 1 month ago

    I want to below functionality in buddy press .

    Is there any plugin or hook so we can restrict user activity .

    We need to following functionality with buddypress .

    01-Member can only post limited number of posts (2 posts/day?) in a day.
    02-Member can only send limited number of messages (5 messages/day) in a day.
    03-Member can add only one…[Read more]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Blog Search to include Members in results page? in the forum How-to & Troubleshooting 9 years, 1 month ago

    You can do it like this


    bp_has_members( array ( 'search_terms'=> get_search_query() ) );

    get_search_query() is the function you are looking for.

    Hope that helps.

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Blog Post Activity Stream Updates in the forum How-to & Troubleshooting 9 years, 1 month ago

    Hi,
    most probably site tracking option is disabled. Please visit settings->BuddyPress and on the component page, please make sure that site tracking is enabled.

    Once it is enabled, the new post/comments will be recorded in the activity.

    Hope that helps.

  • Profile picture of Christian Freeman (codelion)

    Christian Freeman (codelion) started the topic Blog Post Activity Stream Updates in the forum How-to & Troubleshooting 9 years, 1 month ago

    Hi guys,

    I’m running WordPress 4.7.3 and BuddyPress 2.8.2. I recently noticed that BuddyPress is not posting Activity Stream Updates when a new Blog Post is published or when a Comment is made. Any ideas on how to fix this?

    Thanks,

  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In