Search Results for 'buddypress'
-
AuthorSearch Results
-
November 17, 2014 at 8:27 am #229118
In reply to: members list shows when not logged in..
gyfi
ParticipantThis one solved my problem:
https://wordpress.org/plugins/buddypress-members-only/November 16, 2014 at 9:19 pm #229106In reply to: move Bp scripts (js) to footer
Henry Wright
ModeratorNot off the top of my head but try searching the BP codebase for
wp_enqueue_scriptusing either your code editor or the BP GitHub repo search form:https://github.com/buddypress/BuddyPress
That should throw up all the handles you need.
rsrmedia
ParticipantWell I want to allow a free and an annual paid account, with the paid account having access to exclusive content. I don’t know if Buddypress can do something like that as well.
Henry Wright
ModeratorHi @rsrmedia
The exact system you use depends on your exact requirements but in general, yeah, BuddyPress is great! π
November 15, 2014 at 6:05 pm #229083In reply to: [Resolved] Recognise logged on user in activity
NicolaCirotto
ParticipantI have a little gift for you.
Add this code in your functions.phpfunction my_test($args) { if( is_user_logged_in() ) { global $activities_template; $logged_user = bp_core_get_user_displayname( bp_loggedin_user_id() ); if (strpos($args, $logged_user) !== false) { $old_text = '>' . $logged_user . '</a>'; $new_text = '>' . __('You', 'buddypress') . '</a>'; $args = str_replace($old_text, $new_text, $args); } } return $args; } add_filter('bp_get_activity_action', 'my_test');November 15, 2014 at 3:05 pm #229078In reply to: Unban from Group?
Skyrie
Participant@hnla I agree, especially since a lot of BuddyPress sites (including my own) prohibit a user from seeing the backend at all. We need an option in the actual frontend for the admin of a group to be able to unban, perhaps with a list of banned members. Right now my users have to contact a member of our staff to get someone unbanned from their group, which they shouldn’t have to do.
I’ve raised a ticket for this issue:
https://buddypress.trac.wordpress.org/ticket/6013November 14, 2014 at 7:55 am #229058modemlooper
ModeratorRead through this for examples https://buddypress.org/support/topic/adding-a-second-element-for-posting-with-an-activity/
November 14, 2014 at 7:49 am #229057In reply to: How to sync BP profiles between two BP networks
modemlooper
ModeratorNovember 14, 2014 at 12:56 am #229053In reply to: Rename "Add Friends" and "Cancel Friendship Request"
modemlooper
ModeratorYou edit this text via a language file.
or wordpress.org/plugins/quick-localization/
November 13, 2014 at 8:05 pm #229046In reply to: How to delete "create group" button?
Iryna_B
ParticipantOk, thanks. Then I will ask theme author. I just thought it’s Buddypress related and I didn’t want to bother theme authors with additional questions.
November 13, 2014 at 6:46 pm #229038In reply to: Comments not showing up in activity stream
jbird
ParticipantWell, just to make things even more interesting, rather than deleting everything (didn’t want to lose all the other WP customizations I’d already done), I created a new directory on my host, installed a new version of WP using a new DB and everything. Didn’t install one plugin except BuddyPress and used the out of the box Twenty Fourteen theme.
Still having the issue. Checked the DB via PhpMyAdmin, and it’s still showing the partially empty table rows.
I’m taking this as a sign that it’s just not meant to be…
November 13, 2014 at 5:41 pm #229033In reply to: Change default user profile sub navigation
GLCox
ParticipantI put the code named bp-custom.php, with <?php above the function statement and ?> below the add_action statement, in the directory wp-content/plugins/. There was no improvement, so I changed its permissions from 644 to 755. No change. Next, I moved bp-custom.php into the directory wp-content/plugins/buddypress with the 755 permissions. Still no improvement. I am beginning to think my BP directory/sub-directories, etc. are not what they should be.
I think I need to completely remove BP and all the local/user webpages I’ve created, read through the installation instructions again, then re-install. Let me do this, then get back to you if necessary. garyc
November 13, 2014 at 3:45 pm #229029In reply to: Comments not showing up in activity stream
jbird
ParticipantSorry for any confusion.
I have WP multisite installed on the same server which runs my main site. It does not have BuddyPress installed on it.
I have a clean, single version of WP installed in a separate directory on that same host. That’s the one I’m trying to get BP to work on. As far as I know, I installed it through the Add New Plugins panel directly from WP.
As far as the DB goes, I’m not that well-versed with mySQL, but I can export this. Under wp_bp_activity, I can see my test entries for “activity_update” “activity_comment” and “new_avatar”, all of which are showing up in the front end in the Activity stream.
However, when I post a comment in a blog, even though it shows up fine under the actual blog in the front end, this is the row that is added to the DB under the table wp_bp_activity:
id = 39
user_id = 2
component = members
type = last_activity
action =
content =
primary_link =
item_id =
secondary_item_id = NULL
hide_sitewide = 0
mptt_left = 0
mptt_right = 0
is_spam = 0In other words, action, content, primary_link, and item_id have NOTHING in them, which is not the case for the other rows that are showing up fine.
Not sure if this sheds any light…
November 13, 2014 at 2:12 pm #229026Hugo Ashmore
ParticipantCool thanks:
https://buddypress.trac.wordpress.org/ticket/6007Closing thread.
November 13, 2014 at 2:01 am #229016In reply to: Change default user profile sub navigation
GLCox
ParticipantI have to do the file creation with Notepad, then FTP the file into BP.
Is this correct? directory and filename: buddypress/bp-core/bp-custom.php
<?php
function bp_change_default_profile_sub_nav() {
if ( bp_is_user_settings() ) {
global $bp;
$args = array(
‘parent_slug’ => $bp->settings->slug, // Slug of the parent
‘subnav_slug’ => ‘profile’, // The slug of the subnav item to select when clicked
);
bp_core_new_nav_default($args);
}
}
?>where do I put?:
add_action( ‘bp_setup_nav’, ‘bp_change_default_profile_sub_nav’, 5);November 12, 2014 at 11:20 pm #229014In reply to: Comments not showing up in activity stream
ronia
ParticipantNovember 12, 2014 at 6:24 pm #229004In reply to: Comments not showing up in activity stream
jbird
ParticipantShoot. Well thanks for your effort.
I wonder if there would be any benefit to deleting buddypress altogether and reinstalling it?
Anybody else have any thoughts? I hate the idea of having to abandon Buddypress π
November 12, 2014 at 5:35 pm #228999In reply to: Comments not showing up in activity stream
jbird
ParticipantJust in case, I just deactivated Buddypress, posted a comment, and then re-activated it and posted another comment. Still no dice.
I also have “Discourage search engines from indexing this site” UNchecked in Settings > Reading (in case that matters)
November 12, 2014 at 5:30 pm #228998In reply to: Comments not showing up in activity stream
jbird
ParticipantOk, so I just tried again with the Twenty Twelve theme and every single plugin (including Akismet) deactivated, except for Buddypress.
While logged in under a test user account, I left a new comment on a blog post, and still no comments showing up in the activity stream at all. (It shows up under the post itself, and I’m getting new comment notifications to my admin email, so the general commenting is working…just not in conjunction with the Activity stream.)
*sigh*
Are there any other settings elsewhere in WP that might be causing this? (I just LOVE when I am the one to discover problems that no one can seem to solve π
Thanks so much for your advice!!
November 12, 2014 at 5:09 pm #228997In reply to: I can't upload a profile photo
marcmiquel
Participant“Buddypress Upload Avatar Ajax” upload the pics in a folder during the registration as I checked right now. But then they don’t appear in the profile. Plus, the tab associated to user profile area “change…” does not appear. What could it be? I tried with a new wordpress and theme and it works, so it must something related to my specific combination. I deactivated all the plugins besides buddypress and this one, but still, it does not work. I am afraid using super cachΓ© before or any security plugin broke my wordpress…Any idea?
November 12, 2014 at 1:04 pm #228987In reply to: Comments not showing up in activity stream
jbird
ParticipantJust a little more info…
I’ve tried this with all plugins deactivated except buddypress and akismet, and also with the twenty thirteen theme. Still no blog comments are showing up in the Activity Stream at all in either scenario. I would think that should eliminate plugin or custom theme conflicts as issues.
I have WordPress multisite installed elsewhere on my domain, but this is installed in a fresh, single WordPress installation (4.0) in a different directory.
I’ve seen a bunch of old threads in this forum that talk about search engine blocking being a factor, but I’m not sure which settings are relevant to that in the recent version of WP.
I am desperate for some insight!
Cheers,
JasonNovember 12, 2014 at 12:52 pm #228986In reply to: Possible to upload Avatars for other User as Admin?
Nexus66
ParticipantHey guys, had a similar issue with the avatars not getting uploaded from frontend.
The issue resolved itself after updating from Buddypress 2.0.2 to latest 2.1.1
November 11, 2014 at 2:43 pm #228954In reply to: Unable to find BP_Group_Extention
Jimtrim
ParticipantI only get fatal error
class declarations may not be nested. I that I may have this be a function living in the global scope, but thats extremly ugly OOP-wise.Also: according to Group Extension API/ it should not be neccessary, as this method is to declare the class during plugin initiation.
November 11, 2014 at 2:31 pm #228952In reply to: Unable to find BP_Group_Extention
Jimtrim
ParticipantI’m doing a call to
bp_register_group_extension( 'EP_Group_Tasks' );with a class I want to extend theBP_Group_Extensionclass. Full code of the file:<?php /** * User: jimtrim * Date: 11/11/14 * Time: 09:17 */ if ( class_exists( 'BP_Group_Extension' ) ) { class BP_Group_Tasks extends BP_Group_Extension{ /** * Here you can see more customization of the config options */ function __construct() { $args = array( 'slug' => 'tasks', 'name' => __('Tasks', 'revyweb'), 'nav_item_position' => 90, 'screens' => array( 'create' => array( 'name' => __('Create task', 'revyweb'), 'submit_text' => __('Save task', 'revyweb') ), 'edit' => array( 'name' => __('Edit task', 'revyweb'), 'submit_text' => __('Save task', 'revyweb') ), 'admin' => array( 'name' => __('Administer task', 'revyweb'), 'submit_text' => __('Save task', 'revyweb') ), ), ); parent::init( $args ); } function display() { //get_template_part( 'buddypress/custom/view', 'tasks' ); $group_id = bp_get_group_id(); echo "GET READY FOR SOME TASKS"; } public function settings_screen( $group_id = null ) { //get_template_part( 'buddypress/custom/settings', 'tasks' ); $setting = groups_get_groupmeta( $group_id, 'task_name' ); ?> Save your task name here: <input type="text" name="task_name" value="<?php echo esc_attr( $setting ) ?>" /> <?php } function settings_screen_save( $group_id = NULL ) { $setting = ''; if ( isset( $_POST['task_name'] ) ) { $setting = $_POST['task_name']; } groups_update_groupmeta( $group_id, 'task_name', $setting ); } } bp_register_group_extension( 'EP_Group_Tasks' ); } else { $msg = "Class BP_Group_Extension not found for Revyweb_Personal"; // trigger_error($msg, E_USER_NOTICE); echo $msg; }Edit: yes, User Groups are enabled, and I can display user groups on the frontend, but I can’t add my own BP_Group_Extention
November 11, 2014 at 1:50 pm #228948In reply to: Unable to find BP_Group_Extention
-
AuthorSearch Results