Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple Style Statistics Details »»
Simple Style Statistics
Version: 1.0.1, by Surviver Surviver is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.4 Rating:
Released: 02-04-2007 Last Update: Never Installs: 31
Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-07-2007, 06:56 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rjmjr69 View Post
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!!
Reply With Quote
  #13  
Old 02-07-2007, 07:21 PM
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Location: Bonn, Germany
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
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
Reply With Quote
  #14  
Old 02-08-2007, 08:33 AM
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
Location: Southie
Posts: 876
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
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.
Reply With Quote
  #15  
Old 02-08-2007, 04:27 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 02-08-2007, 04:58 PM
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Location: Bonn, Germany
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
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
Reply With Quote
  #17  
Old 04-13-2007, 02:26 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice. Installed and thanks. Works great. I'm surprised this isn't far more popular. Nominated.
Reply With Quote
  #18  
Old 02-13-2008, 01:41 PM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this also work with postbit_legacy??
Reply With Quote
  #19  
Old 02-13-2008, 02:29 PM
Surviver's Avatar
Surviver Surviver is offline
 
Join Date: Feb 2006
Location: Bonn, Germany
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes.
Reply With Quote
  #20  
Old 02-13-2008, 04:50 PM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed :P
Reply With Quote
  #21  
Old 02-14-2008, 08:10 AM
GuaRRand GuaRRand is offline
 
Join Date: Oct 2005
Posts: 337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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???
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08650 seconds
  • Memory Usage 2,319KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete