PDA

View Full Version : Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features)


Pages : 1 2 3 4 [5] 6 7 8

Megatr0n
08-09-2009, 07:43 PM
Ted, some of the options under AdminCP are not phrased.

Particularly the Bulk options page.

Ted S
08-09-2009, 07:58 PM
Yes, everything is good now! I was just concerned for other people running 1.9.1 - when upgrading to 1.9.5 the script would try to update all their threads again. Nothing changed in that respect from 1.9.1 to 1.9.5, right?


I've updated about a dozen times so those who run an earlier beta will be just fine. Buy definetly quicker to remove it.

Ted S
08-09-2009, 08:00 PM
Ted, some of the options under AdminCP are not phrased.

Particularly the Bulk options page.

They allshould be buy I will definetly review and fix! Thanks

Megatr0n
08-09-2009, 11:37 PM
No problem.

It's the options on the left when you access the AdminCP not under vB options that are not phrased. Some are and some are not.

kawe
08-10-2009, 03:36 AM
teds how to add total receive rank in postbit_legacy ?

example :

Total Good Rank : <<< this is mean total good rating from member
Total Bad Rank : <<< this is mean total bad rating from member

can i add this code to postbit_legacy ?:

$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

onlyfree
08-10-2009, 12:18 PM
Heyho
nice plugin
but it would be nice if there is a chance to got more options than "helpful" maybe for other sections a kind of "funny" or really "idiotic" and so on :)

Ted S
08-10-2009, 01:12 PM
Heyho
nice plugin
but it would be nice if there is a chance to got more options than "helpful" maybe for other sections a kind of "funny" or really "idiotic" and so on :)

You can change the text to whatever label you want...

Ted S
08-10-2009, 01:14 PM
teds how to add total receive rank in postbit_legacy ?

example :

Total Good Rank : <<< this is mean total good rating from member
Total Bad Rank : <<< this is mean total bad rating from member

can i add this code to postbit_legacy ?:


Yes.

sockwater
08-10-2009, 01:26 PM
Ted, I would be stoked if you could add an additional option for using up/down arrows for post rating, and have them work just like the current thumbsup/thumbsdown images with rollover. I'll attach four images I created that you can freely use and distribute with your mod, if you'd like to use them. I can give you the original Fireworks PNG files as well, if you'd like them for reference or for regenerating these gif images.

Thanks for your hard work on this mod, it's looking really nice!

tpearl5
08-10-2009, 02:00 PM
Yes.
You can ?? Is that a new feature?

Ted, I would be stoked if you could add an additional option for using up/down arrows for post rating, and have them work just like the current thumbsup/thumbsdown images with rollover....

Why not just swap out the images yourself? It's not that hard.

onlyfree
08-10-2009, 02:36 PM
You can change the text to whatever label you want...

yeah but i got some problem-forums and some humor forums and so on
but i can only have one static text, and i need three or four...

BWJ
08-10-2009, 04:25 PM
I agree, having two options is nice - but having more - gives the system more flexibility and possibilities... Obviously should such a system be configurable in the admin section. Nontheless great work Ted!

onlyfree
08-10-2009, 09:07 PM
Second question:
i tried to highlight the best rated post with color. but when i did it like you say, my private messages are highlighted, too because they're made with the template postbit_legacy, too.
But why is the if condition in private messages RIGHT and not WRONG and not shown?

?dit: okay i fixed this problem:

<if condition="$thread[toppost] == $post[postid] AND THIS_SCRIPT == 'showthread'">background-color:#708090;</if>


But there is another question, i did it like you said, i added this code after style=" at every alt1 and alt2, but its only colored like you can see in my attachments

sockwater
08-10-2009, 10:34 PM
Why not just swap out the images yourself? It's not that hard.I have. I just thought I'd share, since Ted already has a couple of image options, and he might like to add another one.

Brandon Sheley
08-10-2009, 11:26 PM
hmm, when I go to download the 1.9 I get this message
Site currently unavailable

The Jelsoft site you are requesting is currently unavailable.
Please check back shortly.

but the 1.8 downloads just fine.

cooltechie
08-11-2009, 05:14 AM
Not sure if this is included but is there a way to "dim" posts that are not helpful (after x votes)?

Phalynx
08-11-2009, 09:23 AM
Was hoping to completely convert over to HA, but for now, we are feeding 'thanks' into vbexperience system to generate stats via their CDP addon which allows to score members based on their activites. Since HA is not listed as a CDP addon (https://vborg.vbsupport.ru/showthread.php?t=199556), will need both systems until CDP addon is available.

Helpful Answers is now included as CDP as a part of the final vBExperience 3.8.4 package:
https://vborg.vbsupport.ru/showthread.php?t=199556

onlyfree
08-11-2009, 02:32 PM
can someone give me the code i have to add in my template postbit for showing the "most helpful post block" because it doesn't show up after i checked the box with "yes" :(

Brandon Sheley
08-11-2009, 03:49 PM
does anyone know why we can't dl the 1.9 version?

aspecialthing
08-11-2009, 03:57 PM
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.

Ted S
08-11-2009, 03:57 PM
Ted, I would be stoked if you could add an additional option for using up/down arrows for post rating, and have them work just like the current thumbsup/thumbsdown images with rollover. I'll attach four images I created that you can freely use and distribute with your mod, if you'd like to use them. I can give you the original Fireworks PNG files as well, if you'd like them for reference or for regenerating these gif images.

Thanks for your hard work on this mod, it's looking really nice!

If you just save the images with the same name as the thumbs you won't need any code changes to accomplish this.

Ted S
08-11-2009, 04:04 PM
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.

Interesting. The template code looks to be the same... is it possible you have modified the template helpful_answers_roll?

Ted S
08-11-2009, 04:04 PM
does anyone know why we can't dl the 1.9 version?

What error do you get?

Ted S
08-11-2009, 04:05 PM
Helpful Answers is now included as CDP as a part of the final vBExperience 3.8.4 package:
https://vborg.vbsupport.ru/showthread.php?t=199556

Fantastic! I will be sure to update the link in the main post of this addon.

Ted S
08-11-2009, 04:06 PM
Not sure if this is included but is there a way to "dim" posts that are not helpful (after x votes)?

You can use template conditionals to do this or to remove or comment on the post.

Brandon Sheley
08-11-2009, 04:16 PM
What error do you get?

Hi Ted,
Thanks for the reply
I posted the message I get here
https://vborg.vbsupport.ru/showpost.php?p=1864848&postcount=1016

Ted S
08-11-2009, 04:19 PM
Reposted it. Try again.

aspecialthing
08-11-2009, 04:20 PM
Interesting. The template code looks to be the same... is it possible you have modified the template helpful_answers_roll?

Thanks for the quick reply! No, we haven't done any editing. Maybe one of our other mods is causing a conflict or something?

So you're saying this doesn't happen on other forums using this mod? Strange...

Ted S
08-11-2009, 07:26 PM
Few people use that option so I'm not sure they would have reported it. I will take a look at the code and assume it's a bug.

Brandon Sheley
08-11-2009, 07:42 PM
Reposted it. Try again.

thank you, it works now :up:

aspecialthing
08-11-2009, 07:49 PM
Few people use that option so I'm not sure they would have reported it. I will take a look at the code and assume it's a bug.

Thanks. If you know of a way to simply remove the minus button/link, I'd be happy to just edit the code to do that.

Phalynx
08-11-2009, 07:51 PM
Fantastic! I will be sure to update the link in the main post of this addon.
Great, thanks.

KarateStory
08-11-2009, 09:45 PM
This mod is now installed. It does just what you said it would do.

A way to convert post ratings to post rankings would be an awesome upgrade. (Hijacking and replacing the vB function "if new reply, bump thread to the top of the forum.")

Possible ranking schemes:
Rank based on total votes.
Plus vote bumps thread (acts just like "post new reply" does now: just bumps the thread to the top of the page)
Plus vote moves thread up X (configurable) places up the page & minus vote moves thread down X places.

I hope you add that someday. In the meantime, I'm looking for a coder who can hack that in for me.

Ted S
08-11-2009, 10:07 PM
This mod is now installed. It does just what you said it would do.

A way to convert post ratings to post rankings would be an awesome upgrade. (Hijacking and replacing the vB function "if new reply, bump thread to the top of the forum.")

Possible ranking schemes:
Rank based on total votes.
Plus vote bumps thread (acts just like "post new reply" does now: just bumps the thread to the top of the page)
Plus vote moves thread up X (configurable) places up the page & minus vote moves thread down X places.

I hope you add that someday. In the meantime, I'm looking for a coder who can hack that in for me.

Not entirely following but a week on planes does that to me...

Shoot me a PM with more detail and I can let you know if it makes sense for this mod.

Ted S
08-11-2009, 10:09 PM
Thanks. If you know of a way to simply remove the minus button/link, I'd be happy to just edit the code to do that.

The link is in the template helpful_answers_roll. Look for the tab with the else statement.

Megatr0n
08-11-2009, 10:11 PM
Ted, does this new update fix the phrase issues?

Ted S
08-12-2009, 02:20 PM
If you're referring to the phrase issue with admin options, no. I need to dig into that later.

There have been no updates since the stable release but some users had download issues so I had to repost the file which unfortunately makes vbulletin.org show it as updated.

aspecialthing
08-12-2009, 04:39 PM
The link is in the template helpful_answers_roll. Look for the tab with the else statement.

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.

schmidt123a
08-12-2009, 06:24 PM
Where is usergroup permission ? only admin can see this mod :(

Ted S
08-12-2009, 09:28 PM
Where is usergroup permission ? only admin can see this mod :(

There is none. It's a voting system for all users.

Ted S
08-12-2009, 09:29 PM
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
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
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
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:


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


Change to:


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

Ted S
08-16-2009, 11:16 PM
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.

kawe
08-17-2009, 12:15 AM
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.

i have forum using Post Thank You Hack
and is okay not make my forum slowly :D


Teds U the best

hubie
08-17-2009, 01:35 AM
Yes but it will require a code edit to product-helpful_answers.xml as follows:

Find:


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


Change to:


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

I will try that. Thanks for the fast reply and support :up:

sockwater
08-18-2009, 11:37 PM
Having a query on every post of a thread is a terrible idea that would add huge load to servers.
Should be able to do it with one query per page view. Once you have all the postids for the posts that will be displayed on the page, then pull all votes for all posts at once and sort them out in php. (If you're interested in implementing it :))

Something along these lines. (Code untested, likely has typos)
// an array of postids for all posts shown on this page of thread
$postids;

$votes = $db->query_read("
SELECT pv_vote.*, user.username
FROM " . TABLE_PREFIX . "pv_vote AS pv_vote
LEFT JOIN " . TABLE_PREFIX . "user AS user ON (user.userid = pv_vote.userid)
WHERE pv_vote.postid IN (" . implode(',', $postids) . ")
");
$postvotes = array();
while ($vote = $db->fetch_array($votes))
{
if (!isset($postvotes["$vote[postid]"]))
{
$postvotes["$vote[postid]"] = array(
'totalscore' => 0,
'votecount' => 0,
'votes' => array(),
);
}
$postvotes["$vote[postid]"]['totalscore'] += $vote['vote'];
++$postvotes["$vote[postid]"]['votecount'];
$postvotes["$vote[postid]"]['votes'][] = array(
'username' => $vote['username'],
'userid' => $vote['userid'],
'vote' => $vote['vote'],
);
}

Ted S
08-19-2009, 12:35 AM
Thanks sockwater however I don't need the IDs of the posts in the thread but rather of each post from each user who has posted. There is a pretty simple query for this but it involves restructing the vote data which is why I am holding off on it until a bigger update.

But I am very amped about adding this... think it will be a great data point for people's postbit block.

kawe
08-19-2009, 04:44 AM
Thanks sockwater however I don't need the IDs of the posts in the thread but rather of each post from each user who has posted. There is a pretty simple query for this but it involves restructing the vote data which is why I am holding off on it until a bigger update.

But I am very amped about adding this... think it will be a great data point for people's postbit block.

yeah this is a good feature
coz, people can see how many have GOOD REP and BAD REP on all their post
thanks teds for next update ... i cant wait hehehehe

Ted S
08-19-2009, 03:26 PM
yeah this is a good feature
coz, people can see how many have GOOD REP and BAD REP on all their post
thanks teds for next update ... i cant wait hehehehe

It's on the to do list.

SnakeV
08-19-2009, 04:42 PM
yeah this is a good feature
coz, people can see how many have GOOD REP and BAD REP on all their post
thanks teds for next update ... i cant wait hehehehe

The idea of kawe is really very good, would be great if is possible to put it in the postbit below post count the total of points that the user have.

This option will be great especially with the scaled 1-10 point ranking, for example if a user send 10 points and other 5 points the points can be counted and display it in the postbit with:
Points: 15.

Thank you Ted your plugins are great :o

Question:
It is possible to put the possibility for the users to rating the thread (first post).

(I use this hack for an especial use, not for an answer forum).

Ted S
08-19-2009, 08:05 PM
The idea of kawe is really very good, would be great if is possible to put it in the postbit below post count the total of points that the user have.

This option will be great especially with the scaled 1-10 point ranking, for example if a user send 10 points and other 5 points the points can be counted and display it in the postbit with:
Points: 15.

Thank you Ted your plugins are great


This feature will just be a variable that you can stick anywhere in the postbit you like.


It is possible to put the possibility for the users to rating the thread (first post).

(I use this hack for an especial use, not for an answer forum).

That's a different mod as the ratings are entirely different BUT I was alpha testing it last night.

Megatr0n
08-19-2009, 08:11 PM
Ted, I have installed this plugin but I can't find where you rate them inside a thread?

Ted S
08-19-2009, 08:15 PM
Ted, I have installed this plugin but I can't find where you rate them inside a thread?

You don't... This is all post rating.

Thread ratings will be soon and a different mod.

Megatr0n
08-19-2009, 08:18 PM
No, I meant where do you rate posts?

Ted S
08-20-2009, 01:31 AM
No, I meant where do you rate posts?

At the bottom of the post.

Be sure you have enabled the option first of course.

Megatr0n
08-20-2009, 01:48 AM
Hi Ted,

It is enabled but I don't see it anywhere around the post area.

The option is enabled.

Want to take a look?

Ted S
08-20-2009, 02:13 AM
Is it enabled in the forum the post you are looking at is in?

Megatr0n
08-20-2009, 11:12 AM
I don't see any options where you have to enable it for a specific forum?

There's 2 options under vB options. Helpful Answers and Helpful Reputations.

Ted S
08-20-2009, 03:23 PM
I don't see any options where you have to enable it for a specific forum?

There's 2 options under vB options. Helpful Answers and Helpful Reputations.

Please follow the install guide or just go to the Helpful Answers tab in your AdminCP. vbulletin settings just controls overall options.

kawe
08-21-2009, 03:17 AM
It's on the to do list.

great
u rock man :)
how to donate to u ?

Ted S
08-21-2009, 03:21 AM
great
u rock man :)
how to donate to u ?

There's a donate button at the top of the first post. And thanks! :D

sockwater
08-22-2009, 04:56 AM
Thanks sockwater however I don't need the IDs of the posts in the thread but rather of each post from each user who has posted. There is a pretty simple query for this but it involves restructing the vote data which is why I am holding off on it until a bigger update.

But I am very amped about adding this... think it will be a great data point for people's postbit block.
I'm not quite following you. Post #1054 shows how, with one query, you can pull all the information (what the vote was, the voter's username & userid) on each vote for each post being displayed in the thread, and puts it in an array that's indexed by postid. You can use that array to display all a given post's votes, showing what the vote was and linking the voter's username to their profile below the postbit when that post author is viewing the thread. I was only showing you how it can be done with one query per thread instead of one query for each post in the thread. No restructuring of the vote data needed. Hopefully I've explained this well.

SnakeV
08-22-2009, 11:41 PM
"It is possible to put the possibility for the users to rating the thread (first post).

(I use this hack for an especial use, not for an answer forum)"

That's a different mod as the ratings are entirely different BUT I was alpha testing it last night.

Thank you for your answer.

That hack will be definitely the best, if you need some help testing it on a big board i can help you. :)

Thank you for your great addons!

Ted S
08-23-2009, 02:52 AM
I'm not quite following you. Post #1054 shows how, with one query, you can pull all the information (what the vote was, the voter's username & userid) on each vote for each post being displayed in the thread, and puts it in an array that's indexed by postid. You can use that array to display all a given post's votes, showing what the vote was and linking the voter's username to their profile below the postbit when that post author is viewing the thread. I was only showing you how it can be done with one query per thread instead of one query for each post in the thread. No restructuring of the vote data needed. Hopefully I've explained this well.

sockwater,

Your example is very useful however the feature people have been asking for is a summary of a user's entire voting results (i.e. votes to all of their posts). So to do this I would still need to fetch all of their posts... hence the extra query. There are a few other requests where I think the code you provided would come in handy but the big one I've been working to address is the overall voting results.

I've already mapped out ways to do this without an extra query but with a few changes to the tables (creating an overall history for each user) and that's my next step.

Chief Corn
08-25-2009, 04:27 AM
I read that it was fixed a few pages ago, but I'm having duplicate post issue. I don't remember this happening when I first installed this a few days ago. I remember the last changes I made were editing the template for digg style, and turning negative voting off. I went back turning negative vote on and removing the digg style but it's still double posting. Not sure what happened or if it was happening from the beginning.

Ted S
08-25-2009, 03:13 PM
I read that it was fixed a few pages ago, but I'm having duplicate post issue. I don't remember this happening when I first installed this a few days ago. I remember the last changes I made were editing the template for digg style, and turning negative voting off. I went back turning negative vote on and removing the digg style but it's still double posting. Not sure what happened or if it was happening from the beginning.

Have you imported any older data? What version are you running?

Chief Corn
08-25-2009, 09:57 PM
Have you imported any older data? What version are you running?

This is a new install of 1.9.5 on vBulletin 3.8.4. I have the manual template variable enabled. I cleared the votes and the double post is above the original voted post. The one that says 4294967294 members like this.

http://www.southbaybodywork.com/massage-bodywork/6-what-does-answered-question-look-like.html

Ted S
08-25-2009, 10:28 PM
I'm not see any example in the url you posted?

Chief Corn
08-25-2009, 10:45 PM
I'm not see any example in the url you posted?

http://www.southbaybodywork.com/massage-bodywork/6-what-does-answered-question-look-like.html#post11

Ted S
08-26-2009, 02:23 AM
I see the text "4294967294 members like this"

It looks like you have modified things a bit. Can you explain?

Chief Corn
08-26-2009, 07:07 AM
I remember first enabling manual template, and putting this in my postbit


<div id="helpfulanswers_box_$post[postid]" class="smallfont">
$helpful_answers</div>
I changed the guest vote URL to link directly to register.php.

Did the Digg style change, enabling hide vote on first post, disallowing negative responses, enabling self voting.

I enabled get top post for thread, and added this to my showthread to link to the highest rated thread.


<a href="$vboptions[bburl]/showthread.php?t=$threadid#post$thread[toppost]">
And changing the phrase $vbphrase[helpfulanswer_x_found] to {1} members like this.

I'm pretty sure there weren't any changes to the plugins. All reputation settings are disabled. I'm not sure where it's getting the number 4294967294.

Edit: I Googled the number and found this interesting:

2^32-1 = 4,294,967,295

This is the value of an unsigned 32 bit integer: 0 to +4,294,967,295

In other words, there is a type bug someone in vBadvanced that is causing this in numerous places in vBa and vBulleting. We have the same problem when we delete a link by a user who has posted only one link. The post count of that user always goes to 4,294,967,295. Running cleanup scripts does not help.

Ted S
08-26-2009, 02:57 PM
Got it. Thanks for all the history.

It appears you have a few duplicate tables out there. I will write a little script to fix these and hopefully get rid of the issue.

Ted S
08-28-2009, 03:48 AM
I remember first enabling manual template, and putting this in my postbit


<div id="helpfulanswers_box_$post[postid]" class="smallfont">
$helpful_answers</div>
I changed the guest vote URL to link directly to register.php.

Did the Digg style change, enabling hide vote on first post, disallowing negative responses, enabling self voting.

I enabled get top post for thread, and added this to my showthread to link to the highest rated thread.


<a href="$vboptions[bburl]/showthread.php?t=$threadid#post$thread[toppost]">
And changing the phrase $vbphrase[helpfulanswer_x_found] to {1} members like this.

I'm pretty sure there weren't any changes to the plugins. All reputation settings are disabled. I'm not sure where it's getting the number 4294967294.

Edit: I Googled the number and found this interesting:

2^32-1 = 4,294,967,295

This is the value of an unsigned 32 bit integer: 0 to +4,294,967,295

In other words, there is a type bug someone in vBadvanced that is causing this in numerous places in vBa and vBulleting. We have the same problem when we delete a link by a user who has posted only one link. The post count of that user always goes to 4,294,967,295. Running cleanup scripts does not help.


Go ahead and run ha_revote.php from the first post of this thread. That will remove all of the duplicates.

If they return let me know.

Chief Corn
08-28-2009, 06:21 AM
great thanks! that worked for me. voted, deleted votes in admin, voted again, and no double posting.

Ted S
08-28-2009, 05:17 PM
Perfect!

Megatr0n
08-28-2009, 05:45 PM
Hi Ted,

Any idea when the new version will be released containing the phrase fixes?

Ted S
08-28-2009, 06:02 PM
Hi Ted,

Any idea when the new version will be released containing the phrase fixes?

Sorry, it's been a long long week. What phrase bug did I leave outstanding? AdminCP content or something else?

Megatr0n
08-28-2009, 10:23 PM
AdminCP. :)

Ted S
08-28-2009, 11:23 PM
This weekend.

Chief Corn
08-29-2009, 03:29 AM
Perfect!

The double posting bug is still in there for me unfortunately. I uninstalled and reinstalled the mod to make sure, but I can still reproduce it. After running ha_revote.php it's fine to vote, but if I clear the rating history, and vote again it double posts.

There aren't any other reports of this happening from other users so I'm wondering if it's just my end. I was thinking of just setting up ha_revote.php as a cron job, but I don't see myself clearing the rating history at all once my forum gets going.

Anybody with a test forum want to test this out?

Saviour
08-29-2009, 01:47 PM
Not sure if this has been covered...

I'm showing a duplicate topic on the second page of helpfulanswers.php. Take a look here: http://glitchpc.com/forums/helpfulanswers.php?do=topanswers&order=desc

Now go to the second page. It shows a topic that has already been listed on the first page.

Is there a fix for this?

Running vB 3.8.4...

Ted S
08-29-2009, 05:44 PM
The double posting bug is still in there for me unfortunately. I uninstalled and reinstalled the mod to make sure, but I can still reproduce it. After running ha_revote.php it's fine to vote, but if I clear the rating history, and vote again it double posts.

There aren't any other reports of this happening from other users so I'm wondering if it's just my end. I was thinking of just setting up ha_revote.php as a cron job, but I don't see myself clearing the rating history at all once my forum gets going.

Anybody with a test forum want to test this out?

No other users have reported double posting aside from during an import process. This leads me to believe there is either a change to the modification or another modification impacting this one.

For your next step please try the attached helpfulanswers.php file which will tell you if a new record is being created or if there is an update. If there are already votes on a post you should ONLY get an update.

If you are seeing created instead of updates you will need to check that the field totalrank is getting populated in the table helpfulpost.

You can do this with the simple query: SELECT totalrank FROM helpfulpost WHERE postid = X

X is the id of the post.

Ted S
08-29-2009, 05:46 PM
Not sure if this has been covered...

I'm showing a duplicate topic on the second page of helpfulanswers.php. Take a look here: http://glitchpc.com/forums/helpfulanswers.php?do=topanswers&order=desc

Now go to the second page. It shows a topic that has already been listed on the first page.

Is there a fix for this?

Running vB 3.8.4...

The top answers page will show each post as a different item. Are you sure this is a duplication of posts or could it just be two posts in the same thread?

Saviour
08-29-2009, 07:06 PM
Apparently, the links on the helpfulanswers.php pages for that particular topic...link to the same post.

Page 1 link: http://glitchpc.com/forums/showthread.php?p=2919#post2919

Page 2 link: http://glitchpc.com/forums/showthread.php?p=2919#post2919

Megatr0n
08-31-2009, 05:34 PM
This weekend.

Weekend has past. :P

Saviour
08-31-2009, 06:43 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1876515&postcount=1092" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1092</a>

Anyone?

Ted S
08-31-2009, 07:35 PM
Weekend has past. :P

And I have completed this in 2.0.0 beta which I was not able to post last night. I will get it up this evening after doing a few more tests.

Ted S
08-31-2009, 07:44 PM
https://vborg.vbsupport.ru/showpost.php?p=1876515&postcount=1092

Anyone?

It's on the list for tonight...

Ted S
09-01-2009, 01:26 AM
Hello Helpful Answers users. Today I am please to announce 2.0.0b which is a big number that includes a big feature long asked for (although the actual changes are rather small).

2.0 introduces user level stats on good votes, totalvotes and bad votes which you can put right into the postbit template using $post[hagoodrank] $post[hatotalrank] and $post[habadrank]

These stats combine a user's entire post history (votes on their posts) into simple numbers for your use.

Updating to 2.0 may take a few minutes as old votes are converted into the user profile. To reduce queries the user table is extended to offer both a good and total rank field.

2.0 requires uploading all .php files as well as updating the XML plugin and to use the new variables you will need to edit your postbit template as you see fit.

digicom
09-01-2009, 01:51 AM
Thanks For Update Ted Aprrciated :up:

Ted S
09-01-2009, 02:04 AM
The top answers page will show each post as a different item. Are you sure this is a duplication of posts or could it just be two posts in the same thread?

Please use this file which will print out the query on both pages and then revert to the stable version.

Let me know the queries and I should be able to figure out why this is happening on your site.

Chief Corn
09-01-2009, 03:58 AM
For your next step please try the attached helpfulanswers.php file which will tell you if a new record is being created or if there is an update. If there are already votes on a post you should ONLY get an update.

It's showing as updated. I also upgraded to the latest 2.0 and it still double posts. Don't worry about it though, it works as long as I don't clear votes, it's most likely a conflict with another mod.

Saviour
09-01-2009, 10:04 AM
Please use this file which will print out the query on both pages and then revert to the stable version.

Let me know the queries and I should be able to figure out why this is happening on your site.


Uploaded that file...overwriting the current file. Using 1.9.5 of your mod and got the following error on the first page:

SELECT post.postid,post.title as posttile,helpfulpost.goodrank,helpfulpost.totalran k,helpfulpost.lastvote,
thread.threadid,thread.title as title,thread.postusername as postusername,forum.title as ftitle ,goodrank as avgrank

FROM vb_helpfulpost as helpfulpost
INNER JOIN vb_post AS post ON(helpfulpost.postid = post.postid)
INNER JOIN vb_thread AS thread ON(post.threadid = thread.threadid)
INNER JOIN vb_forum AS forum ON(thread.forumid = forum.forumid)
WHERE goodrank > 0


ORDER BY avgrank desc
LIMIT 0, 10

This was printed on the second page:

SELECT post.postid,post.title as posttile,helpfulpost.goodrank,helpfulpost.totalran k,helpfulpost.lastvote,
thread.threadid,thread.title as title,thread.postusername as postusername,forum.title as ftitle ,goodrank as avgrank

FROM vb_helpfulpost as helpfulpost
INNER JOIN vb_post AS post ON(helpfulpost.postid = post.postid)
INNER JOIN vb_thread AS thread ON(post.threadid = thread.threadid)
INNER JOIN vb_forum AS forum ON(thread.forumid = forum.forumid)
WHERE goodrank > 0


ORDER BY avgrank desc
LIMIT 10, 10

Reverting to my previous file...

Should I update to 2.0? Has it been fixed?

Saviour
09-01-2009, 10:15 AM
Updated mod to your latest release...and am still having the same issue.

Ted S
09-01-2009, 09:37 PM
2.0 did not address that issue as I didn't have the debug information.

Now that I have it I see the issue and will release a fix this week.

Saviour
09-01-2009, 09:43 PM
Thanks, TedS...

Fingers crossed...

Ted S
09-01-2009, 09:43 PM
No worries... It's a small bug. I just need to get the code in front of me and it will be all taken care of. Having the debug info was a big step...

Megatr0n
09-01-2009, 10:02 PM
Ted, does this new release fix the phrase issues?

Ted S
09-01-2009, 10:04 PM
Ted, does this new release fix the phrase issues?

Just about all of the admin text is now phrased.

Ted S
09-02-2009, 03:15 AM
Updated mod to your latest release...and am still having the same issue.

Ok, I lied... the debug info you gave me was useful but didn't track this down. My suspicion is that you may have a duplicate record in your helpfulpost table.

Can you run the following query:

SELECT postid FROM helpfulpost LIMIT 100;

And let me know the results?

Sorry to keep asking you to do this but I can't duplicate the issue so testing it requires figuring out what's up with your site versus my test ones.

Saviour
09-02-2009, 05:11 PM
The query returned the following 11 post ids:

2333, 2374, 2453, 2454, 2485, 2503, 2511, 2718, 2726, 2764, and 2919

Seems like this one is missing: http://glitchpc.com/forums/showthread.php?p=2374#post2374

Though the article does show it received a vote. I also use the Post Thanks mod, if that makes any difference at all.

Ted S
09-02-2009, 06:36 PM
So to be clear, the duplicate post did not show up more than once but one post id did show up in the query and is not in the list?

Does the post that is duplicated every change or is it always the same one?

Saviour
09-02-2009, 07:49 PM
So to be clear, the duplicate post did not show up more than once but one post id did show up in the query and is not in the list?

Does the post that is duplicated every change or is it always the same one?

Answer to your first question: Correct

Answer to your second question: It is always the same post.

cooltechie
09-02-2009, 10:16 PM
I noticed the mod has been updated but I do not see anything listed in change log file. What was added to the latest zip?

Ted S
09-03-2009, 07:11 PM
I noticed the mod has been updated but I do not see anything listed in change log file. What was added to the latest zip?

2.0.0b contains phrases in the admin and user stats (i.e. the overall helpful ratings on their posts).

tpearl5
09-04-2009, 04:28 PM
Hey ted - thanks for the update! I got helpful posts displayed in the postbit without a problem. Looks great!

Is there a way to link to the user's helpful posts from postbit?

Kwikms
09-05-2009, 02:52 PM
Great mod. Maybe this question was asked bevore. If so I am sorry, but I didnt go throuth all 75 pages.

I want to use it with a little modification. I just want it to work in the FIRST post. How can this be done, what do I need to modify?

I got a forum about movie mistakes and I want to use this mod so that ppl can rate "yes" if they agree that it is a mistake or "no" if they dont agree.

kawe
09-05-2009, 07:43 PM
wow teds
thanks for the update :)

Kwikms
09-05-2009, 08:51 PM
Great mod. Maybe this question was asked bevore. If so I am sorry, but I didnt go throuth all 75 pages.

I want to use it with a little modification. I just want it to work in the FIRST post. How can this be done, what do I need to modify?

I got a forum about movie mistakes and I want to use this mod so that ppl can rate "yes" if they agree that it is a mistake or "no" if they dont agree.

I found an easy way. I enabled "Hide On First Post" and changed plug-in "check if user can rate thread" line

// may end up disabling this all for the first post
if($this->registry->options['helpans_hidefirst'] AND $this->post['postid'] == $this->thread['firstpostid']){

to

// may end up disabling this all for the first post
if($this->registry->options['helpans_hidefirst'] AND $this->post['postid'] != $this->thread['firstpostid']){

Thats it :)

Kwikms
09-05-2009, 08:52 PM
Is there an easy way so that users can CHANGE their vote? Would be awesome :)

Ted S
09-09-2009, 01:46 AM
Not at this time

wolfstream
09-12-2009, 01:05 PM
2.0b seems to constantly show the "did you find this post helpful" phrase and allow the user to rate the post, despite having already rated it. It won't let them rate it, but it shows the dialogue to do so.

Trana
09-13-2009, 05:42 AM
I have this installed but it seems that only my admins can see it. Any ideas what I am doing wrong?

Ted S
09-13-2009, 02:08 PM
I have this installed but it seems that only my admins can see it. Any ideas what I am doing wrong?

Try the manual placement option and edit your template.

Trana
09-13-2009, 02:36 PM
OK, I had it within an <if> statement, I moved it an now it can display.

The problem I am having is that the template is displayed on a different line that where I put it. I want it right on the same line with the iplogged, replynumber, and the inline mod box. For some reason it ends up on the next line and I can't figure out what is causing the line break.

I am using postbit_legacy fyi.

Ted S
09-13-2009, 07:39 PM
The code is in a DIV tag. You can either style the css not to wrap or use a table around the elements to aling it up.

wolfstream
09-13-2009, 07:49 PM
So, what, no response to mine at all?

Ted S
09-13-2009, 08:03 PM
So, what, no response to mine at all?

Need to debug this more and haven't had time yet, sorry.

grafbyte
09-14-2009, 12:51 PM
Hello

im install ths and uploud the folder.. eneblet addon!

.. But you can not see :(

my version ist 3.8.4

how can I prove it?

Ted S
09-14-2009, 02:36 PM
Hello

im install ths and uploud the folder.. eneblet addon!

.. But you can not see :(

my version ist 3.8.4

how can I prove it?

Have you enabled this in any forums?

grafbyte
09-14-2009, 07:49 PM
hey :) link (http://gamezentrum.de)

setting images (http://gamezentrum.de/eee1.png)

Simon Lloyd
09-14-2009, 08:06 PM
hey :) link (http://gamezentrum.de)

setting images (http://gamezentrum.de/eee1.png)Apart from those settings you also need to physically edit each forum and turn the option on for those that you want to use it, the option is found at the bottom of each forums settings page :)

grafbyte
09-16-2009, 12:08 PM
I'm sending the pic of options which were to choose. I selected all forums to update, all the functions seem to be on but the forums don't work anyway. Where's the problem ? :) :erm:

Ted S
09-16-2009, 02:26 PM
Please view the forum options for one of your forums to be sure the setting stuck.

Spinball
09-18-2009, 09:41 AM
So if I get you right the sum total of "good" posts would be used to determine hotness.... Or would you use the first post's rank only. First post is easier and would just require a JOIN on the existing FORUMDISPLAY page while the sum total would need some edits to the hack.
Well on hotukdeals, they have heavily modified forumdisplay to show the core details of the deals from the first post.
People vote Hot or Not against the deal - which alter the rating of the thread.
So the answer is that the 'heat' of the thread is influenced by the thread rating.

DaMani
09-18-2009, 10:26 AM
I have install it but it dont show, why?
http://www.project-mp.com/showthread.php?p=36#post36

Ted S
09-18-2009, 04:58 PM
I have install it but it dont show, why?
http://www.project-mp.com/showthread.php?p=36#post36

Have you enabled it in this forum?

Ted S
09-18-2009, 04:59 PM
Well on hotukdeals, they have heavily modified forumdisplay to show the core details of the deals from the first post.
People vote Hot or Not against the deal - which alter the rating of the thread.
So the answer is that the 'heat' of the thread is influenced by the thread rating.

So to be clear, are you just looking to get the ratings from the first post or perhaps you want to use my Helpful Threads tool and get the rating for the thread without concern for the post?

Saviour
09-18-2009, 06:22 PM
Ted S,

When last we left off: https://vborg.vbsupport.ru/showpost.php?p=1878599&postcount=1111

Still waiting on a reply...

What I did was disable the helpfulanswers.php page. This is just temporary/permanent unless you can/can't find a solution for the original issue.

Ted S
09-18-2009, 08:14 PM
My appologies, I have been on the road for a few weeks now and not had a chance to cross this off.

Do you still only have 11 rated posts showing up? Can you try rating another post we can see what happens as you expand the list.

Saviour
09-18-2009, 09:24 PM
After rating another article, the problem seems to have corrected itself. I'm still not sure when and why it happened in the first place, though.

Something the both of us might want to keep an eye out for...don't ya think?

Ted S
09-19-2009, 12:29 AM
Yes absolutely. Will be running tests this weekend!

Trana
09-20-2009, 02:55 AM
The code is in a DIV tag. You can either style the css not to wrap or use a table around the elements to aling it up.

How do I style the css not to wrap?

Ted S
09-20-2009, 05:21 AM
<a href="http://www.barelyfitz.com/screencast/html-training/css/positioning/" target="_blank">http://www.barelyfitz.com/screencast...s/positioning/</a>

Trana
09-20-2009, 06:46 AM
Yeah, I'm just trying to find out why if I put the template call into my postbit legacy directly before the postcount, it bumps the postcount and the inline mod stuff down onto another line, causing my header row to be very tall.

There must be a line break in there or something. Any ideas?

Ted S
09-20-2009, 10:36 PM
There's a DIV which is a wrapping object unless specified otherwise via css.

Trana
09-21-2009, 12:20 AM
But if I remove that won't I break the javascript?

Ted S
09-21-2009, 02:18 AM
But if I remove that won't I break the javascript?

I never said you should remove it. I said you should style it with css or by placing it in a table cell. Removing it would cause the AJAX features to stop working.

Bigj85
09-22-2009, 12:47 AM
is there any variable I can use in helpful_answers_top template to replace the post ID with the post name so it says
Post post title in thread: thread title instead of
Post 12675 in thread: thread title

Trana
09-22-2009, 07:43 AM
I never said you should remove it. I said you should style it with css or by placing it in a table cell. Removing it would cause the AJAX features to stop working.

OK, I understand what you are saying. I tried putting it inside an aligned TD:

<td class="thead" style="font-weight:normal" align="$stylevar[right]">
with the <div id="helpfulanswers_box_$post[postid]" align="right">

and it still sits on top of the other items in that TD.

I changed the div to center and it moves it right out into the middle of the column but it is still a level above the rest of the content in the post header.

Am I missing something?

Ted S
09-23-2009, 03:53 PM
is there any variable I can use in helpful_answers_top template to replace the post ID with the post name so it says
Post post title in thread: thread title instead of
Post 12675 in thread: thread title

There's a phrase that controls all of this which you can find in your phrase manager.

Ted S
09-23-2009, 03:53 PM
OK, I understand what you are saying. I tried putting it inside an aligned TD:

<td class="thead" style="font-weight:normal" align="$stylevar[right]">
with the <div id="helpfulanswers_box_$post[postid]" align="right">

and it still sits on top of the other items in that TD.

I changed the div to center and it moves it right out into the middle of the column but it is still a level above the rest of the content in the post header.

Am I missing something?

Did you put that TD into a new table row? Is it in a table at all? What else is in the table?

TheInsaneManiac
09-25-2009, 11:34 AM
I can't debate on which one to install. This one or the post ranking system:
https://vborg.vbsupport.ru/showthread.php?t=203801

What's the difference?


I do have some feature requests though:
Topic Rating, disable it for all posts, but enable for topics
Bad rating, remove post
Quicklinks, Most rated post/topic, highest rated post/topic

Ted S
09-25-2009, 02:56 PM
TheInsaneManiac - I certainly don't try and make comparisons about if another modification is better or worse than mine. The Post Ranking System is a great application with some similar features and some different ones. Both mods attempt to rank posts but how the voting is done, what options exist and how things are displayed back is simply different. The biggest gap being that the Post Ranking System shows the magnitude of votes (lowest ranked, highest ranked) and mine shows the exact vote count -- it's two different approaches and you should use whichever best fits your needs.

As for your feature ideas:

1. Topic Rating - See my Helpful Threads modification which is for rating topics and not posts.

2. Bad Rating - I'm open on this. How do you see it working? What constitutes bad (1 negative or 100)?

3 - Quick Links - Already exists in the Most Helpful Answers Page.

EagleNick
09-27-2009, 10:56 AM
I have a suggestion: When viewing rating history in the AdminCP, it would be nice to have a column of the name of the user who made the post that was rated. (See screenshot; in this view I am viewing all of "OneUpDave's" ratings, but I would like to see the post author for each entry).
This would make it easier to identify abuse of the system. How? We could see if a user is marking the posts of his friend as helpful (regardless of if they are helpful or not) while marking any other post as unhelpful.

Ted S
09-27-2009, 04:32 PM
I have a suggestion: When viewing rating history in the AdminCP, it would be nice to have a column of the name of the user who made the post that was rated. (See screenshot; in this view I am viewing all of "OneUpDave's" ratings, but I would like to see the post author for each entry).
This would make it easier to identify abuse of the system. How? We could see if a user is marking the posts of his friend as helpful (regardless of if they are helpful or not) while marking any other post as unhelpful.

Very simple change. I've made the update but don't want to release a whole new version for just this so in the mean time, here's the file for those who want it.

Upload the new plugin file and upload/admincp/helpfulanswers.php

EagleNick
09-27-2009, 06:42 PM
Very simple change. I've made the update but don't want to release a whole new version for just this so in the mean time, here's the file for those who want it.

Upload the new plugin file and upload/admincp/helpfulanswers.php
Ted, you are perhaps the most dependable coder/developer here. Simply extravagant.

One small quirk: It lists the thread author (whoever created the first post of the thread), but what I would rather have is the author of the post that was rated.

Example: John creates a thread. Mark replies with an explanation. Dave marks Mark's post as helpful.
In the AdminCP, it shows John as the thread author for Dave's rating; it should list Mark as the author of the post that was rated.

Did that make any sense? :lol:

Ted S
09-27-2009, 08:20 PM
That's what I get for not reading through your entire post...

Attached a new admincp/helpfulanswers.php file (one word change to make it happen).

And thanks for the kind words! Definitely nice to hear good comments about my coding seeing as how I am not a coder IRL.

Trana
10-12-2009, 02:14 AM
Did you put that TD into a new table row? Is it in a table at all? What else is in the table?

Here is the beginning of my postbit_legacy:

<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>


</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]">

$helpful_answers

&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a>
</if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
$post[iplogged]
</if>

$template_hook[postbit_messagearea_start]
</td>
</if>
</tr>

Ted S
10-12-2009, 02:57 AM
Create a new table just for the helpful answers content.

Trana
10-12-2009, 03:07 AM
Create a new table just for the helpful answers content.

Within the existing TD?

Ted S
10-12-2009, 03:12 AM
Sure. It's not about the existing table (there are tons on the page). It's about using a new one to align the elements as you want them to be.

One cell to have the display bit, another for whatever else you want on that line.

Trana
10-12-2009, 12:29 PM
OK, that makes everything show up on the same line, thanks.

Trana
10-12-2009, 01:54 PM
I have everything styled properly now except the buttons. For some reason, every image and bit of text on that line is aligned to the bottom of the cell except those thumb buttons. I can't seem to figure out where the styling for those is located and how I can get them to line up properly.

kalisekj
10-12-2009, 11:11 PM
I am sorry if this has been asked in the previous 78 pages but none of us has the time to go through 78 pages. LOL How Can I make this show up on Main thread also?

Ted S
10-13-2009, 02:00 AM
I am sorry if this has been asked in the previous 78 pages but none of us has the time to go through 78 pages. LOL How Can I make this show up on Main thread also?

I'm not sure what you mean?

kalisekj
10-13-2009, 12:29 PM
Hi Ted,

I run a Movie Web Site, So the Main thread is usually the movie thread, then people are either reviewing the thread or adding alt links as reply posts.

How can I get the thumbs up and down on the main thread, The Movie Page? They are showing on only the Reply Posts right now.

Ted S
10-13-2009, 03:42 PM
There's an admin option to disable the feature in the first post, uncheck this.

kalisekj
10-13-2009, 06:02 PM
hi ted i did make that change enabling it in first post but it does not show on the thread :(

Ted S
10-13-2009, 06:32 PM
What other modifications do you have that impact posts?

Saviour
10-14-2009, 01:45 PM
Yes absolutely. Will be running tests this weekend!

The problem with duplicate Helpful Answers on the helpfulanswers.php page has resurfaced.

How did your tests go? Would sure like to nip this in the bud.

Ted S
10-14-2009, 03:57 PM
I was never able to track it down. Are you just getting one duplicate or more? Which placement (i.e. #11 or #13)?

Saviour
10-14-2009, 04:15 PM
I was never able to track it down. Are you just getting one duplicate or more? Which placement (i.e. #11 or #13)?


Well...it's not like it happens frequently...only if someone adds a new article and then someone else (such as myself) votes on it. As soon as it's voted on, then a duplicate will show up on the 2nd page of helpfulanswers.php. As far as the position...depends. Most of the time, the duplicate shows up at the end of the 2nd page.

This has got me scratching my head. I wonder if it has something to do with the Post Thank You hack?

Ted S
10-14-2009, 07:56 PM
It shouldn't. I will have to dig more.

reddyink
10-17-2009, 01:58 PM
I am trying to use this awesome mod for Helpful Threads (your helpful threads doesn't have functions any where near this mod)

1) How to Hide this Mod on Posts but not on First Post
2) How to display the same on Forumdisplay (similar to helpful threads)

thanks

Ted S
10-17-2009, 06:34 PM
1 - Easy enough, just find:

<if condition="!$GLOBALS['FIRSTPOSTID'] AND $helpfulanswer[postid] != $GLOBALS['qrfirstpostid']">

to

<if condition="$helpfulanswer[postid] == $GLOBALS['qrfirstpostid']">

2 - You would need to write a whole new hook to pull in this data to forumdisplay.

reddyink
10-17-2009, 07:19 PM
1) Which template has this code?

2) I only want this enabled in certain forums and not others where I want this for posts too.

Thank you for your time.

In addition, where do I set
The ability to customize the AJAX message shown after a post is rated.
The ability to edit all text and messages through phrases.

thanks
1 - Easy enough, just find:

<if condition="!$GLOBALS['FIRSTPOSTID'] AND $helpfulanswer[postid] != $GLOBALS['qrfirstpostid']">

to

<if condition="$helpfulanswer[postid] == $GLOBALS['qrfirstpostid']">

2 - You would need to write a whole new hook to pull in this data to forumdisplay.

Ted S
10-17-2009, 10:29 PM
1) Which template has this code?

Actually gave you the wrong code; you will need to open the source XML file and remove:

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


2) I only want this enabled in certain forums and not others where I want this for posts too.

Then replace the code with:

if($this->post['postid'] != $this->thread['firstpostid'] AND ($this->forum['helpfulanswerbits'] == 1 OR $this->forum['helpfulanswerbits'] == 2) ){
$show['helpfulanswer'] = false;
$show['rate_helpfulanswer'] = false;
}

Where X and Y are forum IDs to show ratings for only in the first thread.


The ability to customize the AJAX message shown after a post is rated.
The ability to edit all text and messages through phrases.


You can edit any phrases through the phrase manager. You will find links to some in the admin options, others can be searched for.

linuxututs
10-18-2009, 06:00 AM
I just took a leap of faith and installed this on new vB 3.8.4 board and so far no problems.

But, one thing, I don't see the " helpfulanswers.php " link anywhere, but no biggie, I can create one myself.

Thanks,

Ted S
10-18-2009, 01:45 PM
I just took a leap of faith and installed this on new vB 3.8.4 board and so far no problems.

But, one thing, I don't see the " helpfulanswers.php " link anywhere, but no biggie, I can create one myself.

Thanks,

:confused: It's a 3.8.x addon, where's the leap of faith?

As for the link, it's not auto added. I figure every forum will have their own place for it, if they use it at all.

hiker
10-22-2009, 01:14 AM
Hi, I've gone back the last several pages and can't find a solution...

I've set my options on the "Rating Display" to be the "Images - Thumbs Up/ Down" option, but I still cannot see it on my threads. I'm only seeing the "Rate Thread" dropdown menu above the thread with the 5 star rating option.

Can somebody point me to the answer? Thanks. :D

Ted S
10-22-2009, 02:18 AM
Have you enabled the option in the forum you are viewing threads in?

hiker
10-22-2009, 03:22 AM
Have you enabled the option in the forum you are viewing threads in?

Ah, I found it finally. I think the instructions may not have had the exact verbage I was looking for. I went into the Forum Manager and set this for each forum.

Thanks for the response. :)

Ted S
10-22-2009, 03:30 AM
Great! For the future there's also a bulk forum tool in your admin panel.

reddyink
10-27-2009, 07:46 PM
I installed the add-on from VBExperience for Helpful answers. Nothing happened anywhere. Where do I need to enable it. It doesn't automatically take VOTE on Threads and add VOTE on posts!

Ted S
10-28-2009, 02:43 AM
This mod must be enabled per forum using the bulk forum manager. There is also a template change that must be made per the install file.

As for removing other voting options, that's entirely up to you.

rlpartida
11-03-2009, 08:06 PM
Thank you Ted for this wonderfull addon... Do you have any idea if this works with GARS?

Thanks again!

Ted S
11-03-2009, 11:41 PM
Thank you Ted for this wonderfull addon... Do you have any idea if this works with GARS?

Thanks again!

I do not but I would encourage you to give it a test try!

dai-kun
11-04-2009, 01:16 AM
Is it possible for only letting members rate one post per thread? Thanks!

Pvtiste
11-04-2009, 02:03 AM
Excellent mod! Congrats and thanks for sharing!!!! :D

Ted S
11-04-2009, 03:29 AM
Is it possible for only letting members rate one post per thread? Thanks!

Not currently but a few little tweaks would let you do this.

Ted S
11-05-2009, 01:42 AM
Is it possible for only letting members rate one post per thread? Thanks!

Try this beta version of 2.0.5.

dai-kun
11-05-2009, 07:44 AM
Hey thanks for the addon. I tried using "Enable Single Post Voting" as "yes" but members can still vote for multiple post in single thread. :(

You're missing a curly bracket and onevote should be helpans_onevote I believe

In helpfulanswers.php

// check if they can vote more than once per thread
if($vbulletin->options['onevote']){

$helpfulvote = $db->query_first_slave("
SELECT COUNT(helpfulanswerid) as count FROM " . TABLE_PREFIX . "helpfulanswer
WHERE userid = $safeuserid AND threadid = $postinfo[threadid]
");
$count = $helpfulvote['count'];

// check if they can vote more than once per thread
if($vbulletin->options['helpans_onevote']){

$helpfulvote = $db->query_first_slave("
SELECT COUNT(helpfulanswerid) as count FROM " . TABLE_PREFIX . "helpfulanswer
WHERE userid = $safeuserid AND threadid = $postinfo[threadid]
");
} $count = $helpfulvote['count'];

There is no threadid field under helpfulanswer table so we need to run a query to add that field in.

Then we need to have the query update the threadid when a user votes

In helpfulanswers.php

// add the vote to the db log
$db->query_write("
INSERT INTO " . TABLE_PREFIX . "helpfulanswer
SET postid = $postinfo[postid], userid = $safeuserid, yesno = '$saferank', dateline = ". TIMENOW ."
");

// add the vote to the db log
$db->query_write("
INSERT INTO " . TABLE_PREFIX . "helpfulanswer
SET postid = $postinfo[postid], threadid = $postinfo[threadid], userid = $safeuserid, yesno = '$saferank', dateline = ". TIMENOW ."
");

Now I got it to work :D

Ted S
11-05-2009, 03:35 PM
Yikes. I uploaded the wrong version!

Great catch on that code....

Is everything working ok now?

DEGE
11-05-2009, 04:51 PM
Is there any way to change the report template to show the "rankedby" user? I don't want the rank to be anonymous

dai-kun
11-05-2009, 05:06 PM
Yikes. I uploaded the wrong version!

Great catch on that code....

Is everything working ok now?

Yeah it's working.

Ted S
11-05-2009, 10:21 PM
Is there any way to change the report template to show the "rankedby" user? I don't want the rank to be anonymous

Would you actually want to list out all of the users who ranked a post (there could be hundreds)?

kawe
11-06-2009, 03:25 AM
can you integrate with vBCredits ?
i mean, user must klik GOOD and automatic decresae xxx credits before can view the thread content

kawe
11-06-2009, 03:27 AM
user must using BBCODE like content here
then, if you want see content, u must click GOOD / THUMBUP and their CREDITS DECREASE

Ted S
11-06-2009, 04:18 AM
user must using BBCODE like content here
then, if you want see content, u must click GOOD / THUMBUP and their CREDITS DECREASE

That would be a very different mod than post rating. I suggest you make a request to the modifications forum.

peril
11-06-2009, 04:18 AM
How to enable voting only for first post of a thread?

Also I am getting an error - Parse error: syntax error, unexpected $end in /home/<user>/public_html/helpfulanswers.php on line 498
What could be wrong?

Ted S
11-06-2009, 04:22 AM
There is no threadid field under helpfulanswer table so we need to run a query to add that field in.

I assume you also added that field to the database table manually?

dai-kun
11-06-2009, 04:47 PM
I assume you also added that field to the database table manually?

Yea, cus it needed to track the threadid.

DEGE
11-06-2009, 06:23 PM
Would you actually want to list out all of the users who ranked a post (there could be hundreds)?


Hi Ted, Thanks for your response.

I know! :D Nevertheless it would be great to have an extra field "Rankedby" in the same report on the toolbar that's included in the box.

If I had to make a wish... I would wish to have a link on every postbit to let me know who ranked that post. I can manage to make it visible only for the poster and Admins.

Regards

DEGE

ForumUser210
11-07-2009, 05:55 AM
Uhm. I think helpfulanswers.php is listing topics from hidden forums to guests, who are not supposed to even see those hidden forums exist.

dai-kun
11-07-2009, 06:25 AM
helpful_answers_top and forumdisplay_sortarrow template in helpfulanswers.php needs to be cached.

Ted S
11-07-2009, 07:23 PM
helpful_answers_top and forumdisplay_sortarrow template in helpfulanswers.php needs to be cached.

Thanks!

DarkSoroush
11-08-2009, 08:48 AM
Very nice! but it eat my server load. Going from 2 to 21! Not really good!
Any suggestion?!

Ted S
11-08-2009, 09:02 PM
Very nice! but it eat my server load. Going from 2 to 21! Not really good!
Any suggestion?!

Are you sure this mod is causing load? Many large forums run this without problem.

Which features are you enabling?

DarkSoroush
11-09-2009, 03:05 AM
Are you sure this mod is causing load? Many large forums run this without problem.

Which features are you enabling?

Uninstalled and everything back to normal!

I have:
Disable for first post
Only one forum for testing
Profile Report!
etc!

What do want to know exactly?!

tnx

Ted S
11-09-2009, 04:09 AM
I need the full list of options of what you have customized in this mod and what others you run. As I mentioned, many sites with multiple millions of posts run this without issue so your issue is a conflict or setting which I can't diagnose with "etc" information :D

DEGE
11-09-2009, 05:07 AM
Hi Ted, Thanks for your response.

I know! :D Nevertheless it would be great to have an extra field "Rankedby" in the same report on the toolbar that's included in the box.

If I had to make a wish... I would wish to have a link on every postbit to let me know who ranked that post. I can manage to make it visible only for the poster and Admins.

Regards

DEGE

Any news??

Ted S
11-09-2009, 05:37 AM
Any news??

Nope. This is a feature I will have to evaulate for the next functional update. There's a lot to think about in how to make it work without taking up space or impacting server load. Hopefully other people who want it will lend their ideas as well - so far you're the only one.

Ted S
11-09-2009, 05:41 AM
helpful_answers_top and forumdisplay_sortarrow template in helpfulanswers.php needs to be cached.

These should already be cached. Are you showing them as not being?

Ted S
11-09-2009, 05:49 AM
Wow! I just looked at the log for the sites using the tracking feature (anonymous of course) and there's been over 300,000 votes to date. In the last month numbers have almost doubled... 75%+ of votes are still positive and as more sites add helpful answers expect the numbers to only grow as people start looking for this as a standard feature.

To celebrate I'm looking to release 2.5 before the new vbulletin 4.0 comes out so send in your feature suggestions today!

realdx
11-09-2009, 09:37 AM
I was looking to install this, but since 2.5 is on the way, I'll wait for it. thanks!

DarkSoroush
11-09-2009, 01:41 PM
I need the full list of options of what you have customized in this mod and what others you run. As I mentioned, many sites with multiple millions of posts run this without issue so your issue is a conflict or setting which I can't diagnose with "etc" information :D
:D
Installed again and it work good! So you are correct!
Enabling "Hide On First Post" and load raised from 1.3 to 3! Not too important yet! But how about extending it to whole forums?! This may make any problem?!

Any way, I think last problem come from another plug-in or a random behavior! dunno! :D

tnx

Ted S
11-09-2009, 05:20 PM
I was looking to install this, but since 2.5 is on the way, I'll wait for it. thanks!

2.5 is on the way but not for a while...

realdx
11-10-2009, 12:04 PM
2.5 is on the way but not for a while...

well, if this is the case... installed and thanking!! ^_^

EDIT: how do I change the size of the thump_up icon? I wanna place a square button(32x32pxs) but it always get stretched
to the original size (11x20pxs)...

Ted S
11-10-2009, 03:58 PM
You will need to edit the xml file to change the hardcoded image attributes.

realdx
11-11-2009, 10:54 AM
Done, I think, I searched "ha_thumbsup.gif" in the xml code, and changed the values everytime I could when related just to that file from 11x20 to 32x32, reimported the product.
Now in "helpful_answers_roll" I have the link with the new size, but it still display 11x20..
But I use no roll-over function, only the normal thumbup.. guess I changed it only in the case of the roll-over function is activated.. where do I find the one for no roll-over?'
thank you!!

dai-kun
11-11-2009, 04:30 PM
I get the uncached templates if I view it directly from helpfulanswers.php. It is cached if I use action helpfulanswers.php?do=topanswers. Where exactly is the link that leads to helpfulanswers.php?do=topanswers? I can't seem to find it.

Ted S
11-12-2009, 01:43 AM
I get the uncached templates if I view it directly from helpfulanswers.php. It is cached if I use action helpfulanswers.php?do=topanswers. Where exactly is the link that leads to helpfulanswers.php?do=topanswers? I can't seem to find it.

The link is wherever you place it. It is not installed by default as everyone puts it in a different place.

reddyink
11-14-2009, 10:57 AM
I have forums where users post a question as a thread and other users answer as replies(purpose of this MOD!!).

I would like sort/filter/rank the useful answers for that PARTICULAR question by number of votes.

How to I do that?

Ted S
11-14-2009, 11:38 PM
I have forums where users post a question as a thread and other users answer as replies(purpose of this MOD!!).

I would like sort/filter/rank the useful answers for that PARTICULAR question by number of votes.

How to I do that?

You will need to hard edit your showthread.php file to change the SQL order for select forums.

Anthon
11-20-2009, 07:21 AM
i installed it on my forum but it doesnt show anything.
i must change my templtae manually?i do every thing that told on readme.txt

***********************
OK,solved.
i changed admincp folder so some files missed.

kmohamed
11-23-2009, 09:19 PM
is there any chance this hack would work for vb4 !!

i really need this mod
thanx

Ted S
11-23-2009, 11:36 PM
is there any chance this hack would work for vb4 !!

i really need this mod
thanx

It's possible but unlikely.

An updated version for vB4 will be released shortly after it turns to final.

Battle_Ring
11-24-2009, 01:48 AM
IS it possible to show like this in the postbit Like the Thank you hack does? https://vborg.vbsupport.ru/attachment.php?attachmentid=77305&d=1205637411

Tells you how many times youve been giving a good or bad rating? You can put $post[goodrank] in the postibit template but it only shows you the rank such as 5 it dont say Total Good Ratings 5 or something like that so now one would know what the 5 was for

Ted S
11-24-2009, 04:13 AM
IS it possible to show like this in the postbit Like the Thank you hack does? https://vborg.vbsupport.ru/attachment.php?attachmentid=77305&d=1205637411

Tells you how many times youve been giving a good or bad rating? You can put $post[goodrank] in the postibit template but it only shows you the rank such as 5 it dont say Total Good Ratings 5 or something like that so now one would know what the 5 was for

There are variables for your good ranks and bad ones which can be enabled in the admin and put into any part of postbit.

Battle_Ring
11-24-2009, 11:23 AM
Like i saud

You can put $post[goodrank] in the postibit template but it only shows you the rank such as say 5 it dont say Total Good Ratings 5 or something like that so now one would know what the 5 was for

Battle_Ring
11-24-2009, 11:32 AM
Also in y adin when looking at ratign detail for a User i get

Thread Title.$username.
Thread Title Rating Posts Delete
The Future of BiggestLoserFans.com Helpful view [x]

Why does it say Thread Title.$username.

kmohamed
11-24-2009, 07:15 PM
wow is amazing how this mod works for my forum really impress
i think this mod should be supporter and u desrev support
-----
the only thing i think u should do to make this mod better is to take a quick look at youtube and how thier system work
some ideas from there
1. if someone gave a posts -20 the post should atoumatically be delted
2. if they give a post -2 and someone else gave the post +3 the result should be +1 ^
i think u get my point +

betts02
11-24-2009, 09:09 PM
ok i have installed everything as per instructions but the images are not working or showing up, there is nothing there
i have the thanks hack also will this collide with this mod or can they run side by side ?
any help ?

cheers in advance

Fixed, did not realise you had to edit the option in EVERY forums.lol

Ted S
11-24-2009, 10:44 PM
Like i saud

You can put $post[goodrank] in the postibit template but it only shows you the rank such as say 5 it dont say Total Good Ratings 5 or something like that so now one would know what the 5 was for

Variables are defined in the first post of this thread.

Ted S
11-24-2009, 10:44 PM
ok i have installed everything as per instructions but the images are not working or showing up, there is nothing there
i have the thanks hack also will this collide with this mod or can they run side by side ?
any help ?

cheers in advance

Fixed, did not realise you had to edit the option in EVERY forums.lol

There is also a bulk feature to enable in multiple forums or all forums.

Ted S
11-25-2009, 01:19 AM
1. if someone gave a posts -20 the post should atoumatically be delted

This is something I'm looking at for the next major update.

2. if they give a post -2 and someone else gave the post +3 the result should be +1 ^

You can already do this with template modifications!

pransis
11-25-2009, 02:32 AM
I've enabled "Enable Most Helpful Post Block" and the minimum ranking is 5. I already have a post that has 5 positive votes but the post block is not displaying. :confused:

Ted S
11-25-2009, 03:59 AM
I've enabled "Enable Most Helpful Post Block" and the minimum ranking is 5. I already have a post that has 5 positive votes but the post block is not displaying. :confused:

How are you getting votes if it is not displaying??

kmohamed
11-25-2009, 04:04 AM
This is something I'm looking at for the next major update.



You can already do this with template modifications!

thanx for ur responds i really like ur work because is easy and simple and i luv how it inetgrate with repetition wow amazing feature
installed and waiting for the vb4 version
ur great

pransis
11-25-2009, 10:51 AM
How are you getting votes if it is not displaying??Can you please post a screenshot of what the block looks like and where it should appear? Thanks!

Ted S
11-27-2009, 03:33 AM
Can you please post a screenshot of what the block looks like and where it should appear? Thanks!

Have you looked at the main post? Lots of examples!

caliman
11-27-2009, 08:49 PM
This looks great. Beofre I install, I need to know if you will be making a vb 4.0 version?

chris1979
11-29-2009, 07:34 AM
Could this be installed multiple times? For my forum I'd like several questions - e.g. Is this post well written? Yes/No Is this post correct? Yes/No Is this post valuable? Yes/No.

I wonder if that's possible?

dzstars
11-30-2009, 01:14 PM
Possible way to make it like the shape


Here are just a swing vote

https://vborg.vbsupport.ru/external/2009/11/1.jpg


Here after the vote



https://vborg.vbsupport.ru/external/2009/12/161.jpg


Example Arab

http://www.w-enter.com/forum/f7/t43885/

kmohamed
11-30-2009, 03:27 PM
Possible way to make it like the shape


Here are just a swing vote

https://vborg.vbsupport.ru/attachment.php?attachmentid=106959&stc=1&d=1259593967


Here after the vote



https://vborg.vbsupport.ru/external/2009/12/161.jpg


Example Arab

http://www.w-enter.com/forum/f7/t43885/
-------------

set your setting to images - thumbs up/ down
------------------
(Thumb Up)...5 (Thumb Down)...2
Step 1 - Open the template helpful_answers
Step 2 -
Replace the code

<if condition="$post['totalrank']">
<phrase 1="$post[goodrank]" 2="$post[totalrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>
</if>
With the new code:

<if condition="$post['totalrank']">
<img src="images/buttons/ha_thumbsup.gif" width="11" height="20" border="0" alt="Good" /> $post[goodrank]
<img src="images/buttons/ha_thumbsdn.gif" width="11" height="20" border="0" alt="Bad" /> $post[badrank]
</if>

Ted S
12-01-2009, 01:14 AM
This looks great. Beofre I install, I need to know if you will be making a vb 4.0 version?

When vb4 is stable, yes.

Ted S
12-01-2009, 01:14 AM
Could this be installed multiple times? For my forum I'd like several questions - e.g. Is this post well written? Yes/No Is this post correct? Yes/No Is this post valuable? Yes/No.

I wonder if that's possible?

You would have to modify the mod to use different tables or add more fields.

caliman
12-01-2009, 03:16 AM
Thanks Ted. That is what I wanted to hear. I will install soon. Thank you for this mod...

kmohamed
12-01-2009, 03:32 AM
When vb4 is stable, yes.

thats great news some new ideas
* all posts should be in order by positive rating

this way the most helpful answer should be first so user would have any trouble finding great answers

wht u think?

dzstars
12-01-2009, 09:37 AM
-------------

set your setting to images - thumbs up/ down
------------------
(Thumb Up)...5 (Thumb Down)...2
Step 1 - Open the template helpful_answers
Step 2 -
Replace the code

<if condition="$post['totalrank']">
<phrase 1="$post[goodrank]" 2="$post[totalrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase>
</if>
With the new code:

<if condition="$post['totalrank']">
<img src="images/buttons/ha_thumbsup.gif" width="11" height="20" border="0" alt="Good" /> $post[goodrank]
<img src="images/buttons/ha_thumbsdn.gif" width="11" height="20" border="0" alt="Bad" /> $post[badrank]
</if>




I have a question

How to Leave a voter turnout rate appears before the vote that the person
Example

Lada you voted before and want to keep voting for you

You have to evaluate such participation before.




Here after the vote



Here before the vote

https://vborg.vbsupport.ru/external/2009/12/161.jpg


After the vote


https://vborg.vbsupport.ru/external/2009/12/161.jpg


You have to evaluate such participation before.

pcam
12-02-2009, 03:35 AM
I do not see any graphical or text helpful answer mods in my posts/threads.

I'm assuming it's because I have a modded postbit and postbit_legacy.

What's the code to place within these two?

Ted S
12-02-2009, 03:53 PM
I do not see any graphical or text helpful answer mods in my posts/threads.

I'm assuming it's because I have a modded postbit and postbit_legacy.

What's the code to place within these two?

Edits to the template should only be a problem if you removed the template hook code.

Check that you have enabled this mod in the forum you are viewing threads from. If that doesn't solve it you can enable manual placement through the options.