Topic-icon facebook comment count(K2 Category view)

Active Subscriptions:

None
12 years 6 months ago #39363 by Vizionz
So basically on the site i got a front page and that frontpage shows all the latest topics from categories. how can i add the comment count text to actually show the amount of comments for that actual item. i tried to put the {JFBCCommentsCount} in the k2 category item template. but it was displaying 0 comments. so i am guessing that its not getting a url to reflect the comments. how do i do this so it automatically calls the comments for that item. it would really be a negative if i had to add that to every post with the url.

also while on that subject. when i see the text with comment count. it just displays text. what also to add to make it clickable so it would go to them comments.

i have seen it done on other sites not sure of there using this component but that would be my guess since there running joomla k2 as well. and your the top dog of facebook stuff so it should be possible
The topic has been locked.
Support Specialist
12 years 6 months ago #39371 by alzander
In the Social configuration area of JFBConnect, you can add the Comments box to posts automatically, even in blog layout views. Just set the Comment Count (the number of comments to display) to '0'. That will show just the comment count.

also while on that subject. when i see the text with comment count. it just displays text. what also to add to make it clickable so it would go to them comments.

We don't have a method to link to the comments itself right now. It's a good idea for a future feature though. Right now, the user would have to click into the article (by title, read more, etc) and then scroll to the comment box.

I hope that helps answer your question, but if you need anything else, just let us know!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #39405 by Vizionz
thanks alex got another problem with another version. i sent ticket to theme designer but if you get around and can take a look as well maybe you can see why at the top of the site the modal of sclogin is showing error pmed you the link
The topic has been locked.
Support Specialist
12 years 6 months ago #39431 by alzander
I have no idea why the Javascript is showing up in the top like that. It is code from our SCLogin module. However, if you look at the HTML, it's properly within <script type="text/javascript"> ... </script> tags. I can't understand why it's being displayed there and what the cause is.

Can you try with a separate template to see if the text shows up there? I really don't have any suggestions as to where to look as I haven't seen that happen before and, again, everything looks right.

Let me know if switching the template works or if there's some special way that you're including the module which may be altering it's behavior in some really weird way.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #39432 by Vizionz
no its set standard so no special way of including it and it is template specific why that error is showing up. it works fine on another template. so something in the template is forcing that coding to show up.
The topic has been locked.
Support Specialist
12 years 6 months ago #39449 by alzander
I can't imagine what is causing that, and I'm not sure how we could fix it in our code. I hope you get an answer from your template provider. If you need more from us though, just let us know. We'll do what we can to investigate further, but it's pretty confusing as to what I'm seeing.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 6 months ago #39460 by Vizionz
well i posted a ticket and forum topic friday and its now monday and still nothing. your component is not the only error either. if you know the component zoo its also making it so you cant delete anything so something wrong with the template i havent even begin to play with the template because of these errors from the start. if they respond i will keep you informed if they know what was the issue so you have an idea if someone else runs across something similar.
The topic has been locked.
Support Specialist
12 years 5 months ago #39472 by alzander
Definitely let us know what you hear or find. I'll be curious to hear the resolution.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 5 months ago #39486 by Vizionz
We fixed the jfbconnect errror:

Go to your_site/modules/mod_sclogin/tmpl/login.php and find:

echo '<script type="text/javascript">
if (typeof jfbcJQuery == "undefined")
jfbcJQuery = jQuery;
jfbcJQuery(document).ready(function() {
jfbcJQuery("#login-modal").appendTo("body");
});
jfbcJQuery("#login-modal").on("show", function() {
jfbcJQuery("#login-modal").css({"margin-left": function() {return -(jfbcJQuery("#login-modal").width() / 2)}})
});
</script>';

=>Edit to:
$doc->addCustomTag('<script type="text/javascript">
if (typeof jfbcJQuery == "undefined")
jfbcJQuery = jQuery;
jfbcJQuery(document).ready(function() {
jfbcJQuery("#login-modal").appendTo("body");
});
jfbcJQuery("#login-modal").on("show", function() {
jfbcJQuery("#login-modal").css({"margin-left": function() {return -(jfbcJQuery("#login-modal").width() / 2)}})
});
</script>');
The topic has been locked.
Support Specialist
12 years 5 months ago #39499 by alzander
Interesting. I can't imagine why that makes things work vs what was there. Either way, I'm glad to hear you got things going. We're actually implementing a similar, though different, change to the next release of the SCLogin module. If you have the same issues with the next release, let us know and we can help you implement the same thing then as well.

Thanks for the feedback, and good luck,
Alex
The topic has been locked.