Live Updates for a Live event

Published  Jun 08, 2010
Updated  Jun 20, 2010

Description

WebScript using ajax/php/js to LiveUpdate v0.2
Easy to setup, no database required. Upload via FTP and you're away.

Updates
v0.1

  • Initial release
    v0.2
  • Delete option
  • Image function
  • BB code
  • BB Code buttons

Download

Filename
Size
Date
Downloads
43.48 KB
Jun 20, 2010
13
3.02 KB
Jun 08, 2010
16

Comments

Sign in to comment.
Jonesy44   -  Oct 29, 2011

Fantastic! If that works for you, great zip it upload it :D

 Respond  
dreamphreak2   -  Oct 29, 2011

I still cant believe this is like from a year ago and barely anyone posted on it despite it being a cool script... Anyways, compact version: outdated link removed, will readd when i can - Lots of stuff removed, i.e. the posting of images, and then table width at 100% so whereever it goes, it will try to fill up the space, even if its as narrow as a sidebar, or even if it was horizontal live updates, would be perfect. :)

 Respond  
Jonesy44   -  Oct 29, 2011

Yeah that would work pretty well. Just iframe it.

 Respond  
dreamphreak2   -  Oct 29, 2011

Soon i am going to see if i can modify it to fit in a compact space like a sidebar, especially since it has the auto-refresh which is invaluable.

 Respond  
Jonesy44   -  Oct 29, 2011

Awesome! Nice to see it in use :)

 Respond  
dreamphreak2   -  Oct 29, 2011

Yeah, http://dreamphreak.com
Replaced my website with it since i needed a redesign anyways. :p

Just my own personal website anyways, no one visits me, and i just have it mainly for testing other coding projects in the background

 Respond  
Jonesy44   -  Oct 29, 2011

The idea is from the live-blogging events that people use, but there are virtually no scripts that support it, feel free to mess about as much as you like! :L Are you hosting it somewhere at the moment?

 Respond  
dreamphreak2   -  Oct 29, 2011

Been messing around with this all day lol, its really fun.
Suggestion one: Add pages somehow? Or perhaps an option to enable pages or just all on one page.
Suggestion two: Messed around with a youtube video embedder, but doesnt work because of the auto-refresh, so i think i might just have to throw this one out the window:

function bb2html($str) {
   $patterns = array( "/\[link\](.*?)\[\/link\]/", "/\[url\](.*?)\[\/url\]/", "/\[b\](.*?)\[\/b\]/", "/\[u\](.*?)\[\/u\]/", "/\[s\](.*?)\[\/s\]/", "/\[i\](.*?)\[\/i\]/", "/\[center\](.*?)\[\/center\]/", "/\[scroll\](.*?)\[\/scroll\]/", "/\[yt\](.*?)\[\/yt\]/"); 

   $replacements = array( "<a href=\"\\1\" target=\"_blank\">\\1</a>", "<a href=\"\\1\" target=\"_blank\">\\1</a>", "<strong>\\1</strong>", "<u>\\1</u>", "<s>\\1</s>", "<i>\\1</i>", "<center>\\1</center>", "<marquee behavior=\"scroll\" direction=\"left\">\\1</marquee>", "<object width=\"480\" height=\"360\"><param name=\"movie\" value=\"http://www.youtube.com/v/\\1\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.youtube.com/v/\\1\" type=\"application/x-shockwave-flash\" width=\"480\" height=\"360\" allowscriptaccess=\"always\" allowfullscreen=\"true\"></embed></object>"); 

which works by just putting the video id between the tags, like [yt]QV8eiSA4vqc[/yt].

 Respond  
Jonesy44   -  Oct 29, 2011

Very good idea! The script isn't perfect, and needs a few little updates. I'll re-upload a new version when a few more edits have been made. Thanks for the positive feedback! :)

 Respond  
dreamphreak2   -  Oct 29, 2011

rw.php

Changed: <a href=\"\\1\">
To: <a href=\"\\1\" target=\"_blank\">

So links you post open in a new blank tab instead of losing people from the Live page.

 Respond  
dreamphreak2   -  Oct 29, 2011

Nevermind, the problem i had, i fixed it by just chmodding a couple files. Now that i am able to test it... This script is awesome! :)

EDIT: CHMOD updates.txt to be writable*

 Respond  
Jonesy44   -  Oct 29, 2011

There is a ReadMe.txt in the zip :)

 Respond  
dreamphreak2   -  Oct 28, 2011

No instructions about how to post it, or just missing a submit button?

 Respond  
Jonesy44   -  Mar 12, 2011

Check the reply I sent to you :)

 Respond  
QuinnFTW   -  Mar 11, 2011

i showed you a exploit with password protected dirs,

you should block the posting of images

 Respond  
Jonesy44   -  Sep 05, 2010

cheers :p

 Respond  
F*U*R*B*Y*   -  Sep 05, 2010

hahaha couldn't resist sorry man :(

 Respond  
Jonesy44   -  Sep 05, 2010

Haha yeah good shout. There is a BB Code parser :)

 Respond  
F*U*R*B*Y*   -  Sep 04, 2010

might want to block html and use a bbcode parser...

check your site for reason ;)

 Respond  
Jonesy44   -  Jun 20, 2010

Updated to 0.2

 Respond  
Jonesy44   -  Jun 20, 2010

You're welcome. Any features you can think of give me a shout & i'll update. There's already an update pending with a few more features i just forgot really:)

 Respond  
RichG   -  Jun 20, 2010

This is a great script, it features lots of potential. Thanks for the upload.

 Respond  
Jonesy44   -  Jun 11, 2010

Thanks :)

 Respond  
PATX   -  Jun 11, 2010

Ahhh ok. This is very very cool! Good job.

 Respond  
PATX   -  Jun 09, 2010

Whats it do? (don't have time to download pkg)

 Respond  
F*U*R*B*Y*   -  Jun 09, 2010
function bbc2html($str) {
    $patterns = array( "/\[link\](.*?)\[\/link\]/", "/\[url\](.*?)\[\/url\]/", "/\[b\](.*?)\[\/b\]/", "/\[u\](.*?)\[\/u\]/", "/\[s\](.*?)\[\/s\]/", "/\[i\](.*?)\[\/i\]/", "/\[center\](.*?)\[\/center\]/", "/\[scroll\](.*?)\[\/scroll\]/"); 
    $replacements = array( "<a href=\"\\1\">\\1</a>", "<a href=\"\\1\">\\1</a>", "<strong>\\1</strong>", "<u>\\1</u>", "<s>\\1</s>", "<i>\\1</i>", "<center>\\1</center>", "<marquee behavior=\"scroll\" direction=\"left\">\\1</marquee>"); 
        $str = preg_replace($patterns,$replacements, $str);
    return stripslashes($str);
}
bbc2html($str);

k thnx

 Respond  
F*U*R*B*Y*   -  Jun 08, 2010

i quite like it XD

 Respond  
Jonesy44   -  Jun 08, 2010

ahh yeah yeah nice shout there furbs

 Respond  
F*U*R*B*Y*   -  Jun 08, 2010

I'd personally make it so they can't access rw.php......

they have to be accessing it via index.php :) other then that very very nice :)

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.