Site_Feedback

Topic   Auto-Populate Usernames?

Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
19-May(#1)
I did a search to see if this has been asked before, but couldn't find anything - let me know if I missed it...

The tagging/mentions system is fantastic. My question is - is there any doable way to implement a system like many sites have, where when you type @ and start a username, it auto-fills the username, or if there are multiple, it gives you them to choose from?

A ton of usernames have numbers, personalized spellings, and other stuff that's hard to remember - so to mention somebody I find myself opening a new tab, searching users, and copy/pasting.

Not an absolutely critical feature, but one that would be super slick to have if it's doable. Just a Friday thought. yes
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
20-May(#2)
This seems hard, but I searched and found some stuff I might be able to just plug in and get this working. I will look into it this week and see...
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
20-May(#3)
yes

Cool, thanks. Again not an absolutely vital feature, but one I think would go a long way in terms of the social/community feel.
SirConnery
I'll take "the penis mightier" for 400. GameTZ Subscriber 1000 Trade Quintuple Gold Good Trader
20-May(#4)
I wonder if this is doable in a browser plugin that has script that pulls names from your database? Might be able to do the same for items or similar.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
20-May(#5)
Here are 3 that I think I could plugin here fairly easily (I use jQuery).

https://github.com/ichord/At.js demo: http://ichord.github.io/At.js/ (also has a :emoticon thing)
https://github.com/yuku-t/jquery-textcomplete
http://podio.github.io/jquery-mentions-input/
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 23-May(#6)
@Scots OK, it's added now. Enjoy! And, thanks for the suggestion. I think people will like this.

It was alarmingly easy to do, so I assume something is wrong with it.

I'm going to see if I can add emoticons now too...
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
23-May(#7)
@bill That's fantastic!!! Thanks for doing it. I think people will love it too.

I'll use it today and let you know if I find any bugs.
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
23-May(#8)
And emoticons would be cool too. How would that work? Is there like a trigger key, similar to the @ for usernames, where you hit it and the emoticons pop up and you can click on them?
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
23-May(#9)
I just added the emoticon completion thing. It's imperfect, but most of the newer (done by ENIX) ones start with * so, when you type * it goes into completion like usernames.

There are older icons that don't fit or work. I think I can convert some over to the new style, but probably not all of them. E.g. smiles lik e:-) don't start with *, so... but, better than nothing, I think.
Scott
It's a secret to everybody. GameTZ Gold Subscriber Quadruple Gold Good Trader
Global Trader - willing to trade internationally Has Written 1 Review
23-May(#10)
This is great! I've wanted this but I thought it had already been requested and wasn't easily do-able. Thanks Bill!


The Official Mario Kart 8 Deluxe thread
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
23-May(#11)
Fantastic.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
23-May(#12)
I really didn't think it was doable either, but then I found something I could just plugin.
tonymack21
Dilly Dally Shilly Shally! GameTZ Gold Subscriber 400 Trade Quintuple Gold Good Trader
Has Written 3 Reviews This user is on the site NOW (3 minutes ago)
23-May(#13)
oh wow this a truly awesome feature, I think this will be infinitely useful, I just did it a minute ago and I was like what is happening, this is awesome. I said there is probably a topic in site feedback about this, and so there was. its also amazing for the icons.

image
sig and avatar by NathanOfLight

GTZ online ID Database
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
23-May(#14)
lol


@Dashey - I turned it on for mobile website too, seems to work fine.
Dashey
GameTZ Gold Subscriber 350 Trade Quintuple Gold Good Trader
Global Trader - willing to trade internationally This user is on the site NOW (3 minutes ago)
23-May(#15)
@bill test computer

_________________________________________________________________
468 150image
I offer GCU services and am Elite status at Best Buy. Send an offer
Dashey
GameTZ Gold Subscriber 350 Trade Quintuple Gold Good Trader
Global Trader - willing to trade internationally This user is on the site NOW (3 minutes ago)
23-May(#16)
@bill mobile

Works great

_________________________________________________________________
468 150image
I offer GCU services and am Elite status at Best Buy. Send an offer
Jeff
GameTZ Subscriber 450 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
23-May(#17)
@jeff

Jeff
Check out the Get A Steal - Give A Steal Thread lots of GREAT STEALS to be had!
Jeff
GameTZ Subscriber 450 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
23-May(#18)
Is there a way to add this to the User Search bar on top?

Jeff
Check out the Get A Steal - Give A Steal Thread lots of GREAT STEALS to be had!
John
"If you need me, me and Neil will be hanging out with the Dream King." GameTZ Subscriber GameTZ Full Moderator
400 Trade Quintuple Gold Good Trader Gold Global Trader (13)
* 23-May(#19)
So, not a huge thing -- but when I go to do a thumbsup, I type *yes* , but it doesn't auto-fill. Can we get the thumbs added too?

- John...
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
23-May(#20)
Most of the older icons aren't in this yet. I'm working on bringing them in... it's kind of tricky.
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
23-May(#21)
I hadn't even thought of icons and emoticons when I made the original post, but those will be cool as well.

I think the usernames portion alone encourages mentioning and interaction, and everyone likes more engagement among users. yes
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
23-May(#22)
Side note, you could even do it for concepts as well! Like, if I type "What do you guys...", it could auto-complete with "think about tipping?"
SirConnery
I'll take "the penis mightier" for 400. GameTZ Subscriber 1000 Trade Quintuple Gold Good Trader
23-May(#24)
Daym that's nifty. Sean Connery
Foxhack
GameTZ Subscriber 250 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
23-May(#25)
I'm having some issues with this new emoticon thingy. I use the asterisks to bold stuff, so I'm in the middle of typing and the box with the icons pops up. It's a bit irritiating. Other than that this is working pretty well.
Scots
Go Hawks GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally
23-May(#26)
Foxhack wrote:
> I'm having some issues with this new emoticon thingy. I use the asterisks to bold
> stuff, so I'm in the middle of typing and the box with the icons pops up. It's a
> bit irritiating. Other than that this is working pretty well.

Since bolding something is 2 asterisks, it goes away when you hit the second one at least, right?
Foxhack
GameTZ Subscriber 250 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
23-May(#27)
Scots wrote:
> Foxhack wrote:
>> I'm having some issues with this new emoticon thingy. I use the asterisks to bold
>> stuff, so I'm in the middle of typing and the box with the icons pops up. It's
> a
>> bit irritiating. Other than that this is working pretty well.
>
> Since bolding something is 2 asterisks, it goes away when you hit the second
> one at least, right?

Yep, seems so. But it's just a bit... distracting, you know?

bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 23-May(#28)
You could switch to BBCode style bolding as a workaround perhaps...

[b]bold[/b] = bold
Shadowrunner
Dog controls my destiny GameTZ Gold Subscriber 350 Trade Quintuple Gold Good Trader
23-May(#29)
@Bill Thanks for all you do Beer
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
23-May(#30)
I like the icon integration, hot touch. Bandai Super Vision 8000 I'M FINDING THINGS I DIDN'T KNOW EXISTED~
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 24-May(#31)
OK, I think I have all the emoticons in the new * autocomplete now too. So, yes is in there as well as frown etc. Note that for most of the smileys I have they keyed to a work like *grin* vs. the punctuation like :-) I had to kind of standardize them as starting with a * to make them work with this autocomplete system. The old punctuation-based icons should still work too.

I did the conversion of about 90 icons to the new system by-hand, so let me know if any of them seem wrong.
Grenadier
GameTZ Subscriber GameTZ Full Moderator
Double Gold Good Trader Has Written 3 Reviews
24-May(#32)
Is there a way to get it scrolling, so it can show more than 5 emoticons when you first hit "*"? I'm thinking in terms of being able to scroll through a long list and find one when you don't know what you're looking for.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
24-May(#33)
Here are the docs for the add-on: https://github.com/ichord/At.js/wiki
I can bump the number shown (currently 5), but I assume increasing that can cause issues and it's still not scrolling.
Jeff
GameTZ Subscriber 450 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
24-May(#34)
@bill is there anyway to implement the same username list to work with the search bar for Users on the top right of the page?

Jeff
Check out the Get A Steal - Give A Steal Thread lots of GREAT STEALS to be had!
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
* 24-May(#35)
Oh, sorry for not responding to you before.

The New Layout already does that and will also do it for item searches. I've been hesitant to bring that sort of thing into the old layout since I would tend to assume the people using the old layout don't like change. But, it is possible... and clearly, I added this @ * autocomplete stuff to the old layout too.

I could give it a try and see how it goes.

Generally speaking, I'd be willing to do some upgrades for the old layout, give it some love, etc. Since about half the site still uses it. But, like I said, maybe those are the people that would prefer nothing be changed.
Jeff
GameTZ Subscriber 450 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
24-May(#36)
I think it just is convenience... being able to type someones name and itll show the correct one... I love that. Sometimes I forget a username with numbers in it, etc.

Jeff
Check out the Get A Steal - Give A Steal Thread lots of GREAT STEALS to be had!
tonymack21
Dilly Dally Shilly Shally! GameTZ Gold Subscriber 400 Trade Quintuple Gold Good Trader
Has Written 3 Reviews This user is on the site NOW (3 minutes ago)
24-May(#37)
Jeff wrote:
> I think it just is convenience... being able to type someones name and itll show
> the correct one... I love that. Sometimes I forget a username with numbers in it,
> etc.
>
>

ya def.



image
sig and avatar by NathanOfLight

GTZ online ID Database
tonymack21
Dilly Dally Shilly Shally! GameTZ Gold Subscriber 400 Trade Quintuple Gold Good Trader
Has Written 3 Reviews This user is on the site NOW (3 minutes ago)
24-May(#38)
ya the @ * stuff is working great in the old layout (old layout is love) and while ill admit I love that it hasn't changed too much except for the implementation of great features while its core look and function stay the same, the auto for the user field and search I don't think would be a bad thing and could be pretty cool.

perhaps other old layout lovers can chime in as well. I usually know what im searching for so if others wouldn't like the change im good.

image
sig and avatar by NathanOfLight

GTZ online ID Database
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
24-May(#39)
I can turn it off for people that don't like it too, so I'll look into it. I can't just copy/paste the code from the new layout as it's using something from the framework it uses. But, I think there are other similar options out there too.
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
25-May(#40)
OK, I put something in for the old layout's user search box that should fill in known usernames just like @ .

I'm going to look into doing something similar for item searches (like new layout).
tonymack21
Dilly Dally Shilly Shally! GameTZ Gold Subscriber 400 Trade Quintuple Gold Good Trader
Has Written 3 Reviews This user is on the site NOW (3 minutes ago)
25-May(#41)
bill wrote:
> OK, I put something in for the old layout's user search box that should fill in known
> usernames just like @ .
>
> I'm going to look into doing something similar for item searches (like new layout).

nice looks like its working great


image
sig and avatar by NathanOfLight

GTZ online ID Database
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
25-May(#42)
I just implemented it for item searches too. ...seems to work.
tonymack21
Dilly Dally Shilly Shally! GameTZ Gold Subscriber 400 Trade Quintuple Gold Good Trader
Has Written 3 Reviews This user is on the site NOW (3 minutes ago)
25-May(#43)
ya seems to be working great.

image
sig and avatar by NathanOfLight

GTZ online ID Database
Jeff
GameTZ Subscriber 450 Trade Quintuple Gold Good Trader
Gold Global Trader (7)
25-May(#44)
bill wrote:
> OK, I put something in for the old layout's user search box that should fill in known
> usernames just like @ .
>
> I'm going to look into doing something similar for item searches (like new layout).

This is amazing. Thank you.

Jeff
Check out the Get A Steal - Give A Steal Thread lots of GREAT STEALS to be had!
John
"If you need me, me and Neil will be hanging out with the Dream King." GameTZ Subscriber GameTZ Full Moderator
400 Trade Quintuple Gold Good Trader Gold Global Trader (13)
30-May(#45)
bill wrote:
> OK, I think I have all the emoticons in the new * autocomplete now too. So, yes
> is in there as well as frown etc.

So, I noticed that this appears to work fine on desktop, but not on mobile for me? (The matching works for other things, just not the "yes" ones that you had to add later.)

Maybe this was just missed on mobile and easy to implement? Or is it a problem? (If so, no biggie -- just wanted to mention it in case it was just an oversight and is easy to correct.)

Thanks!

- John...
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Gold Global Trader (15) Has Written 26 Reviews
30-May(#46)
I tried the mobile site (on a pc) and it seemed to be OK:

image [full]

It's possible some file is being cached... can you force it to reload or clear the cache?

I forget what intermediate states may have been left in place, but the current implementation puts the username and emote lists in a separate, static JavaScript file which get regenerated hourly. Maybe, you have an out-of-day copy (shouldn't be possible, but maybe).
DiamondDave
The sad part is you can't distinguish satire from seriousness. GameTZ Subscriber 350 Trade Quintuple Gold Good Trader
Has Written 4 Reviews
30-May(#47)
@1Lemonhead yep, works good on mobile
John
"If you need me, me and Neil will be hanging out with the Dream King." GameTZ Subscriber GameTZ Full Moderator
400 Trade Quintuple Gold Good Trader Gold Global Trader (13)
30-May(#48)
I'll do more testing and let you know. Thanks. yes

- John...
tonymack21
Dilly Dally Shilly Shally! GameTZ Gold Subscriber 400 Trade Quintuple Gold Good Trader
Has Written 3 Reviews This user is on the site NOW (3 minutes ago)
30-May(#49)
DiamondDave wrote:
> @1Lemonhead yep, works good on mobile


*Dave tags random user to test.*

*thug life caption and glasses come in as Dr dre music plays*



image
sig and avatar by NathanOfLight

GTZ online ID Database
willyum
Go Ninja Go Ninja Go! GameTZ Gold Subscriber Silver Good Trader
Gold Global Trader (17)
31-May(#50)
yes

Very, very, very cool!



image
Why subscribe? Read Post #20 Here.
Antipop
GameTZ Subscriber Triple Gold Good Trader
Global Trader - willing to trade internationally Has Written 11 Reviews
10-Jun(#51)
Thank you Bill, you're the best.

Topic   Auto-Populate Usernames?