Editing Source Code of Registration Page
3 posters
Page 1 of 1
Editing Source Code of Registration Page
Greetings. I would like my users to have some restrictions such as only names with alphabetical characters (a-z,A-Z) when registering. I found a nifty piece of javascript that allows this to happen. The problem is, users can easily disable javascript and then they can bypass this system.
Thus, it would be beneficial if I could just go into the source code of the registration page and modify some of the html a little bit. Is this possible? Or does forumotion not allow these pages to be edited?
Thanks,
Ian
Thus, it would be beneficial if I could just go into the source code of the registration page and modify some of the html a little bit. Is this possible? Or does forumotion not allow these pages to be edited?
Thanks,
Ian
Re: Editing Source Code of Registration Page
Hello!ian2000 wrote:(...)The problem is, users can easily disable javascript and then they can bypass this system.
To avoid this add the following code under the <head> tag located in Overall_header template:
- Code:
<noscript>
<style>html{display:none;}</style>
<meta http-equiv="refresh" content="0; url=http://www.forumotion.com/">
</noscript>
It should look like this:
If JavaScript is disabled, the person will be redirected to https://www.forumotion.com/ page!
JS
Re: Editing Source Code of Registration Page
Great answer! I learned a lot from this believe it or not.
Here's my final result: no java installed page
SOLVED!!
Thanks again
Here's my final result: no java installed page
SOLVED!!
Thanks again
Re: Editing Source Code of Registration Page
@ian2000
Your final result was excellent!
I am very glad you have not been content with the redirect and made his own warning page.
This demonstrates interactivity, more ideas and creativity: That's what we need!
JS
Your final result was excellent!
I am very glad you have not been content with the redirect and made his own warning page.
This demonstrates interactivity, more ideas and creativity: That's what we need!
JS
Re: Editing Source Code of Registration Page
Yes, thank you @JscriptJScript wrote:@ian2000
Your final result was excellent!
I am very glad you have not been content with the redirect and made his own warning page.
This demonstrates interactivity, more ideas and creativity: That's what we need!
JS
I am still learning too since I am relatively new to coding.
Thanks again for your help!
Similar topics
» Changing source code
» Can I have access to my forum's source code?
» Where to find HTML source code?
» Correct the formatting of the new editor in source code mode
» When i paste a long code via [code][/code] the page expands
» Can I have access to my forum's source code?
» Where to find HTML source code?
» Correct the formatting of the new editor in source code mode
» When i paste a long code via [code][/code] the page expands
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum