We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Redirecting from language in green message | Forum

Topic location: Forum home » Support » General Questions
Katie
Katie May 8 '14
Hi there,

Ive been wanting to redirect my new users to a page (outside of Oxwall) automatically after they have registered. Initially Ive been using a redirect using the language in the settings e.g "Your account is pending" and redirect them using this code

<meta http-equiv="refresh" content="0; url=http://katchme.com.au/final-verification" />

But now I have decided to make it so that users have to verify their email before they get logged in. So now after they register they get the page with "Please confirm your email address." ect with the email input field incase they need to have the email resent.  (pic attached)

Now I thought that I could use that language to redirect me, but then I thought I actually need this page in case a user needs a verification email resent. So I thought I could use the language in the green message that pops up once, after a member registers. It says something like "verification email successfully sent" .

I did put this redirect code in the language "verification email successfully sent" but it did not work. So Im wondering if there is another way. Maybe directly in the file where this language is, I can add this redirect code.

Any ideas?

Thanks so much :)

Katie
The Forum post is edited by Katie May 12 '14
Attachments:
  katchme-please confirm email.jpg (47.26Kb)
Katie
Katie May 13 '14
nudge :)
ross Team
ross May 13 '14
Katie, I'm sorry at what step of the e-mail verification process you want a user to be redirected?
Katie
Katie May 13 '14
Hi Ross,

Its the page right after a user has registered, and they get taken to the "please confirm your email address" page ( pic attached in the original post) ..members see this page after registering, no matter what link they click on, until they verify their email.


ross Team
ross May 13 '14
Yeah, well I just pasted this code <meta http-equiv="refresh" content="0; url=http://katchme.com.au/final-verification" />  in the verification e-mail successfully sent value in the admin panel and it immediately redirected me to the specified URL. 


What exact problem you have with it? What is not working? 

Katie
Katie May 13 '14
Did it really? Hmm I just registered a fake account and got sent to the "please confirm your email address" page but I didnt get redirected
ross Team
ross May 13 '14
to which value have you added the code? can you provide a screenshot?
Katie
Katie May 13 '14
sure :)
Attachments:
  katchme-verification-label-language.jpg (94.01Kb)
ross Team
ross May 13 '14
I added it to the same place, the only difference there is no space between the word "sent" and tag <meta> and it works for me
Katie
Katie May 13 '14
ok Ill try it :)

Thanks
Katie
Katie May 13 '14
Damn :P It didnt work!!

Maybe a cache thing ?
Katie
Katie May 13 '14
just found another space at the end of the code ...Ill try again
Katie
Katie May 13 '14
nope no luck..just cleared my cache and took all the spaces out of the code code but still no luck. I wonder what the problem is...
ross Team
ross May 13 '14

here's how it looks on my test website. and it works I don't know really know what the problem

Katie
Katie May 13 '14
Can I ask how your testing it Ross? Im testing it by registering a new user and seeing where it redirects me...
ross Team
ross May 13 '14
Yes, I do the same
Katie
Katie May 13 '14
wow hmm gosh Id love to see it work :P This is the last thing on my list before I go live.

Hmm Im just googling why a redirect might not work.. could it be browsers, Im using firefox... Ill try safari anyway
Katie
Katie May 13 '14
Oh it works in safari!!!!
ross Team
ross May 13 '14
I did that in chrome
Pages: 1 2 »