Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 40,301 through 40,325 (of 68,932 total)
  • Author
    Search Results
  • #110351
    shanebp
    Moderator

    Thanks for the pointer. Got the listener working.
    Here it is, for other noobs…

    `
    function bp_send_private_bzzt() {
    global $bp;

    if ( $bp->profile->slug != $bp->current_component || ‘bzzt’ != $bp->current_action || ‘send’ != $bp->action_variables[0] )
    return false;

    $sender_id = $bp->action_variables[1];
    $recip_id = $bp->action_variables[2];
    $recip_name = htmlspecialchars(urldecode($bp->action_variables[3]));
    $sender_name = $bp->loggedin_user->fullname;

    $alert_message = “You just sent a BZZT! to ” . $recip_name;
    bp_core_add_message( __( $alert_message, ‘buddypress’ ) );

    $subject = $sender_name . ” just sent you a BZZT!”;
    messages_new_message( array(‘sender_id’ => $sender_id, ‘subject’ => $subject, ‘content’ => “BZZT!”, ‘recipients’ => $recip_id ) );

    bp_core_redirect( wp_get_referer() );
    }
    add_action( ‘wp’, ‘bp_send_private_bzzt’, 3 );

    function bp_send_private_bzzt_link() {
    echo bp_get_send_private_bzzt_link();
    }
    function bp_get_send_private_bzzt_link() {
    global $bp;

    if ( bp_is_my_profile() || !is_user_logged_in() )
    return false;

    $sender_id = $bp->loggedin_user->id;
    $recip_id = $bp->displayed_user->id;
    $recip_name = $bp->displayed_user->fullname;

    return apply_filters( ‘bp_get_send_private_bzzt_link’, wp_nonce_url( $bp->displayed_user->domain . $bp->profile->slug . ‘/bzzt/send/’ . $sender_id . ‘/’ . $recip_id . ‘/’ . $recip_name . ‘/’) );
    }
    `

    Nahum
    Participant

    @hnla thanks for chiming in. that would be alot of pages to create and manage, no? I think sticking to /author/ would be better off. Something else I’ve thought of is to force a Hello World post for all members. would love to hear suggestions on that approach.

    #110341
    Hugo Ashmore
    Participant

    It’s not really that much different? I doubt it’s a good idea to use an older default theme with later BP versions the two will not be compatible

    #110339
    mabjustmab
    Participant

    Hi Virtuali,
    thanks for looking at this.
    I am using WordPress Version 3.1.1
    buddypress Version 1.2.8

    the error is caused when I Post on a group page.
    the post goes through, but after this error.
    I do NOT get the error when posting on the forum page.

    also,
    when I try to create a new group, I get a whole page of errors (like below)
    when I go to the top of the groups page, the new group is there.

    any help is greatly appreciated!
    thank you!

    `Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 34

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 35

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 83

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 84

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 137

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 138

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 183

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 184

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 235

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 236

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 293

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of apply_filters(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/WebAdmin/mywebsite.com/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php on line 294`

    #110336
    souder
    Member

    I like it better do you know where i can find it

    #110335
    Hugo Ashmore
    Participant

    It’s basically the default theme but probably an early 1.2 version.

    #110319

    In reply to: User Level CSS

    Virtuali
    Participant
    #110318
    Boone Gorges
    Keymaster

    The most elegant way to do this is to filter bp_ajax_querystring. Detect whether you’re looking at the activity stream, and if the querystring is empty, add arguments that show friends’ activity.

    Here’s a thread with an example on how to build such a filter (yours will do a few more conditional checks first): https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/add-filters-to-if-bp_has_activities-bp_ajax_querystring-activity/#post-88068

    And here is some guidance on the arguments taken by bp_has_activity(): https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/

    nit3watch
    Participant

    @hnla ok these are the only edits I have made, though I see you said via jQuery though I haven’t implemented andys one – was I supposed to and if yes, how?

    Still not printing out odd or even.

    the forums not liking something in my code so its on past bin

    #110315

    In reply to: Switch language plugin

    nickmy
    Participant

    yeah I did but whats this?:

    ‘This plugin requires WPML. It uses WPML’s language API and hooks to BuddyPress to make it multilingual.’

    #110312

    Hi, thanks for your reply, i am using Avenue k9 buddypress buddypack theme which uses buddypress default theme function.

    https://wordpress.org/extend/themes/avenue-k9-buddypress-buddypack

    can you please check if there is something i can do to make it work

    Regards

    Hugo Ashmore
    Participant

    @nit3watch
    Hmm working for me. Just tested on a 1.3 test install. line numbers need disregarding or at least using as a very rough pointer to the area, line numbers have changed even more in 1.3.

    One thing that needs doing is where there is an instance of ‘odd’ or ‘even’ those need to become ‘ odd’ ‘ even’ i.e they need white space before the first letter in order to ensure that the class prints out as a valid syntactical class group:
    class=”groups new_forum_topic odd”

    If it’s still not working paste up your file showing pertinent lines, this is a very simple approach so shouldn’t run into problems.

    I would also make one other change and that is to rename $class as that is rather generic and open to clashing with another of that name change it to something like $stripe_class

    nit3watch
    Participant

    @hnla, may contain inaccuracies despite being on line 19 as apposed 20, your example was very explanatory though its not working?

    I implemented the above though when I check the activity entries, it isn’t printing them out as even/odd. There has been a change to entry.php which is most likely the culprit?

    #110301

    Hi,

    We have tested the contus video gallery with the following buddypress themes and the contus video gallery is working fine with them.

    1. Darwin (BuddyPress BuddyPack) 1.2.1
    2. BuddyPress Default 1.2.7
    3. BuddyTheme 1.3
    4. Randy Candy 1.0.0

    Please try with the above buddypress themes. If you have difficulty with any other buddypress theme, let us know. We will check and let you know.

    Regards
    Saranya
    Contus video gallery.

    #110297
    Virtuali
    Participant

    Thats a weird error. Tell directly what happens, is this error when you activate it? Or visit a buddypress page?

    #110295
    Virtuali
    Participant

    Buddypress standard, without even any plugins is so extremely flexible for many ideas. If you want users to write a poem, have them create a forum topic with the poem! Or even a group.

    If you have multisite, you could have your users create blogs, and their own poems.

    #110294

    In reply to: In Profile fields

    pcwriter
    Participant

    @onyx808

    Oops… my comment about “Required” fields is a bit (a lot?) misleading :-(

    Users will not be able to save their profile settings until all required fields are filled out… that’s what I meant by “trapped” :-)

    #110293
    Virtuali
    Participant

    Try upping the memory limit if possible.

    If you can’t up the memory limit, try to implement some of the improving performance tips listed here – https://codex.buddypress.org/getting-started/improving-performance/

    Virtuali
    Participant

    Chill out! :) Check this out: http://buddydev.com/buddypress/creating-the-sitewide-globalunified-search-page-for-your-buddypress-theme/

    I have this in my site, and it’s a great approach, if you follow the directions.

    dschueler
    Member

    Wow, this is REALLY a huge GAP in Buddypress for me and I think MANY others. WordPress search is bad enough in and of itself….not having a federated search across WP and BP is well….poor. Hopefully this will be fixed nicely soon. The BuddyDev approach is messy…its a good stopgap but it is done all outside of the rest of the search world…so none of the search enhancement plugins etc will work with it. We really need a STRONG integrated search engine in WP and BP…. I HOPE there is one in the works out there with Highlighting, full text search ….well…LUCENE or SOLR like but not having to have that server loaded. If some of the SOLR hosting sites built this they could get my business ;)

    mojoey
    Member

    I just installed and activated the latest auto group join for my site healclick.com, and it’s still not showing up in my plugins menu or my buddypress dashboard. I tried the suggestion by Boone and manually entered the suggestions by Onyx into the php files. No go. Any suggestions?

    #110286

    In reply to: In Profile fields

    Marcos Nobre
    Participant

    ooooooooooooh!! @pcwriter thank you thank you thank you!!!!

    #110284

    In reply to: In Profile fields

    pcwriter
    Participant

    @onyx808

    That’s a basic feature of profile fields. Go to “Profile Field Setup” in your backend and you’ll see this:
    “NOTE: Any fields in the first group will appear on the signup page.”

    Simply click the “Add New Field Group” button and create the fields you want in that new group. They will not appear on the signup page, but will be available on the user’s Profile page.

    Be careful with the “Required” setting though. If you set fields in new groups to “Required”, your users will be trapped on their profile page the first time they visit until they fill in all required fields.

    Marcos Nobre
    Participant

    @boonebgorges shoots you lost me in the whole convert the post to UNIX format and subtract the two… =(

    is there a guide somewhere?

    Thank you!

    #110281
    r-a-y
    Keymaster

    Right now, your function is coded so it runs whenever the function is called.
    You need to create an action listening function at a predetermined slug so your function should run; or if you’re feeling really up to it, use ajax to send the request.

    Check out any action function in BP for hints.

    Here’s such an example to get you started:
    https://trac.buddypress.org/browser/tags/1.2.8/bp-xprofile.php#L398

Viewing 25 results - 40,301 through 40,325 (of 68,932 total)
Skip to toolbar