-
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
Amended again!
-
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
Try:
function my_not_first_post() {
global $topic_template;$current_page = $topic_template->pag_page - 1;
$post_position = $current_page * $topic_template->pag_num + $topic_template->current_post;
if ( 0 != $post_position ) {
// do your business here... eg.
echo 'Re: ';
echo $post_position;
}}
-
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
It’s slightly different, so I’ll allow it 😉
-
r-a-y posted on the forum topic How to display the Group’s recent activity in the group How-To and Troubleshooting: 13 years, 8 months ago
Use the activity loop:
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/Set parameters to:
object – groups
primary_id – $group_id (you need to grab the group id and put it in)
action – activity_update
max – 1 (or how many updates you want to return) -
r-a-y posted on the forum topic Possible security hole in the group How-To and Troubleshooting: 13 years, 8 months ago
Disable bbPress registration on your external install:
https://bbpress.org/forums/topic/howto-disable-registration -
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
global $topic_template;
echo $topic_template->current_post;
-
r-a-y posted on the forum topic No filters to BP Blog Class? in the group Requests & Feedback: 13 years, 8 months ago
You can filter the blogs using “bp_blogs_get_blogs” located in bp-blogs.php.
You’d then have to write your own blog fetch routine (yeah I know a pain!).If you’re not happy with this, post an enhancement ticket on BP Trac:
https://trac.buddypress.org/newticketLogin with the same credentials you use here on bp.org.
-
r-a-y posted on the forum topic Buddypress.org [PLEASE FIX] in the group How-To and Troubleshooting: 13 years, 8 months ago
If you want to show your mug on buddypress.org, upload an avatar to Gravatar.com using the same email address you used to register for buddypress.org.
-
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
Try the $topic_template global variable. Particularly $topic_template->current_post.
-
r-a-y posted on the forum topic The Forum Topic's Second Post's Position in the group How-To and Troubleshooting: 13 years, 8 months ago
@bigjimmysisco – The code has been updated so the text shows on subsequent pages.
-
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
I’ve amended the code on the other forum thread.
Please post subsequent replies on that thread and not this one to prevent forking.
Thanks!
-
r-a-y posted on the forum topic How to add reply Number in topic.php in the group How-To and Troubleshooting: 13 years, 8 months ago
This might give you some hints:
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/the-forum-topics-second-posts-position/ -
r-a-y posted on the forum topic Private Messaging, PRofile View, Add friend, Not working. in the group Creating & Extending: 13 years, 8 months ago
Various people have experienced problems with Yahoo…[Read more]
-
r-a-y posted on the forum topic Private Messaging, PRofile View, Add friend, Not working. in the group How-To and Troubleshooting: 13 years, 8 months ago
Duplicate of the following:
https://buddypress.org/community/groups/creating-extending/forum/topic/private-messaging-profile-view-add-friend-not-working/Closing thread.
-
r-a-y posted on the forum topic Recent Post plugin in the group How-To and Troubleshooting: 13 years, 8 months ago
@rogerwhitson – In response to this, you add the bp_core_fetch_avatar() function in your recent post loop. It would look something like this:
$user_id ) ); ?>
I’m guessing that the recent posts loop is a widget; you’d have to add the code above into the widget’s code somewhere. You would also have to pass the $user_id […] -
r-a-y posted on the forum topic Root Groups Profiles in the group How-To and Troubleshooting: 13 years, 8 months ago
Paul already mentioned this. It’s possible, but requires some workarounds. You’d need to unhook how BuddyPress catches URI requests and route them to groups. The comments below are for people who know their way around WordPress: – The catch URI function in BP is the bp_core_set_uri_globals() function located in /bp-core/bp-core-catchuri.php. – You…[Read more]
-
r-a-y posted on the forum topic How to disable activity commenting in the group How-To and Troubleshooting: 13 years, 8 months ago
You could also create a blank php file for /activity/post-form.php in your child theme.
-
r-a-y posted on the forum topic Zebra styling Profile Page in the group How-To and Troubleshooting: 13 years, 8 months ago
@ultimateuser – You only need to install the second patch, not the first.
-
r-a-y posted a new activity comment 13 years, 8 months ago
If you could reference the old forum thread, that would be better!
-
r-a-y posted on the forum topic Zebra styling Profile Page in the group How-To and Troubleshooting: 13 years, 8 months ago
This is a bug.
Check out this ticket for a proposed fix:
https://trac.buddypress.org/ticket/3074 - Load More
@r-a-y
Active 4 months, 4 weeks ago
Here is the forum URL: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/recent-post-plugin/