Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • @bhguy

    Participant

    On my hosting oembed is not working.
    That is why I need shortcode.

    @bhguy

    Participant

    My youtube function disappearing here as well as my shortcode from budypress on my site. lol

    function youtube( $atts, $content = null ) {
    return ‘div id=”youtube”iframe width=”200″ height=”200″ src=”http://youtube.com/embed/’.$content.'” frameborder=”0″ allowfullscreen /iframe/div’;
    }

    add_shortcode(“youtube”, “youtube”);

    add_filter(‘bp_get_the_profile_field_value’, ‘do_shortcode’);

    add_filter(‘bp_get_activity_content_body’, ‘do_shortcode’);
    add_filter(‘bp_get_activity_action’, ‘do_shortcode’);

    @bhguy

    Participant

    `
    function youtube( $atts, $content = null ) {
    return ”;
    }

    add_shortcode(“youtube”, “youtube”);

    add_filter(‘bp_get_the_profile_field_value’, ‘do_shortcode’);

    add_filter(‘bp_get_activity_content_body’, ‘do_shortcode’);
    add_filter(‘bp_get_activity_action’, ‘do_shortcode’);
    `

    I use this, but nothing works on activity, shortcodes disappearing from there, just in full view of article it works.

    @bhguy

    Participant

    On: domain.com/members/admin/activity/13/ = video works.
    On: domain.com/activity = video is not shown, shortcode is not shown, there is nothing, shortcode is not showed as text or anything, shortcode doesnt exist.

    I see only this: admin posted an update 1 day, 8 hours ago.

    @bhguy

    Participant

    Please someone help, I am stucked with this.
    I want to add buddypress to my site, but cant make this work.
    Tried many ways.

    @bhguy

    Participant

    ChrisClayton, thanks.

    Can you tell how to enable shortcodes on activity stream of profiles, groups etc.

    Or, is there simple way to enable it everywhere?

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar