The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Tooltips for the 'users online' area of forum home
Hi
I have worked out a way of getting tooltips with photos working for each member in the 'users currently online' section but could do with a hand putting this into a plugin if possible? I've used the online.php file to test it out, and I've worked out the following: The query fetching online members needs to change. For example mine is now (line 185): PHP Code:
As you can see this pulls back a lot more info about the user so we can show this on their tooltip. Then in the 'whosonlinebit' template I add the following to the user's name link: onMouseOver="sktt('$userinfo[musername]','$userinfo[userid]','$userinfo[profilepicrevision]','$userinfo[age]','$userinfo[posttown]','true','false')" onMouseOut='htm()' Now ideally I'd like to: *Not alter the online.php file if possible and just use plugins *Call a function to return the onMouseover string, something like: $usertooltipstr = getUserTT($user) (this returns the onMouseover attributes) *Make it work with the 'whos online' in the main forum homepage any help would be appreciated. I'm a competent coder but not too sure about the new Plugin system!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|