View Full Version : Miscellaneous Hacks - Live Topic
Mr. Baws
01-17-2009, 04:03 PM
is there any way to disable avatars and signatures in live threads?
oh i found
<if condition="$post['signature'] AND $GLOBALS[forumid] != X">
but i have another question will this live thread "die" if no one post for some time?
nascartr
01-17-2009, 04:58 PM
can someone explain to me what is the Idea for ' live post ' i have been to test in beasttoast forum i try to put the last modifications the coder give but i can't see that work in my forum i can see the icon in the address of the post only .. this like the hot post i don't understand good :) sorry
There has to be two active members in one live topic for this to work visually. You'd have to make a post and then someone else would have to post in the same topic at the same time you are viewing the topic during the timeframe for their post to automatically popup.
mrthe
01-17-2009, 05:27 PM
How is the function of the image comment_add.png ? i can't find it anywhere in my forum.
azher
01-17-2009, 06:06 PM
Are there any known incompatibilities with vbOptimise (https://vborg.vbsupport.ru/showthread.php?t=199207)? I had this working fine until just now when I installed that.
:-|
schlottkej
01-17-2009, 07:24 PM
getting this error on the active page:
Line: 8
Character: 4570
Error: Object Required.
If its a multi-page thread, the previous pages do show the update with the # of new posts.. just not getting the latest posts showing.. yet.
Lone Gunman
01-17-2009, 11:37 PM
haha thanks man. Which mods were they by the way? (id like to provide a list of mods that don't work with this product)
this was one...
https://vborg.vbsupport.ru/showthread.php?t=201552
the other was ultimate side colums.
the first i just added just b4 yours so i hadnt started using it yet. USC i added a month ago or so, but hadnt gotten around to figuring out what i wanted to do with it. either way your mod was way cooler than either of those.
i got a lot of respect for the guys and gals smarter than me on here creating these mods. yours is just the absolute coolest i ever saw. VB 3.9 better come with your mod standard!
Im just helping a friend start up a forum. http://brianslawn.com/forum. its just a hobby for us. who cares if it ever gets big. we got friends that love it and we are glad to find talented people like you to help add to it.
send me a small logo through contact us email link on site, and i will be glad to add you as a sponsor.
thanks a million!
LG
nascartr
01-18-2009, 12:02 AM
Are there any known incompatibilities with vbOptimise (https://vborg.vbsupport.ru/showthread.php?t=199207)? I had this working fine until just now when I installed that.
:-|
I've used vbOptimise from the beginning and they have not conflicted with one another.
gibby540
01-18-2009, 05:22 AM
Loads of fun, thanks!
Oh, and what happens with non-compatible browsers? Just nothing? Thanks!
This plugin is still maxing out our SQL connections, so we've had to disable it again.
glennybee
01-18-2009, 10:15 AM
Oh nice... > away to install and have a play!
fattony69
01-18-2009, 10:55 AM
I can't wait until this is totally stable. This looks like an amazing modification.
DangerousDale
01-18-2009, 11:30 AM
Had it installed but my site started hanging, including the admin cp :(
Well give it ago again on the next update :)
Keep up the good work.
carubmun
01-18-2009, 11:41 AM
this is the best ++++ing mod I ever had.
I must second that.
People on my forum are getting woodies the first time they see it in action.
BirdOPrey5
01-18-2009, 11:56 AM
Please add member group permissions. I am mighty interested to install this hack, if I can activate it for my VIP members.
THIS.
Although I have installed it and will see how it works, so far it's spotty... I got 1 to come across - I think - but 2 other times I hit refresh and found more posts... Will know for sure when traffic pics up.
Regardless of how this works in beta, this is an excellent addition and when the bugs are worked out will deffinitely be a 'must have' mod... But I would also like to enable/disable by usergroup.
EDIT - working consistently now... not sure what it was... So far so good.
Andyrew
01-18-2009, 12:04 PM
Dont work in chrome for me. :( i have to hit refresh to see new posts.
basilrath
01-18-2009, 03:28 PM
Well its working fine for me and pretty slick too
joopster
01-18-2009, 04:47 PM
Ok it doesn't work with woopra from what I can tell.
I have got it working, and the posts update but the posts are jacked up, meaning they don't look the same as the prior posts. Outside frame is longer etc.
In IE7 it is showing it in legacy postbit also instead of what the default is.
Any ideas?
EDIT: I did a refresh and now it seems to show the posts correctly but it has quit working. Not showing new posts...?
I am going to try and disable more plugins.
EDIT AGAIN: Fixed: I thought I disabled the Ultimate Side Columns but I had not. I wish these two worked together.
joopster
01-18-2009, 05:41 PM
works great!
azher
01-18-2009, 06:06 PM
Hello,
I've used vbOptimise from the beginning and they have not conflicted with one another.
I think I found out what the issue was...many of our forum members prefer to use the "Linear - Newest First" thread view as their default under User CP->Options. The AJAX refresh works perfectly fine for those that are on "Linear - Oldest First" (what I suspect is the default for many boards) however for our site, most people simply see the notification popup rather than the actual refresh.
I'd humbly request that the logic be updated to take this into account and "bump down" the posts for those that prefer to see newest posts first. :)
morpheusXIIX
01-18-2009, 06:36 PM
Very neat mod. Installed, when testing I noticed that if you require a user to click reply in a thread before activating the quick reply box, no matter what was inputed, the post became "Please click one of the Quick Reply icons in the posts above to activate Quick Reply."
This error came up in Firefox 3.0.5. No problems duplicating it in IE 7.
Another small quirk, which did come up in IE 7 was that the AJAX displayed posts were not able to be clicked on to activate the quick reply box.
Nominated no less, great feature.
gx123
01-18-2009, 09:02 PM
since i have this mod installed, almost all of my member becoming crazy bout this feature. It increase my 'new post' statistic 3x!! but the crazyness isn't over, when i check the google analitycs, pageviews was dropped by 70%!!
from zero to hero in posting, from hero to zero in pageviews.
i wonder where i shall place the google analytics code so the pageviews not dropped too much, even better if it could perfectly fit with the super statistic in post.
PossumX
01-18-2009, 11:37 PM
This looks quite interesting. I'll be following this closely as it could be a great addition forum communities, especially for active topics (as you say). Keep up the great work.
Looking SICK to this point !!
This looks fantastic, but I cannot get it to work. I am running 3.8.0, but have quite a few mods and template edits. I've tried:
Uninstalling/Reinstalling
Disabling all other addons
Creating a new base style with no modifications
I am getting the "Live Topic" icon in the thread list and, upon viewing the source for a Live Topic thread, I see the code for the css and js. However, aside from the icon in the thread list I see no evidence this is doing anything at all. I have yet to try both disabling addons and using a stripped style (we have a small board and it's pretty slow on the weekends... no one to test with at the moment. lol). Are there certain types of template edits or addons that MAY interfere with this? Trying to narrow down what could be causing the problem, but, so far, I've had no luck. Any suggestions on how to debug this?
TIA for any help you can provide.
carubmun
01-19-2009, 12:52 AM
There is soo much promise here, hopefully the coder takes this plugin and runs with it, or someone else comes aboard to improve it.
Either way, the original idea behind it is fantastic.
I think a lot of peoples issues would be fixed if this plugin could be selected on a per thread basis.
Kinda like the polls work.
When you make a new thread you could have an option at the bottom of the page that asks you to mark the checkbox if you would like to "enable Live Topic in this thread".
That way the admin/mods have much more control over what threads are allowed to have this feature.
sdsvtdriver
01-19-2009, 02:11 AM
This looks fantastic, but I cannot get it to work. I am running 3.8.0, but have quite a few mods and template edits. I've tried:
Uninstalling/Reinstalling
Disabling all other addons
Creating a new base style with no modifications
I am getting the "Live Topic" icon in the thread list and, upon viewing the source for a Live Topic thread, I see the code for the css and js. However, aside from the icon in the thread list I see no evidence this is doing anything at all. I have yet to try both disabling addons and using a stripped style (we have a small board and it's pretty slow on the weekends... no one to test with at the moment. lol). Are there certain types of template edits or addons that MAY interfere with this? Trying to narrow down what could be causing the problem, but, so far, I've had no luck. Any suggestions on how to debug this?
TIA for any help you can provide.
I am having a similar problem with the 3.7 version.
https://vborg.vbsupport.ru/showpost.php?p=1716710&postcount=58
Are you seeing the same thing I am?
Coders Shack
01-19-2009, 03:02 AM
since i have this mod installed, almost all of my member becoming crazy bout this feature. It increase my 'new post' statistic 3x!! but the crazyness isn't over, when i check the google analitycs, pageviews was dropped by 70%!!
from zero to hero in posting, from hero to zero in pageviews.
i wonder where i shall place the google analytics code so the pageviews not dropped too much, even better if it could perfectly fit with the super statistic in post.
depends on what type of forum you have :), if you cashing out on advertising on your members then poor members. But if your cashing out of content... (via google hits) then its a good addition.
This looks quite interesting. I'll be following this closely as it could be a great addition forum communities, especially for active topics (as you say). Keep up the great work.
Looking SICK to this point !!
thanks
This looks fantastic, but I cannot get it to work. I am running 3.8.0, but have quite a few mods and template edits. I've tried:
Uninstalling/Reinstalling
Disabling all other addons
Creating a new base style with no modifications
I am getting the "Live Topic" icon in the thread list and, upon viewing the source for a Live Topic thread, I see the code for the css and js. However, aside from the icon in the thread list I see no evidence this is doing anything at all. I have yet to try both disabling addons and using a stripped style (we have a small board and it's pretty slow on the weekends... no one to test with at the moment. lol). Are there certain types of template edits or addons that MAY interfere with this? Trying to narrow down what could be causing the problem, but, so far, I've had no luck. Any suggestions on how to debug this?
TIA for any help you can provide.
I'm in the process of building a list on incompatible hacks.
But if you had a link to your forum with it enabled that would help.
There is soo much promise here, hopefully the coder takes this plugin and runs with it, or someone else comes aboard to improve it.
Either way, the original idea behind it is fantastic.
I think a lot of peoples issues would be fixed if this plugin could be selected on a per thread basis.
Kinda like the polls work.
When you make a new thread you could have an option at the bottom of the page that asks you to mark the checkbox if you would like to "enable Live Topic in this thread".
That way the admin/mods have much more control over what threads are allowed to have this feature.
control features will be added later, main thing is functionality and cross compatibility. And restricting a hack to one thread will not fix anyone's issue's. This is in beta and the goal is to fix all the issues.
I am having a similar problem with the 3.7 version.
https://vborg.vbsupport.ru/showpost.php?p=1716710&postcount=58
Are you seeing the same thing I am?
If you had a link to your forum with it enabled that would help.
Coders Shack
01-19-2009, 03:04 AM
Hello,
I think I found out what the issue was...many of our forum members prefer to use the "Linear - Newest First" thread view as their default under User CP->Options. The AJAX refresh works perfectly fine for those that are on "Linear - Oldest First" (what I suspect is the default for many boards) however for our site, most people simply see the notification popup rather than the actual refresh.
I'd humbly request that the logic be updated to take this into account and "bump down" the posts for those that prefer to see newest posts first. :)
Added to my todo list, i didn't even know you could do that...
Coders Shack
01-19-2009, 03:06 AM
Great hack, and I've gone live with this on my ~400 online users forum.
I notice that posts are fetched again when they are edited, but it's not reflected on the actual post. Could you add the "edited by"?
Also; I think you should add an option to display a message/gfx in the pulled post. This will make it clearer for the reader what exactly happended. I hacked it myself, but I think this is something that should be in the product.
There should also be an indicator in the thread telling the user that this thread is a live thread, and the thread should also be updated to reflect that the user is no longer active or the thread is no longer active if this should occur while the user is idling on the thread.
For those interested, this is what I added.
The english might be bad, the styles should be in classes in the style and the text should be in phrases -- but you get what you pay for :p
---
In postbit_legacy (if you are not using this you are on your own):
---- after:
<!-- message -->
<div id="post_message_$post[postid]">
---- add:
<if condition="$post['livetopic']">
<fieldset style=" padding: 5px; margin-bottom: 20px; background-color: #FFF8DD; border: 1pt dashed red;">
<img alt="live topic" src="/forum/images/statusicon/thread_livetopic.gif" title="live topic"/> <span style="font-weight: bold;">This post has been added by another user.</span> <br /><br />
Since this is an active topic, this post has been automatically added to the thread while you were reading it. If you are replying to this thread you might want to read this post before doing so.
</fieldset>
</if>
In <forumdir>/includes/livetopic_hooks.php
---- before:
if ($post['attach'])
{
---- add:
$post['livetopic'] = 1;
---
Screenshot-text in Norwegian, but I'm assuming you all read that flawlessly.
:) Beautiful idea, ill be added into the next version.
How is the function of the image comment_add.png ? i can't find it anywhere in my forum.
its used in the notifications, if your on a page that isnt the last page of a thread then you will be notified of new posts if its a live topic.
I am having a similar problem with the 3.7 version.
https://vborg.vbsupport.ru/showpost.php?p=1716710&postcount=58
Are you seeing the same thing I am?
I don't think so... First, I don't know what you mean by "L/F". lol Second, I don't see anything happen at all. As far as I can tell, there is absolutely no difference with this mod enabled or disabled aside from the icon in the thread list. Maybe I'm not looking close enough or in the right spot to see some possible activity? What is an "L/F"?
I'm in the process of building a list on incompatible hacks.
But if you had a link to your forum with it enabled that would help.
Ugh... sorry. lol Board is at: http://forum.crookedh.com
I've seen others report an incompatibility with USC, but we do not have that installed. Would it help to list the plugins/products we have?
EDIT: And a direct link to the board with the default, blank style: http://forum.crookedh.com/index.php?styleid=16 We only have one style so user style selection has been disabled.
Coders Shack
01-19-2009, 03:10 AM
ok adding a incompatible list
Coders Shack
01-19-2009, 03:13 AM
it could be three things:
+ products
+ template
+ forum config
for majority of the people here it works.
sdsvtdriver
01-19-2009, 04:39 AM
oh i found
<if condition="$post['signature'] AND $GLOBALS[forumid] != X">
but i have another question will this live thread "die" if no one post for some time?
where did you insert that code?
sdsvtdriver
01-19-2009, 09:57 AM
I don't think so... First, I don't know what you mean by "L/F". lol Second, I don't see anything happen at all. As far as I can tell, there is absolutely no difference with this mod enabled or disabled aside from the icon in the thread list. Maybe I'm not looking close enough or in the right spot to see some possible activity? What is an "L/F"?
a line feed. basically, once I posted as person "A", I alt-tab'd to the other browser logged in as person "B" quickly. I saw the gap between "post reply" and the last post increase by one line feed or carriage return (hitting enter gives you an idea) instead of the post appearing.
I found my gxboxlive add-on to be conflicting. I disabled it and this product works.
Harmachis
01-19-2009, 10:46 AM
im requisting u, plz make it for Opera 9+ :)
TonyMF
01-19-2009, 12:44 PM
im requisting u, plz make it for Opera 9+ :)
It works for me using Opera v9.63. However, it does not work for me using Internet Explorer 8 b2. No real surprise there though...
FireFox / Internet Explorer / Opera Screenshot (http://img207.imageshack.us/img207/7842/livetopiccompfa2.jpg)
Harmachis
01-19-2009, 02:42 PM
not work for me at opera 9.51
maybe i need to upgrade now
Just an update, I disabled every single plugin aside from this one and switched to the bare, default vbulletin template. Still didn't work. *sigh* What are the server requirements for this? Maybe something we need to change/update on the server? Would love to get this running.
gx123
01-19-2009, 06:04 PM
depends on what type of forum you have :), if you cashing out on advertising on your members then poor members. But if your cashing out of content... (via google hits) then its a good addition.
thanks for your reply codershack
no, i don't chase on advertising.
i have a pageview milestones that should be went beyond last year milestone.
i love it when the post count per day goes beyond 300%, i feel that the community is so lively, but it also shocking that google analytics doesn't count it as a pageview or hit.
if that happens until the milestone deadline, i could get a salary cut or even fired :D
i love the community and i love to see them discuss something with high spirit. thats why they hired me as their community builder. but if the pageviews are low and unaccountable, i will be a regular member soon enough :D
is there any way google analytics pageviews work with this ?
thanks in advance :)
Lynne
01-19-2009, 08:45 PM
I just upgraded my site to 3.8 and installed this. A couple of things....
- is there a reason you didn't include the $hook_query_fields (and others) from "newreply_post_ajax" in the $posts query in livetopic_hooks.php?
- one of my users who's a computer guy, says "Im looking at my resource meter - and that melting posting is making IE run at 60% CPU load on the workstation.
It peaks the meter as it fades in.. FYI" So, I'm not sure if there is a way to either turn that off or do something so it doesn't eat up the resources.
I decided to install this and see if my users figured it out. So far, the only ones who have are Staff in my Upgrade thread cuz we were all posting about little problems here and there that I had after the upgrade.
TonyMF
01-19-2009, 08:53 PM
- one of my users who's a computer guy, says "Im looking at my resource meter - and that melting posting is making IE run at 60% CPU load on the workstation.
It peaks the meter as it fades in.. FYI" So, I'm not sure if there is a way to either turn that off
or do something so it doesn't eat up the resources.
Is that with IE7 or IE8?
Lynne
01-19-2009, 09:02 PM
Is that with IE7 or IE8?
IE7
Andyrew
01-19-2009, 09:18 PM
I'm getting loads of errors listed in my error log in cpanel.
File does not exist: /xxx/xxx/xxx/forums/clientscript/vbulletin_css/images,
referer: /forums/clientscript/vbulletin_css/livetopic.css
File does not exist: /xxx/xxx/xxx/forums/clientscript/vbulletin_css/images,
referer: xxx/forums/showthread.php?t=75600
:confused:
Coders Shack
01-19-2009, 11:56 PM
I'm getting loads of errors listed in my error log in cpanel.
File does not exist: /xxx/xxx/xxx/forums/clientscript/vbulletin_css/images,
referer: /forums/clientscript/vbulletin_css/livetopic.css
File does not exist: /xxx/xxx/xxx/forums/clientscript/vbulletin_css/images,
referer: xxx/forums/showthread.php?t=75600
:confused:
haha, sorry about that. (your forum must be in a sub directory)
go into the 'forums/vbulletin_css/livetopic.css' file and update the image paths so they are prefixed with '../../' that should fix those issues.
PamelaE
01-20-2009, 06:32 AM
This is really cool. We run some celebrity live chat interviews but are now thinking of trialing one on the forum using Live topic.
andybond
01-20-2009, 06:34 AM
Loving this mod. Thanks very much !
wipedout
01-20-2009, 09:40 AM
how about some more info on the config variables? especialy Thread Idle Time, i run a RP forum and a feature that if someone using quick post for a new I'd want ajax update even if its been a while since the last post in said thread, aslong as the member has been viewing the thread for like less than 15 minutes.
Andyrew
01-20-2009, 03:25 PM
haha, sorry about that. (your forum must be in a sub directory)
go into the 'forums/vbulletin_css/livetopic.css' file and update the image paths so they are prefixed with '../../' that should fix those issues.
Thanks, that stopped the errors. :up:
Ok... I've been doing everything I can think of to see what the problem may be with this and I may have found something. I didn't want to keep messing with the live board, so I setup a web server in my house and made an exact copy (almost) of the board to run my tests. I was able to get this to work without any modification to template structure or addons. Now, I find it could be 2 things:
Server configuration
OR
Would there be a possible issue if the forum is run off a subdomain? The server on my home server is an exact copy of the live server (as far as software goes... not sure how the host set everything up) except I didn't set up the subdomain, "forum.crookedh.com". I changed the hard coded links and settings that applied the subdomain to "www.crookedh.com/forum" and it works.
If there is indeed an issue with the subdomain, would it be possible to fix this mod via an edit? Since any links anyone has posted back to us would include the subdomain, I'd like to keep the current structure. I guess everything would still work as far as the rest of the forum is concerned, but if they visited us via an outside link, Live Topic would not work. Just want to keep everything consistent.
EDIT: And just to clarify, I saw the same 404 errors and had already done the edit you suggested above to Andyrew.
EDIT2: Now that I reread this I see that it really doesn't make much sense. I blame the beer. lol I hope you can figure out what I'm tring to say.
Coders Shack
01-21-2009, 04:11 PM
this is why its still in beta, every configuration has not been tested. I don't see how a subdomain could make a difference. I'm guessing its your forum configuration. (it could be your server config, but i doubt it. As for alcohol how do you think i came up with this concept... )
Lynne
01-21-2009, 05:00 PM
One of the things I noticed is that some items don't show up in the user dropdown in the postbit for these 'live' posts. Also, some data I add into the postbit doesn't show up because I add it though a hook. I'd like to add this back, thus I asked this question above:
- is there a reason you didn't include the $hook_query_fields (and others) from "newreply_post_ajax" in the $posts query in livetopic_hooks.php?
I don't want to add that back into the query if there was a good reason you removed it. Any thoughts on this?
this is why its still in beta, every configuration has not been tested. I don't see how a subdomain could make a difference. I'm guessing its your forum configuration. (it could be your server config, but i doubt it. As for alcohol how do you think i came up with this concept... )
lol Well, I'll just jump in head first and do the same edits to the live server. I'll let you know how it goes....
feldon23
01-21-2009, 05:18 PM
CS,
Great add-on.
Have you considered turning on CAPTCHA on your forum? Spammers galore!
*sigh* Still a no go for me. I did see that I am running a different version of php on my test server though... I am running 5.2.6 but our host is running 5.2.5. Other than that the two servers are now pretty much identical... same files, same database. Besides the difference in php version, I have mine running on a windows box, while our site is hosted on a linux box. Don't see why that would be a problem, though. I'm stumped.
I'm going to make another complete backup of the site and transfer it to the test server one more time... maybe I forgot a setting or something, but I don't think so. The saga continues...
HabboForum
01-21-2009, 09:53 PM
Great idea, but unfortunately it doesn't seem to be great in practice for relatively active boards. This plugin keeps causing this error for us:
Database error in vBulletin :
mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: User xxxxxxx_forum already has more than 'max_user_connections' active connections
/home/xxxx/public_html/includes/class_core.php on line 311
MySQL Error :
Error Number :
Request Date : Wednesday, January 21st 2009 @ 06:31:27 PM
Error Date : Wednesday, January 21st 2009 @ 06:31:27 PM
Script : http://www.slicedxxxxxx.com/ajax.php?do=shownewresponses
Referrer : http://www.slicedxxxxx.com/showthread.php?p=768943&posted=1
IP Address : xxx.xx.xx.xx
Username :
Classname : vB_Database
MySQL Version :
Alfa1
01-21-2009, 10:22 PM
How many connections per user does this hack need?
kud0gfx
01-22-2009, 12:42 AM
Great idea, but unfortunately it doesn't seem to be great in practice for relatively active boards. This plugin keeps causing this error for us:
totally agree with that, i had to deactivate it and im running a quad core that costs 300$/month...
Cobra-J82
01-22-2009, 03:34 AM
Very cool mod.
Anything AJAX is cool with me.
lol same here
Ok, I'm now convinced I can't get this to work due to a server issue. I did a fresh back up (completely deleting the old files and db off the test server and downloading all the files and db off the host server). The only thing I changed were the install path in the config.php and the path to the forum in the vBa index.php. It works just fine.
So next step is to compare the phpinfo from each server and go through the settings one by one to see if any of them break LT functionality. Being different platforms, I won't be able to get an exact copy, but hopefully I can narrow it down. Just doing a quick scan, the only things that jump out at me are the php version (Live = 5.2.5, Test = 5.2.6) and Thread Safety (Live = off, Test = on).
haytham
01-22-2009, 05:31 AM
Thank you. As I said on youtube, it could be very useful in social group conversations. Now my questions are these:
1- I see you have made bug fixes and say the last version is 1.05b but I couldn't find it for download.
2- The 1.04b for 3.7 and 3.8 have the same size and files inside...a bit confused...
1.05b is a future release. It's listed here for informational purposes so we know what to look forward to.
Lynne
01-22-2009, 02:24 PM
Just doing a quick scan, the only things that jump out at me are the php version (Live = 5.2.5, Test = 5.2.6) and Thread Safety (Live = off, Test = on).
I am running php 5.1.6 on my server and it works fine, so I don't think that is the issue.
I am running php 5.1.6 on my server and it works fine, so I don't think that is the issue.
Thanks... rules that out. Now I don't know where to go from here. My test server is configured as close to the live server as possible. It still works just fine. The only thing I see at this point is Thread Safety, but I doubt that's the issue. All I know about it is from a quick scan of Google and it didn't seem like it would be the culprit here. Either way, apparently you can't disable it on a Windows environment so there's no way I can test it. lol
If anyone has any suggestions, please let me know. In the mean time, I'm going to disable this. I'll take another crack at it when 1.05b is released.
solboy
01-23-2009, 01:15 PM
This is a great mod. works excellent!
Here is a feature request. Can you add a feature to it that will make a sound to indicate a new reply? Like a small "ding"? Thanks.
Lynne
01-23-2009, 02:40 PM
I'm wondering if anyone who has had problems with this mod has taken a look at their error_logs. I had a couple of users complain about trying to post and then getting timedout and the post won't go through. They both had different browsers and OSs. I then looked at the error_logs and found this.
[error] [client xx.xx.xx.xx] mod_security: Access denied with code 406. Error reading request body, error code 70007: The timeout specified has expired [severity "EMERGENCY"] [hostname "www.mysite.org"] [uri "/forums/ajax.php?do=shownewnotifications"]
Like I said, this was only happening to a couple of our users, so I'm not sure why just them. I also don't know if this is just my server, or if maybe it is happening with others also.
I'm wondering if anyone who has had problems with this mod has taken a look at their error_logs. I had a couple of users complain about trying to post and then getting timedout and the post won't go through. They both had different browsers and OSs. I then looked at the error_logs and found this.
[error] [client xx.xx.xx.xx] mod_security: Access denied with code 406. Error reading request body, error code 70007: The timeout specified has expired [severity "EMERGENCY"] [hostname "www.mysite.org"] [uri "/forums/ajax.php?do=shownewnotifications"]
Like I said, this was only happening to a couple of our users, so I'm not sure why just them. I also don't know if this is just my server, or if maybe it is happening with others also.
The only errors I get from this are in reference to the image specified in the CSS. After adding "../../" they went away. Another user (TonyMF) and I both have one working server and one non working server (His are both linux, my live server is linux, my test server is windows). We compared phpinfo()s from each server. There were a few little things here and there that were common to the non-working and not on the working (or vice versa), but after applying the differences to my test server, it still works.
I'm sure this is going to end up being something really small and I'll feel stupid once a solution is found. lol
Coders Shack
01-24-2009, 12:25 AM
I'm wondering if anyone who has had problems with this mod has taken a look at their error_logs. I had a couple of users complain about trying to post and then getting timedout and the post won't go through. They both had different browsers and OSs. I then looked at the error_logs and found this.
[error] [client xx.xx.xx.xx] mod_security: Access denied with code 406. Error reading request body, error code 70007: The timeout specified has expired [severity "EMERGENCY"] [hostname "www.mysite.org"] [uri "/forums/ajax.php?do=shownewnotifications"]
Like I said, this was only happening to a couple of our users, so I'm not sure why just them. I also don't know if this is just my server, or if maybe it is happening with others also.
Interesting, that's a weird one. (browser isn't accepting the ajax response, I haven't checked my logs yet though)
Coders Shack
01-24-2009, 12:29 AM
Thank you. As I said on youtube, it could be very useful in social group conversations. Now my questions are these:
1- I see you have made bug fixes and say the last version is 1.05b but I couldn't find it for download.
2- The 1.04b for 3.7 and 3.8 have the same size and files inside...a bit confused...
Initially, they were two different builds. I ended up making it work for both boards.
(in the future they may have to be different versions again)
Ok, I'm now convinced I can't get this to work due to a server issue. I did a fresh back up (completely deleting the old files and db off the test server and downloading all the files and db off the host server). The only thing I changed were the install path in the config.php and the path to the forum in the vBa index.php. It works just fine.
So next step is to compare the phpinfo from each server and go through the settings one by one to see if any of them break LT functionality. Being different platforms, I won't be able to get an exact copy, but hopefully I can narrow it down. Just doing a quick scan, the only things that jump out at me are the php version (Live = 5.2.5, Test = 5.2.6) and Thread Safety (Live = off, Test = on).
Wow, that's bizarre. I'm as lost are you are it seems like you have tested just about everything.
Rene Kriest
01-24-2009, 08:19 AM
A simple yet ingenious idea pushes vb and the whole server world to its limits - that's amazing. :D
Pipo123
01-24-2009, 04:24 PM
This one is incompatible:
https://vborg.vbsupport.ru/showthread.php?t=184155
Pipo123
01-24-2009, 06:19 PM
Just so you know: the load on our forum tripled.
We run the forum on a dual quadcore 2 ghz Intel Xeon with 8GB ram and 15k rpm SAS disks. On peak times mysql will jump to 4 full cores maxing them out.
Coders Shack
01-24-2009, 10:25 PM
Just so you know: the load on our forum tripled.
We run the forum on a dual quadcore 2 ghz Intel Xeon with 8GB ram and 15k rpm SAS disks. On peak times mysql will jump to 4 full cores maxing them out.
have you tried changing the time outs? (in the ACP)
:)
staticrebelle
01-25-2009, 07:03 AM
Installed and nominated!
Outstanding mod - my members are loving this! I was wondering, is there a way to get all the users who are active in a Live Thread listed somewhere at the bottom of the thread? I think that would be a sweet addition :)
xx
HabboForum
01-25-2009, 09:25 PM
Just so you know: the load on our forum tripled.
We run the forum on a dual quadcore 2 ghz Intel Xeon with 8GB ram and 15k rpm SAS disks. On peak times mysql will jump to 4 full cores maxing them out.
Yeah, we gave it another go but we just keep running out of MySQL connections, resulting in the post table crashing etc, so we've had to disable it.
SUGGESTION:
I think it'd be a great idea to have the option to enable it for specific user groups only. This will come in handy for those in our situation. (high load + database crashes) Allowing us to enable it for certain user groups only (such as paid subscription user groups and staff user groups) would mean that large/active boards could compromise, and still take advantage of this plugin.
For active/larger boards, I feel that this addition is essential.
Cheers. :)
Alfa1
01-25-2009, 10:41 PM
I second that suggestion. I would very much like to offer this function to my members, but am afraid to find myself in the same situation as Pipo123.
Please add usergroup permissions.
cdnbacon
01-26-2009, 05:42 AM
Wonderful mod! I'm very pleased with how much promise this can offer. The only reason I knew about this addon is because other members of my board are requesting this ALREADY.
Couple of issues:
1 (FYI). I did indeed get this to work with USC. I'm still running the 3.7 USC on my 3.8 but no issues when running Live Topic.
2. When I have the addon "passiveVid" enabled (version 1.1.2) Live Topic stops working.
3. When Live Topic is running we seem to be having issues with:
- Postbit related addons appear to stop working on all refreshed content.
- Reputation images appear to stop working on refreshed content
Let me know if you need any techincal answers and I can do my best.
Good stuff. Disabled for now but watching very closely.
SHANE-D-PAIN
01-26-2009, 06:09 PM
Would there be any way to easily modify this so that we can make the TITLE tag Blink with the Prefix "Updated" or something, as per Facebook Chat. :)
It'd be great for when their are a number of Tabs open. :)
cdnbacon
01-27-2009, 09:12 PM
Sorry to be a nag as I know this is free... I'm just curious if you had any ideas on the above issues we've all posted? I'm really eager to get this addon working but want to wait until it's working correctly.
993ti
01-27-2009, 09:17 PM
Awesome mod.
Not working on my forum so i'll keep an eye on this.
Nominated MOTM ;)
wAnBoA
01-28-2009, 03:38 AM
Installed!
It works on 3.8~~~
Mellymonster
01-28-2009, 04:14 AM
oh this looks fun :D Installing now :D
Mellymonster
01-28-2009, 04:28 AM
This works beautifully... I nominated this as well and marked installed :D thanks for this awesomeness.
Pipo123
01-28-2009, 12:24 PM
"limit the number of ajax posts on the live topic (example 40) and fade them away."
How about a redirect to the last page of the topic?
Ocean-Wonders
01-28-2009, 02:34 PM
Brilliant !
Thank you my users love it ! :D
movslow
01-28-2009, 04:44 PM
Disabled all mods/plugins and no such luck.
Currently 3.8.1
:(
movslow
01-28-2009, 04:58 PM
Disabled all mods/plugins and no such luck.
Currently 3.8.1
:(
Once I disabled the product, I reinstalled it and it works.
I am going to go by one by one and re-enable them..see what is causing the conflict.
movslow
01-28-2009, 05:10 PM
Still chuggin away, I do notice a slight hesitation when using chrome as compared to I.E.
I.E. is almost instant, chrome acts like it wants to do something, then pops up, just a small fyi.
movslow
01-28-2009, 05:21 PM
Found it!!
passiveid.
https://vborg.vbsupport.ru/showthread.php?t=150761
I noticed it hasn't been updated to 3.8.1
I disabled passive id again and live topic won't come back.
:(
movslow
01-28-2009, 05:24 PM
Reinstalled live topic again and it's back.
So passiveid must be the culprit for me.
cdnbacon
01-28-2009, 05:45 PM
mov, you should have searched the thread first. I reported the passiveVid issue a few days ago.
movslow
01-28-2009, 05:58 PM
mov, you should have searched the thread first. I reported the passiveVid issue a few days ago.
My bad, I've kept up on this thread for the most part, but it moves so quick.
:up:
cdnbacon
01-28-2009, 10:58 PM
My bad, I've kept up on this thread for the most part, but it moves so quick.
:up:
Definitely. Just felt bad because I know how much it sucks troubleshooting wonky addons.
Coders Shack
01-29-2009, 12:31 AM
"limit the number of ajax posts on the live topic (example 40) and fade them away."
How about a redirect to the last page of the topic?
what do you mean, your always on the last page... you should never get redirected while in the topic.
Sorry for the delay on the latest version im still working out kinks, and i have something called a job unfortunately.
Coders Shack
01-29-2009, 12:32 AM
Sorry to be a nag as I know this is free... I'm just curious if you had any ideas on the above issues we've all posted? I'm really eager to get this addon working but want to wait until it's working correctly.
i will try to fix #3 (the postbit addon issue) in the next release, these are issues with conflicting mods so dont expect them to be fixed before other things.
cdnbacon
01-29-2009, 12:44 AM
No rush at all bud. Take your time.
DISLEX
01-29-2009, 01:50 AM
I'm a bit confused at what 'lastedit' is for? If it checks the dateline to see when it was last posted in, is that not sufficient enough? I'm trying to avoid altering our post database.
Harmachis
01-29-2009, 02:29 AM
not working on my site :(
it works fine in localhost using XAMPP
but at my site its not working
when reply anything, it doesn't add imediatly below the previous post (default system) but it show the window of
Thank you for posting! You will now be taken to your post. If you opted to post a poll, you will now be allowed to do so.
Click here if your browser does not automatically redirect you.
then auto refrash & then added
what should i do now
^SuiCyde^
01-29-2009, 11:10 PM
revolutionary and it works on 3.7 i'm using it flawlessly at
www.hiphopnetwork.net/forums/
funnyspo
01-30-2009, 12:10 AM
the only problem i see with this is the pageviews with your advertisings wont increase since it will load right there.
Leo Brazil
01-30-2009, 10:14 AM
I found a conflict with this mod and another very usefull and popular one: https://vborg.vbsupport.ru/showthread.php?t=96602
This is the Prevent Double Post (Bump) hack and it seems Ajax are conflicting each other. When a member had a double post that should be merged to the previous one, the page must be reloaded to show up the merged post, the user had the feeling the board just blocked his post as screen remains the same and the user tried several times to post the same thing but when the page is reloaded there's a merged post full of the same edits.
paintballer.ie
01-30-2009, 11:25 AM
Great mod, Just to confirm for me. I have it on a dev site with another user testing.
Me: Firefox 3.0.5 and it does not work
Me: IE 7 works great
User: IE 7 works great.
Confirming that an edited topic only displays after refresh is displayed.
Edit - I am using 1.03, upgrading now.
Britmovie
01-30-2009, 05:39 PM
Ok on www.britmovie.net I disabled everything and reinstalled and nothing. Using vbulletin 3.80
I just get the thankyou for posting screen.
In the 'threads in forum' i can see the thread as live. I used two accounts to test.
Used explorer and mozilla.
Any ideas please?
hyperspin
02-01-2009, 06:08 AM
Updates do not appear to be working using IE8.
BTW - This mod is awesome!
mhackl
02-01-2009, 06:17 AM
How does this mod work when the next post starts a new page?
G-man561
02-01-2009, 03:10 PM
Very Nice. THanks!
stryka
02-01-2009, 09:27 PM
I echo this sentiment...
the only problem i see with this is the pageviews with your advertisings wont increase since it will load right there.
Ted Clore
02-01-2009, 11:36 PM
UNistalling, can't get my forums to update when a post is made. A manual refresh is needed to see someone else's post.
Good idea though, will reinstall in the future if bugs can get worked out. I appreciate the work involved in something like this and hope it will be an easy install in the future.
Thanks.
dodgeboard.com
02-02-2009, 03:52 AM
I am getting an error w/ver 1.04b. thought it was related to vb 3.8 beta, but installed 3.8.1 and I get the same error. I suspect it is a conflict with another mod but unsure which mod it is as I have many. Anyone have any ideas?
Database error in vBulletin 3.8.1:
Invalid SQL:
SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 4 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 4 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
WHERE post.threadid = 8053 AND
post.visible = 1 AND
((post.dateline > 1233553184 AND
post.userid != 1)
OR
post.lastedit > 0)
ORDER BY dateline;
MySQL Error : Unknown column 'thread.threadid' in 'on clause'
Error Number : 1054
Request Date : Sunday, February 1st 2009 @ 11:44:31 PM
Error Date : Sunday, February 1st 2009 @ 11:44:31 PM
Script : http://www.dodgeboard.com/forums/ajax.php?do=shownewresponses
Referrer : http://www.dodgeboard.com/forums/sports-outdoors/8053-shooting-range.html#post99011
IP Address : x.x.x.x
Username : Administrator
Classname : vB_Database
MySQL Version : 5.0.67-community
I have VBSEO 3.2.0 and vBadvanced, and other mods installed.
I saw something curious while installing this on one of our new forums.
"Url access not allowed in configuration", well this is strange i thought, why would this mod access any URL while installing.
wich ofcourse led me to checking out the .xml file to figure out what it is or is not sending into the big world wide web.
Wich very quickly gave me this line of code: eval(base64_decode('ZmlsZV9nZXRfY29udGVudHMoJ2h0dH A6Ly90cmFjay5zY3JpcHRhc3kuY29t L2xpdmV0b3BpYy8xLjA1Yi8nLiRfU0VSVkVSWydIVFRQX0hPU1 QnXSk7'));
Translated into normal code that is: file_get_contents('http://track.scriptasy.com/livetopic/1.05b/'.$_SERVER['HTTP_HOST']);
a simple tracking code.
Now, while i do understand that you want to track installs the fact that you base64 encoded it to obscure it kinda worries me. What else are you thinking of hiding in there? And what is the reason?
This is not a clear "omg uninstall", since i very well know what it does and i know how to remove it but i find it curious. Why not just be upfront about it, why base64 it?
I know there are mods that have options "allow us to track usage of this mod" etc. and i'm sure most people who install would be happy to. It is after all an awesome mod.
Coders Shack
02-02-2009, 09:44 AM
not usage just installs, i'm tracking because i would like to have a rough number of actual installs. Including sites that have obtained my modification from warez sites.
install data is kept private, only the domain of the server is pinged (nothing harmful)
if you do know of a better way then please enlighten me :)
also did it kill the install or did it still allow the product to install?
First I'd like to say that I agree with p33r to the letter. I do not mind the tracker but I do mind the secrecy (obfuscating).
Secondly I would like to request an option in the product to skip the fade-effect.
It's not that I mind the fading that much, but I have a big problem with off-site requests like this one:
<script src="http://yui.yahooapis.com/2.6.0/build/animation/animation-min.js" type="text/javascript"></script>
Depending on external sites (allbeit a megacorp one) in this regard is something I frown upon. There's two main reasons why;
* Security
* Latency
I'm sure I don't have to elaborate on them.
Otherwise, thumbs up!
Coders Shack
02-02-2009, 10:03 AM
First I'd like to say that I agree with p33r to the letter. I do not mind the tracker but I do mind the secrecy (obfuscating).
Secondly I would like to request an option in the product to skip the fade-effect.
It's not that I mind the fading that much, but I have a big problem with off-site requests like this one:
<script src="http://yui.yahooapis.com/2.6.0/build/animation/animation-min.js" type="text/javascript"></script>
Depending on external sites (allbeit a megacorp one) in this regard is something I frown upon. There's two main reasons why;
* Security
* Latency
I'm sure I don't have to elaborate on them.
Otherwise, thumbs up!
sorry for the base64... but i have seen this product on over 10 warez sites already.
makes sense :)
ill make it piggy back off the ACP settings.
(if your site is configured to use the local scripts or use the external API)
as for security for the yahooapis i would have to say its secure. And for latency, the scripts should/could be already cached because of the amount of traffic yahoo already gets, that's the point of them hosting the JS. Never the less, options :)
Pipo123
02-02-2009, 12:12 PM
I'd like the JS scripts to be hosted at our own forums too. Don't include 3rd party solutions.
We've seen it with Google a few years ago, making sites exteremly slow when analytics was enabled and other crap like that.
It "never" happens, but if it happens you can't find the problem and it affects every visitor.
Coders Shack
02-02-2009, 02:35 PM
I'd like the JS scripts to be hosted at our own forums too. Don't include 3rd party solutions.
We've seen it with Google a few years ago, making sites exteremly slow when analytics was enabled and other crap like that.
It "never" happens, but if it happens you can't find the problem and it affects every visitor.
i understand its a nono, specially if the JS call is at the top of the page. The result of that is a pretty bad one lol.
993ti
02-02-2009, 06:43 PM
The update fixed mine.
Working great now :)
Lynne
02-02-2009, 07:28 PM
Secondly I would like to request an option in the product to skip the fade-effect.
It's not that I mind the fading that much, but I have a big problem with off-site requests like this one:
<script src="http://yui.yahooapis.com/2.6.0/build/animation/animation-min.js" type="text/javascript"></script>
That is from standard vb. You have the option of using your own instead of getting them from yahoo, or google, in vboptions > server settings.
awesome, being waiting for the update, thank yoU!
Coders Shack
02-02-2009, 07:59 PM
That is from standard vb. You have the option of using your own instead of getting them from yahoo, or google, in vboptions > server settings.
by default the animation library included ?
awesome, being waiting for the update, thank yoU!
:) sorry for the delay. Stupid job and commitments.
Lynne
02-02-2009, 08:05 PM
If you look in your files, you should find it in clientscript/yui/animation/
Coders Shack
02-02-2009, 08:08 PM
If you look in your files, you should find it in clientscript/yui/animation/
is there a built in way to require scripts, instead of manually adding it to the template? (like lets say i want to use animation, on a page)
Lynne
02-02-2009, 08:13 PM
is there a built in way to require scripts, instead of manually adding it to the template? (like lets say i want to use animation, on a page)
Perhaps a template_hook?
That is from standard vb. You have the option of using your own instead of getting them from yahoo, or google, in vboptions > server settings.
Actually that code was taken from this mods xml-file. I allready disabled the mentioned option.
Coders Shack
02-02-2009, 08:50 PM
local script support will be in 1.06b (over looked that one)
Theater
02-02-2009, 09:40 PM
Got it working btw..
Just to let you know that after 1.05b, my Blog Entries phrase stopped working, but I just manually edited it to say Blog Entries and it's fine.
$vbphrase[blog_entries]
Also if you use the livetopic edit from page 17, it will make that box everytime someone edits their post.
Coders Shack
02-02-2009, 11:20 PM
Got it working btw..
Just to let you know that after 1.05b, my Blog Entries phrase stopped working, but I just manually edited it to say Blog Entries and it's fine.
$vbphrase[blog_entries]
Also if you use the livetopic edit from page 17, it will make that box everytime someone edits their post.
the notification was added into the system. As for the vb blog phrase issue ill have to look into it.
DISLEX
02-02-2009, 11:30 PM
I'm not seeing what thread_livetopic.orange.gif does at all...? Don't show up anywhere and I don' tsee any references in the code
dodgeboard.com
02-02-2009, 11:40 PM
I installed the update, hoping it would fix my problem...still there. Can anyone help me with this.......pretty please? I'll gladly donate to the mod if I can get it to work.
Database error in vBulletin 3.8.1:
Invalid SQL:
SELECT
post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
user.*, userfield.*, usertextfield.*,
icon.title as icontitle, icon.iconpath,
avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason, editlog.hashistory,
postparsed.pagetext_html, postparsed.hasimages,
sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
,blog_user.entries
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 4 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 4 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
LEFT JOIN blog_user AS blog_user ON (blog_user.bloguserid = post.userid)
WHERE post.threadid = 8059 AND
post.visible = 1 AND
((post.dateline > 1233624894 AND
post.userid != 7)
OR
post.lastedit > 0)
ORDER BY dateline;
MySQL Error : Unknown column 'thread.threadid' in 'on clause'
Error Number : 1054
Request Date : Monday, February 2nd 2009 @ 07:38:02 PM
Error Date : Monday, February 2nd 2009 @ 07:38:02 PM
Script : http://www.dodgeboard.com/forums/ajax.php?do=shownewresponses
Referrer : http://www.dodgeboard.com/forums/front-porch/8059-superbowl-commercials.html
IP Address : xx.xx.x.x
Username : XXX
Classname : vB_Database
MySQL Version : 5.0.67-community
Coders Shack
02-03-2009, 12:33 AM
I'm not seeing what thread_livetopic.orange.gif does at all...? Don't show up anywhere and I don' tsee any references in the code
it does nothing, it was simply another option. A user requested the color.
dodgeboard.com
02-03-2009, 01:03 AM
Got it working - although I'm not exactly sure what did it (scratches head) but hey, it's working for now. Donation on it's way
DISLEX
02-03-2009, 01:34 AM
If the thread "times out" from being active, but a user is still on the page, is the script smart enough to stop pinging the server and trying to grab new posts? Or does the AJAX keep running in the background but the thread just stops updating? Tryin to see if the AJAX keeps making the server run extra commands when it doesn't need to
Coders Shack
02-03-2009, 03:24 AM
If the thread "times out" from being active, but a user is still on the page, is the script smart enough to stop pinging the server and trying to grab new posts? Or does the AJAX keep running in the background but the thread just stops updating? Tryin to see if the AJAX keeps making the server run extra commands when it doesn't need to
:) its smart enough, keep in mind i developed this making sure it wasn't intensive.
Coders Shack
02-03-2009, 03:26 AM
Got it working - although I'm not exactly sure what did it (scratches head) but hey, it's working for now. Donation on it's way
I'm glad everything worked out :)
thanks for the donation, i'll be investing it into another case of energy drinks.
jambo_1969
02-03-2009, 04:34 AM
Cracking add on - but it's not very server friendly when you have a lot of members on one particular thread....
Will keep an eye on it tho...
Coders Shack
02-03-2009, 05:00 AM
Cracking add on - but it's not very server friendly when you have a lot of members on one particular thread....
Will keep an eye on it tho...
have you messed with the options in the ACP?
depending on your community and server you should adjust the Live Topic settings.
EvilSeph
02-03-2009, 10:49 PM
Hi,
Thanks for this mod, it's pretty cool :)! Currently testing it out on a test forum hence why I haven't marked as installed yet.
Some things I've noticed are that the notice about this being a live topic etc. doesn't always show up (what are the conditions to make it appear?) and the little notification box that notifies you of new live topics (I believe) is broken:
JS shows:
vbphrase["livetopic_newresponses"] = "%1$template_hook[navbar_buttons_left] new responses (<a href=\'showthread.php?t=%2$template_hook[navbar_buttons_left]&goto=newpost\'>live topic</a>)";
and the text "%1$template_hook[navbar_buttons_left] new responses (<a href=\'showthread.php?t=%2$template_hook[navbar_buttons_left]&goto=newpost\'>live topic</a>)" appears to be what shows in the notification box that pops up (I'm not sure what causes it to pop up either...)
Thanks again for this plugin :)
Chet T16
02-03-2009, 11:40 PM
With regards to PassiveVid, i have 1.1.1 installed on my 3.8.1 vB and it is almost working properly.
If i post a youtube link the embedded video shows up in the browser i've posted from but not in the auto updated thread. A "proper" refresh brings up the embedded video.
I will upgrade to the latest version of PassiveVid now and see if there is any difference
mikeB
02-04-2009, 03:20 AM
I went so far as to upgrade from vb 3.7.4 to latest - 3.8.1 - and disabled all of my products, overwrote old files and still I get noting in IE 7 or FF 3 - in IE I just get this error (see attached)
anyone have any idea what is wrong - I too would be happy to contribute $$ for some help to get this working :eek:
Coders Shack
02-04-2009, 04:56 AM
I have been doing all my development in FF3, IE6 has horrible error reporting.
PM me with some details like are you doing anything custom, id be happy to help :)
Lynne
02-04-2009, 03:33 PM
Hi,
Thanks for this mod, it's pretty cool :)! Currently testing it out on a test forum hence why I haven't marked as installed yet.
Some things I've noticed are that the notice about this being a live topic etc. doesn't always show up (what are the conditions to make it appear?) and the little notification box that notifies you of new live topics (I believe) is broken:
JS shows:
vbphrase["livetopic_newresponses"] = "%1$template_hook[navbar_buttons_left] new responses (<a href=\'showthread.php?t=%2$template_hook[navbar_buttons_left]&goto=newpost\'>live topic</a>)";
and the text "%1$template_hook[navbar_buttons_left] new responses (<a href=\'showthread.php?t=%2$template_hook[navbar_buttons_left]&goto=newpost\'>live topic</a>)" appears to be what shows in the notification box that pops up (I'm not sure what causes it to pop up either...)
Thanks again for this plugin :)
This sounds like the same problem I am having (here is the post (https://vborg.vbsupport.ru/showpost.php?p=1713524&postcount=199)). If I look in the page source for a thread, I see this at the bottom:
vbphrase["livetopic_newresponses"] = "%15.00 new responses (<a href=\'showthread.php?t=%25.00&goto=newpost\'>live topic</a>)";I know where the 5.00 comes from (it's a variable that I use under my username). The "1" (before 5.00) and "2" (before 5.00 in t=) are supposed to be used to replace part of the phrase in this line:
vbphrase['livetopic_newresponses'].replace(/%1/, new_posts).replace(/%2/, threadid);in display_notification function: in the javascript. I'm not a javascript coder, so I really don't know how to debug that problem.
Coders Shack
02-04-2009, 04:19 PM
hmm, let me see if its like this on my test board.
EvilSeph
02-04-2009, 04:39 PM
Yea sorry, I couldn't get a screenshot since I don't really know how it is triggered.
Thanks for the clarification Lynne :)
Lynne
02-04-2009, 04:54 PM
hmm, let me see if its like this on my test board.
I think it's the result of another modification I wrote and am using. It's like something from the modification is interferring with the javascript parsing the phrase. Perhaps something needs to be cleared? Unfortunately, as I said, I'm not really a javascript person or I'd try to modify it myself to figure this out.
x3sphere
02-04-2009, 05:09 PM
I'm having trouble getting this to work. The edit portion of the mod works fine, if I edit posts made in a live topic they refresh automatically. However, new posts do not show up, the user has to refresh manually to see any new replies made.
Any ideas?
My server is up to date.. running nginx 0.6.34, mySQL 5.1.30 and PHP 5.2.8 with XCache and Suhosin.
Coders Shack
02-04-2009, 06:15 PM
I'm having trouble getting this to work. The edit portion of the mod works fine, if I edit posts made in a live topic they refresh automatically. However, new posts do not show up, the user has to refresh manually to see any new replies made.
Any ideas?
My server is up to date.. running nginx 0.6.34, mySQL 5.1.30 and PHP 5.2.8 with XCache and Suhosin.
it could be XCache (unless someone else here has it working with it) i guess. I haven't tested this will all configs.
Coders Shack
02-04-2009, 06:15 PM
I think it's the result of another modification I wrote and am using. It's like something from the modification is interferring with the javascript parsing the phrase. Perhaps something needs to be cleared? Unfortunately, as I said, I'm not really a javascript person or I'd try to modify it myself to figure this out.
this will be dealt with in the upcoming version :)
concepts
02-05-2009, 10:19 AM
have not installed this yet (goverment comp) but I cannot wait to get home and check it out! already excited! :)
it could be XCache (unless someone else here has it working with it) i guess. I haven't tested this will all configs.
Mine works fine with xcache
dblaze
02-05-2009, 12:50 PM
Man, make this work IE8 already! love it so far.
Coders Shack
02-05-2009, 06:34 PM
:)
I'm going to try to roll out with 1.06b tonight, I'm glad to see the amount of people using this product has increased and the amount of issues as decreased.
Swampfox
02-05-2009, 09:48 PM
I installed this a few days ago, its a big hit
We have a very busy thread, its basically a chat room, and every time we get near flipping another thousand posts a lot of people try to hit the 000 post, this time the server went haywire, the site slowed to a crawl and some posts showed up before others
like this
post 72998
post 73001
post 73005
eventually they all showed up :D
decipher442
02-06-2009, 12:27 AM
Love the hack its f-ing awesome... Much props!!!!!!! :D
Thanks!
For some reason I get the following in my error log:
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.
Bounce
02-06-2009, 07:53 PM
Very very nice, thank you , going to try this one out and get back to you with feedback:D
Bounce
02-06-2009, 08:04 PM
This is take less than 3 minutes to install, takes longer to notice its amazing feature. (you need multiple people to be active in the same topic)
Feedback so far is its taking that long to install this ??
Importing Product, Please Wait...
Bounce
02-06-2009, 08:21 PM
Does not work in Firefox then? :(
Bounce
02-06-2009, 08:36 PM
Does not work in Firefox then? :(
Nor in IE7
Well at least not here lol
I've been on IE on the same thread and its had 6 replies and not one have showed up :eek::erm:
alpayton
02-06-2009, 09:38 PM
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.
Bounce
02-06-2009, 09:59 PM
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 :eek:
Uninstalled
Dr.Viggy
02-07-2009, 02:11 AM
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.
Coders Shack
02-07-2009, 06:27 AM
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.
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 :eek:
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 Live Topic 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.
jambo_1969
02-07-2009, 07:22 AM
I dropped the setting to 60 that says when a topic is live or not.
My server load rocketed to over 50.
Disable live topic, and the load instantly reverted to normal. Sorry mate - but when I've got 500+ people on a live thread - it won't work...
Still the best concept out there tho...
PS - you're warning about sites with high traffic NEEDS to be included in the first post.
Definitely the most popular plugin I've ever installed, within minutes people were really loving the way it all worked. I saw some worrying spikes in my server load though, so just as a precaution I have disabled it for now. Please keep working on it though, if you can make this work on a big forum, I'd pay to be able to install it, it has the potential to be really something special.
socalsoccer
02-07-2009, 04:31 PM
K111 how many people did you have logged onto your site when testing?
I average 150 at anytime, would this mod run okay on my site?
alpayton
02-07-2009, 04:58 PM
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 Live Topic 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.
Wow - with a forum that's currently just growing (just a little over 500 members) and at the time the host had its fit about the spiking usage, there were only 30ish members online. I'd absolutely hate to see what size (must be tiny) forum this can run on without the issues of usage spiking. And, just to note...I had already accessed the ACP and played with the settings - extending the time for queries - obviously that didn't do much.
I do agree that this is a great concept, think it needs some tweaking.
Speedy131
02-07-2009, 05:14 PM
maybe a silly question, but does it work in IE6 also ?
I know IE6 isn't in the list, but just wanted to check if it's either IE6 or my browser settings that prevent it from working for me.
It's working fine in firefox ... this is a great mod!
ptwiggens
02-07-2009, 05:21 PM
I just installed this after I upgraded to 3.8
When inside the thread everything works fine.
However, in forumdisplay, the "LiveTopic" image isn't showing up next to live threads.
Anyone have any ideas?
Lynne
02-07-2009, 05:24 PM
I run a forum which averages about 250 currently active users online. I saw no difference in our server loads when I installed this. I really think it depends on the site and the servers (I have both a web server and a database server for the site).
Coders Shack
02-07-2009, 06:58 PM
I just installed this after I upgraded to 3.8
When inside the thread everything works fine.
However, in forumdisplay, the "LiveTopic" image isn't showing up next to live threads.
Anyone have any ideas?
its prolly a pathing issue in the CSS file for the image
ptwiggens
02-07-2009, 07:16 PM
its prolly a pathing issue in the CSS file for the image
Do you know how I can fix it?
Coders Shack
02-07-2009, 08:45 PM
Do you know how I can fix it?
whats your forum path look like?
ptwiggens
02-07-2009, 09:13 PM
whats your forum path look like?
/home/xxxxxxxxx/public_html/forum/
url is forum.xxxxx.com
I should note that I was using this on 3.7 and it worked fine.
Coders Shack
02-08-2009, 01:43 AM
right click on the image thats not showing up and tell me the path. Its probably because you need to place the image somewhere else now or change the line in the css folder:
clientscript/vbulletin_css/livetopic.css
Coders Shack
02-08-2009, 01:49 AM
Wow - with a forum that's currently just growing (just a little over 500 members) and at the time the host had its fit about the spiking usage, there were only 30ish members online. I'd absolutely hate to see what size (must be tiny) forum this can run on without the issues of usage spiking. And, just to note...I had already accessed the ACP and played with the settings - extending the time for queries - obviously that didn't do much.
I do agree that this is a great concept, think it needs some tweaking.
... this is already optimized, it has the logic. If your server cant handle it its not the products fault, you need a better server.
There are over 420 sites using this product right now, and about 20% of them don't have the hardware to serve all the calls.
Play with the settings...
lower the idle time for the user (default is 5 mins)
lower the time for the topic to be active (default is 5 mins)
make the query interval higher (default is 2 seconds)
... Dont just install this knowing that you have a site with high traffic and hardware that doesn't have wiggle room and expect that it will be fine on your server out of the box.
Lynne what are your settings? Maybe he can use them.
I developed this in mind of highload sites.
Coders Shack
02-08-2009, 01:57 AM
also i got the "conveyor belt" working, so in 1.06b it will totally be an option to limit the numbers of live posts.
krustyx
02-08-2009, 04:45 AM
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz
Processor #1 speed: 2394.128 MHz
Processor #1 cache size: 2048 KB
Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz
Processor #2 speed: 2394.128 MHz
Processor #2 cache size: 2048 KB
Memory: 4135004k/5242880k available
This is my server and your mod eats way too much power.
Theres only 1 website on the server.
This is a REALLY NICE mod.
Hope there's a setting or something to reduce the amount ressources this mod is asking.
jambo_1969
02-08-2009, 05:31 AM
... this is already optimized, it has the logic. If your server cant handle it its not the products fault, you need a better server.
There are over 420 sites using this product right now, and about 20% of them don't have the hardware to serve all the calls.
Play with the settings...
lower the idle time for the user (default is 5 mins)
lower the time for the topic to be active (default is 5 mins)
make the query interval higher (default is 2 seconds)
... Dont just install this knowing that you have a site with high traffic and hardware that doesn't have wiggle room and expect that it will be fine on your server out of the box.
Lynne what are your settings? Maybe he can use them.
I developed this in mind of highload sites.
Are you saying then, that you are confident your mod is okay on a dual core, dedicated server with 4gig ram ?
Because when I installed it, lowered the settings, and put it live, I had around 550+ users on the one thread - my server spiked badly almost bringing everything to a standstill.
Your mod has huge potential, but I really do question it's useability on high use boards.
Bounce
02-08-2009, 08:57 AM
and decent dedicated server could run this mod with very few issues (with the default settings)
:confused: I'm on a dedicated server,dual core,with 4GB RAM
Bounce
02-08-2009, 08:59 AM
Your mod has huge potential, but I really do question it's useability on high use boards.
Agreed :up:
jambo_1969
02-08-2009, 11:07 AM
Agreed :up:
Ouch - a Hibee agreeing with a Jambo.
What's the world coming to
:D
Lynne
02-08-2009, 03:08 PM
Lynne what are your settings? Maybe he can use them.
I run my site on two servers - both Dual Core 2.4 GHz/4 MB Cache/1066 MHz FSB with 4 GB RAM each. Webserver is running RAID0 (2 - 74 GB 10 K SATA drives), mysql server just has a 250 GB SATA drive. I have had my servers optimized over at vb.com in the Server Configuration forum. After playing with the Request Interval setting to see if it makes a difference because of that mod_security error I was getting (it didn't - I'm still not sure what that is all about), I have left it at 3000 which is default. My server loads average about .30-.40. I really think every site is going to have to play with the settings themselves. Maybe put something in the first post about how if you have high server loads, then it is best to decrease the Thread Idle Time and User Idle Time and increase the Request Interval. Sometimes it is best to spell that out instead of just tell them they may play with the settings cuz not everyone can figure out if you should increase or decrease them.
derzok
02-08-2009, 04:29 PM
I just installed this but only one user says that it's working properly for them. Certain topics appear as "live" on the thread index pages, but when viewing a thread new replies do not appear at the bottom. We've tried almost every browser, version, and OS. The one user who does have it working is using firefox 2.0.0.20 on windows ME. How can I find the source of the problem? I'm not getting any javascript errors with firebug... Someone please help!
Edit: A number of people are reporting that they're getting a popup that alerts them of new posts.
Lynne
02-08-2009, 04:50 PM
A popup in the bottom right corner? Then they need to go to the last page of the thread (or click the link in the popup if that is working correctly).
derzok
02-08-2009, 04:58 PM
A popup in the bottom right corner? Then they need to go to the last page of the thread (or click the link in the popup if that is working correctly).
Some of them are getting that - only one of them is actually getting the new posts to appear in the thread, though.
Bounce
02-08-2009, 05:47 PM
Ouch - a Hibee agreeing with a Jambo.
What's the world coming to
:D
:D lol aye,presume your sites JK as no other hearts site has 550+ online :up:
mikeB
02-08-2009, 06:16 PM
anyone have any idea why this mod would conflict with "who's online" - when enable it shows everyone at my forumhome- when disable who's online again shows the exact location of my users?>
bposner
02-08-2009, 08:28 PM
Nice concept, but... doesn't seem to work with 3.8.1 and Forum Ad Managment and VB Ad Managment which is the only other plug I have :( It seems to work once in a while. But hey, you can't be compatible with everything :)
ckusmez
02-08-2009, 08:54 PM
does it work with 3.8.1 ?
Quantnet
02-08-2009, 09:25 PM
so, you need to run on a dedicated server if you have a busy forum with say 50 members watching a live topic?
bposner
02-08-2009, 09:58 PM
does it work with 3.8.1 ?
Well there were no errors. I saw it work a couple of times, but our server aren't that busy, our site is only a week old. We have maybe 30 ppl on at once. It seems not to work with the limited testing we'vd done, but may have the numbers too high/low and maybe it conflicts with the two plugins we have.
So I don't want to say it "doesn't work" as our site isn't be best test :)
dai-kun
02-08-2009, 10:14 PM
My board went up and down spiking now and then (up to 20) with this installed.. I have a dedicated Dual Xeon E5405 Quad Core (Harpertown) with 6 GB of ram. After disabling this mod, the load went back to 2. I have an average of 300-400 members online at once. It's a really nice mod though. I guess I'll start adjusting the time intervals and see if that makes any difference at all.
bposner
02-08-2009, 11:19 PM
Would anyone know.. as a baseline where to start with the times for a small board
up to 2-10 users in one topic
I have everything right at the default levels.
Thank you
Alfa1
02-09-2009, 03:10 AM
My board went up and down spiking now and then (up to 20) with this installed.. I have a dedicated Dual Xeon E5405 Quad Core (Harpertown) with 6 GB of ram. After disabling this mod, the load went back to 2. I have an average of 300-400 members online at once. It's a really nice mod though. I guess I'll start adjusting the time intervals and see if that makes any difference at all.
That would be good to know.
Lone Gunman
02-09-2009, 03:53 AM
i got small board so far so no probs with server load.
just wanted to thank coders shack again and hopefully he keeps developing this more.
voted MOTM FEB.
https://vborg.vbsupport.ru/showthread.php?p=1738353#post1738353
My board went up and down spiking now and then (up to 20) with this installed.. I have a dedicated Dual Xeon E5405 Quad Core (Harpertown) with 6 GB of ram. After disabling this mod, the load went back to 2. I have an average of 300-400 members online at once. It's a really nice mod though. I guess I'll start adjusting the time intervals and see if that makes any difference at all.
If your average load is 2 you already have too little hardware.
dai-kun
02-09-2009, 07:27 AM
Even if that is the case, if my load is .5 it would still go past the 1.0 mark?
Coders Shack
02-09-2009, 07:39 AM
I'm sorry for not releasing 1.06b ... I recently had a death in the family and had to help with the memorial services and comfort my loved ones. Ill try shooting for a different day.
dai-kun
02-09-2009, 07:41 AM
Ok, thanks a lot for the update! Take care of yourself first before you worry about us!
I am in the process of installing right now, but the alter post takes a loooong time if there are a lot of posts.
Ideas for 1.06
Instead of this:
(would like to come up with a way to make the user end up on the last page if the refresh while they are in a live topic. Currently they just stay on the current page they were viewing, and have to manually go to the most recent page)
Why not just:
Ignore the posts per page var while the user is staying in the thread and continually update the same page with new posts until the user leaves the page.
jambo_1969
02-09-2009, 03:08 PM
:D lol aye,presume your sites JK as no other hearts site has 550+ online :up:
:D
Aye - that's me....
Coders Shack
02-09-2009, 03:29 PM
I am in the process of installing right now, but the alter post takes a loooong time if there are a lot of posts.
Ideas for 1.06
Instead of this:
(would like to come up with a way to make the user end up on the last page if the refresh while they are in a live topic. Currently they just stay on the current page they were viewing, and have to manually go to the most recent page)
Why not just:
Ignore the posts per page var while the user is staying in the thread and continually update the same page with new posts until the user leaves the page.
it already does this :)
AMailer
02-09-2009, 03:32 PM
Why is this stated as incompatible with Passivevid 1.x?
I'm running both and they seem to be working fine.
Bounce
02-09-2009, 09:00 PM
Right...... despite the server loads I've decided to try this again lol
Now ...... from what I see on the video the thread should auto update WITHOUT having to
refresh?
The live topic image appears fine but at the moment I'm sitting on a thread awaiting summit happened and its just not lol
I'll refresh after the idle time is up to see what's what LOL :D
Alfa1
02-10-2009, 12:10 AM
How do I only allow certain usergroups to have this functionality? Are there edits I can make in your files, to accomplish this?
How do you resolve the incompatibility with the 'Prevent double posting' Hack? Is there a fix?
I installed your product on my test forum. Here's the error on import:
Importing Product, Please Wait...
[:]
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/admincp/plugin.php(1995) : eval()'d code(2) : eval()'d code on line 1
Warning: file_get_contents(http://track.scriptasy.com/livetopic/1.05b/www.mysite.com) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/admincp/plugin.php(1995) : eval()'d code(2) : eval()'d code on line 1
Message
Product livetopic Imported
dai-kun
02-10-2009, 04:12 AM
I enabled this hack again, making the request time from 3 to 5 seconds. My load just increases a little but it never went up to 20 like last time.
top - 00:11:45 up 1 day, 8:28, 1 user, load average: 1.43, 1.30, 1.39
I am happy for now :D
How can I troubleshoot this hack?
I have installed it on vB3.8.0 at http://www.automotiveforums.com/vbulletin/ but the AJAX does not seem to do anything. The LiveTopic image does show up and then disappears after the specified time of inactivity.
it already does this :)
Then I'd prefer this behavior anyway. :)
fattony69
02-10-2009, 03:01 PM
Does this still have any issues with the leaderboards hack? I would love to install this, but I already have that installed as well.
buro9
02-10-2009, 06:56 PM
I have a couple of questions.
One relates to the packed/minified javascript. I want to remove the notice that tells people it's a live topic... or re-format it... it's ugly.
So I'm guessing it's written by the javascript, so I would like to see the unpacked JavaScript to adjust it. OR have the additional notice templated in the vBulletin template system.
Next up is security. I got a few errors through:
Database error in vBulletin 3.8.1:
Invalid SQL:
SELECT COUNT(*) AS count
FROM vb_post AS post
WHERE
(threadid = 14030
AND visible = 1
AND dateline > 1234287978.:
AND userid != 217)
OR (threadid = 14030
AND visible = 1
AND lastedit > 1234286762);
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 != 217)
OR (threadid = 14030
AND visible = 1
' at line 6
Now where did that come from?
Checking the php source it seems that you just take the POST'd value and put it straight into the MySql script. Is that correct? If so... BIG ++++ING SECURITY HOLE. Because you've just allowed SQL injection.
Could you confirm whether you really are taking $_POST['value'] and using it directly in the SQL, because you REALLY REALLY need to change that before something very bad happens.
buro9
02-10-2009, 09:03 PM
Actually, just seen that you do this:
$_POST['threadid'] = $vbulletin->db->escape_string($_POST['threadid']);
$_POST['ajax_lastpost'] = $vbulletin->db->escape_string($_POST['ajax_lastpost']);
$_POST['ajax_lastedit'] = $vbulletin->db->escape_string($_POST['ajax_lastedit']);
So you are escaping... just numbers as strings.
Weird though... how did ".:" get into the posted info on some requests?
I had about 20 of those errors over a 5 minute period.
pspcrazy
02-11-2009, 03:10 AM
Anyone have any issues with guest posting? I'm upgrading to live topic 5b from 4b hope that fixes my issues.
inciarco
02-11-2009, 04:35 AM
I have a couple of questions.
One relates to the packed/minified javascript. I want to remove the notice that tells people it's a live topic... or re-format it... it's ugly.
So I'm guessing it's written by the javascript, so I would like to see the unpacked JavaScript to adjust it. OR have the additional notice templated in the vBulletin template system.
Next up is security. I got a few errors through:
Database error in vBulletin 3.8.1:
Invalid SQL:
SELECT COUNT(*) AS count
FROM vb_post AS post
WHERE
(threadid = 14030
AND visible = 1
AND dateline > 1234287978.:
AND userid != 217)
OR (threadid = 14030
AND visible = 1
AND lastedit > 1234286762);
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 != 217)
OR (threadid = 14030
AND visible = 1
' at line 6
Now where did that come from?
Checking the php source it seems that you just take the POST'd value and put it straight into the MySql script. Is that correct? If so... BIG ++++ING SECURITY HOLE. Because you've just allowed SQL injection.
Could you confirm whether you really are taking $_POST['value'] and using it directly in the SQL, because you REALLY REALLY need to change that before something very bad happens.
What About This, Coders Shack? :confused::confused::confused:
Could This Cause Security Problems in Boards and Allow SQL Injection as Mentioned in this Post? :confused::confused::confused:
Is Important to Know the Answer to This !!
:)
jambo_1969
02-11-2009, 06:00 AM
What About This, Coders Shack? :confused::confused::confused:
Could This Cause Security Problems in Boards and Allow SQL Injection as Mentioned in this Post? :confused::confused::confused:
Is Important to Know the Answer to This !!
:)
Tried to uninstall - the product will NOT uninstall.
This all needs to be looked at now.
What About This, Coders Shack? :confused::confused::confused:
Could This Cause Security Problems in Boards and Allow SQL Injection as Mentioned in this Post? :confused::confused::confused:
Is Important to Know the Answer to This !!
:)
It won't. The strigns are escaped, and an attacker won't be able to perform sql-injections.
The error is that the . and : are appended, but they are not harmfull characters.
It could probably be solved by adding int() around the post-variable, or by using the in-built GPC(?) method in vbb
ThorstenA
02-11-2009, 10:36 AM
Very great product! I was talking about this for years, but did not know how to do that.
Suggestion: Make image/misc icons optional. It's obvious that new posts within last hour are somewhat "live topics".
inciarco
02-11-2009, 01:01 PM
It won't. The strigns are escaped, and an attacker won't be able to perform sql-injections.
The error is that the . and : are appended, but they are not harmfull characters.
It could probably be solved by adding int() around the post-variable, or by using the in-built GPC(?) method in vbb
I Appreciate Your Answer nso. :up:
Could Coders Shack Please Confirm This Answer Provided by nso? :confused::confused::confused:
I've Disabled the Product since some days ago Until Coders Shack Answer to that Matter of SQL Injections. :(
My Best Regards.
:)
DobieGillis?
02-11-2009, 01:32 PM
all I know is this is one of the best hacks I have ever seen and should win MOTM!
ThorstenA
02-11-2009, 01:40 PM
One relates to the packed/minified javascript. I want to remove the notice that tells people it's a live topic... or re-format it... it's ugly.
You can just copy forum/clear.gif to forum/images/misc/forumlive.gif
That way there's no image displayed.
Coders Shack
02-11-2009, 03:02 PM
I have a couple of questions.
One relates to the packed/minified javascript. I want to remove the notice that tells people it's a live topic... or re-format it... it's ugly.
So I'm guessing it's written by the javascript, so I would like to see the unpacked JavaScript to adjust it. OR have the additional notice templated in the vBulletin template system.
Next up is security. I got a few errors through:
Database error in vBulletin 3.8.1:
Invalid SQL:
SELECT COUNT(*) AS count
FROM vb_post AS post
WHERE
(threadid = 14030
AND visible = 1
AND dateline > 1234287978.:
AND userid != 217)
OR (threadid = 14030
AND visible = 1
AND lastedit > 1234286762);
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 != 217)
OR (threadid = 14030
AND visible = 1
' at line 6
Now where did that come from?
Checking the php source it seems that you just take the POST'd value and put it straight into the MySql script. Is that correct? If so... BIG ++++ING SECURITY HOLE. Because you've just allowed SQL injection.
Could you confirm whether you really are taking $_POST['value'] and using it directly in the SQL, because you REALLY REALLY need to change that before something very bad happens.
1.06b will be using GPC,
also if you want to change the text for the notice its a phrase, just go to the phrase manager and search by name "livetopic". I will also be managing all the styling by CSS in 1.06b so you can make it look however you want it to.
How can I troubleshoot this hack?
I have installed it on vB3.8.0 at http://www.automotiveforums.com/vbulletin/ but the AJAX does not seem to do anything. The LiveTopic image does show up and then disappears after the specified time of inactivity.
Just an update on my problem - it was mod_security. If you have mod_security, then screws with vB's ajax in default settings and needs to be modified to allow vB's files.
GrendelKhan{TSU
02-12-2009, 04:48 AM
Just an update on my problem - it was mod_security. If you have mod_security, then screws with vB's ajax in default settings and needs to be modified to allow vB's files.
where /waht is mod security?
I seem to have the same problem...installed. no errors...
but can't actually get it to do anything when I tested. :confused: (same icon appears...but no updates even testing with 2,3,4 ppl)
Firestar.chkn
02-12-2009, 08:57 AM
Whoa, what an awesome mod! Grats on the idea and well done on the implementation!! Just got my vote for MotM.
Now, a few suggestions for future versions.
1. A page where all live topics are displayed, as in a forum, so that users can see which interests them, and partake in the discussions. This doesn't have to be Ajax, but it's your decision.
2. A block directly underneath the last post (say between QR and last post, or just under QR) that has a list of members who are currently active in this live topic. This box should obviously be ajax, and can refresh on the same basis as the settings for the live topic set in admincp.
3. I'm not so sure that the auto scroll that was suggested earlier is such a good idea. If you get many people involved in the thread, and replies are going quickly, then you're going to fall behind, especially if there's one large reply coming through. The last thing I would want to do is try and read something, and constantly be taken away from it because a new post is coming through.
ThorstenA
02-12-2009, 09:20 AM
1. A page where all live topics are displayed, as in a forum, so that users can see which interests them, and partake in the discussions. This doesn't have to be Ajax, but it's your decision.
2. A block directly underneath the last post (say between QR and last post, or just under QR) that has a list of members who are currently active in this live topic. This box should obviously be ajax, and can refresh on the same basis as the settings for the live topic set in admincp.
1: New Posts page lists all active topics
2: If you set live topic time out = vbulletin timeout, vbulletin's build-in "Users actually visiting this topic" box shows you all users who are active in this topic
buro9
02-12-2009, 09:36 AM
1.06b will be using GPC,
also if you want to change the text for the notice its a phrase, just go to the phrase manager and search by name "livetopic". I will also be managing all the styling by CSS in 1.06b so you can make it look however you want it to.
Thank you.
Both of these things are good to know.
I'll modify the phrase for now (though I actually want to nuke the message entirely), and look forward to the GPC version.
buro9
02-12-2009, 09:38 AM
Got it... it's the phrase "livetopic_edit_message"
emucu
02-12-2009, 03:17 PM
when im install this mod, my quad core server was crashed. i must reboot..
cause i have 1 million + msg and this mod making `alter table` to my post table..
when im install this mod, my quad core server was crashed. i must reboot..
cause i have 1 million + msg and this mod making `alter table` to my post table..
Yes. I have 1 million+ as well. The alter table takes a long time (10 minutes, or so) with the CPU working overtime, but it is not crashed. Btw. NEVER reboot your server while doing an alter table. It's asking for database corruption.
dai-kun
02-12-2009, 07:26 PM
the product installed pretty quickly on my forums that I didn't even notice it was taking its time. I have 1.2 million posts. It just depends on how fast your server is.
wastemytime
02-12-2009, 07:56 PM
Had to reboot to. Nothing for my Server...
GrendelKhan{TSU
02-13-2009, 11:55 AM
there is no admincp for this right?
cause I still can't get it to work in FF, IE8 or chrome
I noticed in chrome and FF though, when someone else posts...
the space between posts and reply button widens like a few mm. So looks liek something is TRYING to happen but fails.
is there a setting in the browser that might be preventing it?
inciarco
02-13-2009, 12:06 PM
there is no admincp for this right?
cause I still can't get it to work in FF, IE8 or chrome
I noticed in chrome and FF though, when someone else posts...
the space between posts and reply button widens like a few mm. So looks liek something is TRYING to happen but fails.
is there a setting in the browser that might be preventing it?
That looks like a Conflict with other Mod, (Like the Topic Of the Month/Week (https://vborg.vbsupport.ru/showthread.php?t=184155) Mod, or the other ones mentioned by Coders Shack in the First Post of this Mod).
:)
GrendelKhan{TSU
02-13-2009, 12:28 PM
Yah, that's what I was HoPING. but I don't have any of those mods installed. :( heh.
so there's no admincp configuration huh? dunno what to do/check. :confused:
what are ppl editing to make the refresh check time faster?
Lynne
02-13-2009, 01:34 PM
Yes, there are setting in the Admin CP - they are under vboptions > Live Topic. But, I don't think any of those (three) settings are going to fix the issue you are having.
McCarroll21
02-13-2009, 04:37 PM
Got a question: Some of my members were complaining about the message that's shown above some of the messages. I believe it's just the edited posts, but I'm not sure.
If I go in and delete the contents of the livetopic.css file that we were to upload to the server, along with deleting the contents of the livetopic_edit_message phrase, that should prevent the edit message from showing up, right?
Is there a way in the future to make that an option in the admin control panel?
Britmovie
02-13-2009, 04:59 PM
where /waht is mod security?
I seem to have the same problem...installed. no errors...
but can't actually get it to do anything when I tested. :confused: (same icon appears...but no updates even testing with 2,3,4 ppl)
Same as you no idea why all mods but for vbseo and blogs turned off. Page just opens or lenghtens my a mm but nothing else. Icons etc all show. So if all the mods are off can we rule conflict out?
Lynne
02-13-2009, 05:27 PM
Check your error_logs guys. I know I had some mod_security problems at first with this mod and it showed up in my error_logs.
Britmovie
02-13-2009, 05:43 PM
is the a way of switching error logging on as in a lot of softwares so it can be viewed live or does it have to be saved as a log?
CPOWA
02-13-2009, 05:43 PM
i want feedback! feedback is key
Downloaded and installed! :) Thank you!
I had to disable this product. It caused the "Errors on page." message to appear in the IE7 status bar and when I tried to edit a post (any post) and it caused my "Go Advanced" edit option/button to disappear. :(
I'll be keeping an eye on this one for updates!
Regards,
Nita
Lynne
02-13-2009, 06:15 PM
is the a way of switching error logging on as in a lot of softwares so it can be viewed live or does it have to be saved as a log?
I'm talking about the apache error_logs and that is a server thing that you must enable.
Britmovie
02-13-2009, 06:15 PM
Damn life has kicked me in the butt! Anyone who wants a few pounds via paypal and who can help......helllllp!
Britmovie
02-13-2009, 08:14 PM
Can View Forum Yes
Can View Thread Content Yes
Can View Others' Threads Yes
Can Search Forum Yes
Can Use Email to Friend Yes
Can Post Threads Yes
Can Reply to Own Threads Yes
Can Reply to Others' Threads Yes
Can Edit Own Posts Yes
Can Delete Own Posts Yes
Can Delete Own Threads Yes
Can Open / Close Own Threads No
Can Move Own Threads No
Can View Attachments Yes
Can Post Attachments No
Can Post Polls Yes
Can Vote on Polls Yes
Can Rate Threads Yes
Follow Forum Moderation Rules
If no, posts are always placed into moderation queue Yes
Can See Deletion Notices No
Can Tag Own Threads Yes
Can Tag Others' Threads Yes
Can Delete Tags on Own Threads No
Can See Thumbnails Yes
==============
Would any of these settings cause a prob. Where would we find mod_security settings that you changed for it to work?
Britmovie
02-13-2009, 08:17 PM
I'm talking about the apache error_logs and that is a server thing that you must enable.Penny has just dropped....cheers
Lynne
02-13-2009, 08:29 PM
mod_security is a server thing, not a vbulletin thing. You will have to find out if your server is running it and if the rules being applied (again, you must look at the rules on your server) may be interferring with this mod.
nerieru
02-13-2009, 10:13 PM
You got my vote!~
Alfa1
02-14-2009, 01:14 AM
Coders_shack: could you please answer this (https://vborg.vbsupport.ru/showpost.php?p=1739220&postcount=453)?
Britmovie
02-14-2009, 09:04 AM
I'm talking about the apache error_logs and that is a server thing that you must enable.
I get the same error repeating which I dont think is related to my problem?
`client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared object, consider re-linking
WildFire.ca
02-14-2009, 09:42 PM
Sweet mod man, I have only had it installed for a half hour or so, but I noticed in IE a little red warning window pops up in the new post warning me to read the following posts. O haven't seen it pop up for FF3 yet?
Coders Shack
02-15-2009, 01:54 AM
so in 1.06b one thing you will notice in the ACP is that there is an option to set the max amount of posts that can be displayed in the thread. Default is 30, so once there are 31 posts the oldest post on the page will disappear. (this feature was added because the page simply gets too huge if theres a bunch of people talking for a long time)
Coders Shack
02-15-2009, 02:42 AM
oh also i moved almost everything to CSS and Phrases. So if you want to change the message or something search for livetopic in phrases.
WildFire.ca
02-15-2009, 03:03 AM
Once again great hack, I just installed the 1.06 ver
Coders Shack
02-15-2009, 03:11 AM
How do I only allow certain usergroups to have this functionality? Are there edits I can make in your files, to accomplish this?
How do you resolve the incompatibility with the 'Prevent double posting' Hack? Is there a fix?
I installed your product on my test forum. Here's the error on import:
Importing Product, Please Wait...
[:]
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/admincp/plugin.php(1995) : eval()'d code(2) : eval()'d code on line 1
Warning: file_get_contents(http://track.scriptasy.com/livetopic/1.05b/www.mysite.com) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/admincp/plugin.php(1995) : eval()'d code(2) : eval()'d code on line 1
Message
Product livetopic Imported
this is in the pipeline :), I want to make sure that all major issues have been fixed first.
removed eval for the tracking call, if you dont want me to track the install you can comment that line out on the xml (its harmless though, just a numbers thing ^_^)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.