Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 13,976 through 14,000 (of 32,678 total)
  • Author
    Search Results
  • #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.

    #164581
    angelladesigns
    Participant

    http://blog.skemaholicsanonymous.com/feed/

    This page contains the following errors:

    error on line 4 at column 6: XML declaration allowed only at the start of the document

    When I deactivated Buddypress the RSS worked.
    Re-activated Buddypress and it broke again.

    1. Which version of WordPress are you running?
    3.5.1

    2. Did you install WordPress as a directory or subdomain install?
    subdomain

    3. If a directory install, is it in root or in a subdirectory?

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    Not sure

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes

    6. Which version of BP are you running?
    1.7.2

    7. Did you upgraded from a previous version of BP? If so, from which version?
    Not sure

    8. Do you have any plugins other than BuddyPress installed and activated?
    Yes

    9. Are you using the standard BuddyPress themes or customized themes?
    2012

    10. Have you modified the core files in any way?
    Added Style to member-header.php

    11. Do you have any custom functions in bp-custom.php?
    yes`function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
    }
    add_action( ‘bp_init’, ‘remove_xprofile_links’ );`

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    2.3.2

    13. Please provide a list of any errors in your server’s log files.

    14. Which company provides your hosting?
    hostmysite.com

    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux

    #164580

    In reply to: Lost password function

    moritz.fischer
    Participant

    thank you for your reply. now i understand. the “forget password” function is the same as the wordpress. i was confused about that part.

    thank you

    Moritz

    #164579

    In reply to: Lost password function

    bp-help
    Participant
    #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

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

    #164569
    @mercime
    Participant

    There’s https://wordpress.org/plugins/external-group-blogs/ but not sure if it’s working on latest BP. If you’re going to hire a programmer, might as well have them work on updating/customizing the external group blogs plugin, up to you though.

    sensibleplugins
    Participant

    Hi,

    We’re having problems displaying the contents of shortcodes inside the tabs of our BuddyPress Custom Profile Menu plugin. This only happens in non-standard BP 1.7 themes, but works as expected in themes like “BuddyPress Default” that ships with BP.

    Researching the issue some more, we found the following line in bp-core-theme-compatibility.php (line 525)

    bp_remove_all_filters( 'the_content' );

    This is clearly the cause of the issue, as it removes, amongst others, the ‘do_shortcode’ filter function from ‘the_content’ filter (function added to filter in WordPress’ shortcodes.php, line 335). Why does BuddyPress remove all ‘the_content’ filters when in theme compatibility mode? Does this mean that shotcodes cannot be displayed in this mode?

    Thanks in advance!

    #164556
    bp-help
    Participant
    #164554
    akukskuks
    Participant

    I’m relatively new to BP, and to PHP. Been trying to hunt down an RSS feed importer for my site but haven’t had much luck. Here’s why:

    1) Needs to aggregate and import a number of RSS feeds onto a unique group page (“News”) as opposed to posting directly to the group activity feed…

    2)…except that I do want ONE distinct RSS to be fed onto each group activity feed. The content of this feed will be emails that users send off to a distinct email address whose sole purpose is to post those emails (and attachments maybe??) to the group activity.

    Unfortunately (fortunately?), I’ve found an almost PERFECT plugin…but it’s for WP only! I’ve noticed that some of the other “WP only” plugins I’ve tried on BP have actually worked (“Spreadsheet,” for example) but can’t test to see if “WP RSS Multi Importer” works on BP as we’re still on a development server with no access to the outside world.

    http://wordpress.org/plugins/wp-rss-multi-importer/

    QUESTIONS:
    1) Is anyone willing to see if “WP RSS Multi Importer” works on BP?? I doubt it, but still.
    2) If it doesn’t work, what can I do to adapt it for BP? Is it realistic for me to hire a programmer to do this migration, or is that in bad form/impossible? I’ve already asked the author if he’d be willing to work on this but he’d rather focus on other aspects of perfecting the plugin first (exporting RSS). Not sure of the protocol here…just figured it’d be easier to do this than start a new plugin from scratch.

    TIY!

    #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/

    #164544
    bp-help
    Participant
    #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

    angelladesigns
    Participant

    You want to go to Settings>>General

    Where it says WordPress Address (URL) and Site Address (URL) you will want to change that to reflect the lowercase folder. I recommend doing this before you change the file name via ftp or you could get locked out. If you do get locked out just change the file name back via ftp to what it was and make the change to lowercase.

    #164517
    hiboy
    Participant

    i running wordpress 3.4.2 with buddypress 1.7.1.

    Under setting – buddypress – components
    Group forum is uncheck – it wronte BuddyPress Forums are retired. Use bbPress.

    But in my buddypress group, when create a new group , it option are
    1. Details
    2. Settings
    3. Forum
    4. Avatar

    How to remove number 3 option?

    3. Forum – Group Forum page
    The content :
    Create a discussion forum to allow members of this group to communicate in a structured, bulletin-board style fashion.
    Yes. I want this group to have a forum.

    when u tick yes, a forum tab appear in each single group.

    Here my theme, groups -> create.php

    <?php /* Group creation step 2: Group settings */ ?>
    <?php if ( bp_is_group_creation_step( ‘group-settings’ ) ) : ?>

    <?php do_action( ‘bp_before_group_settings_creation_step’ ); ?>

    <?php if ( bp_is_active( ‘forums’ ) ) : ?>
    <?php if ( bp_forums_is_installed_correctly() ) : ?>

    <div class=”checkbox”>
    <label><input type=”checkbox” name=”group-show-forum” id=”group-show-forum” value=”1″<?php checked( bp_get_new_group_enable_forum(), true, true ); ?> /> <?php _e( ‘Enable discussion forum’, ‘buddypress’ ); ?></label>
    </div>

    <?php else : ?>
    <?php if ( is_super_admin() ) : ?>

    <div class=”checkbox”>
    <label><input type=”checkbox” disabled=”disabled” name=”disabled” id=”disabled” value=”0″ /> <?php printf( __( ‘Attention Site Admin: Group forums require the correct setup and configuration of a bbPress installation.’, ‘buddypress’ ), bp_get_root_domain() . ‘/wp-admin/admin.php?page=bb-forums-setup’ ); ?></label>
    </div>

    <?php endif; ?>
    <?php endif; ?>
    <?php endif; ?>

    jcmosquera
    Participant

    Hello,

    I’m using the Engage theme by Layerunion to create a sort of Celebrity Database for a project im working on. Buddypress works perfectly for this, but there is one basic thing that I want to acomplish and haven’t been able to (I’m not the best of programmers).

    I need for any unregistered person to be able to send a custom message to any given member. This message is more of a contact form with information the person has to fill out: Name, Company, Campaign Description, Price, etc. This message can be sent to the members email.

    I think the only thing that I have missing here is how to get the members Email in order to use it. I’m trying to use this plugin to create a custom message:
    http://codecanyon.net/item/wordpress-ajax-contact-form-with-attachments/3463740

    Heres my page:
    http://www.lista.advips.com

    I set up a button for the contact form on every users sidebar, which would work perfectly, but the only thing that I would need would be for the form to “know” this users email, in order for it to send the message to him.

    Anyone know how can I acommplish this or maybe recommend a better way?

    Thanks!

    Cartographer
    Participant

    Hi all,

    I added a bp-custom.php file inside plugins folder to be able to fix the problem with the friends counter after the deletion of a member (please see here: http://buddypress.trac.wordpress.org/ticket/2341)

    After adding the bp-custom.php file inside the plugins folder (including the code which is described in the link above) I couldn’t load my site…

    I removed the bp-custom.php file and now it is ok but without fixing the counter.

    Any idea?

    Regards

    bp-help
    Participant

    @johnjamesjacoby
    Matter of fact the change was made 7 to 8 minutes before my last post above. The link below will reflect that fact. Thanks again sir!
    https://plugins.trac.wordpress.org/browser/atcontent/#trunk/assets

    bp-help
    Participant

    @johnjamesjacoby
    Hi John!
    I just noticed the plugin author somehow manipulated the placement of the plugin obviously because I politely asked them to refrain from this. I hope I am not speaking out of place but this author has consistently updated their readme.txt in an effort to have the top spot on the plugins page. I had to request more than once for this to stop because I don’t believe it is supposed to be a ranking on how many downloads you have, but instead about new or updated legitimate plugin releases. If you look at the reviews I was not the only one that addressed this practice. If I am wrong on this, then I stand corrected. I just think that type of practice is unethical and makes users re-download a plugin that has no legitimate update because they may have seen it at the top, and failed to see the plugin versions and change-log hadn’t changed. Hence the author gets a lot of downloads without legitimate updates but the actual number of downloads does not accurately reflect how many users are actually using that plugin because of the readme.txt file manipulation. Thank you for looking over this John! Here is a link to where the plugin resides now:
    https://wordpress.org/plugins/atcontent/

    #164496
    Marj Wyatt
    Participant

    I’m no stranger to WordPress but Buddypress is somewhat new territory for me. At this time, I’m developing a community site. Below I’ve listed the versions
    wp v3.5.1
    bp 1.7.1 (theme compatibility)
    theme framework is Genesis v1.9.2
    dev url: http://creativeconundrum.com/kristen2

    My client is “emotionally prepared” to have to set up individual profiles separately but she would like to have the ability to associate profiles of family members within a member’s profile. BP-Xprofiles extends the fields that I can create but my puzzle is how to actually create an extended profile field that will permit members to select other members who are family members.

    I found this forum link that looks as though it would provide a method of producing this list for selection:

    http://buddypress.org/support/topic/using-bp-member-profile-data-outside-members-section/

    As was noted in the thread that led me to the above link, there is very little documentation available on this brand new feature.

    I’ve written many sites that leverage custom post types and I can imagine that this would allow a user to enter their family member profile links. Presenting this additional content to the single member profile output, would work but it isn’t as elegant as I was hoping for.

    Has anyone got any hints or ideas on the best way to approach this?

    Thanks, in advance, for your thoughts.

    #164484
    @mercime
    Participant
    #164478
    NewbieSteve
    Participant

    Hi Rishraj,

    I ran into the same issue this week and I have resolved it on my end. If you’re having the same issue, I hope this helps you.

    My exact issue:
    * My scenario: WordPress + buddypress, trying to log on from the main page through the Buddypress default theme sidebar login.
    * When served off local machine with Xampp: Works
    * When served off professionally hosted remote server: Doesn’t work (408 timeout). However, login directly through wp-login.php did work

    Solution:
    In bp-themes\bp-default\sidebar.php, you will see the code:`<?php do_action( 'bp_sidebar_login_form' ); ?>
    <input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />`

    Swap these two lines:`<input type=”submit” name=”wp-submit” id=”sidebar-wp-submit” value=”<?php _e( 'Log In', 'buddypress' ); ?>” tabindex=”100″ />
    <?php do_action( 'bp_sidebar_login_form' ); ?>`

    What I did:
    I used firebug to compare the HTTP POST messages being sent when I log in through the sidebar or directly through wp-login.php. The only difference I saw between the two was:

    Sidebar login order of parameters (broken): login, password, redirect, wp-submit, testcookie
    wp-login.php login order of parameters: login, password, wp-submit, redirect, testcookie

    I don’t know why they’re swapped in the sidebar code. I also don’t know how or why swapping them could result in working in some environments and timing out in others. Can anyone else chime in here?

    #164475

    In reply to: THE LINK IS MISSING

    @mercime
    Participant

    Can anyone PLEASE explain how to get this link back?

    The create group link is in line 21 of this file https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-themes/bp-default/groups/index.php – you might have deleted that in your child theme’s /group/index.php

    #164458

    Topic: Reinstall 1.7.2

    in group forum Installing BuddyPress
    fagiano1973
    Participant

    After automatic updating from buddypress 1.7.0 to buddypress 1.7.2 I can’t enter in my site.

    At my site adress i have a white page! Going to mysite.tld/wp-login.php, insert my user and password and recived this error message:

    Fatal error: Call to undefined function bp_core_get_user_domain() in /mounted-storage/home127/sub040/sc71376-CUVU/mysite.tld/wp-content/plugins/bp-redirect-to-profile/bp-redirect-to-profile.php on line 34

    So i think the problem is in bp-redirect-to-profile plugin.

    I can’t delete it because i can’t enter to my panel, so i delete it from my hosting control panel.

    If i delete it, go to mysite.tld/wp-login.php, insert my user and password and recived total whyte page!

    My site is offline and i can’t what to do!!

    My question is…

    IF i reinstall buddypress 1.7.2 from http://wordpress.org/plugins/buddypress/ i lost my plugin my settings my gallery my images ??

    tnak you

Viewing 25 results - 13,976 through 14,000 (of 32,678 total)
Skip to toolbar