Search Results for 'buddypress'
-
AuthorSearch Results
-
May 15, 2012 at 10:46 pm #134626
In reply to: Creating goals in buddypress community
Tammie Lister
ModeratorGood 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.
May 15, 2012 at 10:19 pm #134624In reply to: Group directory
valuser
ParticipantMany thanks @Hugo.
`
`
and
#group-creator img.avatar {float: none; margin-top: 2px;}appears to work for me.
May 15, 2012 at 9:50 pm #134622In reply to: Search Member / Profile fields by URL?
shanebp
ModeratorI’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 commaif ( 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/
May 15, 2012 at 8:44 pm #134620In reply to: Interactive Profile Fields During Registration
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…
May 15, 2012 at 7:52 pm #134619In reply to: How to email all users
May 15, 2012 at 7:46 pm #134618In reply to: Interactive Profile Fields During Registration
Sabrin_N
ParticipantOMG, 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?
May 15, 2012 at 6:34 pm #134617In reply to: Customizing the BuddyBar (remove a link)
franclin
MemberYou 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.
May 15, 2012 at 6:23 pm #134616In reply to: Safety and speed
kiriz
MemberI 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
May 15, 2012 at 6:18 pm #134615franclin
MemberThanks @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!May 15, 2012 at 5:36 pm #134614May 15, 2012 at 5:26 pm #134613In reply to: 404 Error On ‘Favorite’ Button
djwinner
ParticipantOK 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??
May 15, 2012 at 4:47 pm #134611In reply to: ShopperPress and BuddyPress conflict?
outsidejoe
MemberHe 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.
May 15, 2012 at 4:30 pm #134610In reply to: Group directory
May 15, 2012 at 4:06 pm #134608In 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.
May 15, 2012 at 3:48 pm #134607In reply to: [Resolved] Who’s Online Setting
frank tredici
MemberThanks @shanebp .. tweaked and tested. It did what I was looking for.
May 15, 2012 at 3:30 pm #134606In reply to: [Resolved] Who’s Online Setting
frank tredici
MemberThanks @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.
May 15, 2012 at 3:09 pm #134605In reply to: [Resolved] Who’s Online Setting
shanebp
Moderatortest
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 BPIn 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.
May 15, 2012 at 2:21 pm #134602In reply to: Group directory
monchib
Participant@Hugo
Done…but still nothing after “created by”
Seriously, I can’t understand what’s wrong.
Thank youMay 15, 2012 at 2:18 pm #134601In reply to: Sidebar for Member ?
Hugo Ashmore
ParticipantPlease 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.
May 15, 2012 at 1:58 pm #134598In reply to: Group directory
monchib
Participantthank 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))?>
/
`
May 15, 2012 at 12:41 pm #134596In reply to: Group directory
Hugo Ashmore
ParticipantThat’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 doCreated 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
May 15, 2012 at 12:27 pm #134595In reply to: buddypress activity plus – Image Size Issue
relachola
MemberThank you
May 15, 2012 at 8:46 am #134583In reply to: Load More issue
Hugo Ashmore
ParticipantPlease 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:
Closed!
May 15, 2012 at 8:44 am #134581In reply to: ShopperPress and BuddyPress conflict?
Hugo Ashmore
ParticipantYour 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.
May 15, 2012 at 8:35 am #134580In reply to: Disable Home Page
Hugo Ashmore
ParticipantI 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/
-
-
AuthorSearch Results