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 03-18-2010 10:13 PM

Quote:

Originally Posted by ahmedbehiry (Post 2005894)
If I need to modify the icon size used in this addon, do I need to modify any temlates other than the "helpful_answers_roll"? as I tried modifying it but didn't see any changes happening.. or this is a cache issue?

This is coded into the XML file.

ahmedbehiry 03-19-2010 03:07 AM

SO i NEED TO CHANGE IT FROM THE PRODUCT XML FILE BEFORE INSTALLING IT?

Ted S 03-19-2010 04:00 AM

Quote:

Originally Posted by ahmedbehiry (Post 2006248)
SO i NEED TO CHANGE IT FROM THE PRODUCT XML FILE BEFORE INSTALLING IT?

If you want to edit the image sizes, sure.

DarknessDivine 03-20-2010 05:41 PM

Quote:

Originally Posted by vivamexico55 (Post 1983297)
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".

Quote:

Originally Posted by Greight (Post 1991451)
Same problem here. When I disable negative rating after I rate a post this is shown: %1$s members found this post helpful.

I am having the same issue version 4.02

Ted S 03-21-2010 01:27 AM

Quote:

Originally Posted by DarknessDivine (Post 2007158)
I am having the same issue version 4.02

You have negative turned to 'no' but which voting display option are you using?

DarknessDivine 03-21-2010 05:58 PM

Quote:

Originally Posted by Ted S (Post 2007335)
You have negative turned to 'no' but which voting display option are you using?

Rollover thumbs which was the only one I could get to actually show up with Negative No checked.

I set it to allow negatives and it works so I guess I can leave it for now.

Ted S 03-22-2010 03:10 AM

Thanks. I'll take another look as this is the same settings one of my sites uses, but without any % issue.

GONUMBER6 03-22-2010 03:33 AM

I am having the same problem with the rollover thumbs and only positive feedback setting as well. Works fine with positive & negative. Using version 4.02

Wild Bronco 03-22-2010 09:34 PM

Installed and working nicely :) Thanks

I don't know if this has been sugested but, this would be nice for the CMS as well...
10 out of 10 members found this article helpful.

Wild Bronco 03-22-2010 10:02 PM

And in the blog similar to facebooks LIKE thing

Ted S 03-23-2010 01:45 AM

Quote:

Originally Posted by Geiri (Post 2008430)
And in the blog similar to facebooks LIKE thing

This is something I'm looking at. Each feature is entirely seperate but I'll likely clone the mod for each of them.

Wild Bronco 03-24-2010 01:19 AM

Quote:

Originally Posted by Ted S (Post 2008521)
This is something I'm looking at. Each feature is entirely seperate but I'll likely clone the mod for each of them.

Nice :)

Mostjolly 03-29-2010 03:21 PM

Hey Ted,

Why do we get the same results, for example:

Did you find this post helpful? Positive | Negative

1) When I click on Positive I get "1 people found this post to be useful." THIS IS ACCEPTABLE.

2) When I click on Negative I STILL get "1 people found this post to be useful." THIS IS UNACCEPTABLE... (because it's not useful for negative response..)

Technically, we're getting the SAME PHRASE weither be Negative or Positive.. which is confusing.

Solution: I would prefer whenever someone clicks on Negative sign it should give us "1 people found this post to be lame/shameful".

How could I add an extra phrase associated for Negative ratings?

P.S. BTW, 1 people found this post..... is my costume phrase :)

Hikikomori 03-30-2010 11:44 PM

I think the profile.php?do=helpfulans page breaks the layout (left sidebars), just a tiny bit.

I was also wondering would it be possible to have a setting to only allow marking a helpful post for the threadstarter? In a specific forum I want the threadstarter to be eligible to be marked as helpful/not helpful, but not any additional posts in that thread.

Ted S 04-03-2010 10:50 PM

Quote:

Originally Posted by traffiking (Post 2012315)
Hey Ted,

Why do we get the same results, for example:

Did you find this post helpful? Positive | Negative

1) When I click on Positive I get "1 people found this post to be useful." THIS IS ACCEPTABLE.

2) When I click on Negative I STILL get "1 people found this post to be useful." THIS IS UNACCEPTABLE... (because it's not useful for negative response..)

Technically, we're getting the SAME PHRASE weither be Negative or Positive.. which is confusing.

Solution: I would prefer whenever someone clicks on Negative sign it should give us "1 people found this post to be lame/shameful".

How could I add an extra phrase associated for Negative ratings?

P.S. BTW, 1 people found this post..... is my costume phrase :)

When someone clicks negative and the negative option is enabled it should state that 1 out of 2 people found the post helpful. Be sure you are using the original phrase and template to get this functionality. If you have changed it you need to be sure your phrase works properly.

Ted S 04-03-2010 10:51 PM

Quote:

Originally Posted by Hikikomori (Post 2013158)
I was also wondering would it be possible to have a setting to only allow marking a helpful post for the threadstarter? In a specific forum I want the threadstarter to be eligible to be marked as helpful/not helpful, but not any additional posts in that thread.

You would have to modify the addon to do this.

Greight 04-04-2010 01:42 PM

First thanks again for this nice mod, then can you please add a function so that the user can cancel his vote?

Forum Lover 04-04-2010 11:00 PM

Ted S, can we have similar for blogs too please?

Ted S 04-05-2010 02:02 AM

Quote:

Originally Posted by Forum Lover (Post 2015849)
Ted S, can we have similar for blogs too please?

Yes. Soon.

Verionia 04-05-2010 05:36 AM

I am using 4.02, followed the instructions manual yet nothing shows... cant get this mod to work.

Verionia 04-05-2010 08:51 PM

Followed everything on the threads, but still doesn't work and show on ANY forum. Will disable until next update.

Ted S 04-05-2010 09:58 PM

Quote:

Originally Posted by Verionia (Post 2016432)
Followed everything on the threads, but still doesn't work and show on ANY forum. Will disable until next update.

Have you enabled it in any forum?

Verionia 04-05-2010 10:36 PM

Quote:

Originally Posted by Ted S (Post 2016473)
Have you enabled it in any forum?

Yes I have through the bulk and forum. See PM

Ted S 04-06-2010 01:16 AM

Quote:

Originally Posted by Verionia (Post 2016485)
Yes I have through the bulk and forum. See PM

Have you modified your postbit or postbit_legacy templates?

Verionia 04-06-2010 01:35 AM

Quote:

Originally Posted by Ted S (Post 2016545)
Have you modified your postbit or postbit_legacy templates?

Yes, this is my postbit_legacy code:

PHP Code:

<vb:if condition="$post['signature']">
                        <
blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
                    {
vb:raw template_hook.postbit_signature_end}
                </
vb:if>
                                        {
vb:raw template_hook.postbit_signature_end}
            </
div>
            </
vb:if>
{
vb:raw helpful_answers}
            <
div class="cleardiv"></div>
        </
div>
    </
div


Ted S 04-06-2010 04:33 AM

Quote:

Originally Posted by Verionia (Post 2016555)
Yes, this is my postbit_legacy code:

PHP Code:

<vb:if condition="$post['signature']">
                        <
blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
                    {
vb:raw template_hook.postbit_signature_end}
                </
vb:if>
                                        {
vb:raw template_hook.postbit_signature_end}
            </
div>
            </
vb:if>
{
vb:raw helpful_answers}
            <
div class="cleardiv"></div>
        </
div>
    </
div


You will need to compare against the original template to be sure all of the template_hook calls remain in place. This addon uses postbit_messagearea_start

CvP 04-06-2010 05:58 AM

Quote:

Originally Posted by Sparky McSmith (Post 2003708)
Is there a way to make a post collapse (be somewhat hidden) when it receives are certain number of negative ratings?

Can this be done with this mod?

Hi Ted S.

same question.

Need it for 4.0.2 and 3.8, both :)

pete_brady 04-07-2010 07:29 AM

option to hide low ranked posts would be great - users are really missing the old Post Ranking mod since the upgrade to vb4

Greight 04-07-2010 08:44 AM

Quote:

Originally Posted by Greight (Post 2015595)
First thanks again for this nice mod, then can you please add a function so that the user can cancel his vote?

Any luck?

Hikikomori 04-07-2010 05:11 PM

Quote:

Quote:

I was also wondering would it be possible to have a setting to only allow marking a helpful post for the threadstarter? In a specific forum I want the threadstarter to be eligible to be marked as helpful/not helpful, but not any additional posts in that thread.
You would have to modify the addon to do this.
Would this be difficult to do? Is there a simple if statement or something similar I can add to the plugin code? Thanks.

Ted S 04-08-2010 04:24 AM

Quote:

Originally Posted by Greight (Post 2017328)
Any luck?

This is not on the development roadmap for this mod at this time although you could certainly add it.

Ted S 04-08-2010 04:29 AM

Quote:

Originally Posted by Hikikomori (Post 2017532)
Would this be difficult to do? Is there a simple if statement or something similar I can add to the plugin code? Thanks.

Quote:

Originally Posted by Hikikomori (Post 2017532)
Would this be difficult to do? Is there a simple if statement or something similar I can add to the plugin code? Thanks.

Pretty simple...

You can cheat and edit the template helpful_answers_roll

Code:

<vb:if condition="$show['rate_helpfulanswer']">
To something like...

Code:

<vb:if condition="$show['rate_helpfulanswer'] AND $userinfo['userid'] == post.userid">
You should of course modify the helpfulanswers.php file to insure someone can't cheat a vote as the template just controls the display of voting.

Ted S 04-08-2010 04:33 AM

Quote:

Originally Posted by pete_brady (Post 2017297)
option to hide low ranked posts would be great - users are really missing the old Post Ranking mod since the upgrade to vb4

This is on the roadmap for this modification and something I hope to have done soon!

CvP 04-08-2010 07:04 AM

Quote:

Originally Posted by Ted S (Post 2017769)
This is on the roadmap for this modification and something I hope to have done soon!

Thank you very much :up:

Verionia 04-08-2010 01:14 PM

Quote:

Originally Posted by Ted S (Post 2016632)
You will need to compare against the original template to be sure all of the template_hook calls remain in place. This addon uses postbit_messagearea_start

Still no luck, can't get it to work :/

Greight 04-08-2010 01:34 PM

Quote:

Originally Posted by Ted S (Post 2017766)
This is not on the development roadmap for this mod at this time although you could certainly add it.

So can you tell me how :confused:

CvP 04-08-2010 02:38 PM

Quote:

Originally Posted by Ted S (Post 2017769)
This is on the roadmap for this modification and something I hope to have done soon!

Hi Ted S.

Will you add this to 3.8 version too?

Hikikomori 04-08-2010 04:52 PM

Quote:

Originally Posted by Ted S (Post 2017767)
Pretty simple...

You can cheat and edit the template helpful_answers_roll

Code:

<vb:if condition="$show['rate_helpfulanswer']">
To something like...

Code:

<vb:if condition="$show['rate_helpfulanswer'] AND $userinfo['userid'] == post.userid">
You should of course modify the helpfulanswers.php file to insure someone can't cheat a vote as the template just controls the display of voting.

Weird, I tried adding that code, but there wasn't any effect. Although I think have a bigger problem, nothing I do to change the helpful_answers_roll template takes any effect. I tried writing random text in the template, I even tried removing all text from the template, but there was no change. I've tried reinstalling and on different styles, but it was the same. Any idea what could be wrong?

Ted S 04-08-2010 05:34 PM

Quote:

Originally Posted by Verionia (Post 2017917)
Still no luck, can't get it to work :/

Can you post your current settings & postbit / postbit_legacy template?

Ted S 04-08-2010 05:35 PM

Quote:

Originally Posted by Hikikomori (Post 2017989)
Weird, I tried adding that code, but there wasn't any effect. Although I think have a bigger problem, nothing I do to change the helpful_answers_roll template takes any effect. I tried writing random text in the template, I even tried removing all text from the template, but there was no change. I've tried reinstalling and on different styles, but it was the same. Any idea what could be wrong?

There are a few templates used depending on your settings.... many people use the _roll option but you may not. Check the other helpful_answers templates.


All times are GMT. The time now is 07:44 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.02258 seconds
  • Memory Usage 1,860KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (31)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