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)

Surviver 02-04-2007 10:00 PM

Simple Style Statistics
 
This Hack integrates a smiple Style Statistic in your Forum.

Features:
  • Shows the Results like Poll-Results
  • The Style is displayed in the Postbit
  • If a user changes the Style via Quickchooser, the DB will be updated


I attach some Screenshots. The Installation Instructions are contained in the zip-File.

Greetings Surviver

anywares 02-05-2007 04:26 PM

Reserved.
-Installed

AMG021 02-05-2007 05:46 PM

nice thanks

Playa82 02-05-2007 07:04 PM

good one. thank you

Smoothie 02-05-2007 07:25 PM

screenshots in english would be appreciated. :)

Surviver 02-06-2007 03:59 AM

Quote:

Originally Posted by Smoothie (Post 1175422)
screenshots in english would be appreciated. :)

I'll attach one later ;)

Atakan KOC 02-06-2007 05:16 AM

Nice. Thanks. Installed

https://vborg.vbsupport.ru/external/2007/02/22.jpg

rjmjr69 02-06-2007 06:10 AM

Yes what exactly does this do?

SkyCatcher 02-07-2007 11:22 AM

Cool, I'll use it if you can attach the german version please :)

Surviver 02-07-2007 01:29 PM

The German Version is aviable at http://www.my-vb.de

Greetings SUrviver

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???

Surviver 02-26-2008 03:04 PM

Quote:

Originally Posted by GuaRRand (Post 1442744)
Can this be disabled???

No, because if you disable that, the style statistics won't work correct


All times are GMT. The time now is 07:52 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.01583 seconds
  • Memory Usage 1,761KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete