Forum Replies Created
-
strange, it should only be outputting a teaser, the same length as the activity items – in fact that is where it originates from. you should not be seeing long chunks of text in the daily digest unless you have another plugin that’s expanding the activity items.
this page http://codex.buddypress.org/releases/1-5-plugin-compatibility/ is out of date, and my plugin BuddyPress Rate Forum Posts is compatible. the above page was tested on an older version. How can I update that list?
my plugin http://wordpress.org/extend/plugins/buddypress-rate-forum-posts/ is compatible and has been for a while now. The version they tested on this page http://codex.buddypress.org/releases/1-5-plugin-compatibility/ was an out of date version. how can this be rested and updated?
the idea is that you would always have a description. if you want it to be identical do the tag, then just duplicate it in the admin. to fix this though, enter this line above the tag output ` if ( !$desc ) $desc = $tag; `. i’ll add this in the next release.
@josemv thanks. Yes, my plugin can rate anything, so posts of course. But it’s not been launched yet. I’m looking for someone who wants it for their site so I can tidy it up for final release. it’s 95% there.
Looks pretty cool!
Also, the organization that funded the first iteration of this plugin is not switching to 3.2 any time soon. so if others would like to make small donations to support these updates, it would be appreciated and speed up the process considerably. Alternatively submitting diffs with code fixes would be equally appreciated. Ah, open source.
hi, I guess we need to look into this and update the plugin. thanks for the clear description.
for a number of complex reasons mainly dealing with spam laws, that won’t be possible.
i believe it sends the email from noreply@yourdomain.com
this plugin does what you’re looking for. You should subscribe people to the level ‘new topics’ which sends out the first post, but not the subsequent replies. In the first email it tells people if you want follow up emails, you need to go and follow that post. best of luck.
I think before no error was generated, but in fact, the email never got sent if you were a group admin and not the site admin. I’m planning on re-writing this whole aspect of the plugin to be much better, for example, group and admins should be able to write the post as a forum post and just click a check mark that says ‘email to everyone’. the benefit is that now there is a record of that post on the website. the current system does not keep a record. Anyone feel like funding the development on this?
good that you figured it out. wp filters are tricky at first, but once you get the hang of them, they are quite powerful. i’m still learning!
probably use another filter name for non-digest emails. offhand, something like ass_email_subject is a good name.
i think it should be more like this:
`function cleo_ass_digest_subject( $subject, $blogname, $title, $type ) {
return “[$blogname] $title”;
}
add_filter( ‘ass_digest_subject’, ‘cleo_ass_digest_subject’, 10, 3 );`the first item passed is the actual item being filtered, which in your case you are ignoring, and just making your own and returning that. and maybe the end should be 10, 4 cause you are passing back 4 vars. but i’m not positive on that.
hey, i looked at this finally, and noticed the error. it is fixed so now group admins can send out the email.
i’ve made these changes
also you’ll have to do something similar on line 1041 where the actual email gets sent.
i think you need this instead:
`groups_is_user_mod( $bp->loggedin_user->id , $bp->groups->current_group->id ) `
but soon that function will be replaced with a better one that logs group admin emails. this one is legacy code from the orig plugin developer that never got properly integrated.this has been added to the most recent version. you can filter on
` $subject = apply_filters( ‘ass_digest_subject’, “$title [$blogname]“, $blogname, $title, $type );`
the new version is 2.8.5probably best to have it filterable, because I prefer the way we have it – much more readable in my opinion.
hmm. I guess no one wants this anymore!
Heads up: the combined plugin in underway, and will actually be a very powerful plugin where users can vote/rate/like ANYTHING in wordpress and buddypress. I’m developing this for another client, who is paying for the core functionality to vote on images, and they don’t need all the fancy stuff that usually comes in a plugin, such as nice admin options, translation, hooks, filters, etc. They also don’t need to vote groups, forum posts, blog posts, custom post types, blog comments, activity items, etc. With donations I’m also going to write scripts to convert old plugin data to the new plugin, same with group reviews plugin.
If people in the community would like these things, then please make a donation so i can do the extra work and release it properly to the community as an excellent, flexible, extensible, strong plugin. If not donations come it, it will just be for rating images using BP Albums. Even small donations count, so don’t be shy. Paypal donations to deryk@bluemandala.com. I will include all donors in the plugin read me, so please mention any website you’d like me to link to.
To be clear, this plugin is happening 100%, it is already being built. All donations go to the things the community needs that the client does not, as mentioned above. So don’t worry about making a donation and it not being released.

And as a perk, I’ll email early versions to anyone who makes a donation. (if any of this is getting unethical from an open source standpoint, please let me know!)
@imjscn it won’t be a beast, it will be … poetry

and in case anyone else is reading this thread in the future regarding the in-depth discussion about using db tables or not, I wanted to mention one thing I learned.
You can insert or update the wordpress database – existing tables or your own – using nice built in class functions. for example:
`
$wpdb->mytable = $wpdb->base_prefix . ‘mytable’;
$values = array(
‘col1′ => $myval1,
‘col2′ => $myval2,
);
$wpdb->insert($wpdb->mytable, $values);
`
doing things this way, you gain all the security features of the wordpress database class, and don’t have to work about preparing or escaping the query. it’s done for you. $wpdb->update also exists. more here: http://codex.wordpress.org/Function_Reference/wpdb_ClassUpdate: I took the approach of using my own db tables. and so far very smooth sailing. Once I got the hang of setting up db tables and handled db schema updates, everything is crystal clear and easy to work with. I’m glad I took both routes. and for any future custom content I will definitely use custom post types and taxonomies, but for this kind of specialized functionality that is not really content, custom db tables is much cleaner in my opinion. (Perhaps a hybrid approach is sometimes the best approach, it all depends.)
@imjscn the plugin will probably only handle activity comments as a whole. You will be able to like, rate or vote on them (or all three at the same time!). I’ll add hooks and filters in the plugin so you could probably limit rating for activity comments on your special custom post type.
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 somethingSo 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.