Advertisement:

Author Topic: Register + Forward to page  (Read 609 times)

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 390
Register + Forward to page
« on: May 21, 2018, 02:08:08 AM »
When a user tries to register for an account, he usually sees a text.

How can I -instead of displaying that text- have the user who attempts to register forwarded/redirected to a http-page?
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,271
  • Gender: Male
    • Kindred-999 on GitHub
Re: Register + Forward to page
« Reply #1 on: May 21, 2018, 11:10:02 AM »
edit register.php to change the code.

but why?   You're taking the user OUT of the registration process if you do that.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 390
Re: Register + Forward to page
« Reply #2 on: May 22, 2018, 02:57:12 AM »
That is exactly what I want. Our board is closed for registrations and I want those who try to see a "shiny-nice" page.
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,271
  • Gender: Male
    • Kindred-999 on GitHub
Re: Register + Forward to page
« Reply #3 on: May 22, 2018, 11:33:50 PM »
So, edit register.php

Or edit the register link in the menu in subs.php and in the action array in index.php
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 390
Re: Register + Forward to page
« Reply #4 on: May 23, 2018, 10:16:28 AM »
Oh that's an even better idea.
THANK YOU SO MUCH!
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."

Offline SMiFFER

  • Jr. Member
  • **
  • Posts: 390
Re: Register + Forward to page
« Reply #5 on: October 13, 2018, 06:05:31 AM »
Just to give you feedback after so long: Works like a charm!

Thanks. Marked as SOLVED hereby.
QUOTE OF Aleksi "Lex" Kilpinen: "That version is old enough to go to school itself."