Topic-icon jfbc and jlinked showing up as code

Active Subscriptions:

None
12 years 4 months ago #17004 by coagra
I have a 404 page with QLUE Custom 404 component.

When you get a 404 the page loads and then (it looks like) 2 modules which I have deployed on the front page load and they load only in code.

Go to trueazimuth.biz and then any html to get to a 404 (trueazimuth.biz/goofy.html) to see what I mean.

How can I fix this?
The topic has been locked.
Support Specialist
12 years 4 months ago #17008 by alzander
Coach,
My guess is that the QLUE Custom 404 plugin simply doesn't execute the system plugins on a 404 page. If you're using the JFBCContent plugin to automatically insert Like and Comment boxes, and those are the tags you see, make sure you exclude your 404 Joomla Article ID in the Social Configuration area. That will make sure the tags don't show on that article. If you're using a module, you'll want to disable it from showing on the 404 page.

More importantly, I wasn't able to actually view your page. Using Google Chrome, I got the following message when I tried to visit:

Warning: Something's Not Right Here!
trueazimuth.biz/ contains content from newsconvert.ru, a site known to distribute malware.
...

I'm not sure if you've seen this before, but it means your site, or some part of it, has been hacked to include content from another site.. most likely distributing malware to visitors.

I'd take care of that first, if you haven't already. If you're not sure what I'm talking about, get Google Chrome and try loading your site in it.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #17453 by coagra
Fantastic! You folks are so awesome.

There indeed was an .htaccess file at the root level that got put in there -- impacting a number of websites I run. I have since deleted that bad boy and added some extra security measures to stop people with too much time on their hands and no social life from messing with my sites.

This QLUE Custom 404 component issue continues.

I found a work around for the module assignments that I originally had on the front page (as part of user 4 and user 5, I think). I just made these appear in an article and it looks the same and seems to work just as well.

However when the redirect happens, other aspects of your components don't work -- until you get to a regular joomla page.

See www.trueazimuth.biz/dddd or any other crazy URL and then check out the Login Menu -- you can see that the regular login is there but there is no ability to login with Facebook or LinkedIn.

BTW - a page created with the QLUE Custom 404 component does not appear in the pages list when editing a module -- probably has something to do with thye whole 404 thing -- not sure...
The topic has been locked.
Support Specialist
12 years 3 months ago #17560 by alzander
Coach,
Sorry for the delayed response.

First off, glad you got to the bottom of the inaccessible site stuff. htaccess files can be wonderful, and terrible, depending on what they're doing.

Regarding the QLUE component, we downloaded it and checked it out. Unfortunately, like we thought, it doesn't run the Joomla System Plugins on the content that's created, which means that you'll have to manually add some stuff to the HTML of the page you created. Additionally, you'll need to remove the {JFBCLogin} and {JLinkedLogin} tags.

Specifically, at the top of the document in QLUE, add the following code:
<script type="text/javascript" src="http://platform.linkedin.com/in.js">
api_key: vyf84lf3ebzv
</script>
<script src="/components/com_jfbconnect/includes/jfbconnect.js" type="text/javascript"></script>
<div id="fb-root"></div>
<script type="text/javascript">var jfbcLogoutFacebook = false;
var jfbcBase = 'http://www.trueazimuth.biz/';
var jfbcOptionsPermsUrl = 'http://www.trueazimuth.biz/component/jfbconnect/?task=loginFacebookUser&return=Lw==';
var jfbcRequiredPermissions = 'email,publish_stream';

window.fbAsyncInit = function() {
FB.init({appId: '274588112577209', status: true, cookie: true, xfbml: true, oauth: true, channelUrl: 'http://www.trueazimuth.biz/components/com_jfbconnect/assets/jfbcchannel.php'});
FB.Event.subscribe('comment.create', jfbc.social.comment.create);
FB.Event.subscribe('edge.create', jfbc.social.like.create);
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_GB/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
It looks like the FB Login button is already correct. To make the LinkedIn button, where you want it to appear, add the following code:
<div class="jLinkedLogin"><a href="/component/jlinked/?task=linkedInAuthenticate"><span class="jlinkedButton"></span><span class="jlinkedLoginButton">Login With LinkedIn</span></a></div>
All of this is done automatically with the system plugins of ours, but if they're skipped, it makes it a bit tedious.

All the above was copied directly from your site as-is, so it should be good to go (your URLs, API key, etc), but obviously test.

Hopefully, this should get you going, but if not, let us know.

Thanks,
Alex
The topic has been locked.