Support Forum
Hi! I´m trying to reduce the user info on the post section... I think that could be a good idea to put aditional info just in hover....
So will be basically the same function that appears now when mouse is over the avatar, but instead of showing the word "profil" I will show some info:
Date registered, number of post, forum range... etc
Is easy to do this?
Collecting the information is not that hard at all. All of those display functions have a 'get' argument as opposed to an 'echo' default argument which means the data can be returned rather than immediately displayed. So collecting it up is the easy and simple part.
The main problem with your scheme is using this data as a tooltip on the avatar. That is one of the few items where a tooltip can not be passed in and because the avatar can be set to different urls in the profile options and the tooltip reflects that option choice. The same goes for the users display name as well.
We could perhaps look into changing that and adding a fourth option of 'user/custom' but that would need to be investigated properly.
One other point to remember as well. Don't forget that tooltips do not work on mobile phones or tablets where there is no 'hover' functionality available.
YELLOW
SWORDFISH
|
Yellow Swordfish said
Do you mean replace the current popup profile with an alternative popup of information?Y
Yep. that would be the idea, i think is easier... so instead coding a new popup just write a new part of code to show info on hover... ( number of posts, range... something else)
I´m not sure if this is interesting for others... just is an idea...
http://www.hispasonic.com/foro.....nol/388850
you can try it there... put the mouse over the avatar...
Well yes - i quite like it actually but you still have the same problem you had originally although I do note from the code that you can actually pass a user/custom name to the avatar so it might be possible to use that. I would need to investigate deeper. But still not with a tooltip type control.... And currently neither SP or WP come bundled with a 'popup' control triggered on hover.
YELLOW
SWORDFISH
|
1 Guest(s)