Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #12  
Old 10-12-2009, 07:19 AM
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know where I may find something like this compatible with 3.7.3?
Reply With Quote
  #13  
Old 10-12-2009, 02:34 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should work with 3.7.3 already
Reply With Quote
  #14  
Old 10-12-2009, 09:44 PM
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockinaway View Post
It should work with 3.7.3 already
Then the result I get is most odd. When I attempt to upload the product, I get this message:

Quote:
The following dependencies were not met:

1. This product is not compatible with version 3.7.3 of vBulletin. (Compatible starting with 3.8.0 / Incompatible with 3.8.99 and greater)
Reply With Quote
  #15  
Old 10-13-2009, 01:53 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #16  
Old 10-13-2009, 06:38 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tanapangarap View Post
Then the result I get is most odd. When I attempt to upload the product, I get this message:
Should work now. Download the new zip

And thanks.
Reply With Quote
  #17  
Old 10-13-2009, 07:43 PM
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockinaway View Post
Should work now. Download the new zip

And thanks.
Thank you.

I have a question about how to customize it, though:

If I add "$contribution" directly after "$vbphrase[posts]: $post[posts]" to get "$vbphrase[posts]: $post[posts] $contribution", it shows up as follows, using my account info as an example:

Quote:
Posts: 1,966 Contribution: 5%
That said, I was wondering how to get it like this:

Quote:
Posts: 1,966 (5%)
Regards,

Kevin
Reply With Quote
  #18  
Old 10-13-2009, 08:43 PM
chick's Avatar
chick chick is offline
 
Join Date: Aug 2006
Location: PI Land
Posts: 381
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

admin fuel when I went to your site to look my avg detected a triple threat but I still looked and have no idea what I'm suppose to look at or what this mod does?
Reply With Quote
  #19  
Old 10-14-2009, 02:27 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tanapangarap View Post
Thank you.

I have a question about how to customize it, though:

If I add "$contribution" directly after "$vbphrase[posts]: $post[posts]" to get "$vbphrase[posts]: $post[posts] $contribution", it shows up as follows, using my account info as an example:



That said, I was wondering how to get it like this:



Regards,

Kevin
You will have to edit the plugin. So find the 'Contribution' plugin and you just need to edit the following line:

Code:
$contribution = $vbphrase['rkw_contribution'] .' '. $calculation .'%';
Change it to:

Code:
$contribution = '('. $calculation .'%)';
Should work

Quote:
Originally Posted by chick View Post
admin fuel when I went to your site to look my avg detected a triple threat but I still looked and have no idea what I'm suppose to look at or what this mod does?
Not sure what threats you are getting - my members have not reported anything. This modification calculates the percentage of posts made by the member compared to the forum total. It is shown in the postbit template.
Reply With Quote
  #20  
Old 10-14-2009, 04:28 PM
Tanapangarap's Avatar
Tanapangarap Tanapangarap is offline
 
Join Date: Dec 2007
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockinaway View Post
You will have to edit the plugin. So find the 'Contribution' plugin and you just need to edit the following line:

Code:
$contribution = $vbphrase['rkw_contribution'] .' '. $calculation .'%';
Change it to:

Code:
$contribution = '('. $calculation .'%)';
Should work
Awesome; it works perfectly. I am very happy to finally find a version of this feature that works on 3.7. Thank you again.

One more thing: have you considered making the percentage more precise? For example, instead of 5%, you might say 5.2% or 5.02%? I remember that's how the percentage was displayed by a phpBB2 modification(back when I used that software), and for an old vBulletin modification ("ZH - % Of Forum Posts") that worked for 3.6. I think it is even more interesting like that. I have no knowledge of the coding involved, so if that would take more than a minor adjustment I don't want to bother you about it.

Regards,

Kevin
Reply With Quote
  #21  
Old 10-14-2009, 05:48 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can definitely have a look at it and update in later versions
Reply With Quote
Reply

Thread Tools

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 03:50 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.08204 seconds
  • Memory Usage 2,332KB
  • 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
  • (5)bbcode_code
  • (9)bbcode_quote
  • (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