-
Roger Coathup posted on the forum topic Multiple activity loops on same page in the group How-To and Troubleshooting: 14 years, 6 months ago
Can I just write something along the lines of:
$myloop = new bp_activity_template(my args);
$myloop2 = new bp_activity_template(my args 2);while ($myloop->bp_activities()) : $myloop->bp_the_activity();
...
endwhile;while ($myloop2->bp_activities()) : $myloop2->bp_the_activity();
...
endwhile; -
Roger Coathup started the forum topic Multiple activity loops on same page in the group How-To and Troubleshooting: 14 years, 6 months ago
Is it possible to run multiple activity loops independently on one page? i.e. if one changes the filtering on one, it doesn’t affect the other.
Essentially, I’m looking for the BuddyPress equivalent of creating a new wp_query object (WordPress).
Anyone have an example of setting it up?
-
Roger Coathup posted on the forum topic listing members in the group How-To and Troubleshooting: 14 years, 6 months ago
You can do this by writing your own custom profile loops: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-members-loop/ You could incorporate a search term to filter each loop, but I suspect you are better to have a field in the profile for venues, djs and promoters, and query that field during the loop. For each type of…[Read more]
-
Roger Coathup posted on the forum topic Filter Registered users in the group How-To and Troubleshooting: 14 years, 6 months ago
@dorothysulzmann – It’s certainly do-able using BuddyPress, but would take a fair bit of work. What’ve you provided is more like a brief for a full project / strategic consultancy, rather than a support question answerable in a thread like this. You can look at the documentation section of this website: https://codex.buddypress.org/home/ as a…[Read more]
-
Roger Coathup posted on the forum topic Filter Registered users in the group How-To and Troubleshooting: 14 years, 6 months ago
@dorothysulzmann – are you looking to hire a developer to build this for you? In which case, you might want to register it as a job on the job board, rather than a support query.
-
Roger Coathup replied to the topic how can I get the message link or the number of messages and settings link.. in the forum Installing BuddyPress 14 years, 6 months ago
@kita.huyen: I’m not sure I know what you are asking for.
Is it the link to jump to specific social pages for the logged in user?
In which, you can use code like this:
<li><a href="">Inbox ()</a></li>
There are slugs for all the standard social pages that you can look up
-
Roger Coathup posted on the forum topic hi..hi, everyone, how can I get the message link or the number of messages and settings link.. in the group Installing BuddyPress: 14 years, 6 months ago
@kita.huyen: I’m not sure I know what you are asking for.
Is it the link to jump to specific social pages for the logged in user?
In which, you can use code like this:
<a href="">Inbox ()</a>
There are slugs for all the standard social pages that you can look up
-
Roger Coathup posted on the forum topic aggregate activity stream from public groups in the group How-To and Troubleshooting: 14 years, 6 months ago
@psycolor: I gave you a couple of pointers in this thread on how to exclude activities: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/need-exclude-parameter-for-bp_has_activities/
To include your code in a thread (it’s not showing above), you need to use backticks at the start and end:
... code ...
-
Roger Coathup posted on the forum topic Getting the activity feeds "view" link template file correct for custom themes in the group How-To and Troubleshooting: 14 years, 6 months ago
Yep, there are a few threads about how to remove the view link altogether
-
Roger Coathup posted on the forum topic CSS Question: Target a specific div in a div in a div.. possible? in the group How-To and Troubleshooting: 14 years, 6 months ago
If you just want to style it for new blog posts:
li.new_blog_post div.activity-inner {
} -
Roger Coathup posted on the forum topic What happened to the BuddyPress Job-Board Group? in the group Creating & Extending: 14 years, 6 months ago
@mercime: yes, it’s back… it had gone, but the new one was started a week or so back
-
Roger Coathup posted on the forum topic Rotating Banner Job for Buddypress in the group Third Party Components & Plugins: 14 years, 6 months ago
@mrbeno – you can advertise jobs in this group: https://buddypress.org/community/groups/bp-jobs-board/
-
Roger Coathup joined the group BP Jobs Board 14 years, 6 months ago
-
Roger Coathup posted on the forum topic the_post_thumbnail & the activity stream in the group How-To and Troubleshooting: 14 years, 6 months ago
@bowromir – I give a solution that uses the post thumbnail at the bottom of this thread: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/replace-activity-stream-blog-excerpt-with-the_excerpt
Cheers, Roger
-
Roger Coathup posted on the forum topic aggregate activity stream from public groups in the group How-To and Troubleshooting: 14 years, 6 months ago
@psycolor – where to make changes, really depends on your theme setup. If you want a theme similar to the default, but with your own enhancements (such as the ones in this thread), you are best to create a child theme, and make the changes in there. You’ll be editing the activity-loop.php and entry.php files in […]
-
Roger Coathup posted on the forum topic How to allow ONLY image posts? in the group How-To and Troubleshooting: 14 years, 6 months ago
@adelack – two thoughts:
1. You can probably do this with the new WordPress custom post types. Build a theme that only gives your users an image upload post type
or:
2. Modify the activity status update to support image uploads, and use that instead of blogs for your users
-
Roger Coathup posted on the forum topic Omit time stamps from Activity/feed so only date stamps show in the group Requests & Feedback: 14 years, 6 months ago
-
Roger Coathup replied to the topic Omit time stamps from Activity/feed so only date stamps show in the forum Requests & Feedback 14 years, 6 months ago
@pjnu – unfortunately those “time since” messages are embedded quite deep in the core template tags used by the default theme, and are not the most obvious to remove / change.
It can be done however.
The time since text is inserted by a routine called bp_insert_activity_meta() that’s called from the tags the default template uses:…[Read more]
-
Roger Coathup posted on the forum topic Omit time stamps from Activity/feed so only date stamps show in the group Requests & Feedback: 14 years, 6 months ago
@pjnu – unfortunately those “time since” messages are embedded quite deep in the core template tags used by the default theme, and are not the most obvious to remove / change. It can be done however. The time since text is inserted by a routine called bp_insert_activity_meta() that’s called from the tags the default template uses: […]
-
Roger Coathup posted on the forum topic 404 page not found in the group Installing BuddyPress: 14 years, 6 months ago
@irishartisans – did you get the custom permalinks working on your basic WordPress install with BuddyPress de-activated?
You’ll need that before you attempt to use BuddyPress.
Does this article help: http://www.benhuson.co.uk/2010/03/01/wordpress-permalinks-zeus-server/
- Load More
@rogercoathup
Active 4 years, 11 months ago