Google Friend Connect = GFC
You have already
connected the site to GFC
The article will consider 2 points:
1. Replacing the user registration system.
2. Replacing the comment and rating system of posts (posts).
1. Replace the user registration system.
')
a) On the page /wp-admin/options-general.php we remove the tick from "Anyone can register"
b) On the /wp-admin/users.php page, we delete all users with the “Subscriber” role - this, of course, can be done, but why clutter up the blog database with unnecessary entries?
c) In GFC in the panel of your site (on the left) we go to “Members gadgets”. There is a choice to put "Members gadget" or "Sign In gadget". I chose the first one, because there will not only be a link to registration, but also a few additional functions related to user profiles, plus it looks better to everything.
d) “Add a Members gadget” - we make the necessary settings, get the code and paste it into the sidebar.php of your theme. You can choose the place yourself or simply replace the links:
<?php wp_register(); ?>
<?php wp_loginout(); ?>
In any case, all references to the standard WordPress registration functions should be eliminated.
2. Replace the system of comments and rating records (posts).
a) In GFC in the panel of your site go to the "Social gadgets". There is more choice than in the previous section. But we are interested in "Wall gadget" and "Review / Rate gadget". The first ordinary “wall” is a commentary tape, the second is the same wall, plus the opportunity to evaluate the material. Choose a second gadget.
b) In the option «Scope» we can set what this gadget will be related to: the whole site, a separate page or to the special ID. On the little-visited (up to 1000 people per day) I do not recommend putting a “separate page”, which is better common for the whole site. Customize to your liking and get the code.
c) Now we have a choice where to install this gadget. The first option is in the sidebar, as implemented on Interblog, and the second option is on the pages of individual entries (I advise you to post there only if you selected “single page” in paragraph b).
d) In the first case, we write the code in sidebar.php, in the second in single.php. Moreover, if you installed the code in the sidebar, then look for the string:
<?php comments_template(); ?>
and delete it (this will lead to the fact that all the old comments will no longer be displayed), if you selected the second option, it is best to insert the gadget code instead of this line.
e) Now you can clear the base of old comments (since you don’t display them) by deleting them on the /wp-admin/edit-comments.php?mode=edit page