Page 1 of 1

CGFBapp error:The comments plugin requires an href parameter

Posted: Wed Oct 05, 2011 5:26 pm
by cnymike
I have installed the CGFBapp module v1.0.3 and it is a welcome addition to my site (CMSMS v1.9.4.3) as it easily allows FB integration, particularly the Like features. However I am having an error when I insert the comments plugin.

Specifically I am inserting the following into my template.

Code: Select all

{cgfb_init}{cgfb_comments}
When the page is viewed I get the error "The comments plugin requires an href parameter."

I have viewed the help page for the plugin and the documentation states:
The next most common way to add facebook integration into your site is to allow visitors to enter comments. You can do this by adding the {cgfb_init}{cgfb_comments} tag into your page template.
The documentation does not mention anything about an href parameter for the comments plugin.

Therefore I am confused as how to gain this functionality.

Elsewhere on the page I have inserted the Like plugin and it is working splendidly.

Re: CGFBapp error:The comments plugin requires an href param

Posted: Fri Oct 14, 2011 8:37 am
by DADOCTOR
I too cant find documentation about this

I have the same problem

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sat Oct 15, 2011 4:11 am
by DADOCTOR
this is what it says to do
The simplest way to add facebook integration into your site is just to add {cgfb_init}{cgfb_like} into the page template of your site. Now any page that uses this page template will have a facebook "Like" button attached to it. You do not need to create a facebook application to use this function.

The next most common way to add facebook integration into your site is to allow visitors to enter comments. You can do this by adding the {cgfb_init}{cgfb_comments} tag into your page template.
and then this
Smarty Function Reference:

Social Plugins:
{cgfb_like [params]]

Create a "Like" Button for a URL.
Parameters:
href - (string) The URL to allow people to like. (default is the current page URL.)
layout - (string) The layout of button. Possible values are standard,button_count,box_count.
show_faces - (boolean) Wether to show faces of the others that have liked the item.
action - (string) The beaviour of the button, Possible values are like,recommend.
width - (int) The width of the like button in pixels.
font - (string) The string to use for the form or display. Values are arial,lucide grande,segoe ul,tahoma,verdana
colorscheme - (string) The color scheme for the form. Values are light,dark
ref - (string) An optional reference value to use for statistics purposes.
assign - (string) Assign the output to a smarty variable.


{cgfb_comments [params]}

Create a form allowing facebook users to leave comments on a page, or on an item.
Parameters:
uniqueid - (string) A unique identifier to use to identify the item that is being commented on. (default is a hash of the current page url).
width - (int) The maximum width of the form in pixels. (default is 425)
ncomments - (int) The maximum number of comments to display at one time. (default is 10)
publish - (boolean) Wether the "public comment" checkbox should be displayed.
assign - (string) Assign the output to a smarty variable.
it might be assumed that everyone knows what to add to the [params]

I dont, what do you add to
{cgfb_comments [params]}

I dont understand
uniqueid - (string) A unique identifier to use to identify the item that is being commented on. (default is a hash of the current page url).
thanks,

im not sure what other information to include in this post to help describe the problem

Re: CGFBapp error:The comments plugin requires an href param

Posted: Tue Nov 08, 2011 9:15 pm
by cnymike
Have re-read everything and still no-go. Anyone have a clue how to get this working?

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sun Nov 13, 2011 9:28 am
by DADOCTOR
cnymike wrote:Have re-read everything and still no-go. Anyone have a clue how to get this working?
Hey cnymike,

Let me know what you have done so far and I will help you
I have it working now

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sun Nov 13, 2011 1:11 pm
by cnymike
I have not done much other than dropping in the comment module and getting the resulting error.

{cgfb_init}{cgfb_comments}

"The comments plugin requires an href parameter."

I don't understand what or where the HREF Parameter that is mentioned in the error is supported to go.

Re: CGFBapp error:The comments plugin requires an href param

Posted: Tue Dec 27, 2011 9:49 pm
by DADOCTOR
Facebook has just changed the parameters again

it seems like everyone now has a error showing under their comments box.

it says this,

Code: Select all

Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit 'href' as suggested in the comments plugin documentation to take advantage of all plugin features.
I am now trying to work this out.

It would be great if the creator of this add on could help us out?

I will post update if I have a fix

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sun Feb 19, 2012 9:33 am
by Gregor
Did anyone manage to find a solution for the requisted href-parameter?

Thanks for your reply,
Gregor

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sun Feb 19, 2012 7:20 pm
by Dr.CSS
Has anyone filed a bug report?...

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sun Feb 19, 2012 7:35 pm
by Gregor
Yes I did (also have the solution...)

Re: CGFBapp error:The comments plugin requires an href param

Posted: Sat Apr 28, 2012 11:30 am
by asfahaan
Can you please provide us the solution?? How to get rid of the yellow warning:
Warning: this comments plugin is operating in compatibility mode, but has no posts yet. Consider specifying an explicit 'href' as suggested in the comments plugin documentation to take advantage of all plugin features.
Thanks!

Re: CGFBapp error:The comments plugin requires an href param

Posted: Mon Apr 30, 2012 5:36 am
by Gregor
It's not allowed to post code modifications. I'm not sure if I gave the solution in the bug report. Please have a look. If it's not in the bug report, send me a pm.

Gregor

Re: CGFBapp error:The comments plugin requires an href param

Posted: Tue May 01, 2012 2:39 am
by cnymike
Gregor, it would help me and others if you could post your fix along with an explanation of how it works. Thanks in advance.

Re: CGFBapp error:The comments plugin requires an href param

Posted: Tue May 01, 2012 7:49 am
by Rolf
http://twitter.com/calguy1000 (April 28th)
Spent a good bunch of hours working on my social app for #cmsms.. it's gonna be sweet. adding badges is gonna be next on the todo list.
Perhaps might solve some problems...

Grtz. Rolf

Re: CGFBapp error:The comments plugin requires an href param

Posted: Wed May 02, 2012 2:59 pm
by Gregor
I posted a suggested bug fix in the bug tracker of the module http://dev.cmsmadesimple.org/projects/cgfbapp

Gregor