Topic-icon Social Meta Tags / Create Post show for unauthenticated users

Active Subscriptions:

None
Hi there Alex,

The new social meta tags/create post widget -- which is awesome! -- is showing for all users, even ones who are not logged in. How do I get it to show just for admins?

See here: naturallyborn.net

Thanks in advance!

Amy
The topic has been locked.
Support Specialist
We've never heard of that issue before. Can you go to the JFBConnect admin page and click the "Options" button in the top menu bar. In there, make sure the "Post to Social Networks" permission is enabled for Super Admins only (or whatever groups you want) and Denied for those you don't want to have that ability.

By default, it should only be enabled for Super Admins, but it's possible we missed something in some configuration somewhere.

Let me know if that helps, and glad you like the new feature :)

Alex
The topic has been locked.
Active Subscriptions:

None
Thanks Alex, as always, for the fast reply.

I've attached a screenshot here. Is this not how it is supposed to look? Sorry if I'm missing something obvious...

The topic has been locked.
Support Specialist
No, that's not how it should look.

Can you go to the Joomla -> Global Configuration area and then go to the Permissions tab. Then, in the "Public" section, make sure "Super Admin" is configured as "Not Set". If it's set to "Allowed", that means all visitors to your site are considered super admins, which is bad for many reasons. I'd check a lot of the other permissions in that section as well. The picture above seems to indicate some serious permissions issues, and hopefully my suggestions will help you clear them up.

Should you need anything else, just let me know.

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

None
12 years 2 months ago - 12 years 2 months ago #42835 by holbus
Dear Alex, I had the same problem; did changes as you recommended (access superuser in public was open) . But now the login does not work any more. Pls help.

And at the beginning ths tags where gone, but now showing again....strange....No the tags are there and the login does not work anymore....

Best regards Holger

www.moclinejo.de
Last edit: 12 years 2 months ago by holbus.
The topic has been locked.
Support Specialist
You have something really strange going on in the HTML of your page. There are multiple head and body sections, and I think that's causing you a lot of issues. That's improper HTML and not something that JFBConnect and some of the social networks can properly parse.

You'll need to determine what's causing the extra head and body tags to be inserted into your content, like below:
<a href="/index.php/component/com_mailto/link,49c7697776992923542c1f4a6f68e43847f5eb5d/template,moclinejo5/tmpl,component/lang,de/" title="E-Mail" onclick="window.open(this.href,'win2','width=400,height=350,menubar=yes,resizable=yes'); return false;"><img src="/templates/moclinejo5/images/system/emailButton.png" alt="E-Mail"  /></a> | Zugriffe: 611456</div><div class="art-postcontent clearfix"><div class="art-article"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head><head><head><head>

<script type='text/javascript'>
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-823128-1']);
	_gaq.push(['_trackPageview']);
	(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();
</script>
</head></head>
<body><div id="fb-root"></div>
<script type="text/javascript">
That code is toward the bottom of your page and in the middle of an article.

Fixing that may not make everything work right, but it's definitely the first thing to fix on the way to getting it all going.

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

None
Hey Alex, thank you: this indeed fixed the problem. No idea how that setting got there...

Cheers,

Amy
The topic has been locked.
Support Specialist
Awesome! Definitely some strange code. I'm glad we could help narrow things down for you.

As always, if you need anything else, just let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/social-...ook-integration/7215

Thanks,
Alex
The topic has been locked.