News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Regarding about user integration

Started by Rune-Cpsv.info, December 28, 2011, 06:18:51 AM

Previous topic - Next topic

Andre N

What's different from that and the main page? What url are you passing into the ssi_login function?
"Every generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?"

Rune-Cpsv.info

Well, what i want is that when i log in in donate page, it will redirect my to my donate page.
it is like you go into your mum's bedroom toilet, but when you come out, you appear coming out on public toilet.
Visit us at http://rune-cpsv.info


Andre N

Can you go into /Sources/LogInOut.php at around line 124 and change this:

// Some whitelisting for login_url...
if (empty($_SESSION['login_url']))
redirectexit();
else
{

to this:

// Some whitelisting for login_url...
if (empty($_SESSION['login_url'])){
redirectexit($_SERVER['HTTP_REFERER']);
        }
else
{

I am positive that will work. All the other changes can be discarded
"Every generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?"

Rune-Cpsv.info

Visit us at http://rune-cpsv.info


Advertisement: