Support Forums - Classified Ads Script Osclass
Osclass theme support => Stela Osclass Theme => Topic started by: slicer on January 21, 2018, 04:50:03 PM
-
Hello team, reporting something I'm facing with login screen
Got the same problem with [Facebook your Google Connect], -FB is a dead end and doesn't work
The first thing is: Google Connect is working fine for me, register and login back normally but since Stela uses frames I need to right click and open in another window, thats due to x-frame policy.
Look at this message from your own demo
Google Chrome Console
Refused to display 'https://www.facebook.com/dialog/oauth?client_id=&redirect_uri=https%3A%2F%2Fstela.mb-themes.com%2F&state=9ce057eb3e5a6734beb9f4892b7551d4&scope=email' in a frame because it set 'X-Frame-Options' to 'deny'.
On Microsoft Edge it says: This content can’t be shown in a frame
I tried with httpd.conf but nothing seems to be working
<IfModule headers_module>
<IfVersion >= 2.4.7 >
Header always setifempty X-Frame-Options GOFORIT
</IfVersion>
<IfVersion < 2.4.7 >
Header always merge X-Frame-Options GOFORIT
</IfVersion>
</IfModule>
Do you have any idea or solutions for this? I don't mind using regular login screen if needed.
For your interest:
I got this picture from your DEMO while using chrome console
(https://i.imgur.com/VypSgDh.jpg)
-
Just the link (<a...) should have target="_top" attribute
-
Just the link (<a...) should have target="_top" attribute
Please can you tell me where to find that link: ;D ex: connect.php? sorry ;D
-
Need to check.
-
It's in oc-content/themes/stela/user-register.php
-
Thanks a lot solved ^_^
-
Hey @frosticek, reporting something new that arose from Google Connect Button with Stela
In order to make it work I added this line: <div style="display:none;"><?php gc_login_button(); ?></div>
to head.php first line, other way it doesn't log you in.
But... if you put that piece of code, some other forms like: "Add Comments" or "Send to a friend" start abnormal behavior not loading normally and showing 2 loaders at once...
and this message appear in the console
(https://i.imgur.com/gDgsdhl.jpg)
-
Not 100% sure what that error means :D ... first update to latest version pls.