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

Reply
 
Thread Tools
AdminFuel - Contribution MOD Details »»
AdminFuel - Contribution MOD
Version: 1.2, by rockinaway rockinaway is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.4 Rating:
Released: 09-29-2009 Last Update: 02-26-2010 Installs: 23
Uses Plugins Auto-Templates
 
No support by the author.

My second modification, and I quite like it

This modification simply adds a percentage contribution that a user has made to your forum. It is calculated using the post counts.

Installation:

- Upload contribution_install.xml to install product

NOTE: Template edits are now done automatically during installation

Updating

If you are using versions that existed before 1.2, then you MUST remove the following from anywhere in your postbit template (or even posbit_legacy)

Code:
$contribution
This is because template edits are now automatic

Demo
AdminFuel

Future Versions
I aim to add graphical representations in later versions

Updates:
v1.2
  • More precision with 2 decimal numbers
  • No manual template edits!
v1.1 - backward compatibility to 3.7

Remember, mark and nominate

Download Now

File Type: zip contribution1.2.zip (947 Bytes, 66 views)

Show Your Support

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

Comments
  #22  
Old 10-22-2009, 03:24 AM
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By the way, I noticed Contribution displays in private messages, but doesn't work there.
Reply With Quote
  #23  
Old 12-11-2009, 03:38 PM
Devanand Devanand is offline
 
Join Date: Apr 2009
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should try to update plugin as Tanapangarap said, because I now have people with 1 post and people with 1500 posts that have 1%
Reply With Quote
  #24  
Old 12-11-2009, 03:57 PM
exel exel is offline
 
Join Date: Jan 2008
Location: Southern California
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks.
Reply With Quote
  #25  
Old 02-27-2010, 04:09 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to version 1.2, 2 main changes

Sorry for the delay.
Reply With Quote
  #26  
Old 02-27-2010, 07:00 PM
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rockinaway?

You may remember that I requested the added "precision with 2 decimal numbers" here and at your forum. I received an email today informing me of your update. Thank you for the update.
Reply With Quote
  #27  
Old 02-28-2010, 01:46 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did indeed And such an update was done as by demand . No problems!
Reply With Quote
  #28  
Old 02-28-2010, 11:16 PM
Das UndergrounD's Avatar
Das UndergrounD Das UndergrounD is offline
 
Join Date: Jul 2007
Location: Chile - Brasil
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as I go I get only two digits after the point?
Reply With Quote
  #29  
Old 03-01-2010, 02:31 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. That is the current setting.
Reply With Quote
  #30  
Old 03-01-2010, 06:46 PM
Das UndergrounD's Avatar
Das UndergrounD Das UndergrounD is offline
 
Join Date: Jul 2007
Location: Chile - Brasil
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I change it, because in my forum looks like this: http://i45.tinypic.com/30xkk1t.jpg
Reply With Quote
  #31  
Old 03-02-2010, 02:43 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is very strange. I'd just like to know if anyone else has had this problem.

In the installation file, there is a line:

Code:
$calculation = round((($post['posts']/$counter['posts']) * 100), 2);
The 2 is the number of decimal places that the value should be rounded to.
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:22 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.04931 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete