Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'wordpress'

Viewing 25 results - 14,451 through 14,475 (of 22,625 total)
  • Author
    Search Results
  • Hugo Ashmore
    Participant

    So enthused with that fact, Boone stated it twice :)

    Boone Gorges
    Keymaster

    This feature is coming in BuddyPress 1.3, which is coming quite soon.

    Boone Gorges
    Keymaster

    This feature is coming in BuddyPress 1.3, which is coming quite soon.

    #116196
    dude
    Member

    I’m bumping this because there must be a way to mimic this sites activity page : http://swapbbm.com/
    the method above totally hides the whole of the activity..I don’t want to settle for this because there has been a decline in sign-ups to my site lately partly due to not being able to see anything going on inside.

    they must know something we don’t on this other site, it’s a wordpress/buddypress combo as well !

    #116195
    aces
    Participant

    Some hosts require an extra plugin for wordpress email to work….

    I have used https://wordpress.org/extend/plugins/wp-mail-smtp/ successfully, but thereare others…

    #116190

    In reply to: Activity not working

    4colourprogress
    Participant

    Well I think that Elgg is probably more suited for what you’re trying to achieve. The other option is to completely move across to wordpress & buddypress and convert your current site. Not sure how much work would be involved though, depends on how big the site is I guess.

    #116188

    In reply to: Activity not working

    4colourprogress
    Participant

    If you’re website doesn’t currently run off wordpress I think you maybe over complicating this somewhat.

    There are a number of social networking solutions available for php that have activity streams and such and would probably be easier to implement.

    Try checking out Elgg http://www.elgg.org/features.php
    It’s open source too.

    #116184
    thinkluke
    Member

    Roger, This is the code I have thus far….

    add_filter(“gform_post_submission_1”, “set_post_thumbnail_as”, 10, 2);
    function set_post_thumbnail_as($entry, $form){

    //getting first image associated with the post
    $post_id = $entry[“post_id”];
    $attachments = get_posts(array(‘numberposts’ => ‘1’, ‘post_parent’ => $post_id, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’));
    if(sizeof($attachments) == 0)
    return; //no images attached to the post

    //setting first image as the thumbnail for this post
    update_post_meta( $post_id, ‘_thumbnail_id’, $attachments[0]->ID);

    // update bp activty stream content.
    $activity_id = bp_activity_add( array( ‘id’ => $post_id, ‘content’ => ‘$attachments’ ));
    }

    I understand the activity post id is different from the wordpress post id? How can I get this activity post id. Also is it okay I am using the post-submission gf filter? Is it just this simple with the correct activity add code?

    Can you please help me? I’m really stuck and almost thinking of scrapping the project just because I suck at buddypress and PHP.

    #116177

    In reply to: Custom HTML in posts

    Paul Wong-Gibbs
    Keymaster

    Please would you clarify what exactly you mean by “[posts] in BuddyPress”? When I read that, I immediately think of writing blog posts, which is part of WordPress core.

    jf0
    Member

    better late than never

    How can I make wordpress shortcodes work anywhere in buddypress?

    #116160

    In reply to: Invite Tool

    Boone Gorges
    Keymaster

    https://wordpress.org/extend/plugins/invite-anyone/ has nice email support. I haven’t built Facebook or Twitter integration, though it’s something I’d like to do in the future.

    #116157
    aces
    Participant

    I had the same problem with the wordpress admin menus in ie9 and online (linux) sites but not on local (vista) sites. Once I viewed and played with the menus in firefox they worked as expected in ie9…. I hope others using the same sites would not have to go through the same process…

    Also the buddypress upgrade didn’t show up unless I ran add new plugins first….

    #116142
    thinkluke
    Member

    Hi Roger, I jumped to a solution then, when in fact it does not work correctly, sorry…

    I have used your code from page 1 to display featured image on the bp activity stream. However I have a gravity form that lets user upload posts from their, I have used this simple snipet of code to make the upload image a featured image.

    add_filter(“gform_post_submission”, “set_post_thumbnail_as”, 10, 2);
    function set_post_thumbnail_as($entry, $form){
    //getting first image associated with the post
    $post_id = $entry[“post_id”];
    $attachments = get_posts(array(‘numberposts’ => ‘1’, ‘post_parent’ => $post_id, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’));
    if(sizeof($attachments) == 0)
    return; //no images attached to the post
    //setting first image as the thumbnail for this post
    update_post_meta( $post_id, ‘_thumbnail_id’, $attachments[0]->ID);
    }

    This works perfectly for wordpress and displays the featured image correctly. However the featured image does not appear in the buddypress activity stream until I manually go to that post and hit update in the backend… really defeats the purpose of publishing the post… pulled my hair out for days on this.. Do you have any suggestions? I believe it is something to do with the way bp saves posts… Maybe bp_activity_post_update would work

    #116141
    James
    Participant

    thank you Paul, already found an issue. It was some conflict of divs/classes in my child theme, which, somehow, appearead only after update.

    thanks again.

    #116136
    Paul Wong-Gibbs
    Keymaster

    No — see https://codex.buddypress.org/theme-development/bp-default-theme-changelog/

    (ignore all the property changes, those are irrelevant)

    #116133
    James
    Participant

    spent few hours and no success.
    I do see that in bp-default 1.2.9 reveal is working (help section with question sign in profile header), but why after update it stoped working in my child theme?
    tried to switch off all plugins, removed functions.php, member-header.php etc.

    were there any changes to default.css in 1.2.9?

    thanks.

    #116125
    James
    Participant

    thanks Paul, I had to write that these are two separate questions.
    First one is still opened.

    #116124
    Paul Wong-Gibbs
    Keymaster

    BuddyPress.org is being worked on, and is unrelated to the 1.2.9 release.

    #116123
    thinkluke
    Member

    I have found a solution if you are using gravity forms… I just need to know who to add the post id into the form submission function because atm it just uploads the image to the actually form page :-(

    add_action(“gform_pre_submission_2”, “gform_registration”);

    function gform_registration( $form_meta ){

    // $post_id gets set here by some code I have removed for clarity

    // If there is a logo, attach that file and make it the post featured image

    if($_FILES) {

    //WordPress Administration API required for the media_handle_upload() function

    require_once(ABSPATH . ‘wp-admin/includes/file.php’);

    require_once(ABSPATH . ‘wp-admin/includes/image.php’);

    require_once(ABSPATH . ‘wp-admin/includes/media.php’);

    $media_id = media_handle_upload(‘input_3’, $post_id);

    my_set_post_thumbnail( $post_id, $media_id);

    }

    }

    // This function will be obsolete once WP 3.1 is release since that includes

    // an identical function name set_post_thumbnail

    function my_set_post_thumbnail( $post, $thumbnail_id ) {

    $post = get_post( $post );

    $thumbnail_id = absint( $thumbnail_id );

    if ( $post && $thumbnail_id && get_post( $thumbnail_id ) ) {

    $thumbnail_html = wp_get_attachment_image( $thumbnail_id, ‘thumbnail’ );

    if ( ! empty( $thumbnail_html ) ) {

    update_post_meta( $post->ID, ‘_thumbnail_id’, $thumbnail_id );

    return true;

    }

    }

    return false;

    }

    #116122
    James
    Participant

    does anyone have same issue in BP 1.2.9, that help section in member’s header (after @username) does not reveal anymore?

    what is happening to buddypress.org? I cannot search, do not see updates in single view. Support topics don’t have pagination anymore, cannot edit/delete topics etc.

    thanks.

    @mercime
    Participant

    Double-checked this for a friend, BuddyPress does not work where WordPress is given its own directory. I figured the rationale was one cannot create a network with that set up https://codex.wordpress.org/Create_A_Network#WordPress_Settings_Requirements. I just moved WP to physical subdomain and it was good to go :-)

    Boone Gorges
    Keymaster

    bp_before_members_loop is not a function, it is a WP action hook. Plugins and themes can use this hook to add functionality to your members page. Read the first limo provided by chouf1 to learn more, or google “WordPress hooks”.

    Also, as megainfo suggests, it’s a good idea to learn a little about grep, which will help a lot in these instances.

    #116088
    David Carson
    Participant

    I haven’t used or tested this plugin, but it looks like it might work for you.

    https://wordpress.org/extend/plugins/user-domain-whitelist/

    P.S. Go Jumbos! I’m an alum.

    #116083
    NoahY
    Member

    In case anyone googles here, the article posted by r-a-y works for different subdomains, but needs a bit of tweaking, based on this post:

    http://roneiv.wordpress.com/2008/01/18/get-the-content-of-an-iframe-in-javascript-crossbrowser-solution-for-both-ie-and-firefox/

    Basically, we need to put the wordpress page with the adminbar only in an invisible iFrame and access its content from the parent.

    To do this, first we add the iFrame to the external php / html file. Something like this works:

    `

    `

    Next, we need to edit the `page-component.php` file, adding a head and body onload element:

    `

    document.domain = “site.com”

    `

    This sets document.domain to the same domain as we will specify in our external file. It also adds jQuery (needed for buddypress-ajax-chat on my site). Finally, it sets an onload event to tell the parent window to grab it’s content.

    Next, we have to add some more javascript to the parent, along with the other links mentioned in the article above:

    `document.domain=”sirimangalo.org”;
    function getNav() {
    var content = document.getElementById(‘bpsrc’).contentWindow.document.body.innerHTML;
    document.getElementById(‘bpContainer’).innerHTML = content;
    }`

    This sets the domain again, allowing the function to pass from the iFrame on up, and provides the function to grab the content of the source frame and output it to the “bpContainer” div.

    #116081
    thinkluke
    Member

    I got the exact same issue here @tindell … featured image will not display in buddypress activty until I update it in the backend of wordpress manually :-( Has anyone come up with a solution? This is really frustrating!!!! Ah buddypress

Viewing 25 results - 14,451 through 14,475 (of 22,625 total)
Skip to toolbar