The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Helpful Answers - Allow users to rate individual posts Details »» | |||||||||||||||||||||||||||||||||||
[AJAX] Helpful Answers - Allow users to rate individual posts
Developer Last Online: Nov 2020
Helpful Answers has been used to record over 6 MILLION times on more than 2,000 forums. If you're not using HA your users are looking for it!
Every day your users contribute hundreds if not thousands of posts making it hard for new members and guests to separate out the best answers from those that are less helpful. The Helpful Answers System offers your members a quick way to rate individual posts as either helpful or not allowing future visitors to understand the value of each post. Designed to be flexible, HA has over 30 configurable settings:
Modification Installation [Must Read]: Step 1: Upload the addon files found in the upload/ folder to your forum directory Step 2: Install the plugin through your vB Administration area Step 3: Configure settings & enable the mod in individual forums You must configure settings & enable forums before voting will show up. Anonymous Stats Tracking (optional): By default this addon will pass basic rating data (positive or negative) to a 3rd party site for statistical purposes. Only the most basic data is captured (the vote and your site name) and no user information or specific forum details are logged, not even an IP address. You can disable this through the admin. Mod Philosophy -- Drive Your Own Success: All of my mods are inspired by my work in digital marketing and are designed to drive registrations, interaction or other engagement activities the core platform does not address. Each is designed to fit a general need by providing a starting point but it's on you to decide how to make things work to their best possible outcome. Feel free to suggest what you'd like to see next but don't wait to have what everyone else has; figure out what your forum needs and customize away. Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
10 благодарности(ей) от: | ||
Baja, Eole, piratarg, PoorGuysGarage, tbworld, TheLastSuperman, thompson, U-Fig |
Comments |
#562
|
||||
|
||||
Quote:
yes, he was using it. when turned off, it was fixed. Quote:
To me, it seems like while hiding the post, it is placing the "collapse" button instead of "expand" button. setting display: none; and display: block; thru firebug works fine. so the problem is placing the wrong button in there. Quote:
to hide a post, Code:
li#post_203404 div.postdetails, li#post_203404 div.postfoot { display: none; } insert something like this in span.nodecontrols [i just copy pasted the collapse code that i get; it should be the expand code): HTML Code:
<a class="collapse" id="collapse_ppost_203404" href="#top"><img src="images/buttons/collapse_40b.png" alt="" title="Collapse this Post"></a> when clicked again, set display: none; |
#563
|
||||
|
||||
template name: helpful_answers_hidelowstart
contents: Code:
<div class="block collapse"> <h2 class="blockhead" style="background-color:#fff;border:none;"> <a class="collapse" id="collapse_ppost_{vb:raw post.postid}" href="#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_ppost_{vb:raw post.postid}_img}_40b.png" alt="" title="Collapse this Post" /></a> <span class="blocktitle" style="color:#000">{vb:rawphrase helpfulanswer_hidden,{vb:raw post.username}}</span> </h2> </div><br /> <div id="ppost_{vb:raw post.postid}" style="display: none;"> also, Ted, what does this option do? "Enable Single Post Voting" |
#564
|
|||
|
|||
Has the problem with all posts collapsing when you have a negative rating?
I want to have bad posts get collapsed but not when only ONE person votes it negatively. I want bad posts to collapse when they get at least 5 negative votes. Unfortunately, once any post is hidden they are all hidden. Was mentioned and replied to here: https://vborg.vbsupport.ru/showthrea...86&post2062886 |
#565
|
||||
|
||||
hey Ted. I have modified it a bit. I believe this UI is much better (and simple) than lots of texts.
i have moved it to post footer; after multi quote button. anyways, I have two problems. It seems post.goodrank is not initialized to 0 (but post.badrank is 0) when a post is not voted (up or down) even once. so i can never get a /\ 0 | 0 \/ it is always /\ | 0 \/ 2nd problem: I'm not sure how I can update the counters and images using ajax. if you can give me some hint, I'm sure i can manage it. I have modified the _roll template properly. all it needs to do is update codes according to the template. |
#567
|
||||
|
||||
+1
I want this! |
#568
|
|||
|
|||
Quote:
|
#569
|
|||
|
|||
Quote:
Code:
$post['goodrank'] = int($post['goodrank']); Quote:
Code:
<a href="./helpfulanswers.php?do=rate&postid={vb:raw post.postid}&rank=1" <vb:if condition="$vboptions[disable_ajax] != 2"> onclick="return helpfulanswers_rate({vb:raw post.postid}, 1);" </vb:if> rel="nofollow" onmouseover="document.post_{vb:raw post.postid}_up.src='images/buttons/ha_arrowup.gif';" onmouseout="document.post_{vb:raw post.postid}_up.src='images/buttons/ha_arrowup_gray.gif';"><img name="post_{vb:raw post.postid}_up" src="images/buttons/ha_arrowup_gray.gif" width="11" height="20" border="0" alt="{vb:rawphrase helpfulanswer_yes}" /></a> |
#570
|
|||
|
|||
Quote:
The css styles for your post will generally still show, i'm looking to see what's getting overriden... vb css is pretty evil. |
#571
|
||||
|
||||
Quote:
sure. but let me get it working properly first If Ted feels like, he can even include it in the core product. Quote:
After rating, I get the msg "...thanks for rating...". But I want to update the counter and arrow images. I'm not sure from where the ajax response text is coming from.[/s] I managed to pull it off Quote:
then add a hide post button if necessary. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|