Search Results for 'profile fields'
-
AuthorSearch Results
-
March 10, 2009 at 5:33 pm #39700
In reply to: Conditional profile fields?
fishbowl81Participantyou can…
do this.. mark fields as private, change your profile fields to dispaly public only, and then use the values to generate a customer profile box.
You can easily get profile values directly, and can perform any calculations you want based on these values. But I’m sure it might be a little confusing to show these, so you need to have them marked as private. These private fields will not be shown once you modify the profile member theme.
Hope that gives you some ideas,
Brad
March 10, 2009 at 3:08 pm #39683In reply to: Useful BP and non-MU BP feature: list outside blogs
jeff-sayreParticipantYes, by using the Extended Profile fields this idea can already be implemented. But perhaps I’m missing something. Whereas multiple href tags are placed within single posts everyday in the blogosphere, it is a lot harder to extract (parse) that data–each individual link–for other purposes.
In this particular instance, placing a member’s outbound homepage links, each in their own individual record, makes it a lot more useful. In other words, a 1:N relationship between a member and his or her chosen online homesites. They could add as many as they like and each would appear in a nicely formatted table, one row for each link, each record. This would provide a more flexible and easy to manipulate subset of profile data for plugin developers to utilize.
However, such relational design in this case may be over engineering the data schema and might be of limited use for the vast majority of developers. It could also make the management of the profile fields more complex–from a coding standpoint.
But, this general concept of offering a way for plugin developers or site admins to place multi-record fields (model 1:N type data) within profiles would be very powerful. Currently, most social network platforms do not provide that type of relational complexity within their users’ profiles. True 1:N relationships are simply listed within a single field. For instance, members of a musicians network list their albums or songs within each album in a list within a large text field.
You get the idea. Maybe this is not too useful for most. But I think providing the option could help BP become an even more sophisticated platform.
March 10, 2009 at 7:49 am #39666In reply to: Conditional profile fields?
rlwpub2MemberThanks I just submitted one with a little more detail.
Re’s
Rob
March 10, 2009 at 7:24 am #39665In reply to: Conditional profile fields?
John James JacobyKeymasterCan’t answer to say if it will support this, but it wouldn’t hurt to add this in the trac as an enhancement. I see how this could be valuable.
March 10, 2009 at 6:29 am #39656In reply to: Useful BP and non-MU BP feature: list outside blogs
John James JacobyKeymasterHow about using the Extended Profile fields, and just making a field called “External Blogs” and within that, have links to websites?
March 10, 2009 at 5:37 am #39651In reply to: Required profile fields added later? What happens?
Andy PeatlingKeymasterNo. Next time they edit that group of fields, they will not be able to save until they fill in the required fields.
March 10, 2009 at 2:53 am #39637In reply to: I GIVE UP.. wp-recaptcha WT%^&
Rich SpottParticipantBigkill,
glad to see that it’s working (although not as secure as you thought) as i understood it, you have to force it sitewide because the registration page is for your whole site, not just the main one.
As far as wp-recapatcha not being the best, well this might be the case, but it does prevent some spammers. I was having a problem with scripts bypassing the entire registration process and starting up profiles and blogs without entering any of the required fields, and the only way i got them to stop, was to change my “wp-signup.php” to something different like “sbn-start.php” and replaced the 4 instances of it in the “wp-signup.php” file with “sbn-start.php” and then went into “bp-core-template-tags.php” and replaced the one instance of “wp-signup.php”.
This solved the problem (crossing fingers), but I still have a few people getting by that I have to manually spam and ban, but I can deal with 2-3 a day versus waking up in the morning and finding 200 spam blogs signup over night.
Hope I helped.
March 9, 2009 at 6:14 pm #39578In reply to: Multiple user types – possible?
John James JacobyKeymasterThe permissions plugin will be an integrated part of BuddyPress when version 1.1 comes around. As it stands today, it isn’t available to anyone but the developer(s).
If I am understanding you correctly, profile groups and fields are used as pages of user editable information within their profiles, so you can have a group for “Personal” one for “Contact” one for “Pets” one for “Vehicle” etc… It’s part of the Extended Profiles plugin, and will also get a bit of a facelift for 1.1.
If you need to set permissions right now today, unfortunately I don’t have a real great answer for you yet, other than kind of side stepping what you need until a built in option comes available.
March 9, 2009 at 12:49 am #39492In reply to: Private Profile Fields, In Db but are they in Use?
John James JacobyKeymasterThere’s actually a few little Easter eggs in the database that aren’t being used yet, but are planned for future use.
My suggestion would be to wait until it’s time, but if you’re comfortable making some modifications that will end up being trumped by a future update, that sounds like one possible way to accomplish that.
March 6, 2009 at 2:34 am #39337In reply to: BP Avatars in bbPress
Burt AdsitParticipantHi John, that spot is where all the xprofile group and fields for each group get stuffed into an array for transport. If some of the data is extremely large for some reason it could give you memory problems.
I’ve asked a couple of other people to give 0.31 a try. I don’t know what to tell ya guy. I’m using all the above when it comes to software versions you listed.
I usually run the latest svn trunk but I don’t think that could be the cause of the problem.
March 3, 2009 at 1:22 pm #39131In reply to: Disabling Java / HTML in profile fields & comments?
alxdesignMemberAlright, thank you. I’ll report it.
I find it strange though, since I tested to run a <script> on the buddypress demo, and it didn’t work. Are you sure there isn’t some function I’ve accidentally allowed?
March 3, 2009 at 7:19 am #39109In reply to: BP Avatars in bbPress
Burt AdsitParticipantI like the inclusion of ‘signature’ in a profile field! Nice idea.
I’ve updated bbGroups to optionally transfer all users over to bbpress meta or just users who are in groups. Skipping the bbpress/buddypress utility user.
I’ve got all xprofile groups and group field values going to bbpress.
Got a template tag that allows getting any of those values by user, group, field.
Did some cleanup internationalization for text.
Now doing testing. Gotta look into the problem with tags for hidden groups showing up in the tag cloud. I don’t think you’d be interested in any of this. You’ve already got that stuff implemented.
I think that the only mod of yours I stepped on was the oci_get_user_filter() changes you included in there. I added another filter function oci_get_xprofile_filter($user) that adds all the xprofile fields to the $user array. It won’t break your mod, it’ll just add all the xprofile fields again.
/**
* oci_get_xprofile_filter()
*
* This filter adds all xprofile groups and group fields to bbpress
*
* @param <array> $user
* @return <array> $user array for xmlrpc transport
*/
function oci_get_xprofile_filter($user){
$xprofile_groups = BP_XProfile_Group:: get_all(true); // all except empty groups
foreach($xprofile_groups as $group){
foreach($group->fields as $field){ // all fields for group
$field_obj = new BP_XProfile_Field($field->id, $user,true); // this field
// xprofile_groupname_fieldname to prevent conflicts
$user = array(‘group’ => $group->name, ‘name’ => $field_obj->name, ‘value’ => $field_obj->data->value, ‘type’ => $field_obj->type);
}
}
return $user;
}
add_filter(‘oci_get_user’,’oci_get_xprofile_filter’,10,1);
March 2, 2009 at 3:33 pm #39041In reply to: Useful BP and non-MU BP feature: list outside blogs
John James JacobyKeymasterYou could make a xprofile field that says “Outside Blogs” and they could list them there for now. They wouldn’t link to them yet however, and there’s an enhancement in the trac to allow for different formats of fields that will allow this later.
I suspect however that your goal is to have these blogs show in the “Blogs” area of BuddyPress. I think that’s a novel idea, and I don’t think it would be too difficult to do really, but it means that the blog area needs to be explored more, versus it only being a front end layer for all of WPMU’s blogs.
I think that they best they could be however would be links to outside blogs, and that keeping it within the content of your site would be difficult. (It would require an iFrame most likely, which I suspect most of us try to avoid.)
March 2, 2009 at 2:27 am #38998In reply to: Announcing: Events component
Erwin GerritsParticipantI think the easiest way would be to have a simple plugin that would simply store these two values for other plugins to use.
One could write a plugin that adds a menu option to the settings for the profile plugin, and it would just say “twitter settings” and you enter your account & password in that, and other plugins could simply check if the fields exist and use twitter if they do.
Or maybe it’ll just have one function: tweet($userid, $status), ‘if function exists’ is an easy check in php and so other plugins can check if the twitter plugin is installed and use it if it is.
Just throwing this out for discussion.
March 2, 2009 at 2:25 am #38997In reply to: BP Avatars in bbPress
Burt AdsitParticipantJohn, I haven’t had time to even delve into the xprofile code yet. I’m going to start working on bbGroups again this evening. There are some ‘tags’ issues poping up I have to work on. If you’ve accomplished the xprofile fields being added I’d love to see how and add it to the plugin if you are so inclined to donate to the effort. If not then I can take a look at that. Let me know.
Oh. I added the ‘editor’ role for the community blogs plugin as you suggested.
March 2, 2009 at 1:44 am #38992In reply to: Disabling Java / HTML in profile fields & comments?
Trent AdamsParticipantBest bet if you find a bug or an enhancement would be to post it on http://trac.buddypress.org with your login from these forums. It might not be known yet and the reporting might help get it fixed.
Trent
February 26, 2009 at 12:13 pm #38804In reply to: Reporting & Fixing Bugs
EzdParticipantHi, I installed buddypress yesterday, everything works well, except I get a script-error in the admin section under ‘Profile fields’:
Line: 147
Char: 45
Error: Object dosen’t support this property or method
Any fix for this?
February 26, 2009 at 5:28 am #38795Trent AdamsParticipantIf you go into your Dashboard of the main BP and WPMU blog as the “site-admin” you will find the options for Buddypress Profiles to add more options in the “site-admin” menu.
Trent
February 23, 2009 at 3:39 am #38579In reply to: bbpress profile integrates with bp
John James JacobyKeymasterThat makes sense. I’m actually using a modified version of your oci_bp_custom.php that you linked me to previously, and I think I have a good understanding of how they all work together.
The problem is going to be getting the xprofile fields and data that I want to use, since there doesn’t seem to be a function that says “get all the users extended field data.”
I guess what I’m running into is that the xprofile data doesn’t seem to be in a variable or a global anywhere, because it isn’t really considered meta. It’s kinda like how $bp doesn’t carry around all of the messages in your inbox on every page load, it also doesn’t carry around all the xprofile fields.
Deep integration actually starts WPMU and BuddyPress before it ever touches bbPress, so all of the functions and variables and data I need and can access seem to be available within bbPress.
February 23, 2009 at 1:15 am #38567In reply to: bbpress profile integrates with bp
John James JacobyKeymasterBurt, is there any way to add info to the bbGroups array from the extended profile area to be available inside bbPress? Or is there a different method to do this easily? I noticed that the extended profile data in the DB isn’t stored as simply as the user-meta table is, rather each entry associates itself with a corresponding value in another table.
Say for example in the extended profile area, I want to have “aim, yahoo, google talk” fields, and I want each post in bbPress to have links to what each author entered in extended profile. Possible?
February 22, 2009 at 6:07 am #38524In reply to: Can users input hidden data?
nandopaxParticipantAfter hours working on that I found a solution, but isn’t definitive and already have a bug! Let’s go. Nicolas, don’t kill me – i’m trying to help!
In the line 728 on bp-xprofile-classes.php just copy and paste the code bellow:
<div id="titlediv">
<h3><label for="is_public"><?php _e("Is This Field Public?", 'buddypress') ?> *</label></h3>
<select name="is_public" id="is_public" style="width: 30%">
<option value="0"<?php if ( $this->is_public == '0' ) { ?> selected="selected"<?php } ?>><?php _e( 'Public', 'buddypress' ) ?></option>
<option value="1"<?php if ( $this->is_public == '1' ) { ?> selected="selected"<?php } ?>><?php _e( 'Private', 'buddypress' ) ?></option>
</select>
</div>
This code will add an opition in the field edit screen / at ProfileFields Admin – to keep the data private for “non friend users”
But the problem is IF the field have data and you aren’t a friend, you will see the field name, but the data will be hidden. look at my birthday http://voiceover-casting.com/members/admin/
I have tryed do the same with the Groups Fields but doesn’t work. Maybe someone can help me to create “Hidden Field Groups” and found a fix my newbie solusion for the “Private Fields” bug.
Could be nice if in a new version the admin and the users can select “Who can see the data” like: “Public, Only Friends, Hidden (only visible for admin and the owner), “.
Nicolas, I will donate for you soon for your great job.
February 22, 2009 at 4:58 am #38517In reply to: We really need a required full name?
tekanjiMemberI think the idea is not to have BuddyPress permanently alter the WordPress related data.
I’m new to BP and so I’m not familiar with how all the functions work, but what in the original WP data structure would be altered by deprecating fullname in favor of using the WP fields?
…then really BuddyPress should be able to modify ALL of the original WordPress user info exactly like the profile admin panel does…
I would like that, actually. Or at least to have the option to have the profile be able to modify that information.
I want the original WP functionality that allows a user to choose which fields — username, first name, last name, or nickname — to display for them. I thought that was a great addition to WP and I don’t like that installing BP has effectively cut me and my users off from that choice without some serious code modification on my end.
February 21, 2009 at 6:36 pm #38487In reply to: How to get rid of autolinking on profile fields
nandopaxParticipantGreat! It works!
February 15, 2009 at 4:52 am #37946In reply to: Announcing BuddyPress Group Forums for bbPress
John James JacobyKeymaster@mikepratt, Burt nailed it on the head, but I’d like to add that I think many people are still stuck in the forum world, and haven’t peeked their heads out to see that social networking has evolved in the past 5 years or so. I know on lots of car or video game forums, it’s basically just a free for all chat fest, and trying to convert those minds into using BuddyPress or WordPress alone is too big of a change; I’ve tried it twice now with little success. Having a dedicated familiar looking forum but using BuddyPress to emphasize the social atmosphere helps those stubborn users transition a little easier and allow them to fallback on the features of a dedicated forum in the event it doesn’t work out.
@burt, I noticed on your Common Interest site that you have the forums separated between public and group. I would like to do something similar, and am curious as to how you did so. Also, is there an easy way to tap into the profile fields/user information from BuddyPress and display it as post author information in bbPress?
February 11, 2009 at 7:30 pm #37704In reply to: How to display custom profile field?
CriticalNedParticipantThis one is up next on my development list, so I’ll just gratuitously BUMP this…
Is anybody aware of a way to call specific profile fields using BP functions, or is the only way to do this something like:
//get the country of the current post author. country field ID is 4.
$result = mysql_query(“SELECT value FROM wp_bp_xprofile_data WHERE user_id = ” . $current_author . ” AND field_id = ” . $country_field . ” LIMIT 1″);
$row = mysql_fetch_array($result);
$profile_field = $row;
Hmm, I may have just answered my own question…
-
AuthorSearch Results