This product is different from anything you have seen before, it raises the bar for forums. It will make your forums much more interactive, and also reduce server load.
Technical Details:
If a thread has been posted in X seconds then its now Live, if other users are viewing the Live topic and are on the last page they will experience a clean ajax experience while talking to other members. Once the thread is older than X seconds its no longer Live and it will now act like a normal thread. Also if a user edits one of their posts that's inside of the thread, it will be updated too so there is no longer a reason to ever have to refresh.
There is also logic for the viewer, the viewer of the thread has to be in an active state to see responses. An active user state is determined upon the users actions, if no actions were made in X seconds then the user is marked as inactive.
Also you may wonder why this could save your server bandwidth and CPU. If a user is refreshing to talk to another members the queries on a normal thread load are way more intense than the ajax call that this modification makes. So if you have 5 people talking to each other none of them have to refresh the page, all they are doing is simple page requests and one intense request when there has actual change.
You can test Live Topic with two users, you will see how amaizing this is... And probably spontaneously combust.
For some reason I get the following in my error log:
Code:
Invalid SQL:
SELECT COUNT(*) AS count
FROM post AS post
WHERE
(threadid = 122766
AND visible = 1
AND dateline > 1233933678.:
AND userid != 42148)
OR (threadid = 122766
AND visible = 1
AND lastedit > 1233933928);
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':
AND userid != 42148)
OR (threadid = 122766
AND visible = 1
A' at line 6
I see you sanitize the offending variable in the beginning of livetopic_hooks.php, but you only use the escape_string-procedure. You should probably have used $vbulletin->input->clean_array_gpc to ensure that the variable is an integer.
As to why the .: is added, I have no clue.
I'm btw still running 1.04b, so I apologize if this has been fixed in later versions.
Just had to uninstall this - our server host had a FIT and threw our forum offline due to this mod. Had to get a private server as we're not trusted any more... VERY unfortunate turn of events for today....now we're back to scratch.
This is the most incredible mod i've seen. Too often do you ahve a hot thread and you reply but by the time you submit, 3 people already have and your post is out of date. this solves that problem and adds a whole new dimension to active threads. Thank you so much for this.
Just had to uninstall this - our server host had a FIT and threw our forum offline due to this mod. Had to get a private server as we're not trusted any more... VERY unfortunate turn of events for today....now we're back to scratch.
Quote:
Originally Posted by hIBEES
I noticed a large increase on server load with this installed,
I'm on a dedicated and pre-install server load was under 1,installed it shot up to 8 and rising
Uninstalled
and decent dedicated server could run this mod with very few issues (with the default settings). If your hosting package cant handle the load then please go into your ACP and go under the LiveTopic section and play with the settings.
I do not recommend this mod for sites that get high traffic and run on shared hosting, as they limit the simultaneous connections. If you have a shared forum that has a small user base then it should be fine. And if you have hosting that doesn't limit connections you should be fine.