-
Henry Wright replied to the topic Adsense on activity stream? in the forum How-to & Troubleshooting 8 years, 7 months ago
entry.php is the code that displays a member in the loop. If you have 300 members and you paste the ad code into entry.php then the ad will display 300 times.
-
Henry Wright replied to the topic [Resolved] BBPress forum search not working in the forum Installing BuddyPress 8 years, 7 months ago
…how can you get someone to look at a query
The forum is volunteer run and there’s no way to get paid support. We don’t usually advise this but I guess you could try bumping your topic?
-
Henry Wright replied to the topic [Resolved] BBPress forum search not working in the forum Installing BuddyPress 8 years, 7 months ago
Hi @janeakshar
Try asking over at bbPress. They should be able to help with bbPress-related questions like this.
-
Henry Wright replied to the topic Adsense on activity stream? in the forum How-to & Troubleshooting 8 years, 7 months ago
How are you adding the ad to the stream?
-
Henry Wright replied to the topic CSS background for Profile page only? in the forum How-to & Troubleshooting 8 years, 7 months ago
Check your page source to see if body classes are utilised by your theme. Then you can do:
body.classname #selector .etc {
// Stuff.
} -
Henry Wright replied to the topic Notification count if 0 dont display? in the forum How-to & Troubleshooting 8 years, 7 months ago
Try this:
$count = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
if ( $count > 0 ) {
echo $count;
} else {
// The notif count is 0.
} -
Henry Wright replied to the topic Private Message Count in the forum How-to & Troubleshooting 8 years, 7 months ago
If you don’t need to display the count on your website, the best way is to look in your database. The
bp_messages_messages
table will likely have lots of rows. The total number of rows will be the total number of messages sent.Running
SELECT COUNT(*) FROM table_name;
at the mysql terminal prompt will give you the info you need.Ref:…[Read more]
-
Henry Wright replied to the topic Adsense on activity stream? in the forum How-to & Troubleshooting 8 years, 7 months ago
It looks like you could have the path wrong. Instead of your_theme/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php, try:
your_theme/buddypress/activity/entry.php
-
Henry Wright replied to the topic Send email after rejection in the forum Creating & Extending 8 years, 7 months ago
The
friends_friendship_rejected
hook can be used here because it fires after a friendship request is rejected. Here’s an example:add_action( 'friends_friendship_rejected', function( $friendship_id, $friendship ) {
// Send your email here.
}, 10, 2 ); -
Henry Wright replied to the topic Blog commenting system in the forum Installing BuddyPress 8 years, 7 months ago
Some parts of BuddyPress use AJAX and some don’t. It’s common for plugin developers to add their own JavaScript, so feel free. See this article for info:
-
Henry Wright replied to the topic Setting Registration Page as static home page in the forum How-to & Troubleshooting 8 years, 7 months ago
This doesn’t happen for me. When I set the page “Register” to a static front page, I can still see custom profile fields in the sign up form. Can you post some details about your set up?
Theme
Plugins active
Do you use custom code snippets in bp-custom.php or functions.php?
etc -
Henry Wright replied to the topic Blog commenting system in the forum Installing BuddyPress 8 years, 7 months ago
Can we get that from buddypress?
You sure can! The activity feed has AJAX built in so you shouldn’t see page reloading after posting a comment.
If there is ajax functionality, does it do a continuous ‘load more’ or will it paginate after a set amount of comments?
By default, a “Load More” button is displayed which when clicked will load the…[Read more]
-
Henry Wright replied to the topic Using WP page templates with BuddyPress in the forum How-to & Troubleshooting 8 years, 7 months ago
bbpress.php is handled by bbPress so you should give those guys a shout:
This issue may also be applicable to BuddyPress templates so it’s worth keeping this topic open.
-
Henry Wright's profile was updated 8 years, 7 months ago
-
Henry Wright replied to the topic Pending Users Not Working in the forum How-to & Troubleshooting 8 years, 7 months ago
A user will become active after their first log in. Until then, they won’t appear in loops such as the member directory etc. However, they will get a profile URL: http://example.com/members/fred.
Hope this helps.
-
Henry Wright replied to the topic How can I make it so users can upload content for people to download? in the forum How-to & Troubleshooting 8 years, 7 months ago
In that case, try checking if there’s a plugin available. There could be something for WordPress which you could try to adapt to your needs.
-
Henry Wright replied to the topic Group cover photos not uploading in the forum Creating & Extending 8 years, 7 months ago
Do you see error messages on screen?
-
Henry Wright replied to the topic How can I make it so users can upload content for people to download? in the forum How-to & Troubleshooting 8 years, 7 months ago
How comfortable are you with PHP?
-
Henry Wright replied to the topic Shortcode to create Edit Profile Page in the forum How-to & Troubleshooting 8 years, 7 months ago
Can you try this?
I’ve removed the
$user
check which was unnecessary in this case. I also didn’t add a priority or the number of args passed (but again those are unnecessary so I’ve removed them).add_action( 'swpm_login', function() {
bp_core_redirect( bp_loggedin_user_domain() );
} ); -
Henry Wright replied to the topic Shortcode to create Edit Profile Page in the forum How-to & Troubleshooting 8 years, 7 months ago
So on successful login it looks as though Simple Membership’s
swpm_login
hook runs. With the Simple Membership plugin activated, try adding this to your theme’s functions.php file:add_action( 'swpm_login', function( $user, $pass, $remember ) {
[Read more]
if ( ! $user || is_wp_error( $user ) ) {
return;
}
bp_core_redirect(… - Load More
@henrywright
Active 8 months, 1 week ago