vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Simple Style Statistics (https://vborg.vbsupport.ru/showthread.php?t=138531)

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!! :)

Surviver 02-07-2007 07:21 PM

Quote:

Originally Posted by Cyricx (Post 1176985)
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!! :)

Thank you for the Feedback, the Template Bug wll be fixed in the next Version :)

replacement variables <== I never used a replacement Variable - but i'll test it out. But i've wiritten the file on vBulletin Standards ... I'll have a look at it :)

Greetings Surviver

rjmjr69 02-08-2007 08:33 AM

Quote:

Originally Posted by Cyricx (Post 1176985)
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!! :)


Thank you very much for the info.

Cyricx 02-08-2007 04:27 PM

I'll test a few things over here as well Surviver and see if i can discover what may be going crazy :) The variables work in vbadvanced, photopost, ibproarcade etc, so I'll use those to compare to your file :)

Surviver 02-08-2007 04:58 PM

Quote:

Originally Posted by Cyricx (Post 1177662)
I'll test a few things over here as well Surviver and see if i can discover what may be going crazy :) The variables work in vbadvanced, photopost, ibproarcade etc, so I'll use those to compare to your file :)

Yes, i can confirm this Problem, it's a bug. I asked ANdreas if he knew wahts wrong, but he didn't know. I think i coded this File on vBulletin Standards ... I cant find the error it would be great if you finde it ;)

hambil 04-13-2007 02:26 PM

Nice. Installed and thanks. Works great. I'm surprised this isn't far more popular. Nominated.

GuaRRand 02-13-2008 01:41 PM

Will this also work with postbit_legacy??

Surviver 02-13-2008 02:29 PM

Yes.

GuaRRand 02-13-2008 04:50 PM

installed :P

GuaRRand 02-14-2008 08:10 AM

Quote:

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).
Can this be disabled???


All times are GMT. The time now is 08:10 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01314 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete