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-07-2011 06:17 AM

Quote:

Originally Posted by SᴩiDᴇЯ (Post 2230363)
Firstly i will publicly apologize to ted so i am sorry ted i got up set, but i do need help.
Secondly to the lastsuperman i will ask the questions in a correct and proper manner from now of on, i apologize for my bad manners.

So what's the issue? The more specific you are, the better we can dial in on your issue.

nerbert 08-07-2011 07:47 AM

I don't know it this has been dealt with already. There's a bug in the helpful_answers template -- no third argument when you display good and bad ratings. Near the top change code to read as follows

HTML Code:

<vb:if condition="$post['totalrank']">
        {vb:rawphrase helpfulanswer_x_out_of_y,{vb:raw post.goodrank},{vb:raw post.totalrank},{vb:raw post.badrank}}
</vb:if>


{vb:raw post.badrank} is missing from the argument list.

SᴩiDᴇЯ 08-07-2011 09:48 AM

The issue is fixed and the mod is working now, i had someone look at the plugin and fix the issue: http://screensnapr.com/v/Svn2Ld.png now working on vB 4.1.4

If you want to see it Live go here: http://WFreedom.com

Thank you Ted.

Poker Face 08-07-2011 05:11 PM

Installed 4.1.5

Ted S 08-07-2011 05:43 PM

Quote:

Originally Posted by SᴩiDᴇЯ (Post 2230448)
The issue is fixed and the mod is working now, i had someone look at the plugin and fix the issue: http://screensnapr.com/v/Svn2Ld.png now working on vB 4.1.4

If you want to see it Live go here: http://WFreedom.com

Thank you Ted.

Let me guess, they read the instructions & enabled the option in the forum you were viewing? ;)

To be clear for anyone else looking at this thread, there are no known bugs with vB 4.x showing this mod with several thousand sites reporting in daily.

radiofranky 08-08-2011 08:16 PM

I just want to place it on "SHOWTHREAD" bar. See my previous attached screen shoot.

thanks


Quote:

Originally Posted by Ted S (Post 2230194)
{vb:raw post.totalrank} is a post related variable, so it won't work in SHOWTHREAD which only grabs the total thread variables.

What are you hoping to show? The total number of votes for a thread?


Ted S 08-09-2011 01:11 AM

Quote:

Originally Posted by radiofranky (Post 2231022)
I just want to place it on "SHOWTHREAD" bar. See my previous attached screen shoot.

thanks

Your last post has a screenshot... but there's no indication of what data in it should be coming from this mod. Maybe the / 11? Doesn't give much insight...

This is a post mod so no information exists for the thread view, although you can easily grab it. You would need to alter the showthread.php script or corresponding plugins to run a new query grabbing the sum of totalrank on that post_id.

something like.... select sum(helpfulanswers.totalrank) from helpfulanswers where post_id = $XXX

danicamps 08-20-2011 05:59 PM

1 Attachment(s)
Hi, I think I may be trying to do the same thing as Radiofranky
My end goal is to have the total rank display on the forum display - the full list of threads. I have attached a screen shot for clarification, but essentially, I would like to have the total number of votes showing on the forum homepage in either the Replies/Views column or in the Title/Thread Starter Column.
Thank you in advance!
Best,
d

Poker Face 08-21-2011 05:34 PM

How, can I get some padding around this mod, in post that do not have Titles?

example (with post title)

http://www.brownave.com/filecab/imag...pful_hands.jpg

and (without)

http://www.brownave.com/filecab/imag...ful_hands2.jpg

very messy this way!

Ted S 08-21-2011 07:14 PM

Quote:

Originally Posted by Poker Face (Post 2236253)
How, can I get some padding around this mod, in post that do not have Titles?

The mod floats a div to make this work. You can nest it in a parent element, remove the margin / padding as you see fit.

Just search for the helpful_answers template and go from there.


All times are GMT. The time now is 11:58 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.02245 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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