![]() |
Quote:
Quote:
Quote:
Mate I have been using your plugin for a while now, with great results. I scoured the thread time and time again going over the posts of those who've tried to do this before me, as I'm having the same trouble. I am attempting to add a 'good' tally to the postbit. Getting it into place and stuff is fine, but I cannot for the life of me seem to find the correct variable to put here. Here's the postbit: https://vborg.vbsupport.ru/external/2014/02/6.png And here's the template source (I have this stacked under the 'thanks' hack postbit template): Code:
<vb:if condition="$post['userid']"> I didn't really want to trouble you with it, especially as it's technically an unsupported mod, but mate I am just about out of options. I quoted the bloke above who got it working with post.hagoodrank - that isn't working for me. Any help greatly appreciated! Justin |
1 Attachment(s)
Quote:
So it looks like the variables were setup right (post.hagoodrank & post.hatotalrank), but the routine for updating votes was completed bugged up... results were always 0 because results were never properly saved. I've fixed that, updating upload/helpfulanswers.php Also found another bug in switching back & forth in voting types and templates, fixed that in the xml file. And finally added a resync routine to get all the old votes from members updated, so you don't have zeros on people with vote history, also the xml file. Note: This is a lightly tried update from my working-version code with whatever else I've done since 2.4.2 so please proceed with caution. |
Quote:
Truly appreciative of your efforts and quick fix mate - thankyou. I will have a go at this tonight after work and report back my findings. Many thanks again for all your efforts :) If you ever find yourself in my neck of the woods, your first beers are on me :up: |
Now that's a damn good offer. Should I ever make it to yourside of the world, expect a PM...
Let me know how the update goes. |
Quote:
Just reporting back mate, 2.5.0 takes care of that and sorts it beautifully. Tally now reflects the helpfulanswers.php page, and is updating on refresh. Thanks again mate. |
Quote:
|
This mod is absolutely fantastic, but is there still no way to undo a vote that you've done on a post?
|
Quote:
|
hello
any upgrade ? we are in 2014 ! |
Quote:
|
Quote:
|
Quote:
|
I'm pretty sure it's not much help posting this, but I'm going to try it anyway by the smallest chance that it's possible.
There's a mod called vBActivity by DragonByte that our forum uses. This module increases activity points of the user rep'ing a post. I tried rep'ing someone's post without a mod and the points increased as expected. But when I used your mod to rep someone's post (helpful answer upvote/downvote), nothing happened. Do you possibly know any solution to this? |
There's no connection between the two mods from this end so voting up a post here won't impact the reputation system there. The solution would be to extend your reputation system to add points by votes which can be done with the included hooks.
|
Quote:
|
Quote:
|
When I use this option:
Enable User Points If enabled, users will have votes on their posts counted to display in the postbit template, their profile, etc. What is the variable for using this in the postbit, etc.? |
Quote:
Here's the variables generated, play around to see which paint the right picture you want. {vb:raw post.totalrank} - The total number of ratings {vb:raw post.goodrank} - The number of good ratings {vb:raw post.badrank} - The number of bad ratings {vb:raw post.helpfulgood} - True if the post is positive overall (more good than bad ratings) {vb:raw post.rate_helpfulanswer} - True if the user can rate the post (false if they are banned or have rated it). {vb:raw post.helpfulanswerid} - True if the user has already rated the post. |
Skimmed through but couldn't fine it.
Is there a variable that you can put in postbit that lists the number of votes received by others? Looking to create a nice list of "most useful members" |
I came to post pretty much the same as the last poster. How do I get a list of the most helpful posters? I think this is more useful than the posters that used the function the most.
|
Quote:
|
Can you give me the SQL query?
|
Quote:
hagoodrank - which is the number of good rankings hatotalrank - which is the total votes on threads You can use either / both to sort as you see fit. |
Sorry if this question has already been answered... (TL;DR and I did do a search on this thread and didn't get any relevant hits)
Can a thread be sorted by # of upvotes? That is to say, can the posts with the highest "good" rating be shown first? Are there other sort options too? |
Quote:
Thread sorting is assumed to be by date and us hardcoded into the system so while it's very much possible, it requires some manual hacking to accomplish. Look at line 881 / 919 / 1002 of showthread.php |
Thank you for your quick reply!
Alternately, a link to the highest rated answer shown in the first post would be good. I'm looking to see if there's a substitute for Stack Exchange-type question/answer threads that can be done within VB, and it seems like your Mod might be a workable solution. |
Quote:
|
Quote:
|
Quote:
|
Everything works fine. Thanks!
Is is possible to translate the phrases that appear on the users and the posts? How would that be possible? |
If the mod is coded to use phrases, you can do it in the Phrase Manager. :)
|
Quote:
|
Hey Ted,
I've just started using the vBulletin Default Mobile Style on my Forums. Is there an easy way to integrate the helpful_answers into the postbit and postbit_legacy? I just placed {vb:raw helpful_answers} in there, but it doesn't seem to work. It works perfectly for the desktop theme: http://www.onlinearsenal.com |
Is there any way to use the helpful answers ratings to sort/rank forum search results (search.php)?
|
Quote:
|
Hi
I want to use this great add-on to maintain this objective. I have one forum for my correspondents to give me the last news from their places, I want to be able as administrator or any specific group to give point (1 to 10) for every thread one of them makes in that forum. The point that I don't recognize how to do it until now (I don't make deep research in this big thread), I want the average of points every correspondent get from our votes on his thread depending on the stories that he wrote and if it was fake, rumor or real, then I can filter my huge correspondents team and give real job to those which make good job. Any Ideas? |
Quote:
|
Quote:
If so, open up the template for your rating style (topten, etc) and add some characters to the very top, refresh and see if they appear (to see if the template is getting called up at all). |
It is not in the mobile templates. Thanks for replying. I appreciate it.
|
Quote:
|
All times are GMT. The time now is 04:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|