vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - [AJAX] Helpful Answers - Allow users to rate individual posts (https://vborg.vbsupport.ru/showthread.php?t=233296)

Ted S 08-01-2010 05:11 PM

Quote:

Originally Posted by bfdzio (Post 2077712)
Maybe only works for new threads from here on out? Let me try and re-install it. I only get the top rated post, but not the post block.

Doesn't matter when it was voted on... where are you expecting to see the post block?

bfdzio 08-01-2010 05:29 PM

After the first post..? I only receive the one at the very top that says "See the top rated post in this thread. Click here"

Ted S 08-01-2010 06:25 PM

Quote:

Originally Posted by bfdzio (Post 2077745)
After the first post..? I only receive the one at the very top that says "See the top rated post in this thread. Click here"

There's nothing set to display after the first post... that's not a feature of this mod?

bfdzio 08-01-2010 06:51 PM

Quote:

Originally Posted by Ted S (Post 2077770)
There's nothing set to display after the first post... that's not a feature of this mod?

Ahh, I thought the "Enable Most Helpful Post Block" option was to put a post block after the first post, and have like the top 3 or so rated posts. I misread it...it says the same as the "Get Top Post per Thread" block. Would be a great feature ;)

10 Gauge 08-01-2010 11:27 PM

Quote:

Originally Posted by Ted S (Post 2077431)
Version 2.3.3 is now live for vB 4.0.4 and 4.0.5 and adds in a top rated post option.

Coming next... a scheduled task to close low rated threads.

Got other ideas? Share them for a future update.

I'd like to see CvP's post display mod as an actual built-in selectable display option. :) I can't update without having to redo it every time.

Ted S 08-02-2010 02:49 AM

Quote:

Originally Posted by bfdzio (Post 2077783)
Ahh, I thought the "Enable Most Helpful Post Block" option was to put a post block after the first post, and have like the top 3 or so rated posts. I misread it...it says the same as the "Get Top Post per Thread" block. Would be a great feature ;)

So like a list of the top 3? Anything else?

sticky 08-02-2010 03:04 AM

Quote:

Originally Posted by Ted S (Post 2077951)
So like a list of the top 3? Anything else?

Nope, just those changes and it is perfect :) It already is a great mod, this really is an integral feature on my forum just need the full integration as you stated: "Updated integration of Reputation System to accommodate weighted scale, limits."

tpearl5 08-02-2010 12:22 PM

Hrm, I'm not getting the most helpful post link at the top - I have the option enabled. Using 4.0.4

edit: nevermind - got it!

Ted - can the $toppost['postid'] = $threadinfo['postid'] be used to highlight the post?

bfdzio 08-02-2010 01:27 PM

Quote:

Originally Posted by Ted S (Post 2077770)
There's nothing set to display after the first post... that's not a feature of this mod?

Quote:

Originally Posted by Ted S (Post 2077951)
So like a list of the top 3? Anything else?

Top 3, Top 5, whichever...heck make it an admin option..maybe 3 is too little for some people. Or just have it be a certain rating to be in there.

Only other option is the post rating to be done on a net total, since I have a problem with people getting voted +40 and -10, and if I have collapse set to -10 it gets collapsed. I'd rather just set posts to collapse at a NET of -3 and call it good.


Quote:

Originally Posted by tpearl5 (Post 2078110)
Hrm, I'm not getting the most helpful post link at the top - I have the option enabled. Using 4.0.4

There are two options, enable them both..not sure which would do it.

tpearl5 08-02-2010 03:32 PM

Quote:

Originally Posted by tpearl5 (Post 2078110)
Ted - can the $toppost['postid'] = $threadinfo['postid'] be used to highlight the post?

Actually - I figured this out too. Had to register the variable with postbit...

Added
PHP Code:

vB_Template::preRegister('postbit_legacy', array('toppost' => $toppost['postid'])); 

After
PHP Code:

$template_hook['showthread_above_posts'] .= $templater->render(); 

In Helpful Answers -- Query To Get Votes & User Vote History

Then added
PHP Code:

<vb:if condition="$toppost == $post['postid']">Rated most helpful post - </vb:if> 

Before
PHP Code:

<a name="post{vb:raw post.postid}" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo_post}}#post{vb:raw post.postid}" 

in postbit_legacy


All times are GMT. The time now is 06:26 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.03189 seconds
  • Memory Usage 1,754KB
  • 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
  • (4)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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