-
Henry Wright replied to the topic Show the faces of users who liked an Activity in the forum How-to & Troubleshooting 9 years, 7 months ago
Hi @tse11
Have you tried contacting the author at Buddydev?
-
Henry Wright replied to the topic Bump Activity to top Plugin in the forum Third Party Plugins 9 years, 8 months ago
Hi @tse11
Looking at the plugin’s source, I can see the function
etivite_bp_activity_bump_time_since()
filtersbp_activity_time_since
. The bump date is updated by functionetivite_bp_activity_bump_comment_posted()
.I realise the plugin may be 2+ years old but have you tried contacting the plugin author to see if any support is available?
-
Florence Baby replied to the topic Show favourite count after each activity? in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi, @tse11, @deepbevel, @ousep
did anyone know a better solution for this in BP 2.0.
The above code is still working but it is not ajax. you have to reload the page to see the count.
Regards
-
bp-help replied to the topic Disable Buddypress Sitewide Activity RSS in the forum How-to & Troubleshooting 11 years ago
@tse11
Use init hook instead of bp_init! Place in bp-custom.php :
https://codex.buddypress.org/plugindev/bp-custom-php/
[Read more]
function pcfbp_lite_cut_nonreg_visitor_rss_feed() {
if ( !is_user_logged_in() ) {
remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' ,3 );
remove_action( 'bp_actions', 'bp_activity_action_personal_feed' ,3… -
aces replied to the topic Disable Buddypress Sitewide Activity RSS in the forum How-to & Troubleshooting 11 years ago
try replacing the ‘wp’ with ‘bp_actions’
function bp_remove_feeds() {
[Read more]
remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed', 3 );
remove_action( 'bp_actions', 'bp_activity_action_personal_feed', 3 );
remove_action( 'bp_actions', 'bp_activity_action_friends_feed', 3 );
remove_action( 'bp_actions',… -
Asynaptic replied to the topic Making Buddypress Private. in the forum Installing BuddyPress 11 years ago
thanks @tse11 but that’s not what I was asking :).
I’ve already seen the tutorial you linked to and btw, that tutorial has nothing to do with S2member or the private plugin @bp-help developed so I’m rather confused
-
Henry replied to the topic [Resolved] Register Page as Homepage redirect issue in the forum How-to & Troubleshooting 11 years ago
I came across this exact same thing a few weeks back so wrote the function below:
// redirect front page for logged in visitors
[Read more]
function redirect_front_page_for_loggedin_users() {
global $bp;
// redirect only when user is logged in and we are viewing the front page as set in WP admin
if ( is_user_logged_in() && ( is_front_page() ) )… -
@mercime replied to the topic [Resolved] Register Page as Homepage redirect issue in the forum How-to & Troubleshooting 11 years ago
-
bp-help replied to the topic [Resolved] How to redirect bp users to activity page in the forum How-to & Troubleshooting 11 years, 1 month ago
@tse11
What have you set as your front page? Links are always helpful! -
bp-help replied to the topic [Resolved] How to redirect bp users to activity page in the forum How-to & Troubleshooting 11 years, 1 month ago
@tse11
If the code above doesn’t work try this one because I just noticed you had mentioned multisite.
[Read more]
function bphelp_redirect() {
if( is_user_logged_in() && is_multisite() && is_super_admin && is_home) {
// redirect to dashboard code
bp_core_redirect( get_option( 'home' ) . '/wp-admin/' );
}else {
if( is_user_loggedin() &&… -
bp-help replied to the topic [Resolved] How to redirect bp users to activity page in the forum How-to & Troubleshooting 11 years, 1 month ago
@tse11
Patience please! Deactivate the plugin you was using for redirecting and try this in bp-custom.php https://codex.buddypress.org/plugin-development/bp-custom-php/ :
[Read more]
function bphelp_redirect() {
if( is_user_logged_in() && is_super_admin && is_home) {
// redirect to dashboard code
bp_core_redirect( get_option( 'home' ) . '/wp-admin/'… -
bp-help replied to the topic [Resolved] How to redirect bp users to activity page in the forum How-to & Troubleshooting 11 years, 1 month ago
@tse11
Search the forum. This has been covered before! You could create a conditional to do this. Basically an if and else statement. You would need to include is_super_admin in the conditional check and the user would be redirected appropriately. For instance:
[Read more]
function bphelp_redirect() {
if( is_user_logged_in() && is_super_admin ) {
//…
@tse11
Active 7 years ago