Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 23,476 through 23,500 (of 68,948 total)
  • Author
    Search Results
  • #152379
    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’);

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

    #152375
    shanebp
    Moderator

    I’m not aware of a filter for this, but you can definitely over-ride wp_safe_redirect in a manner that doesn’t affect its usage otherwise, ie. check the $location and adjust if applicable.

    To over-ride it, you must do so within a plugin. It’s not about actions or filters.

    More info: https://codex.wordpress.org/Pluggable_Functions

    >Or, can I not rewrite the entire function messages_screen_compose() so that it overrides the one in buddypress, and put it in functions.php of my theme?

    No. And it would be a bad idea even if you could.

    Mitesh Patel
    Participant

    Thank you @slaffik for your response. I figured that much, and I posted another thread subsequently asking how to hook into bp_core_redirect(). I was suggested that bp_core_redirect() in turn calls wp_safe_redirect, which could be hooked into, but I am clueless how? Sorry, not a programmer. Can you point me to an example I could analyse?

    Secondly, Can I override the messages_screen_compose function from bp-messages-screens.php by writing an entirely new function by same name in my theme’s function.php (with my custom redirects with if-else, which seems very easy and non-intrusive), and doing some remove_action, add_action magic, so to speak? Writing the new function is easy, but how to implement/insert it so that it works is a mystery for me.

    #152372
    Mitesh Patel
    Participant

    Sorry @shanebp, for delayed response. Got disconnected for a while.

    I don’t understand how to do what you suggest. Any pointers in right direction? I’m not a programmer, but I will understand if I could analyse an example.

    Also, if I ‘plug’ the function, as you suggest (not modifying the actual function but by an action hook), will my conditional statement run every time a call to wp_safe_redirect is made from other places (not my form) as well? as wp_safe_redirect would be used hundreds of time.

    Or, can I not rewrite the entire function messages_screen_compose() so that it overrides the one in buddypress, and put it in functions.php of my theme? If that’s possible, what’s correct way of doing it?

    #152367
    shanebp
    Moderator

    xprofile_get_field_data function is provided so that you CAN use it on non-profile pages.

    Use http://pastie.org/ or similar to show what you tried.

    #152365
    linish
    Participant

    Hello,

    I had tried that but it will worked only on buddypress profile page, the same gave blank result in normal wordpress page / custom template for a page

    #152361
    tushargp
    Participant

    Just a small favor from you required if you can look that- as I’m very close to execute it.

    For http://www.healthitinsider.com – I’m currently using buddypress template file and having the following functionality
    https://github.com/kayue/buddypress-blank/tree/master/

    Activity
    Blogs
    Forums
    Members
    Registration

    I would like to create a specific section like groups which I name to Company. So that user can create and register company here.

    I have copy the code of groups section (code mention in previous link)- modify it and create a directory which I name company
    Healthitinsider.com/wp-admin/content/themes/company

    Now I would like to define function in function.php so that it will be functional and we can assign a page on the site like
    http://healthitinsider.com/groups/

    For style.css I’ve use the previous codes. Please let me know how we can have the following functionality.

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

    #152358
    @ChrisClayton
    Participant

    the filter I mentioned above

    `
    add_filter(‘bp_get_activity_content_body’, ‘do_shortcode’); // Adds shortcodes to activity content.
    `

    will add it to the content of all activity (including on the profile page and groups)

    If you need to add it to activity actions as well, you can also use

    `
    add_filter(‘bp_get_activity_action’, ‘do_shortcode’); // Adds shortcodes to activity action.
    `

    #152351

    In reply to: Missing ADD MEDIA

    @mercime
    Participant

    @pjfbncil Contributors and Authors should be able to upload media by default. Have you tried deactivating plugins one by one except BuddyPress and checked which plugin/s might be causing the issue?

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

    #152348
    shanebp
    Moderator

    Use :
    xprofile_get_field_data( “Company Name” , $member_id)
    You have to supply the $member_id

    If you’re on a profile page, the $member_id will be provided via bp_displayed_user_id()

    Take a look at
    /bp-xprofile/ -> bp-xprofile-functions.php -> xprofile_get_field_data

    #152347
    mtm123
    Participant

    Bump I am also looking for some kind of plugin to allow photo and video uploads to the forum and topic area. The activity area and member area I already have a plugin for.

    Lawrence
    Participant

    @knaveenchand, @casualmagic

    Just seen some activity on this… again, really sorry that things have been on a bit of a pause, but luckily I still have all the code and a basic website so I’ll review everything again with the latest version of wordpress and buddypress and see if I can get this thing published at long last!

    #152341

    In reply to: BuddyPress Compatible

    Patryk
    Participant

    @Hugo Thanks for the link šŸ™‚

    #152337
    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?

    #152336

    In reply to: BuddyPress Compatible

    Hugo Ashmore
    Participant

    So ‘friend’ hasn’t actually made an attempt to work this up or if so how far did they get?

     

    This does smack a great deal of treating the forum as a coding service!

     

    It may be an idea to wait for 1.7 to be released then this process will be a whole lot easier.

    fwiw hasn’t ”Continuum’ already been packed by @mercime?

    Yep it has, OP you really need to check these things first, you should have checked the BP codex first you would have seen the link to the guide with all the work done already for you.

    https://codex.buddypress.org/legacy/wordpress-to-buddypress-theme/

    http://bpsocialnetwork.wordpress.com/2012/10/23/continuum-theme-themeforest/

    #152333

    In reply to: BuddyPress Compatible

    Patryk
    Participant

    @mercime
    Theme’s called Continuum,

    friend does not have an account here, but he sent me the files because he did not have time

    I think that I do not have to do a new topic so I paste it all here šŸ™‚
    ok let’s get started šŸ™‚

    Header.php http://pastebin.com/xAvR4rZ4
    Footer.php http://pastebin.com/VXGtvD8W
    Page.php http://pastebin.com/9iPur64H
    Index.php http://pastebin.com/8DMhPR7r
    template-full-width.php http://pastebin.com/e1FehrF3

    Unfortunately, I no found sidebar.php file

    #152319
    @mercime
    Participant

    https://buddypress.trac.wordpress.org/browser/tags/1.6.4/bp-themes/bp-default/members/single/profile/edit.php would normally correspond to huddle/members/single/profile/edit.php file. Since you’re using a premium theme, we have no way to know if the theme author changed the HTML structure of that page. Back up your theme’s edit.php file and watch out that when you change the PHP tags, you won’t mess up the HTML tags in return.

    #152317
    @ChrisClayton
    Participant

    @indirakrishna – Chat is a huge area, and there are all kinds of solutions (some better than others) šŸ™‚

    It depends on how you need the chat plugin to function, really.

    https://wordpress.org/extend/plugins/bowob/

    BP Chat


    https://wordpress.org/extend/plugins/buddypress-ajax-chat/
    https://wordpress.org/extend/plugins/envolve-chat/

    #152311
    indirakrishna
    Participant

    Any updates on the questions from the above developers??

    And @Talon is it working on your site now ? And how is it ? are there better or best alternates for point and ranking system for all the buddypress users

    #152310
    Thorsten :-)
    Participant

    @Toby

    You are right but the author is not available for six months so I must find another way. Do you now which page is responsible in the standard BuddyPress theme? Is it easy to copy the responsible section of the plugin into the section of the Huddle theme?

    I appreciate any support that help šŸ™‚

    Regards

    Thorsten

    #152308
    indirakrishna
    Participant

    But Before I migrate I want to see if some one can answer me with best plugins available for buddypress chat and etc

    #152307
    indirakrishna
    Participant

    I have seen many of these forums finally Is there a chat which allows both groups and friends with cutomised limitations like if in a group only we want friends to chat or in a group all the members can chat but out side the group only friends can chat

    PLEASE TELL ME IF THERE IS ANY SELFHOSTED FREE Plugin ?

Viewing 25 results - 23,476 through 23,500 (of 68,948 total)
Skip to toolbar