*

slicer

  • ****
  • 204 posts
Stela osclass theme - Login screen frame
« 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
Code: [Select]
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
Code: [Select]
<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



« Last Edit: January 22, 2018, 02:28:56 PM by MB Themes »

Marked as best answer by slicer on January 22, 2018, 02:22:12 PM
*

MB Themes

Re: Stela Login screen frame
« Reply #1 on: January 21, 2018, 06:45:55 PM »
Just the link (<a...) should have target="_top" attribute
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Stela Login screen frame
« Reply #2 on: January 21, 2018, 09:49:52 PM »
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

*

MB Themes

Re: Stela Login screen frame
« Reply #3 on: January 21, 2018, 11:06:51 PM »
Need to check.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Stela Login screen frame
« Reply #4 on: January 22, 2018, 10:19:42 AM »
It's in oc-content/themes/stela/user-register.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Stela Login screen frame
« Reply #5 on: January 22, 2018, 02:22:27 PM »
Thanks a lot solved ^_^

*

slicer

  • ****
  • 204 posts
Re: Stela osclass theme - Login screen frame
« Reply #6 on: January 24, 2018, 12:00:31 AM »
Hey @frosticek, reporting something new that arose from Google Connect Button with Stela

In order to make it work I added this line: 
Code: [Select]
<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



*

MB Themes

Re: Stela osclass theme - Login screen frame
« Reply #7 on: January 24, 2018, 11:16:07 AM »
Not 100% sure what that error means :D ... first update to latest version pls.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots