Just get this one {URL SNIPPED} and problem solved, you seem like a bad coder so you should probably take a look how others done it before. Maybe i'll get rep- but who cares..
Robert1995
Junior Poster in Training
58 posts since Feb 2010
Reputation Points: 32
Solved Threads: 7
Skill Endorsements: 0
Wow, honestly I had not ideea what I posted THE HOVER IS BAD, THIS IS A BUG CLICK THE LINK FOR GODS SAKE, i put this : https://blueimp.net/ajax/ it's a free open source ajax chat.
Robert1995
Junior Poster in Training
58 posts since Feb 2010
Reputation Points: 32
Solved Threads: 7
Skill Endorsements: 0
There's some type of bug ... you're posting a legit site, but for some reason the hover is showing an asian porn site of some kind!
Dani
The Queen of DaniWeb
21,555 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124
diafol
Keep Smiling
10,838 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,534
Skill Endorsements: 61
thumbshot.org error or not ... It's not very appropriate.
Dani
The Queen of DaniWeb
21,555 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124
I agree. When I investigated further (not trying to look at Asian porn sites, I assure you!), the link to the offending thumb only seemed to happen if the entire url without the urlencoded & was entered. Using just the id or just the url parameteres in the querystring did not show the image. Similarly taking out the v or w parameters stopped the image from appearing. WHen I searched for the blueimp url in thumbshots.com, it said coming soon, so it doesn't appear to have been previously referenced. However, I may be wrong - I frequently am.
//EDIT
I don't think the search function is working as search for referenced sites. So disregard my last bit of nonsense. :(
diafol
Keep Smiling
10,838 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,534
Skill Endorsements: 61
I've reported the bug to Thumbshots.com.
Dani
The Queen of DaniWeb
21,555 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 376
Skill Endorsements: 124
OK, back to the thread. Sorry for going off-piste.
The blueimp chat is very good and I've used it myself in a few projects. However, if you are determined to roll your own - a great way to develop your skills as it's not very difficult to get going, but takes time to get it to look and work like you need. One of the bigegst problems IMO is resources. Ajax is all well and good, but you still need to check the server for posts periodically (pull). There is a similar method out there called comet, which pushes data from the server. It's sometimes called "long polling". The APE project has some nice examples, although it's not that straightforward.
By now there are a number of different 'push' technologies, but I'm no expert on these I'm afraid.
//EDIT
forgot to mention - Comet - it uses javascript on both server and client - not php
diafol
Keep Smiling
10,838 posts since Oct 2006
Reputation Points: 1,675
Solved Threads: 1,534
Skill Endorsements: 61
I've reported the bug to Thumbshots.com.
At the time when post was reported, I actually opened that link and it was going to porn site. Hence reason for infraction
peter_budo
Code tags enforcer
15,812 posts since Dec 2004
Reputation Points: 2,871
Solved Threads: 944
Skill Endorsements: 52