Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 52,551 through 52,575 (of 69,016 total)
  • Author
    Search Results
  • #78073

    In reply to: Unable to create group

    leivajd
    Participant

    @r-a-y, yes, that was the problem, I uninstalled the plugin but for some reason continued working, I had to delete it and now works just fine.

    #78071

    In reply to: FB and buddypress

    clayton morgan
    Participant

    thank you

    r-a-y
    Keymaster

    That’s correct. Read the FAQ:
    https://buddypress.org/community/groups/buddypress-usernames-only/

    I believe I’ve answered most of the questions, but let me know if anything isn’t clear.

    r-a-y
    Keymaster

    @rossagrant – Not certain that these core hacks will be in for v1.2.4, but I’ll see if I can sway the dev team ;)

    Re: profile loop – http://testbp.org/members/andy/profile/ – it’s the part right underneath the profile tab.

    I just noticed a small bug and just put out v0.51. If you can’t wait for WordPress’ plugin repository to update, you can manually download the files here:
    https://plugins.svn.wordpress.org/buddypress-usernames-only/trunk/

    @Andrea_r: I was hoping that my web host would figure that out or that there’d be an easy solution. Guess not.

    Does this look familiar to anyone?

    208.124.24.163 – – [28/Apr/2010:10:44:14 -0400] “GET /wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=004cccc4a2 HTTP/1.0” 200 13096 “http://scriptworks.org/wp-admin/plugin-install.php?tab=plugin-information&plugin=buddypress&” “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3”
    208.124.24.163 – – [28/Apr/2010:10:44:22 -0400] “GET /wp-admin/plugins.php?action=activate&plugin=buddypress%2Fbp-loader.php&_wpnonce=fa45febac6 HTTP/1.0” 302 0 “http://scriptworks.org/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=004cccc4a2” “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3”
    208.124.24.163 – – [28/Apr/2010:10:44:23 -0400] “GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1 HTTP/1.0” 500 – “http://scriptworks.org/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=004cccc4a2” “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3”
    208.124.24.163 – – [28/Apr/2010:10:44:33 -0400] “GET /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1 HTTP/1.0” 500 – “http://scriptworks.org/wp-admin/update.php?action=install-plugin&plugin=buddypress&_wpnonce=004cccc4a2” “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3”
    208.124.24.163 – – [28/Apr/2010:10:44:39 -0400] “GET /wp-admin/ HTTP/1.0” 404 – “-” “Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3”

    r-a-y
    Keymaster

    Luckily for you, I just created a plugin for such a thing!
    https://buddypress.org/community/groups/buddypress-usernames-only/

    Please follow the plugin instructions.

    jkitsmiller
    Member

    One thing I noticed with the sidebar login is that it doesn’t have a link if the user has forgotten their password. Any fix for that?

    #78057
    paulhastings0
    Participant

    So I’m looking at this page. Would these be the 10 appropriate variables?

    'user_id' => $bp->loggedin_user->id,
    'action' => '',
    'content' => '',
    'primary_link' => '',
    'component' => $bp->profile->id,
    'type' => false,
    'item_id' => false,
    'secondary_item_id' => false,
    'recorded_time' => gmdate( "Y-m-d H:i:s" ),
    'hide_sitewide' => false

    So for example?

    function my_activity_avatar_changed() {

    //then pass in whatever array args you want to the activity item
    xprofile_record_activity( $user_id, $component );
    echo ("

    $user_id has a new $component

    ");
    }
    add_action(‘xprofile_avatar_uploaded’,'my_activity_avatar_changed’);

    gregfielding
    Participant

    @r-a-y,

    They only choose which pages, no? Is there a condition to apply for being logged-in to buddypress? https://codex.wordpress.org/Conditional_Tags

    r-a-y
    Keymaster

    I do not want to alienate people who did not ask to be immediately signed up to a forum

    BuddyPress is not a forum script!

    So you want to remove someone’s profile if it matches a certain ID?
    It’s could be possible to redirect to the homepage if someone attempts to go to a certain user’s profile.

    #78052

    In reply to: Buddypress Ads Module

    dre1080
    Member

    +1 ..i would very much like something like this, iv been searching high n low n cant seem to find a solution..really need such an ads module..

    r-a-y
    Keymaster

    @bofw @catagirl @agrundner – Plugin is out!
    https://buddypress.org/community/groups/buddypress-usernames-only

    Read the instructions! You have to apply two core hacks.

    #78049
    mazen
    Member

    @rossagrant thanks a lot, awesome stuff :)

    #78048

    @hnla — This looks very interesting, I appreciate the detailed reply and I will certainly try out the pastebin example. There are a couple of points though. Did you pick up on the fact that this new page opening function was only to relate to pages being opened from an RSS feed? And, who exactly is this person or persons unnamed who consider it impolite that the website owner, who has had the expense and invested the time and effort to create the site, should not decide how it should function? I agree with you that it is your perfect right to handle a link in whichever way you want, to defeat what I set up, should you so choose. Nevertheless, I would be quite happy that my effort to open a new window turns into a new tab in your browser – job done, as far as I am concerned.

    #78039
    thekmen
    Participant

    Just tried
    add_action('groups_group_create_complete','data_to_add');
    and it works! Is there something other than bp_activity_posted_update I should be using for updates maybe?

    #78037
    linusf
    Participant

    @r-a-y – Yes unfortunately. Hopefully someone can look at the ticket again.

    #78036
    Kent
    Participant

    I was also having this problem in clean installs of WP 2.9.2 + BP 1.2.3. I finally tracked the cause down to this: https://trac.buddypress.org/changeset/2882/trunk. Basically there’s a defect in the script that inserts the initial row into the xprofile fields table (wp_bp_xprofile_fields). A workaround (if you have SQL access) is to run these 2 statements:

    ALTER TABLE wp_bp_xprofile_fields modify order_by varchar(15) not null default ”;
    INSERT INTO wp_bp_xprofile_fields (id, group_id, parent_id, type, name, description, is_required, can_delete)
    VALUES (1, 1, 0, ‘textbox’, ‘Name’, ”, 1, 0);

    After I executed those statements, it shows my group members.
    Note that the changeset also added a default for order_by, so I’m guessing that caused problems as well.

    #78035
    thekmen
    Participant

    yeah, i’m sure, watching the table in phpMyAdmin.
    Can’t figure it out either, it’s just the bare bones skeleton component using the BP_Example_TableName class & does work when using add_action('wp','data_to_add'); so driving me nuts…

    #78032
    Jeff Sayre
    Participant

    Are you sure the data is not being added? It appears that your function is firing. Do you mean to say instead that the saved data does not get displayed after the function has fired?

    There is nothing in the few lines of code you’ve pasted above that would make your data_to_add() work when hooked to the wp action event but not the bp_activity_posted_update action event. Since both events get fired and subsequently fire your added action function, the data should be written to the DB in either case.

    Andrea Rennick
    Participant

    Did you find anywhere in your googling where a blank page means php errors and you should check your error logs?

    #78026
    thekmen
    Participant

    No, I’m not trying to modify any of those three parameters. I just want to add separate data to a new DB table when a user posts an update.
    Thanks again for all your help with this…

    #78022

    In reply to: Avatar error

    James
    Participant

    The avatar function is working on my site but not on the buddypress forum/website for me (shame as I have many questions to ask but I dont want the members thinking im as grumpy as my avatar makes me look ;-) Does anyone know how to rectify this?

    #78021
    Hugo Ashmore
    Participant

    tbh it’s considered a bad thing for developers to do, the opening of new windows is a browser issue and as such it’s considered impolite to force your wishes on the end user. It is my decision as to how I deal with links not yours, if you try and disrupt my browsing habits I’m annoyed; regardless I override anything you might try and do so it’s largely wasted effort your new window becomes a new tab for me.

    This action is also a behaviour and as such the use of attributes is rightly deprecated, but they can be added via scripting. You could give the following code a try it would need to be added to a functions.php file in a child theme.


    function rss_new_win() {
    echo <<<SCRIPT

    <!--
    function bindNewWin() {
    jQuery("li.feed > a").attr({target:"_blank", rel:"ext"});
    return false;
    }
    jQuery(document).ready(function(){
    bindNewWin();
    });
    //-->

    SCRIPT;
    }
    add_action('wp_head', 'rss_new_win');

    I can’t vouch for how well this works, it’s tested and works ok but whether it breaks any WP/BP script inclusion rules I’m not familiar with i couldn’t say so it should be used cautiously ; also take note that it adds an attribute to all anchors that have a li parent of class ‘feed’ if that condition is not true then it would fail (the main feed on the activity steam is marked up in this fashion if others exist that are contary then they would need to be added in some manner to this code.

    IGNORE THE CODE POSTED HERE IT DOESN’T DISPLAY CORRECTLY grab from this pastebin link if you want to give it a go:
    http://pastebin.com/keBUmVxX

    #78019
    Jeff Sayre
    Participant

    The “Action Event Firing Order” is an array that holds all action hooks that will be fired. Since your function data_to_add does not have a hook–i.e. it does not have a do_action( ‘data_to_add’); call–there will be nothing in that array. So, that is fine.

    But, it does seem that the action event bp_activity_posted_update is firing your hooked to action function. The next step is to make sure that you are attaching to, hooking into, the proper action event hook. The hook bp_activity_posted_update passes three parameters, so hooking your custom function to it is not the best idea, unless you are trying to modify any of those three parameters. What exactly are you trying to accomplish?

    #78013
    r-a-y
    Keymaster

    @linusf – So you applied the changes listed in the changeset and you still receive the wrong friend count? If so, please re-open the ticket.

Viewing 25 results - 52,551 through 52,575 (of 69,016 total)
Skip to toolbar