Search Results for 'buddypress'
-
AuthorSearch Results
-
July 18, 2012 at 9:41 pm #137557
In reply to: Groups Plus – More Fields?
CJ Kruger
ParticipantCheck out https://codex.buddypress.org/developer-docs/how-to-edit-group-meta-tutorial/
Its the base for my Groups plus plugin. easy to follow
July 18, 2012 at 9:23 pm #137556Roger Coathup
ParticipantThis page gives you information on filtering the bp_has_members loop:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/We’ve implemented filtering on profile field values – but did it in 2 passes. It’s fairly complex once you start tying in with the AJAX handling of the members directory.
July 18, 2012 at 9:01 pm #137554natetheaverage
Memberyea that’s what I was afraid of. already have the hiding field groups done. thank you @RogerCoathup, wish me luck everybody.
July 18, 2012 at 8:55 pm #137553frank tredici
MemberThanks
July 18, 2012 at 8:20 pm #137550Roger Coathup
Participantphpxref.ftwr.co.uk/buddypress
July 18, 2012 at 8:13 pm #137549frank tredici
MemberThanks @RogerCoathup. Can you share the URL for phpftwr ?
http://phpftwr.com returns page/site not found
July 18, 2012 at 8:11 pm #137548frank tredici
MemberYes @CJKruger — Google is a great friend. Except when you want to get the function to return a Buddypress user’s role. Been looking for that one for a couple hours now.
Thanks for the link.
July 18, 2012 at 8:03 pm #137547CJ Kruger
Participanthave a look at https://codex.buddypress.org/developer-docs/the-bp-global/
Apart from that I’d have a look at the member’s theme pages and try work out whats called where.. Also google is your friend, took me to secs to find
`bp_loggedin_user_id()`July 18, 2012 at 7:53 pm #137545Roger Coathup
ParticipantNo, there isn’t anything on this site.
Your best reference source is the site phpftwr, which will list all the BuddyPress functions for you, and let you drill down to find out what they do.
July 18, 2012 at 7:52 pm #137544CJ Kruger
ParticipantThis was from a plugin I developed for a site, you should find just about everything you need in there, and if not have enough of an understanding to fill in any ones that aren’t covered: http://pastebin.com/xC1jd4vv
also check out: http://wpmu.org/daily-tip-how-to-add-all-navigation-links-to-the-buddypress-admin-bar/
and: https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
next time wait a day, I’d say that’s the average response time, if it’s sooner, be grateful!
July 18, 2012 at 7:50 pm #137543Roger Coathup
ParticipantAre you being serious? You are asking just 1 hour later, why no-one has responded to your question?
You can’t add conditional menus / menu options via the WordPress menu settings in wp-admin.
If you want conditional menus, and those with PHP driven dynamic links (e.g. changing for the current user), you will have to code them in your header / navigation templates.
July 18, 2012 at 7:10 pm #137541Paul Wong-Gibbs
Keymaster@pescholar What were/are you using to register users? Any third party authentication plugins (i.e. Facebook), or just everything built in?
July 18, 2012 at 7:06 pm #137540In reply to: Take Freshness off the forum directory
@mercime
Participant@b1gft there are a couple of simple ways to go about deleting “freshness” from group forums
1. Simplest of the rest -> Just add the following at the bottom of your theme’s style.css file
`span.time-since { display: none !important; }`or 2. Copy over https://buddypress.trac.wordpress.org/browser/tags/1.5.6/bp-themes/bp-default/forums/forums-loop.php to your themes /forums folder, open it up and delete line #85
or 3. filter bp_the_topic_time_since_last_post in functions.php
July 18, 2012 at 6:49 pm #137539In reply to: How can I get rid of this?
newpress
ParticipantSpecs
1. WordPress latest
2. Buddypress latest
3. Frisco theme
4. Use bbpress 2.0 for group forums
5. Use “GD bbpress Tools” plugin to have a signature. (its sad that bbpress doesnt have such a basic feature)For the second time in my entire life, I had a look at PHP and CSS. I hope I can cope with. Till then which is the “Hitchhiker’s Guide to the Galaxy”?
July 18, 2012 at 6:37 pm #137538kdforf
ParticipantWhy nobody is helping me?
July 18, 2012 at 6:21 pm #137537In reply to: Changing Activity Stream Time & Date
mgkoller
ParticipantI think I found it, Its in bp-activity > bp-activity-template.php > starts line 1187 > bp_activity_time_since’
Thanks @rogercoathup for bp_insert_activity_meta() function hint*Update*
bp_core_time_since( $activities_template->activity->date_recorded ) date_recorded would be the post date
so it looks like I need to make a new function that uses the regular PHP time function to display the time styleJuly 18, 2012 at 6:04 pm #137535In reply to: Buddypress plugin for uploading videos
@mercime
Participant@venkateshmothe @raminjan there are two major BP album/gallery/media plugins which can handle video uploading to server or CDN
1. Free – BuddyPress Media beta version – http://code.google.com/p/buddypress-media/ not for live sites unless you are a developer yourself. Do read minimum requirements and other documentation
– Their stable version a.k.a BuddyPress Album is for images2. Premium – BP Gallery – upload images, videos, audio as well as embed videos from youtube, vimeo etc. – http://buddydev.com/plugins/bp-gallery/
July 18, 2012 at 5:51 pm #137534In reply to: Easel Theme – Buddypress Alignment problem
@mercime
Participant@damler My instructions above should have fixed the “right sidebar dropping down”. What do you mean “as the central column expands”? Got to see it, site URL?
== Which CSS file must I edit, I don’t want to risk messing it up as it’s working great. ==
At the bottom of your easel theme’s style.css file.July 18, 2012 at 5:47 pm #137533In reply to: Register Page Problem
Lacey
Member@mercime I did do that. I mentioned it in my original post. The Register page works just as it is supposed to when the bp-default theme is activated.
I’m trying to find out what about my set up with the Suffusion theme is causing the conflict. It works with the bp-default theme, but I don’t want to use that theme. I’m wondering where do I go from here to get it working with my Suffusion theme.
July 18, 2012 at 5:42 pm #137530In reply to: Register Page Problem
@mercime
Participant@lacemastarson basic troubleshooting -> deactivate Suffusion BP Pack, and change to bp-default theme. See if issue is corrected.
July 18, 2012 at 4:59 pm #137527juanmaguerrero
Participant@rogercoathup thanks to your help I just achieved what I wanted

I’m doing this now and it’s working fine (still will polish it a bit more):
if ( !isset( $bp->groups->current_group ) || !$bp->groups->current_group || $gid != $bp->groups->current_group->id ) { $group = groups_get_group( array( 'group_id' => $gid ) ); } else { $group = $bp->groups->current_group; }; groups_record_activity( array( 'action' => apply_filters( 'groups_activity_new_update_action', sprintf( __( '%1$s publicó una actualización en %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $group ) . '">' . esc_attr( bp_get_group_name( $group ) ) . '</a>' ) ), 'content' => $content, 'type' => $type, 'item_id' => $gid, 'user_id' => $user_id ) )Thanks a lot for your help!!!
July 18, 2012 at 4:19 pm #137524In reply to: Register Page Problem
Lacey
MemberThanks for the reply @karmatosed
On the Changelog for the Suffusion BuddyPress Pack on the WordPress page it says they’ve added support for BuddyPress 1.6.
https://wordpress.org/extend/plugins/suffusion-buddypress-pack/changelog/July 18, 2012 at 3:37 pm #137520juanmaguerrero
Participant@rogercoathup thanks for your help, do you have any links for documentation on that function? I’ll try to find out in the meantime
If someone else has an example for what I need it would be awesomeJuly 18, 2012 at 3:22 pm #137519shanebp
Moderator@djpaul ticket created:
https://buddypress.trac.wordpress.org/ticket/4362July 18, 2012 at 3:17 pm #137518 -
AuthorSearch Results