why does twenty twelve’s buddypress activity stream comment submission look so good?
is it a separate stylesheet someone made at some point?
@megainfo
Rtmedia enables image attachments to the Buddy Press activity feed. When an image is attached it calls wp-admin/admin-ajax.php which returns the post with an image preview like this:
<li class="activity rtmedia_update activity-item date-recorded-1403887126 message" id="activity-38">
<div class="avatar">
<a href="http://www.domain.com/members/mike/">
<img src="http://www.domain.com/wp-content/uploads/avatars/1/677f1907f1aac6aeb3ce3d4ef60e01d2-bpthumb.jpg" class="avatar user-1-avatar avatar-120 photo" width="120" height="120" alt="Profile picture of Mike" /> </a>
</div>
<div class="activity-content">
<div class="activity-header">
<p><a href="http://www.domain.com/members/mike/" title="Mike">Mike</a> posted an update <a href="http://www.domain.com/activity/p/38/" title="View Discussion"><span class="time-since">right now</span></a></p>
</div>
<div class="activity-inner">
<div class="rtmedia-activity-container">
<div class="rtmedia-activity-text">x</div>
<ul class="rtmedia-list large-block-grid-3 rtmedia-activity-media-length-1">
<li class="rtmedia-list-item media-type-photo"><a href="http://www.domain.com/members/mike/media/12/" rel="nofollow">
<div class="rtmedia-item-thumbnail"><img src="http://www.domain.com/wp-content/uploads/rtMedia/users/1/2014/06/Cool-2-320x240.jpg" /></div>
<div class="rtmedia-item-title">Cool-2</div>
<p></a>
<div class="rtmedia-item-actions"></div>
</li>
</ul>
</div>
</div>
<div class="activity-meta">
<a href="?ac=38/#ac-form-38" class="link acomment-reply bp-primary-action" id="acomment-comment-38">Comment <span>0</span></a>
<a href="http://www.domain.com/activity/favorite/38/?_wpnonce=77f7732c12" class="link secondary fav bp-secondary-action" title="Mark as Favorite">Favorite</a>
<a href="http://www.domain.com/activity/delete/38?_wpnonce=e58c2e1f2f" class="button item-button bp-secondary-action delete-activity confirm" rel="nofollow">Delete</a>
</div>
</div>
<div class="activity-comments">
<form action="http://www.domain.com/activity/reply/" method="post" id="ac-form-38" class="ac-form">
<div class="ac-reply-avatar"><img src="http://www.domain.com/wp-content/uploads/avatars/1/677f1907f1aac6aeb3ce3d4ef60e01d2-bpthumb.jpg" class="avatar user-1-avatar avatar-120 photo" width="120" height="120" alt="Profile picture of Mike" /></div>
<div class="ac-reply-content">
<div class="ac-textarea">
<textarea id="ac-input-38" class="ac-input" name="ac_input_38"></textarea>
</div>
<input type="submit" name="ac_form_submit" class="tiny button radius" value="Post" /> or press esc to cancel. <input type="hidden" name="comment_form_id" value="38" />
</div>
<input type="hidden" id="_wpnonce_new_activity_comment" name="_wpnonce_new_activity_comment" value="203136d3e9" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/admin-ajax.php" />
</form>
</div>
<div class="clearfix"></div>
</li>
However, if BuddyPress Activity Privacy is enabled, it only returns the text without the image like this:
<li class="activity activity_update activity-item date-recorded-1403887180 message" id="activity-39">
<div class="avatar">
<a href="http://www.domain.com/members/mike/">
<img src="http://www.domain.com/wp-content/uploads/avatars/1/677f1907f1aac6aeb3ce3d4ef60e01d2-bpthumb.jpg" class="avatar user-1-avatar avatar-120 photo" width="120" height="120" alt="Profile picture of Mike" /> </a>
</div>
<div class="activity-content">
<div class="activity-header">
<p><a href="http://www.domain.com/members/mike/" title="Mike">Mike</a> posted an update <a href="http://www.domain.com/activity/p/39/" title="View Discussion"><span class="time-since">right now</span></a></p>
</div>
<div class="activity-inner">
<p>bv</p>
</div>
<div class="activity-meta">
<a href="?ac=39/#ac-form-39" class="link acomment-reply bp-primary-action" id="acomment-comment-39">Comment <span>0</span></a>
<a href="http://www.domain.com/activity/favorite/39/?_wpnonce=77f7732c12" class="link secondary fav bp-secondary-action" title="Mark as Favorite">Favorite</a>
<a href="http://www.domain.com/activity/delete/39?_wpnonce=e58c2e1f2f" class="button item-button bp-secondary-action delete-activity confirm" rel="nofollow">Delete</a>
<select class="bp-ap-selectbox"><option class="fa fa-public" selected='selected' value="public"> Anyone</option><option class="fa fa-loggedin" value="loggedin"> Logged In Users</option><option class="fa fa-friends" value="friends"> My Friends</option><option class="fa fa-mentionedonly" value="mentionedonly"> @mentioned only</option><option class="fa fa-adminsonly" value="adminsonly"> Admins Only</option><option class="fa fa-onlyme" value="onlyme"> Only me</option></select>
</div>
</div>
<div class="activity-comments">
<form action="http://www.domain.com/activity/reply/" method="post" id="ac-form-39" class="ac-form">
<div class="ac-reply-avatar"><img src="http://www.domain.com/wp-content/uploads/avatars/1/677f1907f1aac6aeb3ce3d4ef60e01d2-bpthumb.jpg" class="avatar user-1-avatar avatar-120 photo" width="120" height="120" alt="Profile picture of Mike" /></div>
<div class="ac-reply-content">
<div class="ac-textarea">
<textarea id="ac-input-39" class="ac-input" name="ac_input_39"></textarea>
</div>
<input type="submit" name="ac_form_submit" class="tiny button radius" value="Post" /> or press esc to cancel. <input type="hidden" name="comment_form_id" value="39" />
</div>
<input type="hidden" id="_wpnonce_new_activity_comment" name="_wpnonce_new_activity_comment" value="203136d3e9" /><input type="hidden" name="_wp_http_referer" value="/wp-admin/admin-ajax.php" />
</form>
</div>
<div class="clearfix"></div>
</li>
The user must refresh the page before the attachment appears in the activity feed. Because the attachment does not appear immediately the users think it didn’t upload and delete their activity before refreshing the page.
I’m sure this is being caused by BuddyPress Activity Privacy because I am able to toggle this behavior by activating and disabling the plugin.
http://wordpress.org/support/topic/activity-feed-bug-w-rtmedia
Hi, does anybody have done a custom link for the block button on users profile?
I am creating a custom links for activity buttons using icons on the members header template.
ANy help would be greatly appreciated. Looking forward from your response.
Jaybee
Thanks for the quick response sir. God bless you. Sir you did not respond to the issue that is solely related to buddypress:
my all member count showing 1322 and Viewing member 1 to 20 (of 1,325 active member). I have just 14 users, please how do i correct this?
i have used buddypress repair tool which did not fix it. Sir Please help.
wordpress version: 3.9.1
buddypress version 2.0.1
http://seenloud.com//members/seenloud/
When users reply to a status update — those replies do not appear in the activity stream.
if you reply within the activity stream, it does appear.
if you reply at the status update itself — it does not — but the reply is listed under “Activity” in the back end.
how can i “force” Buddypress to list all Sitewide Activity in the “Sitewide Activity” Stream?
best,
dainis
i am still having this problem and have updated to the latest versions of buddypress and wordpress…
thanks u rock!
ps: why does twenty twelve’s buddypress activity stream comment submission look so good?
is it a separate stylesheet someone made at some point?
Hi @mercime, thanks for the suggestions.
I finally had a chance to create a test site where I could deactivate and re-activate everything without worry.
Turns out it’s the NextGen Gallery plugin that is not playing nice with BuddyPress
https://wordpress.org/support/topic/does-not-work-with-buddypress?replies=7#post-5743296
No fix for it yet. I will just have to keep NextGen Gallery deactivated until there’s a fix or replace it entirely.
Karla
but i have done so much on the u-design theme that i’m using so i can never change it.
@jrzwv If the u-design theme was promoted as a theme which supports BuddyPress, then they should fix the JS conflict. Unfortunately, we don’t have access to the premium theme so you might need to hire a developer to assist you or continue to follow up with the u-design theme author.
@jeremiahward copy over https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/activity/index.php to your child theme folder following directory structure of your-theme/buddypress/activity/index.php and remove lines 7 through 11
@jofri016 Go to Appearance > Menus. Click on the “Screen Options” tab at the upper right hand of your screen to open the panel. Check “BuddyPress” and you’re good to go.
WP 3.9.1 BP 2.0.1
I am using groups as companies on my buddypress site. I am trying to figure out if I can treat groups as users when it comes to publishing posts and following and profile fields.
Thanks!
BTW I’m not using a theme with Buddypress support
That’s not a problem because since BP 1.7 you can create your own very easily. Check out this article on the BP Template Hierarchy for info on how templates work. If you have any questions or come across any problems then I suggest you open a separate topic for each different issue.
In that case, my next question would be, on which template file would I add this so it will show in all activity feeds? I spent a bit of time looking and couldn’t find it. BTW I’m not using a theme with Buddypress support.
Thanks!
@dainismichel Please make sure that any commercial theme you purchase is compatible with the latest version of BP. If it claims it is compatible with latest BP version, then they should fix the issue/s you have encountered.
Re child theme of the BP Default Theme: if you find that after adding
add_filter( 'bp_do_register_theme_directory', '__return_true' ); to your theme’s functions.php file that there are still issues, please post a ticket with all relevant information at https://buddypress.trac.wordpress.org/newticket by logging in with your WP username and password
BuddyPress is compatible with nearly all WP themes which do not replace the_title and the_content with their own proprietary/framework tags.
so, if i upgrade buddypress with the commercial theme active, i can upgrade buddypress.
then, with an upgraded buddypress, if i switch back to the child theme i created (of bp-default), the site just displays the WSOD, and i need to revert to the backup.
so, right now, i “can’t get” buddypress to work with a child theme of the bp-default theme.
@canadadre Please do confirm with woo first about compatibility with BP. As for Genesis themes, they have https://wordpress.org/plugins/genesis-connect-for-buddypress/ but it’s always best to confirm with them first
@henrywright 🙂
oh well
i:
purchased a commercial theme for $60 hoping it would work out the box. it didn’t.
i created a child theme and it works with the old version of buddypress
i added all the memory stuff to files like .haccess that folks recommend when you get the WSOD w buddypress
i updated buddypress and got a success message:
http://screencast.com/t/2bpHT6m6NZr
now i have the WSOD and back i go to the backup i created at the start of the day…
Let me start by saying a big thank you for reading this.
I have been on this issue that i’m about to describe below for countless, sleepless numbers for days, i need help please before i collapse, i don’t have any idea about coding but i can follow instruction on coding very well.
The comment button on my buddypress website (http://seenloud.com//members/seenloud/) does not work, the comment button only works for activity that are loaded after i click the load more button. This works fine with another theme but i have done so much on the u-design theme that i’m using so i can never change it. There is no response from u-design theme support. Please i need some help here before i go crazy.
Another problem is with the all member count showing 1322 and Viewing member 1 to 20 (of 1,325 active member). I have just 14 users, please how do i correct this?
And the last is that i’ll be glad to have an icon spinning in front of the load more button to indicate users that they have initiated an action
Thanks In Advance and God bless all that that will help me out and those that won’t too
wordpress version: 3.9.1
buddypress version 2.0.1
U-design theme 2.4.4