Cyricx |
02-07-2007 06:56 PM |
Quote:
Originally Posted by rjmjr69
(Post 1175802)
Yes what exactly does this do?
|
It puts a link in a user's postbit with what style they are using and clicking that link makes your style the same.
Also, if you select a style in the quick style chooser at the bottom of the page, it updates your preference in the database (currently vbulletin only saves it in your cookies).
Lastly, it has a page that displays in a poll like format how many users use each style and you can also click a link to see the names of all the users that use each style :)
Two bugs I've noticed.
I've got a few custom replacement variables that I use in the navbar. For some reason when i view the stylestatistics page, it's not parsing those replacement variables. :(
Also, when your viewing the list of who uses what style, the link to a user's profile doesn't work.
Currently the template stylestatistic_userbit has
Code:
<tr>
<td class="$bgclass"><a href="#" onclick="opener.location=('member.php.?$session[sessionurl]u=$user[userid]'); self.close();">$user[musername]</a></td>
</tr>
the problem is an extra . in the url :P To fix it change the template to
Code:
<tr>
<td class="$bgclass"><a href="#" onclick="opener.location=('member.php?$session[sessionurl]u=$user[userid]'); self.close();">$user[musername]</a></td>
</tr>
Great hack! Seems to work well!! :)
|