Forum Replies Created
-
have a look at the below tutorial, you should be able to get something out of it.
http://bp-tricks.com/snippets/adding-a-new-activity-stream-entry-when-a-user-changes-his-avatar/
you can hide it with css, put the below in style.css
li#members-personal{display:none;}
Naijaping
In reply to: Block activity stream typesIn reply to: Block activity stream typesYou can try @imath solution and edit it accordingly to include bbpress.
/* beginning of the code to paste in the functions.php of your active theme */
‘function imath_activivity_dont_save( $activity_object ) {
// friendship_created is fired when a member accepts a friend request
// joined_group is fired when a member joins a group.
$exclude = array( ‘friendship_created’, ‘joined_group’);// if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function
if( in_array( $activity_object->type, $exclude ) )
$activity_object->type = false;}
‘add_action(‘bp_activity_before_save’, ‘imath_activivity_dont_save’, 10, 1 );’
In reply to: Members uploading videos to websiteif you have a basic php and css knowledge then you can give it a go. the easiest way is by creating custom post type call Video with tags and categories capability.
then code upload form and link it to your post type.
wordpress built in oembed is another benefit for your user to be able to embed videos from oembed supported sites.
Naijaping
In reply to: Wording for “Check Your Email For Activation”You can copy over the file to your theme and edit accordingly
or use gettext function
e.g
‘function change_word_test( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case ‘Put all the words here’ :
$translated_text = __( ‘Put your version of the words here’ );
break;}
return $translated_text;
}
‘add_filter( ‘gettext’, ‘change_word_test’ );’or simply follow @bphelp, instruction
In reply to: how to deny login from wordpress login pageif you are using buddypress theme or child theme, you can easily hook the error message to the sidebar using:
‘add_action ( ‘bp_before_sidebar_login_form’, ‘my_xyz’);’
sometimes, developer might be so so busy on a new project and even have no time to check email.
anyways, he run this site: http://www.dz-tchat.com/ so you can try your luck if you can get hold of him.
regards
NAIJAPING
In reply to: Urgent – Website down!it seems the error is from activity privacy plugin. if you have access, login to your cpanel and rename : buddypress-activity-privacy To buddypress-activity-priv
that will deactive the plugin and you can take it further from there.
Naijaping
@kakilo, I posted 3 different version of that code in the forum and it is still working. It is for member-header and not members-loop but there is nothing stopping you from making it work with
members-loop just pay attention to the code.I still have that coding working in my member .
Naijaping
In reply to: How to override a core method? Urgent!goto wp-admin area, then to appearance —–> themes and you will see all your themes then click activate on any of the theme you want to use.
In reply to: Automatic email to Inactive Usersyou can try this: https://github.com/imath/bp-wake-up-sleepers
and there is another premium one call inactive user
Naijaping
In reply to: Notification widget/plugin?what exactly are you trying to do, just the notification link or more? any link to your test site may be i can be of help.
Naijaping
In reply to: Pages registration, like on FB?@3×7,
There is no plugin for that, but I think I remember someone did that before by using Group function. you can search the forum.
Naijaping
In reply to: Broken Plugin@avromi, that means you are out of memory. which host are you using? and do you have access to Cpanel?
I just released a widget plugin which shows photos and names of user’s friends or current viewing member’s friends and it shows total friends count aswell a link to view all. something similar to Facebook. you can have a look if it may be useful.
https://wordpress.org/plugins/bp-facebook-style-friend-lists/screenshots/
Naijaping
In reply to: What plugin to use? Please help.@lpp911, Have you tried : https://wordpress.org/plugins/buddypress-media/
which i believe is the best right now and does even more than what you want.
In reply to: Customize parent and child them?Any changes you want to make must be in the child theme, do not touch or customize the default theme because any customization done to the parent theme will be wiped out during buddypress update.
Regards
In reply to: Remove [Site Name] from email subject lineThis is what i did to remove it from activation email, you can play with it to remove it from all
function fix_bp_activation_subject($subject) { return __( "Activate Your Account",'buddypress ' ); } add_filter( 'bp_core_activation_signup_user_notification_subject ','fix_bp_activation_subject');Naijaping
@ishanna, this should work for you, if not let me know as I have another version.
<div id="online"> <?php global $bp; function check_is_user_online($user_id){ if ( bp_has_members( 'type=online&include='.$user_id) ) return true; else return false; } $this_id = bp_displayed_user_id(); $is_online = check_is_user_online($this_id); if ($is_online) echo "<img src='http://www.yourweb.com/wp-content/themes/yourtheme/_inc/images/online.png' />"; else{ echo "<img src='http://www.yourweb.com/wp-content/themes/yourtheme/_inc/images/offline.png' />";}Naijaping
In reply to: How to add a link to Friends Tab subnav@funmi-omoba, you can stop the problem by adding the following code in that subnav code
'user_has_access' => ( bp_is_my_profile() || is_super_admin() ),Naijaping
In reply to: Crazy and yet simple questionIn reply to: Gmail contacts importerok, may be you can give this a go. you will need to update it to work with latest WP/BP
https://wordpress.org/plugins/invitefriends-plug-in/
Naijaping
In reply to: Gmail contacts importerif you are a developer, have a look at this: https://developers.google.com/google-apps/contacts/v3/
It should give you an Idea.
Naijaping