Forum Replies Created
-
In reply to: It doesn’t work
@paduy –
If your standard WordPress install doesn’t work with custom permalinks (e.g. /%category%/%postname%/)… then your problem is not in BuddyPress.
You need to fix your base WordPress install first of all. BuddyPress won’t work if you don’t have custom permalinks working correctly.
Do you get any error message when you try to configure custom permalinks (e.g. problems accessing the .htaccess file)?
In reply to: plazaa – A german BuddyPress community@poolie: Ah klar, ich verstehe. Die Felder gehen Direkt von TDO-Mini-Forms in den Custom Fields.
Was ist auch klar … es vielen Jahren seit ich Deutsch gesprochen habe

@paulhastings0: yes, we should all have a little German, a little Spanish, a little Mandarin, and although it pains me to admit it, a little French. I was also saying how great the site looks. It’s good to see something well designed and focussed on the user experience.
In reply to: plazaa – A german BuddyPress community@poolie –
es gefällt mir viel. Sehr gut gemacht.
Was haben sie benützt für den Locations? Sind Sie WordPress Custom Post Types?
In reply to: It doesn’t workTest it with just WordPress installed … BuddyPress de-activated.
Can you change the permalinks to a custom structure e.g. /%category%/%postname%/ and still view pages / categories without problem?
You need WordPress working correctly with permalinks.
If that’s OK, then install / activate BuddyPress, select the BuddyPress default theme, and check everything works.
Once you’ve done this, you can install your language packs, plugins, etc.
In theory that should work. However, I can’t see any simple template tag to get the blog ID of the current blog inside the blog loop – am I missing something obvious??
I’m confused – is your problem with the My Account – Notifications menu on the admin bar? Or is it something to do with avatars?
Your thread says the problem is the Notifications menu, but your reply says the problem is something to do with clicking on avatars (which avatars?).
@jwack – it won’t be easy as a non-programmer.
Your best route is probably to make use of switch_to_blog(); and use a ‘standard’ WordPress posts loop on each blog in turn.
Search ‘wordpress loop’ in Google. You’ll also need to call functions to fetch the author, etc.
You may be able to figure out your loop code from the examples on the WordPress codex… if not, there’s no short cut and you should book up on the PHP programming language.
In reply to: Creating a sitewide blogThere are several routes to do this – it depends how complex you want the interface to be.
Your simplest option – in your /wp-admin: set the default user role to ‘contributor’ or ‘author’ in Super Admin – Options – Dashboard User Default Role
They’ll then be able to contribute posts to the main blog.
Under their blog tab – you can write a custom post loop that fetches posts where they are the author.
@fatherdalton – there is no admin bar visible on your site.
If you want help on this – you’ll need to provide more information – can you confirm what theme you are using (it looks like the default, have you built a child theme?), any changes you’ve made to the admin bar, CSS, javascript, etc.
Someone may be able to assist then.
@jwack – you’ll hit some performance problems –
You’ll need to use switch_to_blog(blog_id) to change to each blog, and extract the post, author, etc. details.
Each call to switch_to_blog incurs a performance overhead.
Your alternative is to store the information you need in the activity stream when a post is saved:
Most of the information you need is already stored there for you. Take a look at the function: bp_blogs_record_activity()
You can then code a custom activity loop on your home page, that loops through activity items for new blog posts and checks whether they are in your list of featured blogs: https://codex.buddypress.org/developer-docs/custom-buddypress-loops/
In reply to: Make a different profile page for a special userThis is a starting point: http://php.about.com/od/learnphp/ss/phpbasics_8.htm
In reply to: Make a different profile page for a special user@imjscn –
You need to put that code you don’t want for user 1 in an ‘else’ clause then.
If you are working with the template code in this way, you should really read up on PHP. A simple primer on the language will take you through these basic constructs in no time.
In reply to: Add users profile fields to the activity pagep.s. your profile pages exist, so it’s just the menu / nav bar that’s missing: e.g. http://lumosnorge.no/members/kristin/profile
Once you’ve fixed that problem – your site looks good – you should add your site to the gallery group on here
In reply to: Add users profile fields to the activity pageHej Christine – the code is in the default theme, in the file: bp-default/members/single/home.php
Did you create a child theme, or edit your changes directly over the default theme?
Note: you shouldn’t edit the default theme directly – as you will run into problems when you upgrade BuddyPress.
Have a search in Docs on here for details of creating a child theme.
Anyway, the section of code (from the default theme) that creates the nav bar is:
``
It goes between the item-header and item-body blocks.
You need Harry and Hermione helping you write the code!
In reply to: showing forum posts in activity feedTo get the activity in to the BuddyPress activity stream, you use the function bp_activity_add()
I don’t know phpBB, but suspect there will be a hook when threads / topics are saved… That is wheee you would add your code.
This thread points to a similar solution for simple:press.. Hopefully, you can adapt it easily for phpBB: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/adding-a-activity-to-the-activity-stream/
In reply to: Freshness datehave you tried using something like: date(“D M j Y G:i:s”, strtotime(bp_get_the_topic_time())) ?
Converting the string to a timestamp and then reformatting it.
In reply to: Add users profile fields to the activity pageYou have a section of code missing from your theme.
You should have another layer of primary navigation (item-nav). You are only seeing the sub navigation for the activity tab.
In reply to: Filtering what users can see – I am sooo stuckWhere do you want to restrict viewing? Eg in the members directory, the groups directory, the activity stream, everywhere?
In reply to: Show Categories in tabs and drop down menus at top?If you want to modify an existing WP theme for BuddyPress, you can download the BuddyPress template pack plugin and follow the instructions.
If your theme doesn’t support the new WP3 menus (i.e. most of them!), you can create a child theme, and code whatever menu system you like (probably in header.php)
In reply to: @thepseudo in the posts@johnwinch42 – check my previous comment, it tells you where to put the filter – you should avoid overwriting your core files.
The filter is applied when posts are saved – so, no it won’t parse old posts, just new ones.
For the resume, you’ll have to look at filtering the post excerpt.
In reply to: Change start page to ‘Activity’ instead of ‘Home’Which theme? Is BP activated and working? Activity appears as option with a BuddyPress theme
In reply to: Change start page to ‘Activity’ instead of ‘Home’Is BP activated and running OK? Which theme are you using?
Also, paste a grab of your wp-admin.settings.reading screen
In reply to: BuddyPress Competition is heating up@intimez – I’m with you that competition is a very healthy thing, and perhaps also the kick that Automattic appear to need
In reply to: Using Buddypress and Thesis 1.5.1@nunomad – as far I’m aware, that wouldn’t be a problem – the sign in and membership would still be unified across both primary and secondary sites.
Perhaps someone with a little more insight re: s2Member could comment on that?
In reply to: categorys and groups. howto connect them?If your groups and categories have exactly the same name, you could try modifying your group home.php file (groups/single/home.php in the bp-default theme), accessing the group name and using that in a query_posts / have_posts loop
If they have different names, you will have to look at extending your group, adding a parameter to capture the corresponding category id. Again, you would then add a query_posts / have_posts loop and use it your group home.php template.
This page gives some more information on the groups API, and may be of some help: https://codex.buddypress.org/developer-docs/group-extension-api/