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)

TimberFloorAu 02-07-2010 11:26 PM

Yes Bouncer.

In the forums and moderators.

Click a forum.

At very bottom, there is a tick box. Allow Helpful Answers

struff 02-08-2010 03:52 PM

1 Attachment(s)
Quote:

Originally Posted by Ted S (Post 1973130)
Can you please explain more? Please also provide your settings (if you have changed any options).

I am just using the default options of this product and using the default vB4 style.

I think someone else reported the same issue early on. But anyway, it starts off ok but then as you'll see by the screenshots, each post adds another Helpful line.

Thanks.

Hateman 02-08-2010 06:07 PM

It is possible to activate this mod for each forum via sql-query?

Ted S 02-09-2010 01:26 AM

Quote:

Originally Posted by Hateman (Post 1977641)
It is possible to activate this mod for each forum via sql-query?

This mod is built to work per-forum only.

Ted S 02-09-2010 01:27 AM

Quote:

Originally Posted by struff (Post 1977546)
I am just using the default options of this product and using the default vB4 style.

I think someone else reported the same issue early on. But anyway, it starts off ok but then as you'll see by the screenshots, each post adds another Helpful line.

Thanks.

What other modifications are you using? What are you settings for this modification?

Ted S 02-09-2010 03:51 AM

1. Disable the reporting option via your admin.

2. Not sure what the arrows are intended to show. If there's no title for the post it just shows the ID.

Honk0815 02-10-2010 08:40 PM

HEllo,

when i use helpfulanswers.php i become an SQL error
Quote:

MySQL-Fehler : Column 'goodrank' in where clause is ambiguous
Fehler-Nr. : 1052

Ted S 02-11-2010 04:09 AM

Version 2.1.7 has been released.

This is a very minor bug fix release which addresses an issue where some users get an SQL error viewing helpfulanswers.php

To update just upload the file upload/helpfulanswers.php

Users not showing this error do not need to upgrade.

Honk0815 02-11-2010 04:47 AM

Thanks Ted, its working fine

SurfTalk 02-11-2010 12:51 PM

Hiya, Just installed this today, looks like the answer to my wish list! But I can't get it to work.....I've followed the install instructions, enabled the 10 point ranking on the forum. Under the post i have the clickable 1 to 10 scale, but when selecting a rating I get the following error message, "Fatal error: Call to undefined function can_administer() in ......(path) to helpfulanswers.php on line 28" Do you know what I've done wrong? Thanks for your help!

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! =)

sadiq6210 02-15-2010 11:53 PM

great, thanks

vivamexico55 02-17-2010 05:45 PM

Just confirming it seems to work ok in 4.02, nothing has broken for me yet

Ted S 02-17-2010 09:56 PM

Quote:

Originally Posted by vivamexico55 (Post 1984836)
Just confirming it seems to work ok in 4.02, nothing has broken for me yet

4.0.2 is a minor release which rarely impacts addons.

Honk0815 02-17-2010 09:57 PM

It is not compatible with vb 4.0.2?!
My button in the posts is no longer there

o sry my Mistake.. i forget manual template edit:rolleyes:

It works fine

chris1979 02-18-2010 09:43 AM

I'm finding this really confusing. It's a great idea but I am not having much luck with it so far.

The first thing is this 2.1.7 version says it's for vb4 but it also says to include "$helpful_answers" into the postbit template. $helpful_answers just shows as $helpful_answers - no substitution happens. Is that the right code? It looks 3.x style rather than 4.

Ted S 02-18-2010 10:13 PM

Quote:

Originally Posted by chris1979 (Post 1985439)
I'm finding this really confusing. It's a great idea but I am not having much luck with it so far.

The first thing is this 2.1.7 version says it's for vb4 but it also says to include "$helpful_answers" into the postbit template. $helpful_answers just shows as $helpful_answers - no substitution happens. Is that the right code? It looks 3.x style rather than 4.

I'm not sure where you saw that instruction as that;s from the vb 3.8 version of the mod. You don't need to add anything to your templates unless you want to move this around -- the addon will automatically place everything right into the post once you enable it in a forum.

Pro-eSports.com 02-19-2010 12:31 AM

Would be cool if you could replace the text bit in the post and just display it like:

3 (thump up icon) 6 (thumb down icon)

That would be what I'm looking for.

Ted S 02-19-2010 12:40 AM

Quote:

Originally Posted by Pro-eSports.com (Post 1986053)
Would be cool if you could replace the text bit in the post and just display it like:

3 (thump up icon) 6 (thumb down icon)

That would be what I'm looking for.

It's a template, you can make it look just about however you want.

Pro-eSports.com 02-19-2010 01:10 AM

I'll install it later then and try to edit this part. Do you know the exact template name? I'm new to vB so I'm still getting used to all of this stuff. :P

Ted S 02-19-2010 01:26 AM

Quote:

Originally Posted by Pro-eSports.com (Post 1986072)
I'll install it later then and try to edit this part. Do you know the exact template name? I'm new to vB so I'm still getting used to all of this stuff. :P

helpful_answers

Jabong82 02-19-2010 03:26 AM

How do you edit the template?

I am able to see the "Did you find this post helpful? Yes | No" but then when I click on either yes or no I get sent to an error page (incorrect url).

I guess it has something to do with the update? Any help would be appreciated.

Ted S 02-19-2010 03:29 AM

How is the url incorrect (look at the path to see if it's in the wrong folder or something)?

You can edit the template helpful_answers or helpful_answers_roll

Jabong82 02-19-2010 04:35 AM

Yah I put it in the wrong folder. :) Great mod marked installed and nominated!

SurfTalk 02-19-2010 10:25 AM

Sorry to raise this again, but no reply in 8 days? Can anyone advise please? I've followed the install instructions, enabled the 10 point ranking on the forum. Under the post i have the clickable 1 to 10 scale, but when selecting a rating I get the following error message, "Fatal error: Call to undefined function can_administer() in ......(path) to helpfulanswers.php on line 28" Do you know what I've done wrong? Thanks for your help!

Pro-eSports.com 02-19-2010 12:21 PM

1. To which 3rd party site will stats be reported too? I would like to overview these stats too as site owner.

2. The ratings are not showing up in the threads and I already set all the permissions and stuff. Help!

Ted S 02-19-2010 03:26 PM

Quote:

Originally Posted by SurfTalk (Post 1986337)
Sorry to raise this again, but no reply in 8 days? Can anyone advise please? I've followed the install instructions, enabled the 10 point ranking on the forum. Under the post i have the clickable 1 to 10 scale, but when selecting a rating I get the following error message, "Fatal error: Call to undefined function can_administer() in ......(path) to helpfulanswers.php on line 28" Do you know what I've done wrong? Thanks for your help!

No one else has reported this error so I'm wondering if you have some sort of conflict. Are you running this on 4.01/ 4.02 or do you have an older version?

Ted S 02-19-2010 03:28 PM

Quote:

Originally Posted by Pro-eSports.com (Post 1986405)
1. To which 3rd party site will stats be reported too? I would like to overview these stats too as site owner.

The optional reporting tool sends voting data (just sitename + vote) back to this mod for global stats. These are not published or shared in any detail but are simply used to report on the success and impact of this mod in this thread. This feature can be turned off at any time.

You have a much more robust analytics tool included with this mod in your admincp.

Quote:

Originally Posted by Pro-eSports.com (Post 1986405)
2. The ratings are not showing up in the threads and I already set all the permissions and stuff. Help!

Be sure you are using auto template placement and have enabled this in the forum you are viewing.

Pro-eSports.com 02-19-2010 03:58 PM

How to enable it for the forum I am viewing?

Ted S 02-19-2010 05:57 PM

Quote:

Originally Posted by Pro-eSports.com (Post 1986555)
How to enable it for the forum I am viewing?

Individually through the forum manager or in bulk with the helpful answers bulk editor tool.

nibb 02-19-2010 08:35 PM

There isnt installation instruction. There is just a file to upload and an upload folder.

Which of the xml im support to upload? And what about the upload folder, should be it FTP it manually?


All times are GMT. The time now is 01:21 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.02184 seconds
  • Memory Usage 1,839KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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