Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 14,901 through 14,925 (of 69,016 total)
  • Author
    Search Results
  • #229118
    gyfi
    Participant
    #229106
    Henry Wright
    Moderator

    Not off the top of my head but try searching the BP codebase for wp_enqueue_script using 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.

    #229098

    In reply to: Fan club?

    rsrmedia
    Participant

    Well 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.

    #229097

    In reply to: Fan club?

    Henry Wright
    Moderator

    Hi @rsrmedia

    The exact system you use depends on your exact requirements but in general, yeah, BuddyPress is great! πŸ˜€

    #229083
    NicolaCirotto
    Participant

    I have a little gift for you.
    Add this code in your functions.php

    function 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');
    #229078

    In 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/6013

    #229058
    modemlooper
    Moderator
    #229057
    modemlooper
    Moderator
    #229053
    modemlooper
    Moderator

    You edit this text via a language file.

    Customizing Labels, Messages, and URLs

    or wordpress.org/plugins/quick-localization/

    #229046
    Iryna_B
    Participant

    Ok, 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.

    #229038
    jbird
    Participant

    Well, 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…

    #229033
    GLCox
    Participant

    I 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

    #229029
    jbird
    Participant

    Sorry 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 = 0

    In 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…

    Hugo Ashmore
    Participant
    #229016
    GLCox
    Participant

    I 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);

    #229014
    ronia
    Participant
    #229004
    jbird
    Participant

    Shoot. 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 πŸ™

    #228999
    jbird
    Participant

    Just 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)

    #228998
    jbird
    Participant

    Ok, 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!!

    #228997
    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?

    #228987
    jbird
    Participant

    Just 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,
    Jason

    #228986
    Nexus66
    Participant

    Hey 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

    #228954
    Jimtrim
    Participant

    I 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.

    #228952
    Jimtrim
    Participant

    I’m doing a call to bp_register_group_extension( 'EP_Group_Tasks' ); with a class I want to extend the BP_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

    #228948
    jessy
    Participant

    This works for me: codex

Viewing 25 results - 14,901 through 14,925 (of 69,016 total)
Skip to toolbar