Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 28,276 through 28,300 (of 94,564 total)
  • Author
    Search Results
  • willandmae
    Participant

    @crazycoolcam I was so excited to see this fix here this morning. I hurried to put this into effect because it matches what you say-if you try the sidebar firsttime it fails and then it works after this until cookies are deleted or cache. I have been always able to login without fail using the wp-login – just not the sidebar login the first time. Anyway, I could only find the functions.php file and I added it to the end before the ?> at the end of the file. For some reason I got a blank screen and this error.

    Parse error: syntax error, unexpected T_IF in /server_info/wp-content/plugins/buddypress/bp-themes/bp-default/functions.php on line 796

    I guess I just don’t know where to put the code or something. I look forward to hearing back from you for your direction to help my simple ignorance of not knowing what to do.

    Thanks William

    #174029
    hughshields
    Participant

    I am using a plugin (WPUF Pro + Buddypress Integration Add On) to create a custom registration page. The Register button on the custom registration form is sending out the wrong type of verification email. I located the problem at frontend-form-profile.php line 226:

    // send user notification
                    if ( class_exists( 'Theme_My_Login_Custom_Email') ) {
                        do_action( 'tml_new_user_registered', $user_id, $password );
                    } else {
                        wp_new_user_notification( $user_id, $password );
                    }

    wp_new_user_notification is not the correct function for sending out a verification email. I looked for the correct function in the Buddypress registration form but could not find it.

    Any help with fixing this code?
    Thanks!

    flashbytes
    Participant

    @modemlooper:
    The plugin I use is called “BP Group Hierarchy”:
    https://wordpress.org/plugins/bp-group-hierarchy/

    And here’s how to use it for listing a subset of groups:
    http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/

    Cam
    Participant

    While searching threads about a similar issue, I stumbled upon this thread that some guys and I solved over on the WP forums.

    Question:
    Can you log in after one or two failed attempts (with either the sidebar login, or wp-login.php) but then are able to using the default form: wp-login.php?

    If so, I presented a workaround on the WP forums, which I will share here:

    Add the following php code to your functions.php file, your bp-custom.php file, OR a mu-plugin file that you create:

    //fix for cookie error while login.
    function set_wp_test_cookie() {
    	setcookie(TEST_COOKIE, 'WP Cookie check', 0, COOKIEPATH, COOKIE_DOMAIN);
    	if ( SITECOOKIEPATH != COOKIEPATH )
    		setcookie(TEST_COOKIE, 'WP Cookie check', 0, SITECOOKIEPATH, COOKIE_DOMAIN);
    }
    add_action( 'after_setup_theme', 'set_wp_test_cookie', 101 );

    This will try to set the test cookie anytime someone visits any page of your site, and it will allow the sidebar form to start working again if wp-login.php and cookies are enabled.

    If you cannot sign in at all (after two or three attempts with wp-login.php), I have not seen a solution yet (was what I was looking around for), but I have seen several threads about people with this issue after the upgrade to 3.7.1.

    Hope this helps, and I hope you all are in the first category. 🙂
    ~Cam

    #174025
    mattg123
    Participant

    @monster1612 oh, it was my fault for misreading really – your going to want to look at bp_has_activities and specifically activity>activity-loop pretty sure buddypress.org has documentation on creating custom activity loops

    #174023
    #174022
    rjuday
    Participant

    Hello
    m using wordpress 3.7.1 version and buddy press 1.8.1
    when am trying to activate the buddy press plug in am getting the following error
    Fatal error: Call to undefined function bp_is_user_inactive() in /home/a1403302/public_html/social/wp-content/plugins/buddypress/bp-core/bp-core-caps.php on line 228
    link to my site is http://www.radio143.com/social
    thanks in advance .

    Asynaptic
    Participant

    After watching the recent BP panel discussion I was interested in the short discussion about caching:

    (caching: 19min – 22min)

    I’ve found a few things around the web and was wondering if anyone could chime in as to their effectiveness and whether using fragment caching and APC is compatible with popular plugins like SP super cache and W3TC plugin.

    Fragment caching in WordPress to optimize site speed for logged-in users

    WordPress Fragment Caching Revisited


    http://wordpress.org/plugins/fragmentcache/
    http://chrislema.com/high-performance-wordpress-membership-site/

    The trend towards optimized websites is clear and has been for a while now. Can we please start taking small steps towards making this a part of buddypress?

    shanebp
    Moderator

    Have a look at how group loops are used in the files here:
    plugins\buddypress\bp-templates\bp-legacy\buddypress\groups\

    #174002
    raytronx
    Participant

    *Solved Problem*

    It had to do with a rule in the .htaccess
    ExpiresByType text/html A3600
    Tells the browser to cache the page for 1 hour, well it caches the non logged in page so after log in when you go back to it the browser gives the cached version.

    The reason it was so hard to figure out has to do with my hosting setup. I have my main site hosted then my buddypress site is an addon domain so lives in a folder /addondomain

    Well the .htaccess files are recursive so the rule ExpiresByType text/html A3600 was set by W3 Total Cache, a plugin I use on my main website living in Public_html caused the rule to be applied to the add on domain pages.

    #174001

    In reply to: redirect loop

    tatjanalekic
    Participant

    Hi, the problem was caused by putting the extras (pages) on to the first place, in front of Home, Docs and Admin. Extras (pages) cannot be on the first place I guess. When I put Home back onto the first place, there is no redirect loop. BuddyPress suggests not putting Admin on the first place, but I guess the safest thing is to leave Home on the first place. Thanks

    #174000
    tatjanalekic
    Participant

    Hi, the problem was caused by putting the extras (pages) on to the first place, in front of Home, Docs and Admin. Extras (pages) cannot be on the first place I guess. When I put Home back onto the first place, there is no redirect loop. The BuddyPress suggests not putting Admin on the first place, but I guess the safest thing is to leave Home on the first place. Thanks

    #173996
    ShuBomb
    Participant

    Can anyone help me to change my avatar in BP.
    Not find the browse button or change link in my profile.

    #173995
    ShuBomb
    Participant

    Can anyone help me to change my avatar in BP.
    Not find the browse button or change link in my profile.

    #173991
    den63
    Participant

    1. Deactivate all plugin except buddypress
    2. Deactivate buddypress
    3. Activate all plugin except buddypress

    I am using WordPress 3.7.1. and my version of Buddypress is Version 1.8.1. My site is http://www.thebrazilianlanguage.com. What is happening is: I click on the “Groups” tab from within the WordPress admin panel and it takes me to http://thebrazilianlanguage.com/wp-admin/admin.php?page=bp-groups. On the groups page, there is the link “Add New”, but, when I click on the link, it takes me to http://thebrazilianlanguage.com/user-groups/create/step/group-details/. On this page, there is nothing but the title “Archive”. I noticed that the “Add New” link is suppose to be linked to http://thebrazilianlanguage.com/user-groups/create/ (if you were to hover the mouse over the link), however, I have attempted to directly access this page and get a 404 error message.

    Other note worthy observations:

    Any of the links I click on in the Dashboard, i.e. Activity, Friends, Groups, Messages, Settings, Profile, appears to take me to this same page – “Archive”.

    modemlooper
    Moderator
    #173973
    YvonneTaylor
    Participant

    Hi Shane

    Many thanks for your information, I have followed your instructions and have created a buddypress folder in my theme and then copied the (it is listed as single, then groups)folders to create the path as you describe.
    My problem is I don´t know what I am changing, this is what got me in the mess I am in at the moment, changing code that I am not really sure about.

    Any suggestions?
    Thanks

    #173972
    DougTilley
    Participant

    Hello. I’m afraid I’m rather new to Buddypress, and I’ve attempted to find the answer to this issue, but I’m not having much luck. I’m using Buddypress 1.8

    Currently I have an installation of Buddypress with three private, active groups. However, I was recently made aware that by doing a search for an individuals name on Google, a person can pull up that individuals activity feed which shows all of their recent posts – even to the private groups.

    As you can imagine, this is a massive security issue. I was wondering if there was a fairly simple way to disable activity streams entirely. I apologize for any of my technical limitations ahead of time.

    Anonymous User 13302461
    Inactive

    This *may* have been a memory related issue.

    I have upped my settings in php.ini – memory_limit was 8M (default) – I put it to 128M and I can now have both friends and groups components active without the wp-admin breaking.

    Also avatar uploads weren’t working a lot of the time, they were timing out / connection reset. This seemed to fix that issue too. Or one of the below, which are shown below as double the default.

    max_execution_time = 60
    max_input_time = 120

    Anonymous User 13302461
    Inactive

    The bizarre thing is that the front end of the site worked fine, even with friends and groups showing. Wierd!! You’d think it would be the other way around.

    And if the edit function worked here I wouldn’t have to reply to my own post so many times.

    Anonymous User 13302461
    Inactive

    oops, now most of my components are not running. That wasnt correct editing of the code.

    To remove a component, delete the whole section, eg., s:6:”groups”;s:1:”1″;

    BEFORE (BROKEN? White/Blank wp-admin)

    
    a:8:{s:8:"xprofile";s:1:"1";s:8:"settings";s:1:"1";s:7:"friends";s:1:"1";s:8:"messages";s:1:"1";s:8:"activity";s:1:"1";s:6:"groups";s:1:"1";s:5:"blogs";s:1:"1";s:7:"members";s:1:"1";}
    

    AFTER (Working wp-admin)

    
    a:6:{s:8:"xprofile";s:1:"1";s:8:"settings";s:1:"1";s:8:"messages";s:1:"1";s:8:"activity";s:1:"1";s:5:"blogs";s:1:"1";s:7:"members";s:1:"1";}

    So as you can see, to disable / remove the groups component, remove the section s:6:”groups”;s:1:”1″; and adjust the a:# at the start so it is a:# where # is the total number of components in use. Eg a:6

    Anonymous User 13302461
    Inactive

    And yes, my admin page now works. I think its the friends component, as Ive had groups running before with no issues. I might report more here if I work out the friends issue.

    Anonymous User 13302461
    Inactive

    Damn, its confusing. Think Ive got it for anyone else with this issue.

    a:8:{s:8:”xprofile”;s:1:”1″;s:8:”settings”;s:1:”1″;s:7:”friends”;s:1:”1″;s:8:”messages”;s:1:”1″;s:8:”activity”;s:1:”1″;s:6:”groups”;s:1:”1″;s:5:”blogs”;s:1:”1″;s:7:”members”;s:1:”1″;}

    The a:8 at the start, needs changing to however many components are running. I disabled groups and friends, so I changed the code to read:

    a:6:{s:8:”xprofile”;s:1:”1″;s:8:”settings”;s:1:”1″;s:7:”friends”;s:1:”0″;s:8:”messages”;s:1:”1″;s:8:”activity”;s:1:”1″;s:6:”groups”;s:1:”0″;s:5:”blogs”;s:1:”1″;s:7:”members”;s:1:”1″;}

    #173964
    Boone Gorges
    Keymaster

    > Nothing to be with BuddyPress or WangGuard (I think…)

    I’m guessing that this line is part of wp_redirect(), which sounds like it’s happening because of a canonical redirect. I think you’re right that it’s probably not related, but you might still want to check out what’s causing it.

    Let me know how 'bp_include' goes!

Viewing 25 results - 28,276 through 28,300 (of 94,564 total)
Skip to toolbar