× Joomla Facebook Connect support forum

Topic-icon How to hide 'Automatically logging you in ...' part 2

Active Subscriptions:

None
I read this thread on how to hide the message itself, but am unable to post a reply in the topic itself, ...
www.sourcecoast.com/forums/jfbconnect/jf...o-hide-login-message

as said the message disappears, but the blue bar is still visible ... see screenshot below .. how to completely disable this ?
File Attachment:
The topic has been locked.
Support Specialist
14 years 8 months ago #14108 by alzander
Webatelier,
Removing the language string should actually remove the blue bar as well. Can you make sure that the right hand side of the string doesn't have any spaces and, if possible, that you've modified the language file on the server itself. If you used something like Notepad and FTP'd the file up, extra invisible characters can get added that may make Joomla think something is there to be displayed.

If none of that works, we can easily tell you where to comment out the line that causes that string to display, but it's something you'd need to comment out with each new release.. so it's not a perfect solution.

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

None
Sorry for the late reply ...
Removing the whole language string did the trick,
removing only the right hand side of the language string was not enough, i've checked for 'hidden' characters, none were found
would be handy if this would be a setable option in the backend ... (goes for most of the language strings btw)
thx for the help
The topic has been locked.
Support Specialist
14 years 7 months ago #14462 by alzander
The standard for Joomla is to use the language files. While some extensions let you set strings in the admin area, it duplicates functionality already present in Joomla, , breaks multi-lingual support, adds overhead and additional development work, so it's not something we plan to do.

Glad you got it going though, and good luck with your site!
Alex
The topic has been locked.
Active Subscriptions:

None
damn,
I thought the problem was gone, but i ran into the same damn blue bar just now ...
File Attachment:

now it displays the untranslated string ...
The topic has been locked.
Support Specialist
14 years 7 months ago #14500 by alzander
Webatelier,
Still not sure why the blank string is showing up, but the below code hack will help you to remove the call altogether. It's best if you could do it through the language file, as this change will be required any time you update, but at least it will get you past this for now.

In the /components/com_jfbconnect/libraries/facebook.php, around line 204, you'll see:
$app->enqueueMessage(JText::_('COM_JFBCONNECT_AUTOMATIC_LOGIN'));
Simply put 2 forward slashes in front of this line, and it will comment it out so that it doesn't even attempt to display that string.

Hope that helps, and good luck,
Alex
The topic has been locked.