CGFBapp error:The comments plugin requires an href parameter

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

CGFBapp error:The comments plugin requires an href parameter

Post 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.
User avatar
DADOCTOR
Forum Members
Forum Members
Posts: 51
Joined: Sat Apr 02, 2011 5:39 am
Location: Australia

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

Post by DADOCTOR »

I too cant find documentation about this

I have the same problem
User avatar
DADOCTOR
Forum Members
Forum Members
Posts: 51
Joined: Sat Apr 02, 2011 5:39 am
Location: Australia

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

Post 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
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post by cnymike »

Have re-read everything and still no-go. Anyone have a clue how to get this working?
User avatar
DADOCTOR
Forum Members
Forum Members
Posts: 51
Joined: Sat Apr 02, 2011 5:39 am
Location: Australia

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

Post 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
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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.
User avatar
DADOCTOR
Forum Members
Forum Members
Posts: 51
Joined: Sat Apr 02, 2011 5:39 am
Location: Australia

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

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

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

Post by Gregor »

Did anyone manage to find a solution for the requisted href-parameter?

Thanks for your reply,
Gregor
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post by Dr.CSS »

Has anyone filed a bug report?...
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

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

Post by Gregor »

Yes I did (also have the solution...)
asfahaan
Forum Members
Forum Members
Posts: 43
Joined: Wed Aug 15, 2007 11:28 am
Location: Auckland, New Zealand

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

Post 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!
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

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

Post 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
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

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

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

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

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

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

Post by Gregor »

I posted a suggested bug fix in the bug tracker of the module http://dev.cmsmadesimple.org/projects/cgfbapp

Gregor
Post Reply

Return to “Modules/Add-Ons”