vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features) (https://vborg.vbsupport.ru/showthread.php?t=204117)

Ted S 08-12-2009 09:29 PM

Quote:

Originally Posted by aspecialthing (Post 1865971)
I tried editing that a few different ways: taking out all references to "helpfulanswer_no" and "ha_thumbsdn.gif"/"ha_thumbsdn_gray.gif" and taking out just the "no" and "thumbsdn" references (respectively) after "else /" but it didn't work.

Does it matter that my actual vote icons are "ha_plus.png" and "ha_minus.png" maybe? Is there a different template that references those image/links? I tried to do a search for "ha_minus.png" but didn't find anything...

Thanks again for all the help.

Tracking this all down is going to require me to fix it so as soon as I have a chance I'll do just that. I appologize for the delay.

Ted S 08-12-2009 10:03 PM

Quote:

Originally Posted by aspecialthing (Post 1865185)
Sorry if this has already been covered in the thread -- I wasn't able to find an answer. When the mod is set to allow negative responses, clicking "plus" or "minus" (or thumbs up/down, or whatever) immediately counts the vote and shows how many members liked the post. But when I change "allow negative responses" to "no" in the options, entering a vote reloads the thread at the first page. This discourages voting, especially in long threads, where people might want to quickly approve of a comment without being whisked away to page 1, forcing them to click back to where they were to continue reading. I also prefer the plus/minus icon buttons to the text link for voting, but the main thing is that I want to disallow negative votes without making a cast vote reload the thread.

How do I do that? I am pretty sure this is not something I can do in the options, so can someone point me to the file I need to edit and what I need to do to simply removed the "minus" button link from the plus/minus vote? I went so far as to replace the minus icon with a black box to make the button "invisible," but users quickly figured out they could still vote negative, and seemingly were more apt to do so knowing that the admins were trying to discourage it.

Thanks in advance for any help you can offer.

I wasn't able to duplicate this issue. Which voting option are you using?

kawe 08-13-2009 03:17 AM

Teds

how to enable it ?

$helpfulposts[totalranks] - The total ratings of a member's ppsts
$helpfulposts[goodranks] - The total good ratings of a member's posts
$helpfulposts[badranks] - The total bad ratings of a member's posts

i have already add to postbit_legacy
but total good ranks dont show
and total bad ranks dont show too
have any idea ?

Ted S 08-13-2009 12:42 PM

They don't need to be enabled... As long as you have the module on.

It's possible you'll need to switch to variables $post[goodrank] $post[totalrank] and $post[badrank]

Let me knwo if those work for you.

kawe 08-13-2009 07:33 PM

Quote:

Originally Posted by Ted S (Post 1866444)
They don't need to be enabled... As long as you have the module on.

It's possible you'll need to switch to variables $post[goodrank] $post[totalrank] and $post[badrank]

Let me knwo if those work for you.


ur variables $post[goodrank] $post[totalrank] and $post[badrank] just for show a HOW MANY RANK in CURRENT POST. I want show all Rank :)
Sum from all $post[goodrank] on all post from user

do u know what i mean Teds ?

Ted S 08-13-2009 08:15 PM

There is no variable to show all the rankings a user has got as that would require a query for every post in a thread.

kawe 08-13-2009 08:22 PM

Quote:

Originally Posted by Ted S (Post 1866718)
There is no variable to show all the rankings a user has got as that would require a query for every post in a thread.

can you make this for update Ted S ?
like Post Thank You Hack :) have total thanks from all post member :)
please Ted S :) i think this is a good feature

hubie 08-16-2009 10:30 PM

Hi, is it possible to add an option to qualify only the first post of a thread? And not the following posts.
Thanks.

Ted S 08-16-2009 11:14 PM

Yes but it will require a code edit to product-helpful_answers.xml as follows:

Find:

Code:

if($this->registry->options['helpans_hidefirst'] AND $this->post['postid'] == $this->thread['firstpostid']){
      $show['helpfulanswer'] = false;
      $show['rate_helpfulanswer'] = false;
    }

Change to:

Code:

if($this->post['postid'] != $this->thread['firstpostid']){
      $show['helpfulanswer'] = false;
      $show['rate_helpfulanswer'] = false;
    }


Ted S 08-16-2009 11:16 PM

Quote:

Originally Posted by kawe (Post 1866727)
can you make this for update Ted S ?
like Post Thank You Hack :) have total thanks from all post member :)
please Ted S :) i think this is a good feature

Having a query on every post of a thread is a terrible idea that would add huge load to servers.

In 2.0 I will address this issue with some additional updates to the data structure but won't be releasing that version until I get enough new features to warrant it.


All times are GMT. The time now is 09:07 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.04273 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
  • (2)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
  • (5)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