![]() |
Thanks WoodiE. I've really never dived deep into AJAX and I was pretty pleased to have it go so fast although for a mod like this it was a pretty simple change.
Also releasing 1.3.1 which moves the helpful_answers template to phrases for better translation support and easier editing. |
Thanks for the private feedback; I've added a simple page showing the Most Helpful Answers. This can be disabled through the options and the number of results to show can also be configured.
|
How does this impact to server load?
|
Quote:
1. Viewing a thread No new queries are made with this addon but there is a change that impacts the existing post query. Basically with this addon 3 additional fields are pulled from the select routine, 2 exist in the post table and one is from a join on the helpful answers table. Joins certainly add to the query length but as both keys are indexed it's minimal. There are also a few template conditionals called; while conditionals don't do much to load on their own they do add up if you use enough. While testing this script I used microstats to measure impact and did not identify any noticeable impact to the page rendering or CPU usage. 2. Rating a post When a post is rated the script goes through a series of checks including 2 queries to read out data and two updates to insert the vote record and change the post table. This is fairly minimal and since it's a specific request option (rather than something passive that happens when viewing a page) it should be expected. 3. Viewing the most helpful answers page When enabled this page will run one looping query with a single join. This is not a major process at all. 4. Admin functions The admin functions are mostly simple querying one or two times per page. The exception to this is doing a bulk delete on a user with a lot of rating history; in this case there's two queries per rating which can be intensive. As such this function is marked as being intensive. Summed up It's easy to get worried about a function like this where data is read on every post but I have done my best to minimize any impact. For example, rather than querying tables to get vote totals for every post the totals are stored with the post record and calling them up adds minimal load. Other steps are also taken to prevent load like using an array with banned members and a forum option to check if the forum is allowed to use the addon rather than querying the database for a standalone piece of data. To be crystal clear, this addon has been used for over a year on a decent traffic forum that runs, as most of the users would say, fast. While there are new functions with the public release this is not an untested app and if it was impacting performance on my sites I wouldn't be using it let alone releasing it. I'm confident this addon will have minimal additional performance impact but like every addon it does introduce more queries on some pages, more joins, more conditionals and more code which does mean more load. For larger sites I always encourage basic load testing (even just watching load times with microstats is often enough). Hope that answers your question. |
Code:
Database error in vBulletin 3.8.0: My error after visiting a thread |
The3rdNipple,
It looks like the table used to store records was not able to be created by the installer. You will need to create this table manually by running the following query from phpMyAdmin or a similar database program. Code:
CREATE TABLE `helpfulanswer` ( |
Interesting mod. Watching this closely.
In the update history, the latest should be 1.3.2 instead of 1.3.3 How do you compare this one with Yahoo Answers. Yahoo makes it very easy to find the most useful answer in a long thread. |
Quote:
This mod has a lot of similarities to the Yahoo Answers site in letting users rate responses which they also do. Future visitors can then identify the more popular/ trusted answers out of the overall batch. The feature you're talking about where the topic starter picks an answer and has that answer moved to the top of the list is not something this mod tries to solve as that's not about group ratings but rather about an individual post selection. I've developed a feature like that for a few sites but have never made it move the post around. It's an interesting discussion as a forum is different than q&a website like Yahoo Answers and moving a post up in order to say the second spot has a lot of implications for discussion flow. That said, I imagine there are sites with areas that could use an easy selection process like that. |
I would like to see a in-post feature to rate preset phrases:
|
I'm waiting for a feature where the most useful post in a thread is highlighted using some customizable color palette.
what is your solution when you have 2 equally ranked posts on the level of usefulness? Will they be marked most useful at the same time? I can see this being very useful for my site and I look forward to installing soon. P.S Can you post a screenshot of the post in the thread. I like to see how standout it looks currently |
All times are GMT. The time now is 09:16 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:
|