PDA

View Full Version : Auto-suggest usernames function - where is it?


James Birkett
18 Dec 2009, 18:19
I'm trying to make a twitter/facebook-style username hyperlink for my shoutbox and I wanted to implement vBulletin 4's suggest usernames feature (that it uses for PMs and such).

The way my modification would work is:
User types "@" then the username, as the user begins typing the username it would suggest users, based on vBulletin's suggest feature and the letters typed (obviously if you type 'A' it would suggest all of 'A'.

My question: where is the function that suggests usernames?

Thanks in advance.

Lynne
18 Dec 2009, 20:37
When I use Inspect Element (firebug) on that box on the PM page, I'm told this is called:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



So, go take a look at that script. In fact, you really should take a look at the template there and see what else effects that Recipient Users box.