-
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
-
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' ) ); -
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]
-
Round World Travels's profile was updated 9 years, 1 month ago
-
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([Read more]
array(
'page' => 'bp-profile-setup',
'group_id' => (int)… -
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!
-
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_FormThe registration page is created by BuddyPress and can be modified in many ways. You’ll need to understand theme compatibility and overriding…[Read more]
-
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]
-
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?
If “Activate” is not set up, then WP will redirect you to your site’s home page.
-
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
-
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.
-
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.
-
@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 […]
-
Jerome's profile was updated 9 years, 1 month ago
-
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.
-
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.
-
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] -
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.
-
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.
-
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