Forum Replies Created
-
In reply to: distinguish between editors and other contributors
@dubbelf – it’s no more technical than modifying your theme loops to exclude posts from various categories, and certainly less technical than restricting certain authors to specific categories.
At this stage the questions you are asking are not really BuddyPress support specific, more general WordPress considerations.
If you want someone to build / enhance your site for you, you can advertise on the Jobs Board: https://buddypress.org/community/groups/bp-jobs-board/
If you are going to modify the site yourself, you will have to get technical (PHP, HTML and some base WordPress theming knowledge).
In reply to: Post Freshness@janismo – if you want a developer to help write the code for your site, you can advertise the opportunity on the Jobs Board: https://buddypress.org/community/groups/bp-jobs-board/
You can also search the BuddyPress plugin files for examples of how to call bp_core_time_since()
In reply to: subnav slug constantsLest anyone stumbles on this sad, lonely, and un-answered post looking for the same slugs. Here’s the update:
Unfortunately, the answer appears to be “no, there are no slug constants at present for the subnav items such as inbox”.
It’s covered towards the end of this page: https://codex.buddypress.org/buddypress-site-administration/customizing-labels-messages-and-urls/
In reply to: Split members into admin defined caregoriesPutting members into different categories isn’t a built in feature.
You could perhaps implement your requirement using groups, i.e. assigning your celebrities to a group. You’d then have to do a fair bit of template / loop manipulation, and enabling / disabling features dependent on whether members were in the group or not.
If @modemlooper finds something with roles, it would be interesting. However, similarly to grouping, you would still probably have to do a fair bit of template manipulation to enable / disable features based on role.
The solution from @nuprn1 is essentially the details for implementing option 1 that I suggested above, the code snippet I gave you is the option 2 solution.
You can adapt the code snippet in here by changing the blog id: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/posts-of-the-main-blog-in-site-wide-activity/
If your theme follows the default structure, you’ll find your activity loop in my-theme/activity/activity-loop.php
Also have a look at the custom loop documentation (click documentation under support tab) on this site
Two options spring to mind:
1. You could add a filter on new blog posts creating an activity stream entry, check the blog id, and exclude appropriately. A bit of searching in the BuddyPress plugin files should find the correct filter to add.
2. Or, in your activity stream loop, check the activity item id and don’t display if it’s for the blog you want to exclude
In reply to: distinguish between editors and other contributors@dubbelf –
Yes, members can have their own blog – it’s a standard feature of a WordPress Multisite install.
Follow the instructions here to set up Multisite: https://codex.wordpress.org/Create_A_Network
Then check everything works, including custom permalinks.
Install BuddyPress (automatic plugin install)
And, hey, you will have an admin blog, and separate blogs enabled for members
Here’s an example of how to do it for messages:
<li><a href='#'>Inbox ()</a></li>You can adapt that with appropriate slugs for all the menu options. If you want further pointers, @pollyplummer ‘s sliding admin panel will give you a good example of how to adapt and reimplement the account menu
In reply to: One Line Comment Feed?Have a look at a basic WordPress install with a theme like P2
Yes, BuddyPress would definitely benefit from a serious UX review. Theming is much harder work than it should be. It’s far too tightly coupled to the core, with too much presentation code / decision making embedded and difficult to change. The permalink activity pages are definitely the worst presented and often most useless aspect of the default setup.
That said – the default setup can never be made to please every user. It’s perfectly reasonable / normal to have to create and modify your own bespoke template files to get the site you want. It’s the same for WordPress, Drupal, Expression Engine – any content management system you care to name.
Copying everyone under the sun on your post, is unlikely to win you many fans! However, there really should be somewhere more obvious and accessible to raise thoughts about the interface and BP experience.
My tuppence worth: make the API much finer grained (e.g. accessing the activity stream elements by part, rather than monolithic string), loosen the presentation coupling as much as possible, and put out a default theme that’s based on a finer grained access, and therefore much easier to understand how to re-work and restyle. This would encourage more theming, more unique uses of BuddyPress and push the boundaries.
In reply to: Post FreshnessYou’ll need to modify the post metadata display in your child theme.
Take a look at the function: bp_core_time_since()
It’s defined in bp-core.php
It uses a technique described in http://1976design.com
In reply to: Posts of the main blog in site wide activityYes.
you will need to rework your sitewide activity loop code, adding a simple check for blog post activity from the main blog, and skipping processing as appropriate:
Something like: `if ((bp_get_activity_type == ‘new_blog_post’) && (bp_get_activity_item_id() == 1)) continue; `
In reply to: Home Page@lennyrogal – as a starting point, take a look at the bp media+ plugin (or one of the other picture album plugins)
In reply to: Arizona State Option Error@daquarian – what code are you using to create your State chooser?
If you post the code / describe where and how you are using it in more detail, someone may be able to help you.
@imjscn – post that as a separate support question
@imjscn – you’ve got the file name wrong, you need a hyphen not an underscore bp-custom.php
In reply to: What things are called in the cssIf you are wanting to mod CSS on a complicated theme, you should really work with a tool like Firebug in Firefox or developer tools in safari… It will save you an awful lot of time
In reply to: Theme won’t updateOk, so the problem is definitely with your custom theme.
I’ll jump out now… hopefully someone who’s worked with the template pack can pick up on this one
In reply to: Theme won’t updateTo help isolate the problem: what happens if you switch to the default BuddyPress theme – does everything work ok in that scenario?
p.s. your original post said you just see the old styled pages, but when I visit your page, it’s actually a 404 page error that shows
Use something like firebug in firefox or developer tools in safari to find the CSS selectors for your menu, logo and navbar elements.
Then dig out your CSS primer for details on how to set z-index levels on the appropriate selectors. You’ll need to set them in your css file – unfortunately, that will vary from theme to theme. If you can’t find it anywhere obvious, drop a support query to Woo themes.
I don’t know anything about the woo theme aperture, but typically you could solve this sort of problem by setting appropriate z-index levels in your CSS file
In reply to: Translating buddypressWe just used the latest branch
In reply to: Adding a activity to the Activity Streamthe function you want is bp_activity_add() declared in bp-activity.php
This page shows an example of setting up parameters for a new activity (although they don’t use the function, but take a longer handed route to achieve the same thing): http://blog.slyspyder.com/2010/08/15/integrate-simplepress-forum-into-the-buddypress-activity-stream/