Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

disabling autocomplete?

edited August 2005 in Vanilla 1.0 Help
is there any way to do it? please forgive me if the answer is simple and i am ignorant. also, i'm still not able to find where the whisper to input is rendered in the application.... does anyone know where that might come up?

Comments

  • Only way I know of to disable the auto-complete is by disabling whispers all together. Otherwise you could tweak the autocomplete.js file in the /js/ directory (not recommended) to serve whatever other purposes you need. You could look at the whispers.php located in the /extensions/ directory to see what's going on.
  • thanks a bunch.... that helped a lot
  • np
  • Just a question. why do you want it gone. it won't take effect on browers that won't support js, so accessibilty or usability can't be the issue.

    I don't want to sound snappy, but do you have anything against auto-complete? I find it very useful.

    please forgive me if the answer is simple and i am ignorant.
    This is not a stupid question. There are no stupid questions. Ask away. Anything.
  • Maybe his board doesn't have enough members who need the feature? Sometimes it's kind of redundant if you only have a few members. The dropdown box can get a little annoying sometimes.

  • good point
  • the only other alternate option for this I could see to take it's place would be a proper select filed if you wish to disable the autocomplete. Otherwise your whispers will just fall into a proverbial void if you enter in the wrong username.
  • There are times I would like to turn it off, as well. All it does is slow me down because I can type faster than the thing autocompletes and the membership on my site is purposely limited to under 30 so it doesn't really help at all.

  • ahh, but the question is brady, do you infact type too slow for the box? it appears that it works well for people who type dad-slow (pardon the expression, my father hates computers), and also for people who type lightening fast, but not for people inbetween. It does get annoying though in cases where a dropdown wouldnt be ridiculously big.
  • MarkMark Vanilla Staff
    I plan on fixing that bug for the next rev. I'm not sure If I'm going to have to replace the js altogether, or if I'll be able to fix it myself - but I've been purposefully typing into the whisper box at different speeds to see if I can recreate what you guys are talking about, and I can. Not to toot my own horn, but normally I type so fast that the thing doesn't have time to load anything in the autocomplete by the time I'm onto the comment box :) But yeah - I'm sure I can fix that bug (one way or another) so that you can type as slow or as fast as you want.
  • maybe just have it offer up a suggestion to complete after X ammount of seconds when the user has paused his or her typing. I think I might have a similar function laying around here as well which responds a little smoother I picked up from somewhere. If I can find it in my code bin I'll test to see if it's Vanilla-worthy.
  • MarkMark Vanilla Staff
    that's exactly what I was thinking...
  • i don't know... it's just kind of annoying, i think.... i always disable it in my browser, so naturally i wouldn't want my forum autocompleting
  • http://www.google.com/webhp?complete=1&hl=en
  • YES! Have a slight dealy, before the autocomplete kicks in. This would prevent autocomplete from starting if the user knew what they were typing, and only work if they need assistance. I have been using googe suggest for months, and I never thought to sugest the same functionality. Good work Lech.
This discussion has been closed.