Search Results for 'buddypress'
-
AuthorSearch Results
-
April 4, 2011 at 8:41 pm #109551
In reply to: How to list user from a specific profile data ???
r-a-y
Keymaster`bp_get_member_profile_data` is only specific to one member. It will not grab all users with a certain xprofile field nor is there a built-in function that will do what you want.
I’d write a custom function to return the user IDs that match a certain field. Then use the `include` parameter in the members loop to do what you want to do.
eg. `if ( bp_has_members( ‘include=’ . my_custom_function() ) ) : `
`my_custom_function()` will have to be written!
If you know your way around WordPress, check out the `wp_bp_xprofile_data` table in your DB and a way to query the WPDB for hints. The `xprofile_get_field_id_from_name()` function will help as well.
April 4, 2011 at 8:32 pm #109550mikeytrooper
MemberEverything is perfect. If I make bank off of this idea you are totally getting a check!
April 4, 2011 at 8:27 pm #109549In reply to: Order/sort activity by “most favorites”
r-a-y
KeymasterThis isn’t as straightforward as it seems.
If you know your way around WordPress, here’s one way of doing what you want to achieve:
The favorite count for each activity item is stored in the activity meta table (wp_bp_activity_meta). So you could probably query the DB and grab all the “activity_id” sorted descendingly by the “favorite_count” meta_value.
Then you could use a BP activity loop and use the `include` parameter to add the activity IDs you grabbed from your WPDB query.
April 4, 2011 at 8:19 pm #109548In reply to: Change message on deleting account
r-a-y
KeymasterHey Andrew,
You can customize these types of messages by modifying the language file:
https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/April 4, 2011 at 7:43 pm #109545@mercime
Participant@jmilotaylor could be theme, plugin and/or server configurations/compatibility
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/when-asking-for-support/April 4, 2011 at 7:30 pm #109542@mercime
Participant@naijaping can you share what caused the overflow and how you resolved this?
April 4, 2011 at 6:01 pm #109539In reply to: Restrict slide show to certain posts
@mercime
ParticipantRecommend that you post your question re slideshow in Custom Community theme to Themekraft Devs @svenl77 and @konradS at http://themekraft.com/forums/
April 4, 2011 at 5:07 pm #109535@mercime
ParticipantSingle WP: Settings > General > Membership – check anyone can register
WP Multisite: Network Admin > Settings > Settings > Allow user registration OR Allow user account and blog creation (can’t remember exact words
)April 4, 2011 at 4:59 pm #109534mikeytrooper
MemberOK amazing. I have one last question. Everything seems to be working fine except except I am not sure how to make registration enabled. After this everything should be up to go.
For the hundredths time thanks!
– MikeApril 4, 2011 at 4:58 pm #109533In reply to: help creating my webforum
@mercime
Participant@kumaraneks Welcome to BuddyPress.
Many of your requirements are available out-of-the-box with BuddyPress. Some others are met by plugins. Test drive BuddyPress at http://testbp.org/ to see available features.
BP requires a solid WordPress installation – https://codex.buddypress.org/getting-started/before-installing/
BP Components like Forums, Groups, etc. – https://codex.buddypress.org/getting-started/configure-buddypress-components/
and https://codex.buddypress.org/buddypress-site-administration/buddypress-forum/
and https://codex.buddypress.org/getting-started/group-settings-and-roles/Check out BP plugins – https://wordpress.org/extend/plugins/search.php?q=buddypress&sort=
Find answers to queries
— via our search box on top right corner
— via Google or other search engine
— if neither works, post a topic in this forumApril 4, 2011 at 4:35 pm #109532In reply to: How to get group info by id outside of the loop
drebabels
MemberI needed to do this recently too… this is the technique I used:
$group = groups_get_group( array( ‘group_id’ => $group_id ) );
Found on http://bluemandala.com/buddypress-plugin/127/buddypress-get-group-details-from-group_id/
So in order to get the link to your groups try something like this
global $bp;
$group = groups_get_group( array( ‘group_id’ => $group_id ) );
home_url( $bp->groups->slug . ‘/’ . $group -> slug )April 4, 2011 at 3:08 pm #109529@mercime
ParticipantYour theme’s block of code for main navigation is from line 94 to 113 in http://pastebin.com/w0cGZvji
If you are using wp_nav_menu feature, you can easily add links to your BP Component pages in Appearances > Menu area.April 4, 2011 at 2:45 pm #109528In reply to: how to hide admin activity on Buddypress activity?
@mercime
Participantalso, from @sbrajesh, an alternative to the the Stealth Mode for Super Admins – Put this code in bp-custom.php and None of the site admin activity will be recorded nor will you appear in the Who is Online/ recently active members widget. –
`add_action(“plugins_loaded”,”bpdev_init_sm_mode”);
function bpdev_init_sm_mode(){
if(is_site_admin())
remove_action(“wp_head”,”bp_core_record_activity”); //id SM is on, remove the record activity hook
}`April 4, 2011 at 2:41 pm #109527mikeytrooper
MemberOK I think I have this part solid!
April 4, 2011 at 12:40 pm #109525In reply to: how to hide admin activity on Buddypress activity?
Virtuali
Participantwhen admin post on wordpress, post also appeared on BuddyPress activity, as admin’s activity.
how to prevent it? how to hide admin activity?
Try this plugin https://buddypress.org/community/groups/buddypress-block-activity-stream-types/
April 4, 2011 at 9:30 am #109520@mercime
ParticipantFOR THE TEMPLATE FILES
Open up activity/index.php (one of 13 files transfered by the template pack process to your on demand theme folder)
At top, replace
`
`with
`
`Right under that, replace heading h3 with h2
``
with
``
At the bottom of the page, replace
`
`
with
`
`Then you do this for the next 12 template files.
April 4, 2011 at 8:19 am #109519ibn.nadir
MemberBoone wrote:
If everyone’s going to be friends with everyone else, I’d suggest just turning the Friends component off since it won’t be doing anything interesting. Dashboard > BuddyPress > Component SetupBut, without friend feature, we cannot get @mention feature. Anyone can help me with this problem?
April 4, 2011 at 7:36 am #109517Hugo Ashmore
ParticipantYou’ll have to make a child theme as mercime mentioned four posts up.
April 4, 2011 at 7:30 am #109516wilsontray
Memberthank you, ya the question was for new blogs… only problem I run into now is with buddypress default if thats what I pick I cant get it to be the default… I tried with buddybase and a few other themes and they all worked perfectly with that line to wp-config just cant get the default to work.
April 4, 2011 at 7:24 am #109514In reply to: Tags On Profile Fields
April 4, 2011 at 7:14 am #109513Hugo Ashmore
ParticipantBut ensuring a certain theme is always used for new blogs? is that the question? If so in wp-config add
`define(‘WP_DEFAULT_THEME’, ‘myCoolTheme’);`
There was also, and still is, a useful plugin for managing various default settings for new blogs, think this works up to 3.0 but not 3.1 but may be wrong:
https://wordpress.org/extend/plugins/wpmu-new-blog-defaults/April 4, 2011 at 5:53 am #109508In reply to: BuddyPress Questions & Answers
imjscn
Participant@nahummadrid , after some study around the idea you mentioned above, I got an impression that we can also manage it under custom post type. When register the type, register a user role of “Question Creator” and give it the ability to create post. Then, in blog, set “Question Creator” as default role. So, any new member can create new post under the Question type.
If this idea works, a form plugin won’t be needed. Hope I am correct on this one
April 4, 2011 at 5:22 am #109506@mercime
Participant@wilsontray With WP 3.1, you’ll find the Network Admin goodness when you click on the “Network Admin” link in topright area of your screen.
After uploading child theme of bp-default theme, you need to go to Network Admin > Themes > Themes > Choose the child theme and Network Activate
April 4, 2011 at 4:57 am #109505In reply to: Looking for feedback on our tweaked Profile Pages
gregfielding
ParticipantJust switched that off. Musta it it by mistake in the cloudflare dashboard. Thanks @mercime
April 4, 2011 at 4:26 am #109504In reply to: editing forum posts
swcraigs
MemberAlso should mention…
1. Running WP 3.1
2. WP is a directory install in the roo
4. Upgraded from WP 2.9
5. Had the same problem with WP 2.9
6. Buddypress 1.2.8
8. I have several other plugins installed – LinkWithin, TDOMiniforms, and two custom plugins that have no interaction at all with Buddypress
9. Using a customized theme, although my problem occurs with the default theme as well
10. Core is unmodified
11. No custom fuctions in bp-custom.php -
AuthorSearch Results