SOLVED Goto A Certain Page After Login Second Time


Subject: Goto A Certain Page After Login Second Time
ok do not know if this is possible...

can it be done that after a member registeres and then logins for the the first time they goto a certain page.... then everyone login after that they go to the normal page...

for example goto page.php after first login and then goto portal.php after second and every other login...

thanks for any help

:mrgreen: :mrgreen:

Inactive User
Subject: Re: Goto A Certain Page After Login Second Time
I suppose that one could create an argument in login_ip.php based on registration, post count or visits etc, to send the user to the "New Page" else => Normal Page.

You could also try to convert this:

Redirect After Registration

Spoiler: [ Show ]

Subject: Re: Goto A Certain Page After Login Second Time
thanks Lopalong I will have a look at that mod

:mrgreen: :mrgreen:

Inactive User
Subject: Re: Goto A Certain Page After Login Second Time
Shouldn't be too difficult. ;)

I look forward to you doing it and completing the MOD with an example .php file and template to make it so much easier for others wanting to do the same thing. :P

Subject: Re: Goto A Certain Page After Login Second Time
It works brilliantly.. thanks very much...

I will write it up as a mod and make it available on final version...

:mrgreen: :mrgreen:

Inactive User
Subject: Re: Goto A Certain Page After Login Second Time
You didn't waste any time with it did you? :mricy:

Here's the whole MOD that contains a lot of other re-direct stuff that I couldn't see as being very useful.

Who knows, you may look at it differently. ;)

And me, I'm not bothering to do too much at all until the final stable release of IP, as I HATE doing things MORE than once.


redirect.zip
Description:  
Download
Filename: redirect.zip
Filesize: 53.19 KB
Downloaded: 227 Time(s)

Subject: Re: [SOLVED] Goto A Certain Page After Login Second Time
great thanks... I will have a look as I also want to redirect a user after posting back to the news category bypassing the forum page...

thanks again

yep I agree I will not release anything more till the final version... to many mods done and now to many upgrades to do ... :mryellow: :mryellow:

:mrgreen: :mrgreen:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.636s (PHP: 3% SQL: 97%)
SQL queries: 33 - Debug Off - GZIP Enabled