Search Results for 'buddypress'
-
AuthorSearch Results
-
December 20, 2014 at 11:28 pm #230848
In reply to: [Resolved] Edit buddypress.pot file
gnfb
Participantthis was the instructions i followed
December 20, 2014 at 4:56 pm #230835In reply to: Buddypress activity filtering (search)
Ricardo Gonçalves
ParticipantThis is the code I added at line 278 in /wp-content/plugins/buddypress-activity-plus/lib/class_bpfb_binder.php to create the action. The credit for this code is @Juanma in WordPress.org forum. (couldn’t find the original thread). In this case I’m creating an action for images upload.
function ajax_update_activity_contents () { $bpfb_code = $activity = ''; $aid = 0; $codec = new BpfbCodec; if (@$_POST['data']['bpfb_photos']) { $images = $this->move_images($_POST['data']['bpfb_photos']); $bpfb_code = $codec->create_images_tag($images); $type = 'bpfb_share_wall_photos'; } $bpfb_code = apply_filters('bpfb_code_before_save', $bpfb_code); // All done creating tags. Now, save the code $gid = (int)@$_POST['group_id']; if ($bpfb_code) { global $bp; $content = @$_POST['content'] . "\n" . $bpfb_code; $content = apply_filters('bp_activity_post_update_content', $content); $user_id = $bp->loggedin_user->id; $userlink = bp_core_get_userlink( $user_id ); $author = bp_core_get_userlink( $author_id ); $activity_url = bp_activity_get_permalink( $item_id ); $aid = $gid ? groups_post_update(array('conte nt' => $content, 'group_id' => $gid)) : bp_activity_add( array( 'action' => apply_filters( 'activity_update', sprintf( __( '%s shared a link', 'buddypress' ), $userlink ), $user_id ), 'content' => $content, 'component' => 'activity', 'type' => $type, 'user_id' => $user_id ) ); if ($aid) { ob_start(); if ( bp_has_activities ( 'include=' . $aid ) ) { while ( bp_activities() ) { bp_the_activity(); if (function_exists('bp_locate_template')) bp_locate_template( array( 'activity/entry.php' ), true ); else locate_template( array( 'activity/entry.php' ), true ); } } $activity = ob_get_clean(); } header('Content-type: application/json'); echo json_encode(array( 'code' => $bpfb_code, 'id' => $aid, 'activity' => $activity, )); exit(); } }And this is the code that works for activity stream. It shows just the activities with this action, but when you click the ‘load more’ button it loads the regular stream.
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=bpfb_share_wall_photos') ) : ?>December 20, 2014 at 4:48 pm #230833In reply to: BuddyPress 2.1.1 Adding details to member-header.php
mdory89
ParticipantI should’ve explained more. In the WordPress admin panel, If you click Users-Profile Fields, the profile field created and placed into the member-header.php file doesn’t show at all.
Here’s a tutorial I followed: http://code.tutsplus.com/articles/developing-buddypress-themes-part-3-buddypress-15-member-pages-the-overall-user-experience–wp-21856
The code:
<?php $favorite_spot = bp_get_profile_field_data( 'field=Favorite Camping Spot' ) ; echo '<p class="profile-fields">My Favorite Camping Spot: ' .$favorite_spot. '</p>'; $necessary_item = bp_get_profile_field_data( 'field=One Necessary Item' ) ; echo '<p class="profile-fields">My One Necessary Item: ' .$necessary_item. '</p>'; ?>December 20, 2014 at 4:35 pm #230832In reply to: Buddypress activity filtering (search)
Ricardo Gonçalves
ParticipantHello @ARCangelGIRL, I’m facing the same situation and @shanebp solution worked for displaying the action I wanted in the activity stream. But the Load More button is loading all the actions, not just the one I created. I tried to filter the bp ajax querystring in many different ways but it didn’t work. The last try was this https://buddypress.org/support/topic/simply-trying-to-filter-the-bp_ajax_querystring-via-ajax/ .
December 20, 2014 at 3:04 pm #230829In reply to: Buddypress activity filtering (search)
shanebp
ModeratorThen you could search on those types like so:
bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=video_category' )
More info: https://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/#filtering-examplesDecember 20, 2014 at 3:04 pm #230828In reply to: Buddypress activity filtering (search)
shanebp
ModeratorI have add 2 new columns in activity mysql table “video_category” and “video_subcategory”.
Adding new columns is not a good approach.
Did you try adding your ‘categories’ as a
typevia
https://codex.buddypress.org/developer/function-examples/bp_activity_add/ ?December 20, 2014 at 9:57 am #230821In reply to: Why is the UX of buddypress.org/support so bad?
Hugo Ashmore
Participantit would be incredibly helpful to add dividers or typographical rules/hierarchy to the buddypress.org documentation ‘subpages’ panel
And that is exactly the sort of thing that is being worked on as part of the codex initiative, you can see what is proposed by following posts on bpdevel, the BP development blog. It does take time to get changes, even to this degree, tested and pushed up to the production site, bp.org is actually a more complex site setup than might be realised and it’s codebase handles all the BP and bbP sites and access is very limited to these sites as they run on WP servers and time is quite tight for the lead developers.
BP Trac has a current ticket and patches addressing a few issues one of which is the Codex page menu to both introduce a sectional page menu and typographical styles to denote parent/child links so things are clearer
December 20, 2014 at 4:12 am #230819In reply to: Why is the UX of buddypress.org/support so bad?
bp-help
Participant@timrourke
I agree that it should be easier to find and should be very obvious. New visitors on buddypress.org probably won’t realize that you have to hover over the “BuddyPress.org” link to the left of the “My Sites” link to find the “Create New Topic”link. Hopefully in the future this will be changed.December 19, 2014 at 5:08 pm #230809In reply to: Registration Not Working
annasoul
ParticipantHi. I’m having the same problem. Unfortunately I’m not too experienced at this stuff so most of the fixes suggested are over my head. Any simpler explanations??? I’m using buddypress with wplms theme. I’ve set the registration page to register with wplms. Thanks so much!
December 19, 2014 at 11:02 am #230807In reply to: Show donated amount in user profile
danbp
ParticipantPlease, don’t mention a user without a link to what you’re speaking about.
There is no specific donation plugin for BP so far i know. You can of course try some of the existing for WordPress, but i’ve no idea if one of them integrates well.
Maybe an alternative solution with myCred, who is adapted to BuddyPress and has such a feature.
December 19, 2014 at 1:14 am #230802In reply to: Beta Testing: WordPress 4.1 & BuddyPress
julianprice
Participant@jgwolfensberger has @mercime indicated it good to go. Thanks BuddyPress Team for all your hardwork. I would encourage you James to have a local install especially if you attempting to configure BuddyPress. It has an extreme learning curve to configure it for your particular community needs.
In my opinion, easier to create demo members/groups..,etc to see the settings work and perm ink structures you need to set before going n live site.
December 18, 2014 at 11:55 pm #230801shanebp
ModeratorHow will the ‘tags’ be used?
As the basis for filtering members?
Or just as ‘notes’ about each member?If the former, see the BP_User_Query codex page.
If the latter, you could use this premium plugin: BuddyNotes
Or you could simply create template overloads of these 2 files:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\profile-loop.php buddypress\bp-templates\bp-legacy\buddypress\members\single\profile\edit.phpAnd check the fields via their id or name and then decide, based on who the logged-in user is, whether the fields should be displayed.
December 18, 2014 at 7:01 pm #230775In reply to: Registration page is Empty
Security
ParticipantHi thanks for the confirmation @emineminero here are few suggestions:
1) As you have multisite the 1st thing i would like to suggest you is to go through the following guide
2) Make sure your permalink structure is set to sitename.com/sample-post-name even if its set to as suggested try to rebuild it(for doing this just goto dashboard>>settings>>permalinks and simply save the permalink structure one more time)
3) I think the issue is related to this thread and may be you will find something productive there.
Note: Make sure you have set the pages for registration and activate in dashboard>>settings>>buddypress>>pages tab the pages are needed to be created,just create two pages and name them “register” and “activate” respectively and then set them from dashboard>>settings>>buddypress>>pages tab
Clear browser cache and check for the changes.
ThanksDecember 18, 2014 at 6:28 pm #230773In reply to: Beta Testing: WordPress 4.1 & BuddyPress
James Wolfensberger
ParticipantThanks Renato! I still have an issue with having so many features to our BuddyPress site that a staged site test is not likely to truly weigh the impact of high user activity navigating our many features. But yes, absolutely, it is the proper first step, I agree!
December 18, 2014 at 5:02 pm #230769In reply to: BuddyPress on Subsite
danbp
ParticipantTake also in mind that BuddyPress does not work on installations where you give WordPress its own directory.
December 18, 2014 at 4:55 pm #230768In reply to: No activation page after registering
danbp
ParticipantFYI, about the first point
buddypress probably does not support sites in non-root folders.
It’s not probably, but sure ! 😉
This is indicated on the requirement codex page
Anyway, glad you got it and thank you for sharing the solution. 😉
December 18, 2014 at 4:29 pm #230767In reply to: No activation page after registering
buffos
ParticipantI solved it as follows
* first buddypress probably does not support sites in non-root folders.
That means that if you have a site in localhost/somesite/wp-contents… etc it will not work* the problem was not the alternate port :8080 in my case…
* solution was creating a virtual host (by reading http://foundationphp.com/tutorials/apache_vhosts.php , just adding rules for 8080 in my case instead of just just 80)
* after that, i went to .htaccess and changed the RewriteBase from /somesite/ to /
and the last RewriteRule . /index.php [L] from . /somesite/index.php [L]Now it works fine as a top-level site (i used somesite.dev as the host name and use somesite.dev:8080 to access it). Registration and activation now work fine
December 18, 2014 at 4:25 pm #230766In reply to: Beta Testing: WordPress 4.1 & BuddyPress
James Wolfensberger
ParticipantHello – thanks for the thread @julianprice … and I hope my input here is useful as well. I’m a longtime WP admin but also administering our first BP site. I’m wondering if BuddyPress aficionados with critical sites recommend holding off on WP 4.1 a couple of weeks to observe compatibility conflicts before upgrading WP to 4.1? Would we consider that a best practice?
I realize a staging site is useful as well, but my challenge is thorough testing on a staged site, which I’m sure other BP admins can relate to.
Thanks to great WP/BP community for all the hard work and cooperation.
James
December 18, 2014 at 4:25 pm #230765In reply to: BuddyPress on Subsite
julianprice
ParticipantHi @ggalipeau I have limited knowledge to help you in particular but thought I would point you to the codex article https://codex.buddypress.org/getting-started/installation-in-wordpress-multisite/ which shows it recently updated 3 days ago
December 18, 2014 at 1:00 pm #230758In reply to: Where does buddyPress store data???
danbp
ParticipantDecember 17, 2014 at 11:14 pm #230741In reply to: Spam/Bot users
December 17, 2014 at 10:26 pm #230740In reply to: [Resolved] Manage Signups permissions error
jstallard
ParticipantOK fixed!
Buddypress was no longer network activated. (The Manage Signups page was still there.) After the WordPress 4.0.1 upgrade I experienced problems on my multisite. Deactivating Buddypress helped (although the problem may have originated elsewhere).
Network activating Buddypress fixes the Manage Signups page. Now I just need to work out the fastest way to deactivate it on 100 blogs!
December 17, 2014 at 9:42 pm #230739In reply to: Spam/Bot users
Security
ParticipantHi @mmaccou my site was also suffering from the same issue until few days back but one of the way by which i prevented the fake account registrations on my site is by putting minimum allowed character restrictions on my registration form input fields you can read a small howto and details on it from here
I hope it helps
ThanksDecember 17, 2014 at 9:23 pm #230734In reply to: No activation page after registering
buffos
Participantlooking at the access.log of xampp (apache) i see
::1 – – [17/Dec/2014:23:01:39 +0200] “GET /testbuddy/register/ HTTP/1.1” 200 16168 “http://localhost:8080/testbuddy/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2243.0 Safari/537.36”
::1 – – [17/Dec/2014:23:01:55 +0200] “POST /testbuddy/register/ HTTP/1.1” 200 16202 “http://localhost:8080/testbuddy/register/” “Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2243.0 Safari/537.36”
Anyway, i really cannot understand how buddypress cannot work out of the box in a very simple and standard situation 🙁
December 17, 2014 at 9:21 pm #230733ryankennistonvanfleet
ParticipantI do not see how to create a new topic and this is as close to being related to the issue I am experiencing….
This would be an easy solution until BuddyPress has resolved the issue of verifying the new email.
With Buddypress 2.1, when a person changes their email address, it does send an email. However when the verification link is clicked, it still gives the pending change message… Also, I have noticed that it gives two different emails. The first is the new one set and the second says to check the email of the old email address….
Like this:
There is a pending change of your email address to
ryan@redesignexxxxeb.com
.
Check your email (
ryanxxxxx@gmail.com
) for the verification link. Cancel -
AuthorSearch Results