-
Marcella replied to the topic Where is the members page's search box source code? in the forum How-to & Troubleshooting 9 years, 7 months ago
-
Henry Wright replied to the topic How to disable HTML in BuddyPress private message in the forum Creating & Extending 9 years, 7 months ago
Hey @danbp,
WordPress provides a function for that. Check out
wp_filter_nohtml_kses()
. It strips all HTML from the string you provide so there’s no need to usepreg_replace()
.function hellowed_remove_html_private_messages( $message ) {
$message = wp_filter_nohtml_kses( $message );
return $message;
}
add_filter(…[Read more] -
bp-help replied to the topic FYI: Plugins to Lock BuddyPress Profile Fields in the forum Third Party Plugins 9 years, 7 months ago
-
Mac replied to the topic Volunteer for BuddyPress in the forum Requests & Feedback 9 years, 7 months ago
@bphelp as for expertise, there is none! I’m here because I’d like to learn BuddyPress, and I figured by helping, preferably by documenting, I’d learn, and possibly even help.
@danbp I’ve visited the Codex Standards & Guidelines. However, one issue I’m immediately finding is that I don’t have the ability to create or modify.
The reason I…[Read more]
-
Mac replied to the topic Volunteer for BuddyPress in the forum Requests & Feedback 9 years, 7 months ago
@bphelp as for expertise, there is none! I’m here because I’d like to learn BuddyPress, and I figured by helping, preferably by documenting, I’d learn, and possibly even help.
@danbp I’ve visited the However, one issue I’m immediately finding is that I don’t have the ability to create or modify.
The reason I dropped the request in this forum…[Read more]
-
Mac replied to the topic Volunteer for BuddyPress in the forum Requests & Feedback 9 years, 7 months ago
@bphelp as for expertise, there is none! I’m here because I’d like to learn BuddyPress, and I figured by helping, preferably by documenting, I’d learn, and possibly even help.
@danbp I’ve visited the . However, one issue I’m immediately finding is that I don’t have the ability to create or modify.
The reason I dropped the request in this…[Read more]
-
James replied to the topic Custom theme update after BP update in the forum How-to & Troubleshooting 9 years, 7 months ago
@danbp thank you for the reply, probably, my question wasn’t clear a bit.
I know everything about custom themes etc. Here is what I mean:
bp-legacy includes 72 files, any of them can be included (copied to) in a custom theme. Now we have BP 2.2 out. How can I, as a theme author, find out which of 72 files were changed in this new version, so…[Read more]
-
James replied to the topic Custom theme update after BP update in the forum How-to & Troubleshooting 9 years, 7 months ago
@danbp thank you for the reply, probably, my question wasn’t clear a bit.
I know everything about custom themes etc. Here is what I mean:
bp-legacy includes 72 files, any of them can be included (copied to) in a custom theme. Now we have BP 2.2 out. How do I, as a theme author, can find out which of 72 files were changed in this new version, so…[Read more]
-
David Bisset replied to the topic Trying To Get Access BBPress In My BuddyPress Plugin in the forum Creating & Extending 9 years, 7 months ago
-
Henry Wright replied to the topic [Solved] What are the correct action and filter hooks for comment notifications? in the forum How-to & Troubleshooting 9 years, 8 months ago
@danbp right, I see what you mean! 🙂
-
Henry Wright replied to the topic Is this a bug with Notifications? in the forum How-to & Troubleshooting 9 years, 8 months ago
Great stuff! (and thanks to @danbp 🙂 )
-
Henry Wright replied to the topic [Solved] What are the correct action and filter hooks for comment notifications? in the forum How-to & Troubleshooting 9 years, 8 months ago
Hey @danbp
More about this:
https://codex.buddypress.org/developer/function-examples/bp_notifications_add_notification/
@mcpeanut isn’t trying to add a new notification, instead the aim is to get the ‘unseen’ mention count.
-
rosyteddy replied to the topic Please help to get Permalink work for both BP and Multiuser Blog in the forum How-to & Troubleshooting 9 years, 8 months ago
@danbp Thanks
It seems it has been kept unresolved from WP WP 3.3.1
which means WP 4.1.1 is not usable for subfolder sites as of now.https://core.trac.wordpress.org/ticket/24585
https://core.trac.wordpress.org/ticket/20171 -
rosyteddy replied to the topic Vanishing links – any clue will help in the forum How-to & Troubleshooting 9 years, 8 months ago
@danbp Yes the plugin is network activated. Try visiting/clicking the links like Archives / Categories – Refresh and come back to the site home page.
If you have been unable to reproduce it will mean I am doing something weird or its a browser related problem ( I am using the very latest FF ).
This post is not meant to take up moderator time (…[Read more]
-
rosyteddy replied to the topic Please help to get Permalink work for both BP and Multiuser Blog in the forum How-to & Troubleshooting 9 years, 8 months ago
Hi @danbp Thanks.
Again when trying with
WP 4.1.1, BP 2.2.1 – default installs
define( ‘WP_ALLOW_MULTISITE’, true );
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
Registration Settings : Both sites and user accounts can be registered.
Using default Twenty-Fifteen theme
Using Apache serverI found some more things : see this pi…[Read more]
-
rosyteddy replied to the topic Please help to get Permalink work for both BP and Multiuser Blog in the forum How-to & Troubleshooting 9 years, 8 months ago
Hi @danbp Thanks.
Again when trying with
WP 4.1.1, BP 2.2.1 – default installs
define( ‘WP_ALLOW_MULTISITE’, true );
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
Registration Settings : Both sites and user accounts can be registered.
Using default Twenty-Fifteen theme
Using Apache serverI found some more things : see this pi…[Read more]
-
rosyteddy replied to the topic Help to put Favorit button in blog post page in the forum How-to & Troubleshooting 9 years, 8 months ago
Hi @danbp
This is working perfectly for Buddypics.
I was wondering if it works for Buddypics why it will not work for Blog posts.
So I tried putting the code – it shows Favorit link below blog post but it does not work as it misses a number. If this can be made to work, you can favorit a blog post from both activity stream and the blog post…[Read more] -
rosyteddy started the topic Help to put Favorit button in blog post page in the forum How-to & Troubleshooting 9 years, 8 months ago
buddypicsincludestemplatesalbumcomments.php
uses this code to show Fav/Unfav button in the post page itself
so that Fav/Unfav can be done like a 2-way switch from
both stream and content page
[Read more]
<?php if ( is_user_logged_in() ) : ?>
<?php if ( !bp_get_activity_is_favorite() ) : ?>
<a href="<?php bp_activity_favorite_link(); ?>" class="fav"… -
rosyteddy started the topic Help to put Favorit button in blog post page in the forum How-to & Troubleshooting 9 years, 8 months ago
buddypicsincludestemplatesalbumcomments.php
uses this code to show Fav/Unfav button in the post page itself
so that Fav/Unfav can be done like a 2-way switch from
both stream and content page
[Read more]
<?php if ( is_user_logged_in() ) : ?>
<?php if ( !bp_get_activity_is_favorite() ) : ?>
<a href="<?php bp_activity_favorite_link(); ?>" class="fav"… -
rosyteddy started the topic Help to put Favorit button in blog post page in the forum How-to & Troubleshooting 9 years, 8 months ago
buddypicsincludestemplatesalbumcomments.php
uses this code to show Fav/Unfav button in the post page itself
so that Fav/Unfav can be done like a 2-way switch from
both stream and content page
[Read more]
<?php if ( is_user_logged_in() ) : ?>
<?php if ( !bp_get_activity_is_favorite() ) : ?>
<a href="<?php bp_activity_favorite_link(); ?>" class="fav"… - Load More
@danbp
Active 7 years, 5 months ago