Forum Replies Created
As I said previously, the group_id is passed as the first parameter to the action.
You need to add the parameters to your function.
If you are not familiar with writing action functions in WordPress, you should read here: http://codex.wordpress.org/Function_Reference/add_action
If it’s on the members page, use a bp function to get the user_id, e.g. bp_displayed_user_id(), and pass that to your loops.
The call you are using to get the queried_user_id is not going to work on a BuddyPress member page.
Editor is stripping tags on submit:
e.g. Adding an ordered list (using ol icon in editor visual bar) for the following:
They show as an ordered list during editing, but it’s stripped on submit.
The groups_join_group action gets passed the group_id as its first parameter:
e.g. do_action( ‘groups_join_group’, $group_id, $user_id );
So, you have the group_id already.
Interestingly, there doesn’t seem to be a function to get the creator – so, you would then either have to:
Create a new BP_Group instance using the group_id, and directly access the it’s ->creator_id attribute, or
Make a direct SQL call on $bp->groups->table_name to return the creator_id where the id = group_id
Which theme are you using?
Find that out, and edit in: /wp-content/themes/your-theme/members/single/member-header.php
If you haven’t got your theme structure setup correctly – then you need to do that first of all — have a look at the advice on theme development, theme structures on wordpress.org. The documentation on buddypress.org also has advice on building child themes from bp-default, and on adapting existing wordpress themes (see template pack pages).
@rickkumar – I noticed loginradius have been spamming the Internet with fake users / testimonials for their product — so probably good to avoid that one.
If you are looking for another free solution – you can investigate HybridAuth. That one’s a PHP library, rather than a plugin, so you’d have to do some coding, but on the positive side would gain a lot more flexibility.
It’s really badly named — very confusing. Â You’re not the first person to not know that ‘send public message’ means post update on user wall.
On the bright side, by adapting Brajesh’s plugin for 1.6, you’ll have learnt a lot more about coding for BuddyPress
‘send public message’ built in to 1.6+ provides this functionality — posting to another user’s wall
Yes, they violate guideline 10.
It’s a shame the guidelines don’t also include ‘spam / misleading marketing’
@mercime – throwing their plugin out of the repository might be a good way of dealing with them!
It might be a good idea to unlink their link in this thread as well — take away their SEO juice — are you able to do this?
You don’t need to uninstall the plugins, you can just de-activate them (wp-admin will let you do that en masse).
You can then reactivate one at a time – their settings will have been saved in the DB.
I suggest putting search box at top of left column, and removing the tag cloud (just clutter) — perhaps someone will say they’ve ever used it?
Great to have usable forums.
Picture of a buddypress.org profile and not wordpress.org on the landing page would help.
p.s. lots of broken links in Google to the old group forums / pages
See this other recent thread: http://buddypress.org/support/topic/best-way-to-enable-facebook-login/
There’s also an OpenSource PHP library that you might want to investigate called HybridAuth: http://hybridauth.sourceforge.net/index.html
@mercime — oa-social-login is from the company I referenced: One All
As with the others, there is a free version, but you have to pay monthly subscriptions for their service if you want more features, users, etc.
As @sheffieldlad suggests, wp-fb-autoconnect delivers a good off the shelf solution, and provides some integration with BuddyPress profile fields
[ note: wp-fb-autoconnect is a facebook only solution, and everything is installed / controlled on your site; Pro version is a one off payment. Loginradius is a SaaS solution, with monthly payment plans to enable full features, remove labelling, etc. If you want a full SaaS solution, you should also look at Janrain, Gigya and Oneall. ]
Use the function I provided – there’s no need to try and construct the URL yourself (as Toby has tried).
It’s a dynamic URL — i.e. it changes for each user, so you can’t just type in a single link in html.
It’s easy to do with a bit of PHP code though — just call the function bp_loggedin_user_domain()
Yes, BuddyPress (in particular the profiles and messaging) would be a suitable base for your site.
If you need to get development help – you can advertise on the Jobs Board: http://buddypress.org/community/groups/bp-jobs-board/forum/
@djpaul – great… let me know how that pans out
I’ll move the conversation back over on to the trac ticket, as I think that’s the best place for this discussion to stop it becoming lost.
As @hnla points out bbPress whilst supporting template parts auto injected into page.php, also allows you to provide full templates for specific content where you want to override the automatic mechanism (TBC). As with the WordPress template hierarchy it’s based on the type and name of the content being displayed. So, for example — you could create a template archive-myforumxyz.php.
I suspect a similar hierarchy based system for BuddyPress would be best route — with template hierarchy names that recognise display of single groups, single profiles, directories, etc., and override the auto injection into page.php if defined.
Will elaborate my thoughts on the trac.
Cheers for the feedback guys.
The problem with plugin-buddypress.php will come on sites where we have a number of different layouts / irregular layouts depending on which component the site is displaying. It works OK for a small number of conditional includes, but would become cumbersome with many conditionals (as @hnla alludes to), and effectively become another layer of  page routing [/edit] (as @r-a-y rightly points out we want to avoid).
I’ll take a look at the bp_get_query_template filter – but, guess that would just be pushing the same additional logic to a different area of code.
@neekolaus – you can build a directory site with reviews on top of BuddyPress.
You would use WordPress custom post types to model the studios, with BuddyPress handling the user accounts. The custom posts types can be integrated with BuddyPress based profiles giving you a seamless experience. For ratings / reviews, GD star rating is one of the more complete plugin solutions.
Unfortunately, it’s not something you could tackle with basic web development skills – it would require fairly advanced PHP, WordPress, BuddyPress knowledge. We’ve built a number of bespoke directory type sites, but I don’t know of anyone providing a good ‘off the shelf’ solution (yet!!).