Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 30,601 through 30,625 (of 68,918 total)
  • Author
    Search Results
  • #134626
    Tammie Lister
    Moderator

    Good idea sounds like a great plugin gap as I don’t think there is one unfortunately that fits ‘goals’ per say. You have got the Achievements App though http://achievementsapp.wordpress.com/about/ – perhaps that in some ways does what you are looking for? It’s not exactly what you are saying though.

    #134624

    In reply to: Group directory

    valuser
    Participant

    Many thanks @Hugo.

    `

    `
    and
    #group-creator img.avatar {float: none; margin-top: 2px;}

    appears to work for me.

    #134622
    shanebp
    Moderator

    I’d approach this a different way –

    something like:
    `
    $match_ids = $wpdb->get_var( “SELECT user_id FROM wp_bp_xprofile_data WHERE field_id = [whatever the field_id is for State] AND value = [whatever value you want to find] “);
    `

    $match_ids will be a simple array.
    So loop thru the array and create a comma separated string out of the ids.
    Then pass the string to bp_has_members() using ‘include’

    something like
    `
    //$get_these_members is the id string you created
    $get_these_members = ‘include=’ . substr($get_these_members, 0, -1); //trim the last comma

    if ( bp_has_members( $get_these_members ) )
    `

    That way you could search for any value on any profile field.
    Your approach might work, but… yikes.

    https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/

    #134620
    jaimebib
    Participant

    @bojan85 tried to work with this plugin aswell but seems non functional..anybody involved in developing for bp who knows if this is even possible to do? Seems like a very basic function that should be included…

    #134619

    In reply to: How to email all users

    shanebp
    Moderator
    #134618
    Sabrin_N
    Participant

    OMG, this is almost what i need :) do you already have it working @davidveldt ?

    what i need is:

    you have the registrationform, the only things i want visible is Name and Email. and then i would like to have a selectbox with 2 options: Company or Student.

    When you register as a company and then login you go to the company profile side. if you are a student then you go to the student profile side. The 2 profile have different profile groups to fill out.

    how can i do this?

    #134617
    franclin
    Member

    You can use the admin bar by adding:
    define(‘BP_USE_WP_ADMIN_BAR’, true);to the wp-config,
    above where it says:
    “That’s all, stop editing! Happy blogging.”

    For added customization install the ‘Custom Admin Bar’ plugin. This will give you full control over the Admin bar including the BuddyPress features.

    #134616

    In reply to: Safety and speed

    kiriz
    Member

    I mean in general when bad guys go into code and do something… And by speed , this is the first buddypress site i’ve been to and it seams to me page loading is a bit slow… is it possible to have some ajax plugin not to load everything and some way of speeding it up a bit..?

    Thanks

    franclin
    Member

    Thanks @nilssvz
    Your advice to add: define(‘BP_USE_WP_ADMIN_BAR’, true); to the wp-config file along with a customizing plugin such as ‘Custom Admin Bar’. Have made it really easy to customize my admin bar and retain all the needed functionality of Buddypress and S2Member. Awesome!

    Famous
    Participant

    Thank you @mercime

    #134613
    djwinner
    Participant

    OK so now I just got this message from theme author: “I do understand that you have a site lunch today but it looks like the issue is on buddypress end :( Submitted a support ticket.”

    Problem still not resolved and I am getting two different stories from each side. We need to launch today but can’t with this issue. Tempted to disable. How can I go about doing that in the code??

    #134611
    outsidejoe
    Member

    He wasn’t sure late last week. It’s going to take some troubleshooting he mentioned. I posted this issue twice because I wanted to see if anyone had this issue just with buddypress as well as the buddypress / shopperpress combo possibility which, as you mentioned, might not produce a useful result.

    #134610

    In reply to: Group directory

    monchib
    Participant

    @valuser @Hugo
    Guys, I don’t know how to thank you. :)

    #134608

    In reply to: Group directory

    Hugo Ashmore
    Participant

    @valuser thanks, good spot missed that lack of php tags completely assumed they would be added :)

    @monchibord you need to add php tags around those first two lines – sorry I made the assumption they would get added.

    @valuser sounds as though you have styles conflicting if you are calling BP default styles then you need to kill the float:left on avatars so add a new class to that avatar ? ‘group-creator’ or better still add that as an id to the paragraph tag or whatever tag wraps the text and anchor and amongst other styles add ` #group-creator img.avatar {float: none;}` but you may need to play around a bit to find the right rules to override.

    #134607

    Thanks @shanebp .. tweaked and tested. It did what I was looking for.

    #134606

    Thanks @shanebp. That was exactly what I was looking for.

    I have offline documentation on all the tweaks I have made to core. So I am organized around it.

    Thanks for the help.

    #134605
    shanebp
    Moderator

    test

    I don’t think you can set the online interval just for that widget.

    You can adjust the online interval for ‘everything’ by hacking a core file – not recommended.
    But it’s a small hack – so as long as you remember it (lol) when you update BP

    In plugins/buddypress/bp-core/bp-core-classes, ~Line 245
    `
    if ( ‘online’ == $type )
    $sql = “AND DATE_ADD( um.meta_value, INTERVAL 5 MINUTE ) >= UTC_TIMESTAMP()”;
    `

    change the interval to whatever you want.

    #134602

    In reply to: Group directory

    monchib
    Participant

    @Hugo
    Done…but still nothing after “created by”
    Seriously, I can’t understand what’s wrong. :(
    Thank you

    #134601

    In reply to: Sidebar for Member ?

    Hugo Ashmore
    Participant

    @websitevala

    Please stick to the other thread as this is all related to the main question you have asked and just gets confusing if you start to create multiple posts.

    Get your primary requirements of sidebars/widgets working then move on from there.

    Closing this thread.

    #134598

    In reply to: Group directory

    monchib
    Participant

    thank you Hugo, I hope I did exactly what you said and now I see Created by:
    It doesn’t get the avatar or name…. :(
    This is the code. I’m really sorry to bother you and I really appreciate your help.
    `<?php

    /**
    * BuddyPress – Groups Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php – bp_dtheme_object_filter()
    *
    * @package BuddyPress
    * @subpackage bp-default
    */

    ?>
    global $groups_template;
    $group_detail = $groups_template;

    • <a href="”>

      <a href="”>

      Created By: <a href="group->creator_id) ?>”> $group_detail->group->creator_id , ‘width’ => 80, ‘height’ =>80))?>

      /

    `

    #134596

    In reply to: Group directory

    Hugo Ashmore
    Participant

    @monchibord

    That’s a slightly different question than the opening post suggested, but you can try something like this (doubtless there are better approaches)

    `
    // Somewhere before the groups loop ‘while’
    <?php
    global $groups_template;
    $group_detail = $groups_template;
    ?>
    // In your group loop li element somewhere you can do

    Created By: <a href="group->creator_id) ?>”> $group_detail->group->creator_id , ‘width’ => 80, ‘height’ =>80))?>

    `
    I’ll leave you to work out how to fetch the members name :)

    edit// for completeness I’ll add – although it was really a lesson for the class – the name
    `group->creator_id) ?>`

    It’s actually a useful little snippet and could do with being turned into a function to use in groups loop and single group screens

    #134595
    relachola
    Member

    Thank you

    #134583

    In reply to: Load More issue

    Hugo Ashmore
    Participant

    Please do not post multiple times on a given issue it does not get you a faster response and is bad form :)

    Continue in this thread please:

    https://buddypress.org/community/groups/third-party-components-plugins/forum/topic/shopperpress-and-buddypress-conflict/

    Closed!

    #134581
    Hugo Ashmore
    Participant

    Your developer is possibly correct – can he/she not confirm that? and offer a solution? Asking here is less likely to produce a useful response unless someone has direct experience of this plugin combination – your developer however is better placed to pin down the cause.

    #134580

    In reply to: Disable Home Page

    Hugo Ashmore
    Participant

    I guess you can do a re-direct based on logged in status away from any top level url but that would probably have consequences. You could wrap the index/home page in an if/else saying if not logged in show normal home page content else show something else for logged in users.

    Read through this thread as it appears similar to your requirements:

    https://buddypress.org/community/groups/creating-extending/forum/topic/bp-profile-redirect-question/

Viewing 25 results - 30,601 through 30,625 (of 68,918 total)
Skip to toolbar