Announcement

Collapse
No announcement yet.

Remove 'Username' inside log in box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Remove 'Username' inside log in box

    Hi,

    How can we remove the "Username" inside log in box?

    This field already exists outside it so I find it quite pointless. Please refer to attached image.

    Thanks.
    Attached Files

  • #2
    Anyone?

    Comment


    • #3
      I haven't tried changing that but as help for you go to AdminCp>Styles & Templates>Style Manager>YOUR STYLE>Edit Templates>Registration templates>Register and then look for this
      HTML Code:
      <input class="bginput" id="regusername" type="text" name="username" size="50" maxlength="$vboptions[maxuserlength]" value="$username" /><img src="$vboptions[cleargifurl]" id="reg_verif_image" onclick="return toggle_collapse('dialog_box')" style="display:none;" alt="" />
      you may want to look at $username but i'm not sure as i haven't tried it!
      Kind regards,
      Simon
      Microsoft Office Discussion

      Comment


      • #4
        Thanks. I'm wondering shouldn't it be on the Navbar template?
        Last edited by Vibhor; Sun 4 Dec '11, 5:27am.

        Comment


        • #5
          In the navbar template look for this
          HTML Code:
          <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
          and change value="$vbphrase[username]" but i suggest you leave that in place and actually change the Phrase for that.
          Kind regards,
          Simon
          Microsoft Office Discussion

          Comment


          • #6
            I think that it works if I remove both the "$vbphrase[username]" values. But is it safe enough to do that?

            Hope log in related issues should not crop up there in future. I searched vB Phrase "Username" but removing it won't work because it will blank out in all the areas where text "Username" appears.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X