Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 13,801 through 13,825 (of 32,678 total)
  • Author
    Search Results
  • #165716
    danbp
    Participant

    The author answer means that the plugin works only with group forums ?!!!

    So you have to search another rating widget who works with bbPress or create it yourself or to configure your buddypress to use group forums instead of a standalone forum.

    But as bbP is fully post typed, have you tried to use the plugin’s shortcode ?
    https://wordpress.org/support/topic/ratings-in-custom-post-types

    #165706
    Nate
    Participant

    Here’s the plugin: https://wordpress.org/plugins/rating-widget/

    The developer said: “seems like you are using the standalone version of bbPress … we only support BuddyPress’es bbPress forums.”

    I don’t have any group forums, as they’re not necessary. Using most recent version of WP & BP under Woo’s Canvas theme. Thanks!

    Emily Barney
    Participant

    I have been having the same issue and it looks like I might have a solution – I’ll at least post what steps I’ve taken and what documentation I based them on. I am running WordPress 3.5.1 as a multisite subdirectory installation on a WIMP server.

    I read over this page of documentation that seems to apply to the situation, and I added the
    define ( ‘BP_ROOT_BLOG’, # ) line to the wp-config.php file in the root directory.
    https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/

    That didn’t solve it, so I went back to read over this page:
    https://codex.buddypress.org/developer/customizing/changing-internal-configuration-settings/
    I find the references to WPMU kind of confusing, since that hasn’t been used since before 3.0, I thought. And when I looked for the “bp-custom.php” file, I don’t see it anywhere in the recent installation. I found some of the same lines in the bp-loader.php file, but changes to that file didn’t change anything, since it seemed to be looking for a multiblog setting fist.

    So I went to this page and read through it:
    https://codex.buddypress.org/bp_enable_multiblog/
    That lead me to add this line to my wp-config.php file:
    define ( ‘BP_ENABLE_MULTIBLOG’, true );

    I removed the changes I’d made to the bp-loader.php file to be sure there wouldn’t be problems later.

    With both lines added to the wp-config.php file, I was finally able to go to this page and see the pages that belonged to the subsite rather than the root blog: {websiteurl}wp-admin/admin.php?page=bp-page-settings. I will need to check to see what changes this makes to the rest of my blogs, but at least we have a test site running Buddypress now.

    Also, is there any chance these codex pages could get updated? There are all kinds of references to multisite or network or WMPU that are not entirely clear and, as I mention above, there are instructions to open files in the buddypress install that don’t exist by those names anymore.

    tosen
    Participant

    The wordpress post thumnbnail does not appear in the buddypress activity stream, only the title appears. how can i make it display wordpress thumnbnail together with buddpress on same activity streams

    #165685
    Kubrix
    Participant

    When logging into my wp site users gets logged out automatically for some reason. This a new issue and I can’t locate the fault.
    There is no problem logging in to my site as a user, but navigating around the menus causes the site to lose/forget that the user was logged in.

    I’ve updated buddy press and wordpress to newest releases. My site is http://www.sportsdans.org

    Thanks

    #165682
    bp-help
    Participant

    @ldjautobody
    You can use the procedures from this tutorial:
    http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
    You could have a different logged out menu in which you could include the register link.

    #165678

    In reply to: video plugin wp 3.5.1

    bp-help
    Participant

    @jimahrens
    These two plugins handle video different so make sure to read the descriptions and choose the one that best fits your requirement.
    https://wordpress.org/plugins/buddypress-media/
    https://wordpress.org/plugins/buddypress-activity-plus/

    Hellen83
    Participant

    Hello,
    i just created my WordPress website with buddypress plugin (both latest versions). I use ˝WildCommunity˝ theme. My site is http://blingez.com/
    Groups are working good, but there is a problem.
    If i create a group without forum, i still get ˝/forum/˝ at the end of my URL… and page group won´t load( i get error that can´t be found),
    but if i remove ˝forum˝ from the end of my URL i can see the page of my group.
    (In backend if i go on groups, and view one without forum, i´ll be directed to valid link, but if i press on group title on home page it will generate wrong link( one with the forum at the end))
    Is this a group modul problem or something else?
    Thank you,
    Helena

    #165664
    Kitefr
    Participant

    Hi everyone !

    I struggled some time with that so i’m finally asking for help ^^

    I want to modify the menu inside the members, groups etc… to add the submenu direclty within it !
    So basicaly to go to that :
    Version of the menu i got now

    To that :
    To that possibility !

    I currently copy the bp_get_displayed_user_nav() function into my theme’s functions.php but i don’t know if i’m doing in wrong…

    Wordpress version : 3.5.1
    Buddypress version : 1.7.2

    Thank you in advance ^^

    #165654
    P
    Participant

    The problem is I need to modify the core files and add a plugin at the same time so a user can change the Throttling settings in his WordPress backend.

    I really tried to simple write a plugin and skip the core files modifications, but it’s just not working out. Maybe you can help out here, I will post the 3 core file functions which I modified as well as the plugin code which I wrote. If you can figure out a way for me to not modify the core files and still get Throttling to work, share your code.

    Modified files:

    1- bp-activity\bp-activity-functions.php

    function bp_activity_post_update( $args = '' ) {
    	global $bp;
    
    	$defaults = array(
    		'content' => false,
    		'user_id' => bp_loggedin_user_id()
    	);
    	$r = wp_parse_args( $args, $defaults );
    	extract( $r, EXTR_SKIP );
    
    	if ( empty( $content ) || !strlen( trim( $content ) ) )
    		return false;
    
    	if ( bp_is_user_inactive( $user_id ) )
    		return false;
    
    	<strong>$floodTest = bp_core_check_for_flood ($user_id);
    	
    	if (!$floodTest)
    		return "flood";</strong>
    
    	// Record this on the user's profile
    	$from_user_link   = bp_core_get_userlink( $user_id );
    	$activity_action  = sprintf( __( '%s posted an update', 'buddypress' ), $from_user_link );
    	$activity_content = $content;
    	$primary_link     = bp_core_get_userlink( $user_id, false, true );
    
    	// Now write the values
    	$activity_id = bp_activity_add( array(
    		'user_id'      => $user_id,
    		'action'       => apply_filters( 'bp_activity_new_update_action', $activity_action ),
    		'content'      => apply_filters( 'bp_activity_new_update_content', $activity_content ),
    		'primary_link' => apply_filters( 'bp_activity_new_update_primary_link', $primary_link ),
    		'component'    => $bp->activity->id,
    		'type'         => 'activity_update'
    	) );
    
    	$activity_content = apply_filters( 'bp_activity_latest_update_content', $content );
    
    	// Add this update to the "latest update" usermeta so it can be fetched anywhere.
    	bp_update_user_meta( bp_loggedin_user_id(), 'bp_latest_update', array( 'id' => $activity_id, 'content' => $content ) );
    
    	do_action( 'bp_activity_posted_update', $content, $user_id, $activity_id );
    
    	return $activity_id;
    }
    

    2- bp-core\bp-core-moderation.php

    function bp_core_check_for_flood( $user_id = 0 )
    {	
    	<strong>// Option disabled. No flood checks.
    	if ( !$throttle_time = bp_get_option( 'bt_activity_time' ) )
    		return false;
    	
    	// Bail if no user ID passed
    	if ( !$user_id )
    		return false;
    
    	$last_posted = get_user_meta( $user_id, '_bp_last_posted', true );
    	
    	if ( !$last_posted )
    	{		
    		$last_posted = time();
    		add_user_meta( $user_id, '_bp_last_posted', $last_posted);
    		return true;
    	}
    	else
    	{	
    		if ( ( time() < ( $last_posted + $throttle_time ) ) && !current_user_can( 'throttle' ) )
    		{
    			update_user_meta($user_id,'_bp_last_posted',time());
    			return false;
    		}
    		else
    		{
    			update_user_meta($user_id,'_bp_last_posted',time());
    			return true;
    		}
    	}</strong>
    }

    3- bp-themes\bp-default\_inc\ajax.php

    function bp_dtheme_post_update() {
    	// Bail if not a POST action
    	if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
    		return;
    
    	// Check the nonce
    	check_admin_referer( 'post_update', '_wpnonce_post_update' );
    
    	if ( ! is_user_logged_in() )
    		exit( '-1' );
    
    	if ( empty( $_POST['content'] ) )
    		exit( '-1<div id="message" class="error"><p>' . __( 'Please enter some content to post.', 'buddypress' ) . '</p></div>' );
    
    	$activity_id = 0;
    	if ( empty( $_POST['object'] ) && bp_is_active( 'activity' ) ) {
    		$activity_id = bp_activity_post_update( array( 'content' => $_POST['content'] ) );
    
    	} elseif ( $_POST['object'] == 'groups' ) {
    		if ( ! empty( $_POST['item_id'] ) && bp_is_active( 'groups' ) )
    			$activity_id = groups_post_update( array( 'content' => $_POST['content'], 'group_id' => $_POST['item_id'] ) );
    
    	} else {
    		$activity_id = apply_filters( 'bp_activity_custom_update', $_POST['object'], $_POST['item_id'], $_POST['content'] );
    	}
    
    	if ($activity_id == "flood")
    	{
    		$bt_activity_throttle_time = bp_get_option ('bt_activity_time');
    		$bt_activity_message = bp_get_option( "bt_activity_message" );
    		
    		$msg = ( $bt_activity_message ) ? $bt_activity_message : "You have to wait to post again";
    		
    		exit( '-1<div id="message" class="error"><p>' . __( $msg, 'buddypress' ) . '</p></div>' );
    	}
    
    	if ( empty( $activity_id ) )
    		exit( '-1<div id="message" class="error"><p>' . __( 'There was a problem posting your update, please try again.', 'buddypress' ) . '</p></div>' );
    
    	if ( bp_has_activities ( 'include=' . $activity_id ) ) {
    		while ( bp_activities() ) {
    			bp_the_activity();
    			locate_template( array( 'activity/entry.php' ), true );
    		}
    	}
    
    	exit;
    }

    4- The Buddypress Throttling Plugin Code

    <?php
    add_action( 'admin_menu', 'plugin_menu' );
    
    function plugin_menu() {
    	// add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function);
    	add_options_page( 'Buddypress Throttling | Settings', 'Buddypress Throttling', 'manage_options', 'buddypress_throttling', 'buddypress_throttling_options' );
    }
    
    function buddypress_throttling_options() {
    
        //must check that the user has the required capability 
        if (!current_user_can('manage_options')) {
         	WP_die( __('You do not have sufficient permissions to access this page.') );
        }
    
        // variables for the field and option names 
        $hidden_field_name = 'submit_hidden';
    
        // See if the user has posted us some information
        // If they did, this hidden field will be set to 'Y'
        if( isset($_POST[ $hidden_field_name ]) && $_POST[ $hidden_field_name ] == 'Y' ) 
    	{
    		// Activity
    		$bp_activity_time_val =  ( intval($_POST["bt_activity_time"]) <= 0 ) ? 0 : $_POST ["bt_activity_time"];
    		update_option( "bt_activity_time", $bp_activity_time_val );
    		
    		$bp_activity_message_val =  ( isset($_POST["bt_activity_message"]) && $_POST["bt_activity_message"] != "" ) ? $_POST["bt_activity_message"] : "Please wait before posting again";
    		update_option( "bt_activity_message", $bp_activity_message_val );
    		?>
    		
    		<div class="updated"><p><strong><?php _e('Settings saved.', 'menu-test' ); ?></strong></p></div>
    		<?php
    	}
    	
    	// Activity read values
    	$bt_activity_time = get_option( "bt_activity_time" );
    	$bt_activity_time = (intval($bt_activity_time) <= 0) ? 0 : $bt_activity_time;
    	$bt_activity_message = get_option( "bt_activity_message" );
    	$bt_activity_message = ($bt_activity_message) ? $bt_activity_message : "Please wait before posting again";
    	
    	echo '<div class="wrap">';
    		echo "<h2>" . __( 'Buddypress Throttling Settings', 'menu-test' ) . "</h2>";
    		?>
    	
    		<form name="form1" method="post" action="">
    			<input type="hidden" name="<?php echo $hidden_field_name; ?>" value="Y">	
    			<div class="bt-plugin">
    				<style>
    					.bt-plugin span { display: inline-block; width: 120px; margin-left: 20px }
    					.bt-plugin textarea {width: 400px}
    				</style>
    				<h3><?php _e("On Activity Page: ", 'menu-test' ); ?></h3>
    				<p><span>Throttling Time:</span><input type="text" name="bt_activity_time" value="<?php echo $bt_activity_time; ?>" size="20"> (in seconds)</p>
    				<p><span>Message:</span><textarea name="bt_activity_message" rows="3"><?php echo $bt_activity_message; ?></textarea></p>
    			</div>
    			<p class="submit">
    			<input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
    			</p>
    		</form>
    	</div>
    <?php
    }

    Test it out locally, just replace the specified functions in these files with the functions I wrote, add the plugin code in a php file and save it under your Plugins directory (and activate it in the backend). The Plugin code will allow you to set the number of seconds for throttling as well as the message the user will see when he’s flooding.

    Put this puzzle pieces together and you got Flooding control (for the activity page for now), which can easily be done for friend requests @bphelp).

    #165629
    @mercime
    Participant

    Members page is not visible in the top menu bar

    @waterfiend check out http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/ or have a look at different solutions posted for a private BP site at https://buddypress.org/support/topic/protecting-buddypress-pages-from-non-logged-in-users/

    #165626
    @mercime
    Participant

    @tudmak This is the file you should be adding the HTML/CSS to https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-templates/bp-legacy/buddypress/members/single/member-header.php
    or you can use bp_before_member_header() or bp_after_member_header() to add the HTML and position the item where you want it in your stylesheet

    #165604
    bp-help
    Participant

    @synaptic
    BuddyPress Registration Options is similar to this idea but it only allows a user to fill out their profile and upload an avatar until the admin approves their account. It doesn’t allow posting to the activity stream however. IMHO if a user doesn’t take the time to fill out their profile then it is a good indicator that they are a spammer but I can see the value in your idea and would I would like to see this functionality in a plugin.
    https://wordpress.org/plugins/bp-registration-options/

    FeedMyPopHeart
    Participant

    Wordpress Version: 3.5.1
    Buddypress Version: 1.7.2
    Site (specifically with the example of what I’m talking about): http://feedmypopheart.net/members/the-little-monster/profile/public/

    Basically, I have a HUGE amount of pages that will continue to grow. And on many pages, especially the profile page, each page that I have authored/created showed up and it is making page load times and the length of said pages HUGE. Any help on how to get rid of them/keep them from showing up? Thanks!

    #165574

    In reply to: Remove profile links

    Yukon Cornelius
    Participant

    I was having the same problem, and it wouldn’t work for me with any of the suggested hacks in bp-custom.php

    I found a thread in the WordPress forum on the same topic which worked. Just put:

    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9);

    in your theme functions.php

    Hope that helps.

    #165572
    devrap
    Participant

    I’m having this same issue, but on a newer version of BP (1.7.1). I’ve submitted a ticket to report this bug, https://buddypress.trac.wordpress.org/ticket/5046#ticket. The error doesn’t occur if *all* fields of the extended profile are filled out.

    #165564
    modemlooper
    Moderator

    You shouldn’t edit those files. You can add settings with a plugin. If you want that as a core feature then post on http://buddypress.trac.wordpress.org then submit a patch of working code.

    #165563
    tsinclair1982
    Participant

    I am trying to get my head around the mutltisite, so if in theory i have 50 networks and members are on various networks and roam through various content on a wordpress network, is there a way to have a central “HOME” for each user to see all activity streams from friends, projcts groups etc..??

    I think people will get lost.

    thanks,

    tom

    #165527

    In reply to: BP-Default fonts

    @mercime
    Participant
    #165523
    @mercime
    Participant

    @thecrow72 basically, BuddyPress uses the WP email functions for its registration process. Deactivate BuddyPress, bbPress and other plugins then check your WP registration/activation emails, etc. If it’s not working, then please resolve your issue at https://wordpress.org/support/forum/how-to-and-troubleshooting

    Before activating BuddyPress, read https://codex.buddypress.org/user/before-installing/

    Good luck!

    #165517
    @mercime
    Participant

    the plugin is “breaking” the layout because its using different content tags

    @millo it’s more like your theme is using proprietary templating system. BuddyPress is compatible with nearly all of the WordPress themes in the market.

    BuddyPress uses the page.php file to render BP components. Open up your theme’s page.php file and Save As > buddypress.php and ask your theme developer to change the respective proprietary tags to show the_title and the_content in source.

    After that’s done, upload buddypress.php file into your theme folder in server.

    #165506
    @mercime
    Participant

    @adamfratino Thank you for posting back about the cause of the bbPress avatar issue. Please post at plugin’s support forums about the bbPress avatars issue when BuddyPress and Social Login are activated. https://wordpress.org/support/plugin/oa-social-login

    #165500

    In reply to: email

    @mercime
    Participant
    #165498
    adamfratino
    Participant

    Wordpress 3.5.1, Buddypress 1.7.2, using Bonpress free theme from WPZOOM. I just realized there might be a conflict with WordPress Social Login, which is pulling avatar data from Facebook/Twitter when registering new members, or just when logging them back in with the social options.

    When I shut off WordPress Social Login, the Buddypress avatars show up in BBPress. When I turn social login back on, the original avatars from when the user signed up take over the BBPress avatars.

    #165490

    In reply to: [Resolved] Ajax?

    Cidade Sonho
    Participant

    Sorry but the logout of admin bar don´t do this issue.

    Only the logout of sidebar make this issue.

    I remove the logout button on sidebar in my two domain and now it´s working!

    sorry about the english

    cheers from Brazil, love BuddyPress. Keep Going on Excelent Work of WordPress

Viewing 25 results - 13,801 through 13,825 (of 32,678 total)
Skip to toolbar