and at the bottom of the same file, replace
`
Yes, I want this too.. I just installed WordPress, and integrated with the Buddypress Plugin. I also have the Forum up, but I want to create “topics” then “subtopics” within a topic.
I think the plugin will be called Rate Vote Like Anything. And I’m building it with those three systems in mind:
Rate: you can rate things 1 to 5 (or whatever scale)
Vote: you can vote thumbs up or down (1 or -1)
Like: you can like something
So it probably will work to replace other voting systems. I’m going to take your advice and do my best to include an API so that others can use the plugin for any type of content. I’m going to replace my other BuddyPress Rate Forum Posts plugin. Tens of twenties of people (!) have asked me to extend my other plugin to rate blog posts and comments, so this new system will do it.
And as far as group rating is concerned, I’ve already built the star rating aspect for another site. you can see it in action here http://www.fashionsalade.com/2011/02/street-people/my-icons/rebeca/ (you need to login via facebook first).
The major benefit of this new plugin is that it will have shared ‘karma’ from all the items you create. Some people will want this, others might not. But it’s a cool feature that I really like. Site admins can also decide which items will be karmable (i think i just made a word up).
I’m also not making it BP dependant, Although I’m guessing it will mainly be used on BP sites, as wordpress already has things like GD post ratings – but that plugin is a beast.
After suffering most of yesterday while stretching custom post types to do my bidding, I’ve decided to create new tables today. and now i’m at peace
However it was a great exercise to do, and I got to dig into wordpress core much more than I normally do, which is always fruitful. Thanks so much for your encouragement.
Thanks for the advice – have used the plugin and it seems to work very well.
I have run into a different problem and have posted about that separate here:
storing meta data in an array is good for simplicity, but it fails when I want to do any type of query on that data.
Boone, Good points about the date I can use those. And what you say about the back up makes sense too – it goes both ways, it will bloat the table AND it will definitely get backed up.
Thanks for listing the hidden things that you get when you use the custom post type api. When dealing with custom *content* I think they are all very relevant (such as you wiki plugin). However when dealing with meta content such as Ratings and Likes, it breaks down a bit.
– Yes caching is nice, but I can deal with that using the wp’s nice caching functions, I will loose out on other fancy caching methods, but its good enough.
– I believe I will already get proper query escaping because I’ll be using the $wpdb class and prepare the query accordingly.
– different database setups – very good point, no argument here
– post revisions, I have no need for this, in fact I have no need for title, content or excerpt which causing wp_insert_post to fail, so I need to artificially create a title just to be able to post. this makes me think I’m abusing the system rather than using it.
– I have no need to loop through this rating meta data.
While it is almost always a good idea to use the built in APIs for all the reasons you outline and more, sometimes it is not. I think there are some rarer cases when using the API is a hindrance. It’s kind of like someone using wordpress to build a gigantic e-commerce store – sure you can do it – but maybe you should have started with magento instead. I feel that my plugin is in the middle and could go either way.
This exchange has been quite fruitful, thank you for the great discussion.
Ok, I did this again and it’s worked!! hooray!
This time round I activated a wordpress (non-buddypress) theme before deactivating, which seemed to do the trick.
I’m now on WP 3.1.2 BP and 2.8, finally 
I use Super cache, it works but clears the cache every time some one logs in, then rebuild the cache from scratch….so painful.
https://wordpress.org/support/topic/plugin-wp-super-cache-when-admin-logged-in-cache-gets-deleted
well of course i did!
my problem is that when i go into lets say http://skolstaden.netne.net/wordpress/activity/
it opens a brand new site instead of putting that site within the content area of my wordpress posts wordpress
Hey Mark
Have you looked at the WordPress Plugin ‘Admin Login As Different User’??
it may do this.
V
You can easily change the default avatar in your dashboard under BuddyPress > General Settings. The reason it doesn’t use the WordPress avatar setting is because BuddyPress is designed to be it’s own site with it’s own settings. If you want to disable gravatar support completely you can set no_grav to true in your theme’s bp_core_fetch_avatar function calls. This will be made even easier when 1.3 is released.
Thank you everybody for the suggestions. I’m setting up a site for an artist community and I don’t want BuddyPress to assign (IMHO not very attractive) monster gravatars to the members at all. Perhaps a future version could be written to respect the WordPress setting for No Avatar.
R-a-y – that doesn’t work for me unfortunately.
I am using the:
– latest version of WordPress 3.1.2
– Child theme of Suffusion
And the latest plugins for Suffusion BP Pack (1.02), BuddyPress (1.2.
, and s2Member (3.5.7).
Using the s2Member plugin settings, I have set my site to redirect users to a “Member Home” page upon logging in. This function used to work before I added BuddyPress + Suffusion BP Pack. However, since adding those plugins, I initially could not figure out why it no longer worked upon logging in. Currently, when a user logs in, the site just directs them to the main page (the default WordPress & site address). I disabled the other plugins and determined that it was BuddyPress handling the redirection.
So I made a bp-custom.php and added that code just to see if I can test the redirection function itself and it didn’t work. I even tweaked his code as well to try add_filter(“login_redirect”,”bpdev_redirect_to_profile”,100,3); Did I need to do anything else to activate the plugin or did it automatically run and link to BuddyPress?
Ultimately, it seems like I may have to implement a technique that onyx mentioned or something like http://www.thinkinginwordpress.com/2009/12/tweak-your-buddypress-login-to-redirect-to-the-page-user-was-viewing-while-login/
Does anyone have any thoughts? Thanks!
@hnla basically I want the ability to replace the buddypress main nav with wordpress menus: via Appearance > Menus.
Being able to have a custom menu like:
Home
Community
-Activity
-Members
Groups
…
What would be the best way to implement this?
There’s a `do_action` hook you can use:
`xprofile_updated_profile` (located in /buddypress/bp-xprofile.php.)
You could potentially use the wp_mail() function to send an email to the admin with this hook.
Don’t know what a `do_action` is and how to make use of it?
If you’re familiar with a tiny bit of PHP, here’s some articles that will help:
http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/
https://codex.wordpress.org/Plugin_API#Actions
Here’s something quick you can try:
`function my_update_profile_send( $id ) {
$text = bp_core_get_user_domain( $id );
wp_mail( ‘YOUR ADMIN EMAIL ADDRESS’, ‘Profile Updated’, $text );
}
add_action( ‘xprofile_updated_profile’, ‘my_update_profile_send’ );`
Put the code snippet in your theme’s functions.php.
Here is one way:
—-
Register a widget on a template page of your theme. Set that page to the front.
http://www.techtipsgeek.com/how-to-add-extra-widget-section-wordpress-blog/781/
Next, use the RSS widget (or another plugin) to show the blog post.
—
Here is more information:
Have a look at how capabilities are granted in models/events.php—you can grant the required caps to subscribers too. Or, there’s an event_creator role that’s just meant for this—in the wordpress admin area, you could make the default user role Event Creator, and also bulk modify the existing user capabilities to event_creator.
I haven’t confirmed whether standard WordPress notifications are being delivered to email addresses with country code extensions. I’ll give that a try and report back.
Items other than avatars are likely not to do with WordPress, so it may be worth broadening your search efforts to look for multisite-specific techniques. As far as I can tell, the s3 avatar upload code was never released publically (or if it was, I can’t find it)
@mercime thanks for the reply
im using wordpress 3.1.2, buddypress 1.2.8, directory install, wp functioning properly, bbpress built-in,
standard theme.plugins:
jet event system
bp moderation
cubepoints
private bp
google analytics
erocks dashboard lockdown
bp privacy
bp profile search
bp album+
thanks you for the help
greetings!
13 BuddyPress template files were transferred to your active WordPress theme during the BP template pack process. Download said 13 BP template files to your computer and start making the following revisions starting with the activity/index.php file:
At the top of the file, replace:
`
with
`
and at the bottom of the same file, replace
`
`
with
`
`
Save and do the same for the remaining 12 BP template files. Upload to server.
Check this page for other tips: https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/
Looks like you installed WP in community subfolder. Unfortunately, you haven’t uploaded all the WordPress files and folder required to make it work. Before installing BuddyPress, make sure that your WordPress install is working well
https://codex.buddypress.org/getting-started/before-installing/
Have you tried https://wordpress.org/extend/plugins/s2member/
Some web hosts have a problem with email sent from wordpress. I have used https://wordpress.org/extend/plugins/wp-mail-smtp/ to fix it on a non budddypress site, but it should work with bp installed as well – though haven’t tried it that way. It can also send test emails to help diagnose the problem….
There are other techniques/plugins…
Thanks for your response Brandon. I used other email addresses that I operate and I never received any email from my site or from WordPress/buddypress. Is there something I need to activate or set up to make those emails go out?