Wordpress PeepSo modification - display WP comments in activity stream - wordpress

I am working on a website that will have social media features and I am using the PeepSo plugin for most of the features. Unfortunately, this plugin does not allow the admin to approve posts and comments before they are posted, and this is the functionality that is the most important to me. I found a way to approve the posts - I integrated the User Submitted Posts plugin with PeepSo, but I want the comments to be approved too.
When a user submits a post it is displayed in the PeepSo activity stream, and then they can click on it and it will be displayed as a WP post. Then they can comment on it using WP comments, these comments can be moderated before they are posted.
But the users can also comment directly from the activity stream and these comments are handled by PeepSo and are posted directly without admin approval.
So I want to try some of these workarounds:
Delete the PeepSo comment function, which will only enable the user to comment after clicking on a post, then the comments will be handled by WP
Find a way to code the WP comments to be displayed in the PeepSo activity stream, so that the user can comment directly from the stream and the comments can be approved by the admin before they are posted
Find a way to make the PeepSo comments from the stream to be approved by the admin before they are posted, so that there will be no need for the WP comments.
I can delete the PeepSo comment function, but I don't like this idea, because it makes user interactions a bit harder with more clicks required. I would like to be able to make option 2 or 3 possible, but I am worried about messing with the PeepSo plugin code. Maybe you can help me with how to do it and not crash my website?
PeepSo has an option to integrate PeepSo comments with WP comments, but it only works one way - gets rid of the WP comments, and only allows PeepSo comments on the entire website.
Please help me, I would really appreciate that.

Please notice that PeepSo used its own comments with his own Tables.
They don't integrade the comments from Wordpress but they deactivate them.
I have a simular problem with Borlabs Caching tool, While PeepSo used its own comments, Borlabs Cache can't update the post automaticly after new comments.

Related

How do I add comments to buddypress forum replies

I'm setting up a custom buddypress install and would like to have comments directly on the forum topics page. I see that its possible to show your forum replies on the group activity stream, but I would like to have it the other way around. I essentially post a question as the "Topic" let everyone answer that question in their replies, but I'd like to see people comment on other peoples answers.
We're working on the same problem right now, this is what I suggested to my development team -
we can directly replicate the comments functionality that comes with
wordpress and database schema for wp_comments table. Like each topic
post can be like a blog post with comments. Above action hook will help with fetching and display.
I was looking for the same feature on Buddypress forum posts and finally got the success with the only available plugin bbPress Threaded Replies. This plugin added the same comment and reply system to my buddypress-bbpress forum posts as it is for my general sitewide activity.
If you need, you can download and install teh same at http://wordpress.org/plugins/bbpress-threaded-replies/

Comments on wordpress author profile page

I'm trying to figure out how to allow users to comments on an authors profile page (where it displays recent posts by xxx). Anyone have any idea where I would even start?
I don't think I'll be able even inserts comments into the comments table in mysql because of the comment_post_ID conflict. Unless I inserted authors comments as a{AUTH-ID} so there would be no number conflicts (with the post id).
But how would I do this? Bad coding practice?
Thank you.
See the top answer on this page, it's the best method of getting comments working on author pages :
https://wordpress.stackexchange.com/questions/8996/author-page-comments-and-ratings
Be sure to avoid use the Wordpress plugin 'Author Page Comments' which claims to to what you want, but is reported as unworking and potentially vulnerable to security problems.

Only Show Comment in Wordpress

I am looking for a way to only show the comments posted in wordpress.
My main goal is to turn the wordpress CMS into a site like fmylife.com. The basic principle is allowing anyone to post anonymously (without having a post to comment on), and then the comments need to be moderated by the admin.
If there is an easier solution to doing this, then I'm open to hearing that as well. The only thing I don't want to do is get the fmyscript clone. I've tried that and don't like it.
Any advice would be appreciated.
Thanks.
Adam.
Why don't you try the buddypress plugin wherein users can register and post. Just disable all other components except activity feed and make your homepage as a static activity feed page (configurable in the settings).

Using WordPress comments.php file as a contact form

I want to build my WP theme with a built in contact form. Something simple without captcha. I would like to use just Akismet as a spam filter. So, my first thought was to "convert" the comments.php page into a contact page template. Which I got it, but some points need to be improve.
1) When you use the contact, there is no notification if the content was sent it or not. How could I put a "Thank You" message for the user?
2) As you know, with this approach the contact info doesn't go to my email. Instead it's appear in the comments admin page. Is there any chance to make WP really send me the contact info to my email?
As I said before, I don't want to use a plugin, so if you have any idea how to help me to solve these issues or a new approach to this, it will be highly appreciated.
You should simply use php mail function with your form data. If you don't wont to use plugin, you should still look at some simple plugin for code examples.
There are a lot of free open source themes with contat form you can also use as example. You should also consider creating a wordpress child theme for the theme that already has contact form. That is clean and simple solution.
Why not use a plug-in? WHY "don't you want" to?!
It can turn 1 hour of programming to 5 minutes.
Your best bet is to edit the comment-template form so it doesn't display the comments in each page or post such as single.php, index.php, page.php
Let the form only display.
When you do that, you can go into your Settings -> "Discussion Settings"
E-mail me whenever Anyone posts a
comment
Checkbox the above options. And you should be good to go.

How can I set WordPress roles such that once a Contributor's post is scheduled to be published, they can no longer edit it?

At least for my purposes, it is absolutely essential that a Contributor be unable to edit his posts once they've been scheduled to be published, as well as actually published.
This seems like it should be simple because otherwise in a system with a lot of users a malicious user could slip under the radar with a sketchy post by first submitting an innocuous one and then right before it is scheduled to be published, edit it.
None of the role-editing plugins I've tried seem to have this functionality.
You need to create a filter function add hook it.
You may want to read "WordPress tip: Allow contributors to upload files" at http://www.wprecipes.com/wordpress-tip-allow-contributors-to-upload-files to get an idea.
The filter hook you'll need is the "format_to_edit" hook. Please refer to http://codex.wordpress.org/Plugin_API/Filter_Reference for details.
That filter hook isn't what you want. Let me think about it.

Resources