Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Show Reputation Each Post Has Got In PostBit Details »»
Show Reputation Each Post Has Got In PostBit
Version: 5.0.0, by AngelBlue AngelBlue is offline
Developer Last Online: May 2018 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 03-17-2008 Last Update: 04-13-2008 Installs: 20
DB Changes Uses Plugins Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

This addon has been withdrawn.

Show Your Support

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

Comments
  #2  
Old 03-18-2008, 09:46 PM
ymy ymy is offline
 
Join Date: Feb 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the release
screenshot please !
Reply With Quote
  #3  
Old 03-18-2008, 09:53 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This product essentially causes a $post['rsum'] value to be defined in the postbit and postbit_legacy templates.
This value contains the total reputation that the post has got (all scores are added together).

Using template edits and conditionals based on that value, you can display the result in any way you want.
It is a very flexible system.
By default, it uses a simple green/red number and icon as can be seen in the template edit above.

So, screenshots wouldn't really represent it well, because the way it is displayed is up to the board owner who installs it. They can use the variable supplied for any purpose, or even build other hacks based on it.

By default, posts with positive rep have something like this added to the right of their icon :
+2

Posts with negative overall reputation, of, say, 4, have this added to their title :
-4

Again though, how it displays is entirely down to you.
You can display it very differently by just using a slightly different template edit.
Reply With Quote
  #4  
Old 03-18-2008, 11:02 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this, but one thing people should be aware of is that if you have a large board the install will likely time out, potentially causing issues, because it's altering the POST table, which in my case is massive.

If you have a large board you may be better off running those queries manually using shell access and editing them out of the install XML file.
Reply With Quote
  #5  
Old 03-18-2008, 11:16 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
I like this, but one thing people should be aware of is that if you have a large board the install will likely time out, potentially causing issues, because it's altering the POST table, which in my case is massive.

If you have a large board you may be better off running those queries manually using shell access and editing them out of the install XML file.
Correct.
I foresaw this issue, but have been spending the hour or so since I posted this mod on other things, and have not yet got around to adding this info to the mod description.
Thank you for reminding me - I will do that now.

Update : this info has been added to the mod description.
Reply With Quote
  #6  
Old 03-28-2008, 01:14 PM
mahsazn mahsazn is offline
 
Join Date: Feb 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just what i needed!
thank u...
Reply With Quote
  #7  
Old 04-05-2008, 01:22 AM
Noctavia Noctavia is offline
 
Join Date: May 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This sounds just like what I need for my forum. Could a screenshot be provided so I can see what it looks like on an actual post before installing? Would it work something along the lines of WoWhead: http://www.wowhead.com/?quest=7631#comments:id=23407

With the +30 rating, +8 Rating etc?
Reply With Quote
  #8  
Old 04-05-2008, 11:40 AM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

re: screenshots :

Positive rep displays like this :
"+30 "
or this :
"+8 "

Negative rep displays like this :
"-2"
or this :
"-14"

These little display indicators appear next to the post title icon by default in postbit_legacy. However... you can simply do a different template edit to make them appear in a different place, or in a different format. As stated in the mod, what this mod really does is provide $post[rsum] the vartiable in postbit and postbit_legacy. By using template conditionals with this variable, you can create pretty much any effect you want. That's why I don't include screenshots... how this mod looks on your forum is entirely up to you.

re: WoWhead: WoWhead appears to be using a very simplified version of the rep system where you just have "+" and "-" buttons. My mod uses the full reputation system as a backend. But, like WoWhead, it displays the cumulative score each post has got on the post. By using a template edit (involving using a custom rsum conditional to add a font color tag before the post pagetext) you could quite easily make posts with high reputation appear in green, just like posts with high points/karma on WoWhead appear in green. By default, though, that isn't how it works. By default my mod's template edit just adds a small indicator at the top of posts. However, you can quite easily use the supplied variable to do other graphical effects if you wish, including the effect WoWhead uses. You just have to be willing to learn how to use simple template conditionals if you want custom effects.
Reply With Quote
  #9  
Old 04-05-2008, 03:18 PM
AngelBlue AngelBlue is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
If you have a large board you may be better off running those queries manually using shell access and editing them out of the install XML file.
To further address this issue, I have changed the product file so that the initial queries it does on install are much smaller. This should enable it to install more quickly on big boards.
If big board owners want to enable the features provided by this mod for all their historical posts, clear instructions have been placed in step two of the install process which enable them to do this. This should make the install process safer for big board owners, and clearer for everyone, without making it any longer.
Reply With Quote
  #10  
Old 04-05-2008, 06:44 PM
mahsazn mahsazn is offline
 
Join Date: Feb 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the only problem is that "Reputation"s given before, are not figured ...
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 07:25 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.04446 seconds
  • Memory Usage 2,281KB
  • 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
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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