Search Results for 'buddypress'
-
AuthorSearch Results
-
June 21, 2012 at 11:28 pm #136205
saukgp
Participant@mercime This problem started after I installed pie-register, now I have deactivated pie-register, but the problem persist, before installing that plugin, users were redirected to homepage, and after I installed pie register, users were redirected to /wp-login and even now When I deactivated the plugin, users are redirected wp-login and homepage. As u said, I am deactivating all plugin except buddypress, and my theme is already bp-default, but after I finish with deactivating procedure, where will I be able to check registration process? I am new to wordpress/buddypress, please suggest.
June 21, 2012 at 11:26 pm #136204In reply to: [Resolved] Accessing Topic Meta
Jenny Wong
Participanti have an instance of wordpress which has buddypress plugin. The groups forum is set up. I have the like plugin inside wp-content/plugins/ and i am using the bb_get_topicmeta from within a php file within the like plugin.
How am i meant to be hooked into the action?
im trying to check if there a particular meta_key is set in the topic meta table and then the code adds the topic meta key/value .
June 21, 2012 at 11:17 pm #136203@mercime
Participant== That is what I meant when I said I installed all the components to make sure BP was compatible. ==
Just making sure what you’ve done so far.== I added one of pages BuddyPress created, “Forums” to my header. As you can see when you click on it, its blank. ==
Did you also install Group Forums and/or Sitewide Forums via BuddyPress > Forums? If you installed both, did you make sure the slug for Group Forums is not the same slug used for Sitwide Forums?June 21, 2012 at 11:06 pm #136202@mercime
ParticipantViewing source of your login form, you have third-party plugin which controls the registration in your site and is in all probability causing the conflict. In addition, you have some plugins which have not been updated for BP 1.5.
Deactivate all plugins except BuddyPress and change to bp-default theme. Then check if registration process is corrected.
June 21, 2012 at 10:52 pm #136201In reply to: List Buddpyress users ordered by meta_value
enderpal444
Participant@djpaul @rogercoathup I was able to do it with the following code which seems to be a nice solution for scaling.
<?php //these are the arguments for the get_users function below $args = array( 'fields' => 'all_with_meta', 'role' => 'author', 'meta_query' => array( array( 'key' => 'score', // the meta field (or key) we want to target ) )); //get_users calls WP_User_Query and returns an array of matching users $users = get_users($args); //custom function for comparing the data we want to sort by function cmp($a, $b){ if ($a->score == $b->score) { return 0; } return ($a->score > $b->score) ? -1 : 1; } //usort sorts our $users array with our function cmp() usort($users, 'cmp'); //leaving an array of $users sorted by the value of meta 'points' foreach ($users as $user) { echo '<li>'; echo get_avatar( $user->ID, 30 ); echo '<span>' . $user->display_name . '</span>'; echo '</li>'; } ?>June 21, 2012 at 10:12 pm #136200June 21, 2012 at 10:02 pm #136199Giovanniw650
MemberHi. Yes, I installed the BP Template Pack Plugin and ran it completely. Went through all the steps. Said was successfully installed, via the BP Compatibility. That is what I meant when I said I installed all the components to make sure BP was compatible.
June 21, 2012 at 9:56 pm #136196In reply to: BP Gallery Not Uploading Media
@mercime
ParticipantFor issues regarding BP Gallery, please post at @sbrajesh – plugin dev’s forums for premium members at http://buddydev.com/forums/forum/bp-gallery-discussion
June 21, 2012 at 7:23 pm #136190hornets2002
ParticipantThanks for the help everyone, works perfectly now! @mercime, I’m not really experienced with code, so your example helped me understand how to correctly use Roger’s solution, I appreciate it
June 21, 2012 at 6:46 pm #136189@mercime
ParticipantB. At the bottom of the same 16 files, replace:
`
`
with the following (except for registration/register.php):
``
with the following for registration/register.php:
`jQuery(document).ready( function() {
if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
jQuery(‘div#blog-details’).toggle();
jQuery( ‘input#signup_with_blog’ ).click( function() {
jQuery(‘div#blog-details’).fadeOut().toggle();
});
});`
Save files.
C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/chameleon/
D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.
June 21, 2012 at 6:45 pm #136188@mercime
Participant@socialrocketship As mentioned above, based on the HTML structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your chameleon theme folder in server during the compatibility process.
If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.
Download the 6 clean BP folders to your computer hard drive.
A. At the top of each of those 16 template files I linked to above, replace
``with the following:
``Save files.
June 21, 2012 at 6:37 pm #136187In reply to: User profile Pick a premade Design/theme
@mercime
Participant@artxx you can modify @sbrajesh plugin http://buddydev.com/plugins/bp-custom-background-for-user-profile/ to choose from among different preset designs you upload and allow users to upload their own backgrounds
June 21, 2012 at 6:07 pm #136185@mercime
ParticipantWhat Roger and Hugo said. To see the code in context, see how it’s done in bp-default theme’s single.php file –> https://buddypress.trac.wordpress.org/browser/tags/1.5.6/bp-themes/bp-default/single.php#L14
June 21, 2012 at 6:05 pm #136184Hugo Ashmore
ParticipantRogers code works perfectly well, I have just modified a 2011 author block to display author link as bp profile if bp active or fallback to the 2011 author block, the code Roger showed you gives you the new code to insert into the href=””
June 21, 2012 at 6:01 pm #136182In reply to: [Resolved] Accessing Topic Meta
Paul Wong-Gibbs
Keymasterbp_get_topicmeta() doesn’t exist in BuddyPress, or bbPress 1 (aka group forums) so… no

Did you mean bb_get_topicmeta() ?
June 21, 2012 at 5:58 pm #136180@mercime
ParticipantYou’re welcome. Marking this as resolved.
June 21, 2012 at 5:31 pm #136178hornets2002
ParticipantThanks for the quick response. I tried playing around with code you gave me in Single.php, but I failed to successfully implement it on my site.
Here is the actual code that I am trying to change. It is the authorbox that displays under each article. As of now, the code fetches the link to the respective author archive pages when you either click on the author avatar or their displayed username. I would like these links to be altered so they, instead, take you to that individual’s buddypress profile. Perhaps showing the actual code will make more sense when it comes to my request. It would be great if you could just re-post the code below after it has been modified. Thanks so much!
`
<a href="”>`
June 21, 2012 at 5:19 pm #136176In reply to: BuddyPress and Bones
lunchgirl
ParticipantI think I am going to fork this on GitHub and if anyone wants to help, we can make the theme available WTFPL. I’d also like to fork a wp bootstrap/buddy press theme.
June 21, 2012 at 4:43 pm #136171In reply to: [Resolved] 1.5.6 to 1.6 b1
@mercime
ParticipantJune 21, 2012 at 3:10 pm #136167juanmaguerrero
ParticipantHi, @gearupandplay first I recommend you to always create a “normal” (non-admin) user for testing purposes in your networks, and test both with admin and non-admin users what happens when you tweak the code, otherwise you may have the problem you found or the opposite, which would be even worst, that normal users may get admin permissions.
That said, I would recommend you to test putting those functions individually inside a var_dump() to see what they’re returning. Maybe you have not invoked the $bp global before using it…
Regards!
June 21, 2012 at 8:16 am #136159June 21, 2012 at 6:30 am #136152Paul Wong-Gibbs
KeymasterI believe the moderation_keys and blacklist_keys options are configurable from wp-admin Settings > Discussion menu. If you could test this out on BuddyPress 1.6 Beta 1, it would be fantastic.
June 21, 2012 at 6:23 am #136150i25sa
MemberHi, I found the problem – the plugin WP Buddypress private community was conflicting with it, so I deactivated the plugin and now the link goes through.
Thanks Mercime, Queenieb & Odofincaleb for all your help, really appreciate it!
June 21, 2012 at 4:25 am #136146In reply to: Page not found error and ReWrite is on . ugh..
@mercime
Participant== Only superadmin gets a page not found problem.. ==
OK, that’s new. WP/BP versions?
Have you gone through basic troubleshooting by changing to bp-default theme and deactivate all plugins except BuddyPress.June 21, 2012 at 4:22 am #136145tank2012
MemberThank you so so much Mercime. This is a step closer to what I’m looking for. Thank you very much!
-
AuthorSearch Results