Support Forums - Classified Ads Script Osclass
Osclass plugin support => Free Osclass Plugins => Facebook Login Plugin => Topic started by: firesale on July 13, 2018, 01:15:11 PM
-
How to redirect to a specific page after FB Registration/Login?
It is currently set to the Homepage.
-
@firesale
In file:
oc-content/plugins/facebook_login/functions.php
You may change:
header('Location: ' . osc_base_url());
osc_base_url() to whatever you want.
-
@firesale
In file:
oc-content/plugins/facebook_login/functions.php
You may change:
header('Location: ' . osc_base_url());
osc_base_url() to whatever you want.
Thanks. It worked.
I first replaced all lines with it, total of 4. It worked but the Login button looked funny, like a CSS error. As it turns out I only need to replace one which corresponds to callback, which makes sense.
-
It might help somebody, look into the site if you want to achieve something similar:
https://doc.osclass.org/HDefines.php