Search Results for 'buddypress'
-
AuthorSearch Results
-
October 26, 2012 at 2:32 pm #144024
evagorasc
ParticipantSure thing @modemlooper. The code below will look for all the custom fields that a user has filled in, compare them to what should be visible for the currently logged-in user and then loop and display the forum reply user’s data. Instead of simply looping the default titles and data of the xprofile fields, I do a custom switch/case so that I can format each field individually for more control.
`
$user_strAllFields = get_user_meta( bbp_get_reply_author_id(), bp_get_user_meta_key( ‘bp_xprofile_visibility_levels’ ), true );
// get all the completed user fields for this poster
if( $user_strAllFields != null ) :
$user_arrAllFields = array_keys( $user_strAllFields );
else :
$user_arrAllFields = array();
endif;
// get all the fields that should not be displayed for this poster
$user_arrHiddenFields = bp_xprofile_get_hidden_fields_for_user( bbp_get_reply_author_id() );// loop through all the poster filled-in fields
foreach( $user_arrAllFields as $field ) :
// exclude the ones that should not be displayed
if( !in_array( $field, $user_arrHiddenFields ) ) :
// turn the ID of a field into its object
$obj_field = xprofile_get_field( $field, bbp_get_reply_author_id() ) ;// depending on the field name, customize the display
switch( $obj_field->name ) :case ‘Location’ :
$user_location = xprofile_get_field_data( ‘Location’, bbp_get_reply_author_id() ) ;
if (strlen($user_location) > 0 ) :
echo ‘Location: ‘ . $user_location . ‘
‘;
endif;
break;endswitch;
endif; // !in_array( $field, $user_arrHiddenFields ) )
endforeach; //( $user_arrAllFields as $field )
`October 26, 2012 at 1:38 pm #144023In reply to: Add Profile link to WP Custom Nav Menu
John James Jacoby
Keymaster@shawn38 – Firstly, thanks for the kind words. Secondly, if someone wants to try and charge for a plugin, they are free to do so. Also, telling someone you’re not trying to attack them, and then attacking them, isn’t going to yield positive results. If you don’t have anything nice or helpful to contribute, it’s best to keep it to yourself, or that you share it outside of these support forums.
(Emailed @shawn38 privately to continue chatting.)
October 26, 2012 at 1:21 pm #141850In reply to: Manually Access Installation Wizard
John James Jacoby
Keymaster@ffadler – open up your favorite database manager, and search the options tables for anything that looks like ‘bp-db-version’
We’ve changed the option key over the years, so it’s possible something is someplace it’s not supposed to be anymore.
October 26, 2012 at 12:19 pm #144014Kookidooki
ParticipantWho has tried this? https://mu.wordpress.org/forums/topic/11126
October 26, 2012 at 6:05 am #143998modemlooper
ModeratorCan you can post a code snippet so others that search can find info on this?
October 26, 2012 at 5:17 am #143996evagorasc
Participant@modemlooper thanks! I used a combination of your tips and info I found here https://bpdevel.wordpress.com/2012/03/16/profile-field-visibility-in-bp-1-6/ to make this work for me. I now have any custom field in Buddypress show up in my forums loop and it shows up conditionally as well for the appropriate users only.
October 26, 2012 at 3:34 am #143991Toby Cryns (@themightymo)
ParticipantOctober 26, 2012 at 3:32 am #143989In reply to: Steps in registration and how to add field?
Toby Cryns (@themightymo)
ParticipantFor the registration piece, your best bet is to use Gravity Forms and create a custom registration page. BuddyPress does not support multi-page registrations out of the box.
As for the hidden profile field, what is the purpose of the field? Why does it need to be hidden?
October 26, 2012 at 3:20 am #143986In reply to: Using plugins on the buddypress register form
Toby Cryns (@themightymo)
ParticipantDoes the validator work when you go to youdomain.com/wp-register.php? If so, then the plugin likely does not support BuddyPress.
October 26, 2012 at 12:08 am #143983ouyagamingsource
Participant@mercime Thanks! The issue was I was trying to deal with two issues at once: trying to modify BuddyPress styles and bbPress styles, I’ve been able to sort out the details and have posted the remaining issues in a Compatibility thread here:
October 25, 2012 at 6:50 pm #143977bramsonort
ParticipantHi @mercime
I changed it to the default theme and still the same issue. How would I go about editing the page that controls this? Thanks for your help.
October 25, 2012 at 5:54 pm #143973In reply to: Theme Compatibility
ahmedselim
Participant@mercime Thanks, I just checked the link and my template is not listed there… so my assumption is that I will have to modify all the files, correct?
October 25, 2012 at 5:50 pm #143972@mercime
Participant@ouyagamingsource to make your Alyeska theme compatible with BuddyPress, you need to install/activate the BP Template Pack plugin, the go through Appearance > BP Compatibility process as you’ll see https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/
You’re in luck, we’ve helped another person some months ago with Step 3 for the Alyeska theme at https://buddypress.org/community/groups/installing-buddypress/forum/topic/customising-alyeska-theme-for-buddypress/
If you have any issues re Compatiblity Process, please post at that thread.
October 25, 2012 at 5:38 pm #143970In reply to: Theme Compatibility
@mercime
Participant== I am not sure if i can get away with the creation of the three “-buddypress.php” files or if I need to modify the 16 files and which code I need to copy. ==
@ahmedselim IT all depends on the HTML structure of your WP theme. You just cannot copy the code given for other themes because each has distinct structures and in all probability, not applicable to your theme’s. Have you looked if your theme is listed among the template-packed themes at https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#template-packed-wordpress-themes
October 25, 2012 at 5:33 pm #143969@mercime
Participant@elmindo we’re going to have to hard code some of the template structures. Assuming that you’ve already set up your theme, let me know what your choices are in terns of
1. theme version you used: Full Width OR Boxed? Which one?
2. sidebar for ALL BP templates: No sidebar (full width) OR Left Sidebar OR Right Sidebar OR Both Sidebars? Which one?October 25, 2012 at 5:27 pm #143968@mercime
Participant1. What theme are you using? Did you apply the HTML changes you made to the other BP component changes to your register.php file? Site URL?
2. please do not make any changes in core files “plugins/buddypress/bp-themes/bp-default/registration” as those will be overwritten when you upgrade BuddyPress.
October 25, 2012 at 5:23 pm #143967@mercime
Participant@yidamweb #2. Not quite sure what you mean by “straightforward” manner because it already is straightforward to me. Perhaps we’ll see your point if you explain what your expectations are when you upload the image and move the cropping tool to cover the area of the image you wanted to show up as your avatar.
October 25, 2012 at 2:39 pm #143964In reply to: Achievements Plugin Has A Small Bug
solid_snake
Participant@djpaul WP-FB-AutoConnect http://www.justin-klein.com/projects/wp-fb-autoconnect
October 25, 2012 at 9:10 am #143962ouyagamingsource
ParticipantbbPress Update- Going from these directions: https://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/ I created a child from my Alyeska theme and copied the Default bbPress Theme to the child theme folder. This helped get the forum page a little closer to my custom theme style, but still not there yet; the sidebars are missing, the forum BG is white, amongst a few other issues, but it’s getting closer. I’m just not sure where the CSS master file for this page is, I tried editing the two files in the CSS folder but it didn’t make any change: http://ouyagamingsource.com/forums/
In regards to locating and editing the BuddyPress CSS files I still haven’t gotten to that part yet: http://ouyagamingsource.com/groups/
October 25, 2012 at 7:13 am #143957In reply to: New Plugin: Friends-Only Activity Stream
EthanVan
Spectator@shawn38, you are awesome! I hope they do add it to the core. That would be the best thing since craft beer!
October 25, 2012 at 6:47 am #143955In reply to: Answer Question for Points
EthanVan
SpectatorBy modifying the code to deduct points for wrong answers! It’s that simple.
I would start by going to w3schools.com and reading everything they have on PHP. Then read the codex for BuddyPress. Then, read the code for the plugin you are using and use analytical thought processes to contrive your own solution.
Basically you want to write the reverse of the code you already have.
I’m sure you will figure it out. I have faith in you igid26!
October 25, 2012 at 6:46 am #1439549087877
Inactive@ethanvan I understand your feelings but you should understand that the software and the team of people that support it does not discriminate against those who do not have coding experience. Its in bad taste to make such a statement because at one time you was a beginner. How would you feel if no one helped or mentored you? Think about it!
October 25, 2012 at 6:36 am #143953In reply to: New Plugin: Friends-Only Activity Stream
9087877
Inactive@ethanvan FYI I have already submitted a track ticket #4508 to see if the core team will add the plugin as a core component that can be turned on or off just like the rest of the buddypress components.
October 25, 2012 at 6:30 am #143951In reply to: New Plugin: Friends-Only Activity Stream
9087877
InactiveI already have a plugin my friend and it is free.
https://wordpress.org/extend/plugins/buddypress-friendpress/
I can customize it to your liking for some beer money lol!October 25, 2012 at 6:15 am #143945In reply to: New Plugin: Friends-Only Activity Stream
EthanVan
SpectatorI second that emotion @mattriggins. That’s how Facebook operates, one stream with you and your friends, one stream with just you (profile view). I still don’t get why they didn’t build BuddyPress that way in the first place.
I’m working on a plugin that does exactly what Facebook does but unfortunately it’s proprietary to the project I’m working on and our dev team doesn’t want to share. ):
Hint hint BP plugin dev community… Deliver one of these as described and you’ll probably make bucks selling it.
-
AuthorSearch Results