Forum Replies Created
-
This is a bug. I’m getting this error when I deactivate the activity component from the settings. I have submitted a ticket here
@samoiyin are you trying to achieve something like this? http://premium.wpmudev.org/blog/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/
Thank you for your help. The code you provided shows post featured images however, how do I add pretty permalink to the images?
this<a href="<?php echo get_post_permalink(bp_get_activity_secondary_item_id()); ?>">
returns<a href="http://localhost/mysite/?post_type=post&p=33">
. However, I would like http://localhost/mysite/my-trip. I have a single wordpress installation.@modemlooper please upload the gist again..or share the code here.. thanks a ton
@bphelp were you able to figure out the dropdown? I am making the same thing and have added the count, however I need help how to show a details dropdown to each
@danbp Sorry about that. I am using WP 3.7.1, Buddypress 1.8.1, WP User Frontend. Single wordpress install.
@matt-mcfarland thank you for your help. I added your code to functions file. however, out of three posts, I only see one with a visible attachment. See pic.
P.S. You have a beautiful site..just a few issues. Activity page – the first buttons row is hidden behind the top header and the ‘members’ count shows 1 however, you have 1700+ members.
Single post page – the ‘login to reply’ link in comments aren’t visible as they are of the same color as the button bg
For CSS – Add the following to your theme stylesheet and change it to whatever color you want
#buddypress a.activity-time-since { color: #aaa; text-decoration: none; } #buddypress a.activity-time-since:hover { color: #888; text-decoration: underline; }
The “1 day, 1 hour ago” text is coming from \plugins\buddypress\bp-activity\bp-activity-template.php line 1332
$time_since = apply_filters_ref_array( 'bp_activity_time_since', array( '<span class="time-since">' . bp_core_time_since( $activities_template->activity->date_recorded ) . '</span>', &$activities_template->activity ) );
However, It’s not recommended to change core files. And I have no idea how to do it externally. Hope this helps
bump – any help on this please. I NEED to show user uploaded images on my homepage. Thanks a lot