Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 21,051 through 21,075 (of 69,119 total)
  • Author
    Search Results
  • #164588
    Hugo Ashmore
    Participant

    You can prevent theme compatibility running by simply overloading those BP files as you did before in your theme root using full bp templates – in 1.8 we are looking to introduce the ability to overload templates in theme compatibility mode with files such as index-activity.php, index-component-profile.php etc:
    https://buddypress.trac.wordpress.org/ticket/4639

    #164586
    P
    Participant

    @Chouf1, that’s my blog you’re linking to. I am not sure if they added Throttling to the new Buddypress version. I opened a ticket months ago, the milestone has been set to: version 1.7 to Future Release https://buddypress.trac.wordpress.org/ticket/3732. This is a bit frustrating since Throttling makes for great spam control.


    @tifire
    Go to /bp-friends/bp-friends-functions.php in your Buddypress installation and change the friends_add_friend function to the following:

    function friends_add_friend( $initiator_userid, $friend_userid, $force_accept = false ) {
    	global $bp;
    
    	$friendship = new BP_Friends_Friendship;
    
    	if ( (int) $friendship->is_confirmed )
    		return true;
    
    	$friendship->initiator_user_id = $initiator_userid;
    	$friendship->friend_user_id    = $friend_userid;
    	$friendship->is_confirmed      = 0;
    	$friendship->is_limited        = 0;
    	$friendship->date_created      = bp_core_current_time();
    	
    	/**
    	 * BuddyPress Friend Request Throttling
    	 *
    	 * Set a throttle period for user friendship requests
    	 *
    	 * @author Patrick Saad
    	*/
    	
    	global $wpdb;
    	$qry = "SELECT date_created FROM wp_bp_friends where initiator_user_id = '".$initiator_userid."' order by date_created desc limit 1";
        $user_friend_requests = $wpdb->get_results( $qry );
    	
    	if ($user_friend_requests)
    	{
    		$latest_user_request = strtotime($user_friend_requests[0]->date_created, time());
    		$time_since_latest_request = time() - $latest_user_request;
    		
    		// that's 2 minutes
    		$throttle_period = 60 * 2;
    		
    		// if the last request was over 5 minutes ago, allow it
    		
    		if ($time_since_latest_request < $throttle_period)
    			return false;
    	}
    	// End of BuddyPress Friend Request Throttling //
    
    	if ( $force_accept )
    		$friendship->is_confirmed = 1;
    
    	if ( $friendship->save() ) {
    
    		if ( !$force_accept ) {
    			// Add the on screen notification
    			bp_core_add_notification( $friendship->initiator_user_id, $friendship->friend_user_id, $bp->friends->id, 'friendship_request' );
    
    			// Send the email notification
    			friends_notification_new_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    
    			do_action( 'friends_friendship_requested', $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    		} else {
    			// Update friend totals
    			friends_update_friend_totals( $friendship->initiator_user_id, $friendship->friend_user_id, 'add' );
    
    			do_action( 'friends_friendship_accepted', $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    		}
    
    		return true;
    	}
    
    	return false;
    }

    This will prevent a user from sending a friendship request to someone if their recent friendship request date was less than, say 2 minutes (change the $throttle_period variable to modify this time)

    Just gave this a fresh test, works in Buddypress 1.7.2. This same concept can be applied to comments, groups, etc, you just have to find the functions and play around.

    #164576
    dbd13
    Participant

    @mjbenzon I am willing to spend my own money in continuing the development of it if you guys would be willing to share it. I can also sign any agreement that I would not step in your niche. I would like to use it for my ethnicity as a casual dating site.

    #164574
    hiboy
    Participant

    @mercime Thank you for replying again

    Settings > forums , i only got the following option , no buddypress

    Main Settings

    Main forum settings for enabling features and setting time limits
    Disallow editing after minutes
    Throttle posting every seconds
    Revisions Allow topic and reply revision logging
    Favorites Allow users to mark topics as favorites
    Subscriptions Allow users to subscribe to topics
    Topic tags Allow topics to have tags
    Anonymous posting Allow guest users without accounts to create topics and replies
    Default user role
    Auto role Automatically assign default role to new, registered users upon visiting the site.
    Fancy editor Use the fancy WordPress editor to create and edit topics and replies
    Auto-embed links Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies
    Per Page

    How many topics and replies to show per page
    Topics per page
    Replies per page
    Per RSS Page

    How many topics and replies to show per RSS page
    Topics per page
    Replies per page
    Archive Slugs

    Custom root slugs to prefix your forums and topics with. These can be partnered with WordPress pages to allow more flexibility.
    Forums base
    Topics base
    Single Slugs

    Custom slugs for single forums, topics, replies, tags, users, and views here. If you change these, existing permalinks will also change.
    Forum Prefix Prefix your forum area with the Forum Base slug (Recommended)
    Forum slug
    Topic slug
    Topic tag slug
    Reply slug
    User slug
    Topic view slug
    Search slug

    Sorry i couldnt upload images

    #164573
    facs01
    Participant

    @fordp I wanted to ask you where exactly did you put the copy of the bp-groups and where did you replace the word “vehicle” for “group” I’m very new at buddypress, and need to build a site with a similar functionality as you.

    Thanks!

    Fabio C.

    #164572
    @mercime
    Participant

    @hiboy just to be clear, did you upgrade from previous BuddyPress version with the old group forum installed OR is this a new install on WP 3.5.1 and BP 1.7.2? If this is a new install, then just go to admin dashboard menu Settings > Forums and go to the bottom of that page and uncheck “Enable Group Forums”

    #164571
    hiboy
    Participant

    @mercime Thank you thank you of replying me , yes is a typo,
    my wordpress is 3.5.1
    bp is 1.7.1

    I would like to remove the option 3. Forum, cause i also have bbpress installed, i want user to use 1 forum as global, secondly it also causing a issue, when they create a group forum , the thread is shown in bbpress forum too.

    I think to remove this is edit through buddypress plugin, but i unsure how.

    @mercime
    Participant

    i think i did this by just not displaying the comment buttons in the activity stream … something like that.


    @dainismichel
    go to Settings > BuddyPress > Settings – Activity Streams and check “Disable activity stream commenting on blog and forum posts?”

    #164568
    @mercime
    Participant

    @mookmik is your issue about not being able to delete an image via BuddyPress Media? If so, have you posted in their support forums?

    #164563

    In reply to: Hide General Settings

    alienalias
    Participant

    I know this is probably the dumbest question ever, but I am a non-techy type and could REALLY use some help. I don’t write nor understand code, but have successfully inserted multitudes of code successfully when given good instruction. So, I apologize for my lack of knowledge in advance, and also extend sincere thanks for your help. What I’m wondering is this:

    I have a membership site that auto-assigns passwords and such, so similarly to the original poster, I can’t have that “Settings” tab under my BuddyPress profiles and etc. However, I have NO idea exactly WHERE to place that code. I tried inserting it at the end of the code, at the line before the ending ?> . It doesn’t work.

    Furthermore, I need to make sure it is the correct function.php file. Should it be in the function.php file for the actual theme, or the BuddyPress child theme?

    THANK YOU so much for your help!

    #164556
    bp-help
    Participant
    #164547

    In reply to: Capabilities Editor

    Ben Hansen
    Participant

    the problem is that the capabilities do not actually exist like they do for bbpress and wordpress maybe you should try to ask your questions after the next devchat. @jjj mentioned that they do want to add them at some point in the future perhaps you can pitch in if you are eager to make it happen.

    devchat info here:

    https://buddypress.org/support/topic/buddypress-dev-chat/

    bp-help
    Participant

    @hnla
    Hi Hugo! Yes the plugin was listed at the top of the plugins page here for many months. You are precise that the plugin was not BP related. The author had tagged it buddypress in the readme.txt and any time a BP relatated plugin author would release a legitimate new release plugin, then the author of AtContent would manipulate the plugins readme.txt in the SVN without any legitimate change to the plugin in an effort to stay at the top of the list on this site which was pushing down legitimate BP plugin releases and making it harder for users to find new legitimate BP plugin releases. I know the plugins are not hosted here but I found that practice to be a little unethical. I have had some correspondence with the author and apparently he has decided to do the right thing by removing the buddypress tag from the readme.txt, now the only way it shows up on here is if you do a search:
    https://buddypress.org/extend/plugins/?ps=AtContent
    I suppose this could be marked as resolved if you would like. Thanks! @hnla @johnjamesjacoby

    #164540
    @mercime
    Participant

    i running wordpress 3.4.2 with buddypress 1.7.1.


    @hiboy
    Please clarify, do you have a typo above? Makes a difference.
    WP 3.4.2 is compatible with BP 1.6.1
    BP 1.7.1 is compatible with WP 3.5.1

    #164535
    Andres Felipe
    Participant

    UPDATE

    Just after send the activity, this is what I can see:

    <a href="http://site.com/red-social/actividad/p/383/" rel="nofollow">[Leer más]</a>

    and in that moment it works, but after refresh the page, I see this:

    <a href="http://site.com/red-social/actividad/p/383/" rel="nofollow"></a>

    and it doesn’t works.

    Maybe this could be related with this topic https://buddypress.org/support/topic/real-name-h2-tag-not-displaying/#post-164348 but I have not a solution yet.

    #164528

    In reply to: Capabilities Editor

    Ben Hansen
    Participant

    not really super knowledgable about the exact structure of how buddypress is built but i suspect that may also be relatively difficult both capabilities are typically only available to super admins in a multisite environment so at least in that situation you would be granting your editors access to the network admin.

    #164527

    In reply to: Capabilities Editor

    dswright
    Participant

    Hi
    Thank you @ubernaut. I apologize as I was rather tired when I wrote this.
    I need the Editor role to have the ability to manage the groups and activity of buddypress.
    Sorry for the confusion.

    #164526

    In reply to: BuddyPress 1.7.1

    Suraj
    Participant

    you guys are just awesome.
    I have a feature request. I searched for the same using Google and almost across all the buddypress related support forum and tried all the codes but the thing is not working for me, I want to hide the admin activities to appear on my site, but it is not working, if possible, can you add a feature to hide all the activity of any particular user if he wants to including his/her online status.

    #164511
    fagiano1973
    Participant

    Fixed : reuploading file wp-login.php in master directory, ‘re logged in, reinstal buddypress 1.7.2 from ftp and all work ok!

    #164510

    In reply to: Reinstall 1.7.2

    fagiano1973
    Participant

    Fixed : reuploading file wp-login.php in master directory, ‘re logged in, reinstal buddypress 1.7.2 from ftp and all work ok!

    paddelboot
    Participant

    I have the same issue. I even get a fatal error clicking on the extension link under “Admin”:

    Fatal error: Call to undefined function bp_locate_template() in /data/xxx/xxx/html/wp-content/plugins/buddypress/bp-groups/bp-groups-classes.php on line 1438

    Anyone?

    #164502
    danbpfr
    Participant
    fredang85
    Participant

    I found a buddypress child theme for the theme i am using. Thanks for answering!

    #164487
    @mercime
    Participant
    #164486
    @mercime
    Participant

    @mulkins2013 activity-permalink page: bp_is_single_activity()

Viewing 25 results - 21,051 through 21,075 (of 69,119 total)
Skip to toolbar