![]() |
WOL location not showing when users are visiting helpfulanswers.php.
|
Thank you. This will be addressed in 1.9.
|
Ok, managed to get the text to change colour depending on the number of positive points, so yay, thankyou for that.
My next question, which I feel is going to be more dificult. Is there a way to soft delete a post if it receives a certain number of negative points? So for example, if three people give it a negative mark, and there's no positive against it, it gets soft deleted. Does that make sense? |
You certainly could do this although it would require some code modifications to helpfulanswers.php to check votes against your business rules and perform the soft delete.
|
Quote:
|
Quick question. Would the change to make the text show green affect the Ajax feature? It doesn't seem to be working anymore...
Also, while I'm here. I changed the phrase to say xx members like this post, which works great, for possitive hits. How can I make it say xx members liked this post, xx members didn't like this post? |
Depends on how you changed it. You can certainly make the color different without impacting the ajax but breaking it would be possible too.
As for changing the text, just work with the rating phrases as you see fit. |
This is the text I've got:
PHP Code:
PHP Code:
|
Quote:
Right now you are saying if the post has more than 10 goodrank it should be green. If not AND if it has more than 10 badrank it should be lime. Instead you need to say if it has more than 10 badrank make it lime first since this is the end goal. Quote:
Code:
<phrase 1="$post[goodrank]" 2="$post[totalrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase> Code:
<phrase 1="$post[goodrank]" 3="$post[badrank]">$vbphrase[helpfulanswer_x_out_of_y]</phrase> |
I know there's a lot of interest in 1.9 but I still haven't had many comments on the effectiveness of the changes. For those of you who want to use the new features please try the beta on your dev site.
If you do not have a dev site PM me and I can give you access to try the new version so we can get this released. Changes include: - Rating a thread sends a notification to the user which can be viewed - Viewing helpfulanswers.php updates WOL - Optional message under the first post about which post - Numerous small tweaks to templates and phrases |
All times are GMT. The time now is 03:41 AM. |
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:
|