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 06-12-2011 12:25 AM

Quote:

Originally Posted by Wonksta (Post 2206218)
I don't know if this has been asked before but I am a little concerned.

If the Reputation feature is enabled with this Mod and someone is on a Reputation Spread before repping the same person, can they get around to having to wait for the Rep Spread by just randomly pressing the thumbs up on a bunch of posts and then being able to rep the same person via the inbuilt vBulletin rep system because they spread Reps via this Mod?

Reason I ask is I am worried this will cause a lot of rep whoring if enabled...

Yup.

furnival 06-29-2011 01:08 PM

A minor point but in your first post of this thread you wrote
Quote:

Identify the top rated post.

Step 1 - Enable the top rated post feature from your Helpful Answers Settings.
Step 2 - Add the code:

Code:

Code:

<if condition="$thread[toppost] == $post[postid] AND THIS_SCRIPT == 'showthread'">This is the top rated post!</code>


But that code should finish with an </if>, so
Code:

<if condition="$thread[toppost] == $post[postid] AND THIS_SCRIPT == 'showthread'">This is the top rated post!</if>
Just I saw a newbie like me had been thrown off track by this mistake somewhere around page 7 of this thread.

Shill360 08-08-2011 02:53 PM

I have tried seaching this thread but to no avail. Is there a way to display on helpfulanswers.php the most helpful users ranked ? Or even to create a new page with this information on.

On postbit_legacy I have added how many helpful positive responses someone has had but it would be nice to display a summary page to see who is the most helpful.

Ted S 08-09-2011 01:10 AM

Quote:

Originally Posted by Shill360 (Post 2230913)
I have tried seaching this thread but to no avail. Is there a way to display on helpfulanswers.php the most helpful users ranked ? Or even to create a new page with this information on.

On postbit_legacy I have added how many helpful positive responses someone has had but it would be nice to display a summary page to see who is the most helpful.

You would have to rebuild the query to switch from threads to users but it's very simple as the counts are stored along with each "user" table record.

Shill360 08-09-2011 10:22 AM

Sorry for being a bit thick, but is there any documentation on how I can do this ?

Ted S 08-10-2011 01:14 PM

Quote:

Originally Posted by Shill360 (Post 2231284)
Sorry for being a bit thick, but is there any documentation on how I can do this ?

No. You would be hacking the hack.

Audax666 08-11-2011 10:41 PM

Hi,

my users ask me for a listing of their own votes likely like the listing from ".../profile.php?do=helpfulans".
I also found the plugin (Helpful Answers -- List Notifications) which creates that list:
Code:

                       
                        if ($_REQUEST['do'] == 'helpfulans'){
                       
                                $db->query_write("
                                        UPDATE " . TABLE_PREFIX . "user
                                        SET helpfulcnt = 0
                                        WHERE userid = ". $vbulletin->userinfo['userid'] ."
                                ");
                       
                                $helpfulposts = $db->query_read("
                                        SELECT ha.yesno,post.title,post.postid,user.username
                                        FROM " . TABLE_PREFIX . "helpfulanswer as ha
                                        LEFT JOIN " . TABLE_PREFIX . "post as post ON (ha.postid = post.postid)
                                        LEFT JOIN " . TABLE_PREFIX . "user as user ON (ha.userid = user.userid)
                                        WHERE post.userid = ". $vbulletin->userinfo['userid'] ."
                                        ORDER BY ha.dateline DESC
                                        LIMIT 50
                                ");
                                while ($helpfulpost = $db->fetch_array($helpfulposts))
                                {                                       
                                        if($helpfulpost['yesno'] == 1){ $helpfulpost['yesno'] = 'Good'; }
                                        else if($helpfulpost['yesno'] == 0 OR !$helpfulpost['yesno']){ $helpfulpost['yesno'] = 'Bad'; }
                                        eval('$resultsbits .= "' . fetch_template('helpful_answers_notbit') . '";');
                                }
                       
                                // draw cp nav bar
                                construct_usercp_nav('helpfulanswer_mosthelpful');
                       
                                $templatename = 'helpful_answers_not';
                       
                        }

but I can't change it for my needs. May anyone could help please.
I think it's not that different from the existing query, but I didn't find a clue.

Pirat3 09-14-2011 02:44 AM

Hey I have a question, I have been seraching this thread but did not come across a response but is it possible to hide the lowest post count that gets X # of too many negative votes (like youtube)?

(I saw the 4.x version had this)

Ted S 09-15-2011 04:25 AM

Quote:

Originally Posted by Pirat3 (Post 2245673)
Hey I have a question, I have been seraching this thread but did not come across a response but is it possible to hide the lowest post count that gets X # of too many negative votes (like youtube)?

(I saw the 4.x version had this)

Not as a native feature but it is something you could likely do yourself with a few template changes.

11133 09-20-2011 06:19 PM

ive installed and i dont see anywhere the buttons
even on default template, whats wrong, i put not to manyally change template

i use 3.8.2


All times are GMT. The time now is 11:01 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.02861 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
  • (3)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