Editing Source Code of Registration Page Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Editing Source Code of Registration Page

    avatar
    ian2000
    Forumember


    Posts : 42
    Reputation : 3
    Language : English

    Solved Editing Source Code of Registration Page

    Post by ian2000 Tue 14 Apr - 22:57

    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
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Editing Source Code of Registration Page

    Post by JScript Wed 15 Apr - 1:12

    ian2000 wrote:(...)The problem is, users can easily disable javascript and then they can bypass this system.
    Hello!
    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:
    Editing Source Code of Registration Page CfQL9fg

    If JavaScript is disabled, the person will be redirected to https://www.forumotion.com/ page!

    JS
    avatar
    ian2000
    Forumember


    Posts : 42
    Reputation : 3
    Language : English

    Solved Re: Editing Source Code of Registration Page

    Post by ian2000 Wed 15 Apr - 5:17

    Great answer! I learned a lot from this believe it or not.

    Here's my final result: no java installed page

    SOLVED!!

    Thanks again
    JScript
    JScript
    Forumember


    Male Posts : 741
    Reputation : 175
    Language : PT-BR, EN
    Location : Brazil

    Solved Re: Editing Source Code of Registration Page

    Post by JScript Wed 15 Apr - 14:26

    @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
    avatar
    ian2000
    Forumember


    Posts : 42
    Reputation : 3
    Language : English

    Solved Re: Editing Source Code of Registration Page

    Post by ian2000 Wed 15 Apr - 19:04

    JScript 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
    Yes, thank you @Jscript

    I am still learning too since I am relatively new to coding. 

    Thanks again for your help!
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Editing Source Code of Registration Page

    Post by Ape Wed 15 Apr - 19:55

    Topic solved and archived



    Editing Source Code of Registration Page Left1212Editing Source Code of Registration Page Center11Editing Source Code of Registration Page Right112
    Editing Source Code of Registration Page Ape_b110
    Editing Source Code of Registration Page Ape1010