Search Results for 'questions'
-
Search Results
-
Topic: BuddyCamp Miami 2014
Howdy folks. Just wanted to let you know the 2nd annual BuddyCamp in Miami is happening during WordCamp Miami 2014 (May 9th – 11th). Here’s the post on the official site:
Looking for speakers and attendees. 🙂 Ping me via twitter (@dimensionmedia) or email if you have any interest or questions (I don’t get replies via email even though i check the sucker off).
Thanks. 🙂
Good Morning,
I’m hoping for any insight/assistance in troubleshooting new user registrations that aren’t being attributed to BuddyPress. I’ll try my best to summarize the issue and provide as much background info as possible:
Intended Usage:
We’re beta-testing a network configuration for a potential client project. This will ultimately include 50-100 domains for publishing content to multiple sites. BuddyPress will be utilized as user hub for submitting content to the network.
Setup & Environment:
WordPress 3.7.1 multisite-subdomain installation with wildcard-enabled primary domain and domain mapping successfully implemented (via WPMU plugin)
Fresh install of BuddyPress 1.9.1 activated only on the desired mapped subdomain (not network activated)
Subdomain theme is BP-compatible – Newspaper via ThemeForest
BP_ROOT_BLOG is defined in wp-config.php to the correct subdomain
BP_ROOT_BLOG is also defined in bp-custom.php (in wp-content/plugins) to the correct subdomain
Hosted on NGINX server (via Flywheel) with static IPThe Issue:
In testing with dummy user accounts, new user registrations on the BuddyPress subdomain are getting registered to the network’s primary site. What’s really strange is that the new user registration email is sent from the BP subdomain and the activation link also points back to the BP subdomain (http:subdomain/activate/?key=***********). When activated, the new user/member doesn’t show on the subdomain user list or on the frontend subdomain/members page, but does appear on the network admin user list.
After scouring the web for possible solutions and enlisting the help of our host’s support team, we’re at a collective loss for what could be causing the issue. Since this is a test deployment, I’m reluctant to publically share the URL. If needed I’m happy to provide via email or PM.
Thanks in advance for any suggestions, feedback or questions to get this resolved!
I’m running wpms install with buddypress (wp 3.9, из 1.9)
I’m using code below to make main website protected from not logged in users, and let them to visit only landingpage, registration and activation pages. Registration and activation pages are native buddypress pages.
<?php function shield() { if( !is_user_logged_in() ) { if( !is_page( array( 'landingpage', 'registration', 'activation')) ) { wp_redirect( 'landingpage' ); exit(); } } } add_filter('get_header','shield',1); ?>Code works perfectly. Except that it ends to redirection loop errors on registration and activation pages….
I think it’s because buddypress has similar functions for this kind of pages for logged in users – to redirect them away from those two.
How to fix it? I would like to protect part of the site. But let registration.
PS: To prevent questions about login – it’s on landingpage.
I have to say, Buddypress looks like a great tool.
Only downside that I can see right now is that it’s not for me.
I’m a beginner, and what isn’t really clear when you look at the features and you decide to give it a try, is that you can’t really customize without PHP knowledge, so it seems.
With limited knowledge I got WordPress working and was able to do a lot of the things I wanted, without PHP knowledge, not so with Buddypress.F.i. I was looking at customizing the profile pages of the members, when I look at the documentation on customization, the buddypress site lists options like: ‘make your own theme’, ‘write your own plugin’, so that convinces me that, because I know nothing about PHP (yet), this is not for me.
What I would of liked to have heard right from the start is a warning that you need to know PHP and this is NOT for beginners. A forum posting that I made received no response, but now I see why, this is for the advanced user, not for beginners. My questions are out of place.
I’m disappointed, also because of my lack of knowledge in this area.
But it would be good to have a warning at the Buddypress site that warns people that ‘this is an advanced tool, only try to use it with PHP knowledge’, just a suggestion.
But, again, Buddypress still looks like a great tool.I wish you the best of luck with the further progress of Buddypress, but I’ll move on to something less advanced.
Ok guys I have been going down a rabbit hole on how The User Profiles work when you have Buddypress installed. Because what I understand is that buddy press hooks into the native wordpress profiles and extend it in your install.
So my question is this how do you create User/Member Profile Register by creating a extended profile fields so that you can segment roles.
In my example I am wanting to create users based on Neighbors fields:
I am a: Resident
I am a: Business Owner
I am a: Friend/Fanof x community/neighborhood.
I hope that make sense. So my questions is how does that relate to the User Fields/Roles in the general WordPress Profiles.
For the most part, Buddypress is great! However, as a theme/php developer, its great strengths (ease if use and installation) also become its weakness. Customizing the Activity feed beyond CSS (ie: building your own template), the labyrinth of procedural code, the dated codex, and the hooks and actions becomes quite the challenge.
Now, if you just want to customize the title, change colors, or modify the layout a lot of that can be achieved by CSS.
But if you want to access activity data beyond it’s intended scope (say, for mobile app development, API layers, or just becasue you want to get your hands on it!) then this guide is for you!!
Prerequisites:
Basic PHP Knowledge
WP Theme development experience (even child-theme)
Experience using the fabled ‘functions.php’ and template tags.Ok, so if you meet the prerequisites allow me to share with you the best bp function ever (well, maybe not ever, but the best one for me, right now, haha)
take a look at
/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php–line:900ishand say hello to pandoras box!/** * Retrieve an activity or activities. * * bp_activity_get() shares all arguments with BP_Activity_Activity::get(). The * following is a list of bp_activity_get() parameters that have different * default values from BP_Activity_Activity::get() (value in parentheses is * the default for the bp_activity_get()). * - 'per_page' (false) * * @since BuddyPress (1.2) * * @see BP_Activity_Activity::get() For more information on accepted arguments * and the format of the returned value. * @uses wp_parse_args() * @uses wp_cache_get() * @uses wp_cache_set() * @uses BP_Activity_Activity::get() {@link BP_Activity_Activity} * @uses apply_filters_ref_array() To call the 'bp_activity_get' hook. * * @param array $args See BP_Activity_Activity::get() for description. * @return array $activity See BP_Activity_Activity::get() for description. */ function bp_activity_get( $args = '' ) { $defaults = array( 'max' => false, // Maximum number of results to return 'page' => 1, // page 1 without a per_page will result in no pagination. 'per_page' => false, // results per page 'sort' => 'DESC', // sort ASC or DESC 'display_comments' => false, // false for no comments. 'stream' for within stream display, 'threaded' for below each activity item 'search_terms' => false, // Pass search terms as a string 'meta_query' => false, // Filter by activity meta. See WP_Meta_Query for format 'show_hidden' => false, // Show activity items that are hidden site-wide? 'exclude' => false, // Comma-separated list of activity IDs to exclude 'in' => false, // Comma-separated list or array of activity IDs to which you want to limit the query 'spam' => 'ham_only', // 'ham_only' (default), 'spam_only' or 'all'. /** * Pass filters as an array -- all filter items can be multiple values comma separated: * array( * 'user_id' => false, // user_id to filter on * 'object' => false, // object to filter on e.g. groups, profile, status, friends * 'action' => false, // action to filter on e.g. activity_update, profile_updated * 'primary_id' => false, // object ID to filter on e.g. a group_id or forum_id or blog_id etc. * 'secondary_id' => false, // secondary object ID to filter on e.g. a post_id * ); */ 'filter' => array() ); $r = wp_parse_args( $args, $defaults ); extract( $r, EXTR_SKIP ); // Attempt to return a cached copy of the first page of sitewide activity. if ( 1 == (int) $page && empty( $max ) && empty( $search_terms ) && empty( $meta_query ) && empty( $filter ) && empty( $exclude ) && empty( $in ) && 'DESC' == $sort && empty( $exclude ) && 'ham_only' == $spam ) { if ( !$activity = wp_cache_get( 'bp_activity_sitewide_front', 'bp' ) ) { $args = array( 'page' => $page, 'per_page' => $per_page, 'max' => $max, 'sort' => $sort, 'search_terms' => $search_terms, 'meta_query' => $meta_query, 'filter' => $filter, 'display_comments' => $display_comments, 'show_hidden' => $show_hidden, 'spam' => $spam ); $activity = BP_Activity_Activity::get( $args ); wp_cache_set( 'bp_activity_sitewide_front', $activity, 'bp' ); } } else { $args = array( 'page' => $page, 'per_page' => $per_page, 'max' => $max, 'sort' => $sort, 'search_terms' => $search_terms, 'meta_query' => $meta_query, 'filter' => $filter, 'display_comments' => $display_comments, 'show_hidden' => $show_hidden, 'exclude' => $exclude, 'in' => $in, 'spam' => $spam ); $activity = BP_Activity_Activity::get( $args ); } return apply_filters_ref_array( 'bp_activity_get', array( &$activity, &$r ) ); }This magical function, dubbed
bp_activity_get()will allow you to get just about every piece and part of an activity feed even OUTSIDE of a bp loop. Not only that, but it allows for you to runfiltersthrough it, meaning you can grab activities by group, by member, sitewide, or just ONE activity if you want.Here’s a sample function I made that grabs the 8 most recent activities and puts the keys I found important into an array. If you’re familiar with the wp $post object, this is quite similar:
/** * Dumps a list of the latest activities. May be used with pagination by setting $current_page * * @posts_per_page INT, Default is 8. * @current_page INT, which page you are on, Default is 1. * * @var_dump ARRAY, activity items. */ function get_latest_activities($posts_per_page=8,$current_page=1) { $args = array ( 'page' => $current_page, 'per_page' => $posts_per_page ); $pre_rec = bp_activity_get($args); $activities = $pre_rec['activities']; $results = array(); foreach ($activities as $activity) { $record = array( 'ID' => strip_tags($activity->id), 'TYPE' => strip_tags($activity->type), 'TIME' => strip_tags($activity->date_recorded), 'AUTHOR' => strip_tags($activity->display_name), 'TITLE' => strip_tags($activity->action), 'CONTENT' => strip_tags($activity->content), 'ITEM_ID' => strip_tags($activity->item_id), 'REL_ID' => strip_tags($activity->secondary_item_id), ); array_push($results, $record ); unset($record); } foreach ($results as $record) { var_dump ($record); print "<br>###################<br>"; } }So now, I could place any piece of the data, anywhere I want. You could also (if you wanted to) create template tags that are much more custom. You can also get the data outside of the loop, throw it in the <head> section for SEO purposes, and on and on and on. Maybe you want to throw a widget on your site with the latest activities? This method will do it.
Let me know if you have any questions, I hope this helps, because it took me way too long to figure this out and the current documentation did not help.
I would like to build a site that highlights different types of members. For instance, I run a site on a chronic illness on which I would like to be able to target people who’ve recovered. I envision building a questionnaire – asking them what worked, what didn’t work – and then highlight those members with their answers in a separate section.
So, I need to be able to ask distinct groups separate questions which I assume I can do with custom fields and then differentiate them from the rest of members. Is this possible in BP?
I have the legacy forums set up on my site, http://barronsquare.org. I want to move up to bbPress. I especially want the “Follow this topic” notifications and reply ‘threading’.
- Running WP v3.7.1, BP v1.9, Suffusion child theme with Suffusion BuddyPress Pack
- ‘Public’ portion visible to users who are not members
- ‘Private’ portion for members only.
- “All Residents” GROUP with auto join for all MEMBERS with forums.
- Several other smaller sub-groups with forums.
- Forums are not public.
Tried the upgrade to bbPress 2.2 (with Suffusion bbPress Pack) on my WAMP localserver version of site and had all kinds of problems migrating content, etc. Many of the data ‘repair’ functions failed. I could not get the ‘threaded replies to work. Eventually got the forums to mostly work, but still have questions.
- Would I be better with a ‘site-wide’ forum rather than the private All Residents group?
- Can I make a site-wide forum private?
- How do I modify the formatting of the forum postings?
- Where do I look to troubleshoot the ‘threading’ function?
Happy Holidays to all.
Maury
Topic: Paid Themes
Hi- Is it true that if i use a paid for buddypress theme, i can’t ask questions in the forum?
Do you think it is wise for someone skint and unable to do anything but all their own coding to use a paid for theme ($55).
I have used wordpress before. I’m new to buddypress.
Thanks
Hi All,, hope all u doing well and missing me :))
I have a small website .. i have some quick questions…
I am expacting 1000,000 users ext years
10,000 active and 90,000 dead ..
1. how many users can buddypress handle ? or it depend on server ?
2. i have profile page like > http://www.traderschain.com/members/btedfze/here i want to switch place or profile and activity ..
i want like 1.profile 2.activity 3.friends 4.groups 5.forum 6.settinghow can i change these places?