vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Show Reputation Each Post Has Got In PostBit (https://vborg.vbsupport.ru/showthread.php?t=173432)

AngelBlue 03-17-2008 10:00 PM

Show Reputation Each Post Has Got In PostBit
 
This addon has been withdrawn.

ymy 03-18-2008 09:46 PM

Thanks for the release
screenshot please !

AngelBlue 03-18-2008 09:53 PM

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 :
https://vborg.vbsupport.ru/external/2008/04/19.gif+2

Posts with negative overall reputation, of, say, 4, have this added to their title :
https://vborg.vbsupport.ru/external/2008/04/20.gif-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.

Mark.B 03-18-2008 11:02 PM

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.

AngelBlue 03-18-2008 11:16 PM

Quote:

Originally Posted by Mark.B (Post 1468274)
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.

mahsazn 03-28-2008 01:14 PM

just what i needed! :D
thank u...

Noctavia 04-05-2008 01:22 AM

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?

AngelBlue 04-05-2008 11:40 AM

re: screenshots :

Positive rep displays like this :
"https://vborg.vbsupport.ru/external/2008/04/19.gif+30 "
or this :
"https://vborg.vbsupport.ru/external/2008/04/19.gif+8 "

Negative rep displays like this :
"https://vborg.vbsupport.ru/external/2008/04/20.gif-2"
or this :
"https://vborg.vbsupport.ru/external/2008/04/20.gif-14"

These little display indicators appear next to the https://vborg.vbsupport.ru/external/2011/06/14.gif 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.

AngelBlue 04-05-2008 03:18 PM

Quote:

Originally Posted by Mark.B (Post 1468274)
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.

mahsazn 04-05-2008 06:44 PM

the only problem is that "Reputation"s given before, are not figured ...


All times are GMT. The time now is 09:47 AM.

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.01206 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete