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)

SurfTalk 02-11-2010 06:10 PM

Oops, I'd mixed up my .php files on the upload! But now I have a different problem, and this time I think I have uploaded the correct files! Now when a post is rated I get the following: "This post has been ranked $post[avgrank] out of 10 with $post[totalrank] votes" Can anyone advise why I'm not getting the ranking data displayed?

Alien 02-11-2010 07:54 PM

I wanted to follow up with a couple of bug reports:

1) In template "helpful_answers_top", replace:

Code:

<title>{vb:phrase helpfulanswer_mosthelpful} -- {vb:phrase vboptions.bbtitle}</title>
With:

Code:

<title>{vb:phrase helpfulanswer_mosthelpful} -- {vb:raw vboptions.bbtitle}</title>

2) Find:

Code:

{vb:raw headinclude}
Add after:

Code:

{vb:raw headinclude_bottom}

3) Suggestion: I think the pagenav at the bottom of the same template above looks a bit better with spacing around it. Maybe replace with this:

Code:

<vb:if condition="$pagenav">
                        <br />
                        <div id="pagination_bottom">
                            {vb:raw pagenav}
                        </div>
                        <br /><br />
                        </vb:if>


4) I also noticed that all sorting works perfectly on helpfulanswers.php EXCEPT the Average Rating column, which is incorrect in either ascending or descending order.

Ted S 02-12-2010 04:32 AM

Quote:

Originally Posted by Alien (Post 1980232)
I wanted to follow up with a couple of bug reports:

1) In template "helpful_answers_top", replace:

Code:

<title>{vb:phrase helpfulanswer_mosthelpful} -- {vb:phrase vboptions.bbtitle}</title>
With:

Code:

<title>{vb:phrase helpfulanswer_mosthelpful} -- {vb:raw vboptions.bbtitle}</title>

2) Find:

Code:

{vb:raw headinclude}
Add after:

Code:

{vb:raw headinclude_bottom}

3) Suggestion: I think the pagenav at the bottom of the same template above looks a bit better with spacing around it. Maybe replace with this:

Code:

<vb:if condition="$pagenav">
                        <br />
            <div id="pagination_bottom">
                {vb:raw pagenav}
            </div>
                        <br /><br />
            </vb:if>


4) I also noticed that all sorting works perfectly on helpfulanswers.php EXCEPT the Average Rating column, which is incorrect in either ascending or descending order.

Thanks! All of these will be addressed in the next bug fix.

struff 02-15-2010 12:49 PM

Quote:

Originally Posted by Ted S (Post 1977972)
What other modifications are you using? What are you settings for this modification?

I am using the default settings for this mod.

Here are the others I am using:

Add Ignore User To Postbit Dropdown
Display reputation comments given
Display Unread Posts and Reputation
EveryWhere Sidebar
Extended reputation display
Guest Tracking
Members who have Visited
Miserable Users
Mobile Style Options
My Threads & My Posts
Separate Sticky and Normal Threads
SevenSkins TopPosters
SevenSkins TopReputation
SK Mark Thread as Read
vBH - Add new tabs 1.2
Who Has Read a Thread

Thanks.

vivamexico55 02-15-2010 08:54 PM

I sent 10 bucks your way, good job on this, installing now, I'll donate more in later updates =)

vivamexico55 02-15-2010 09:31 PM

Quick question, the default Thumbs Up image has a size of 11 x 20 pixels, where do I change this? I replaced the graphic with a custom larger one, but it looks squished to 11 pixels.

vivamexico55 02-15-2010 09:42 PM

Possible bug: When I give myself a thumbs up (after allowing this in the settings), I get:

%1$s members found this post helpful

edit: I'm not sure what's wrong but it seems it's not saving my choice on the Rating Display (Select how the rating options should be shown.)

I choose images and it only shows the "Yes" text... this seems to modify whether the bug of %1$s shows or not. In some options it works as intended.

edit again: On further review, the problems seem to originate when I change the "Allow negative responses" setting to "No".

Alien 02-15-2010 10:13 PM

Quote:

Originally Posted by vivamexico55 (Post 1983288)
Quick question, the default Thumbs Up image has a size of 11 x 20 pixels, where do I change this? I replaced the graphic with a custom larger one, but it looks squished to 11 pixels.

AdminCP / Plugins & Products / Helpful Answers / postbit_display_complete

The images/sizes are hard-coded in there. Hopefully that will be more customizable in a later release.

Ted S 02-15-2010 10:36 PM

Quote:

Originally Posted by vivamexico55 (Post 1983262)
I sent 10 bucks your way, good job on this, installing now, I'll donate more in later updates =)

'
Thanks!

vivamexico55 02-15-2010 10:36 PM

Quote:

Originally Posted by Alien (Post 1983318)
AdminCP / Plugins & Products / Helpful Answers / postbit_display_complete

The images/sizes are hard-coded in there. Hopefully that will be more customizable in a later release.

I'd have never thought to look in there, thanks so much! =)


All times are GMT. The time now is 03:17 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.02062 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
  • (10)bbcode_code_printable
  • (5)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