vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   LIVE 'Now Playing' Hack (https://vborg.vbsupport.ru/showthread.php?t=45006)

N!ck 10-25-2002 10:00 PM

LIVE 'Now Playing' Hack
 
What it does:
With this hack, users can globally update what song they are playing at a particular time. All they need to do is click a button at the top of your forum and a little window pops up where they can update the song title and artist (very convenient for surfing your forums or even another site!). The song title and artist are displayed next to each of their posts and in their profile IF they have updated it less than 15 minutes ago (we don't want a live script to be not current!).

Current version: 1.0.1b

Enjoy! Screenshots will follow.

Download: click here

N!ck 10-26-2002 04:03 AM

screenshot 1: update song information window

N!ck 10-26-2002 04:03 AM

screenshot 2: user profile

N!ck 10-26-2002 04:04 AM

screenshot 3: postbit

N!ck 10-26-2002 04:05 AM

if anyone would like to post a demo, it would be appreciated :) i've only got this installed on my test board for now.

mewgood 10-26-2002 04:27 AM

ya
I want a live demo
thx

Areku 10-26-2002 12:25 PM

/me will install it tomorrow too! Thanks!

ZiRu$ 10-26-2002 01:18 PM

thx. But i really dont want it in my getinfo and postbit. I was hoping for a live version in my message. OH WELL

Good job

N!ck 10-26-2002 03:05 PM

it IS live! :p look at the hack title
it just happens that i made it show in the postbit / getinfo templates because those are the only logical places i could think of. it IS live, though.

N!ck 10-26-2002 03:50 PM

This fixes some problems with apostrophes. To upgrade, remove the code from steps 3 and 4, then reapply these steps and replace nowplaying.php with the updated one included in the zip.

Unknown553 10-26-2002 05:29 PM

Kind of a pain to update this thing every 2-3 minutes....Nice idea, but too much work for me.

blackice912 10-26-2002 10:02 PM

Winamp 3 plugin anyone? :)

TheComputerGuy 10-26-2002 11:05 PM

That would be awesome if Winamp would update it, but I would think that it would require a dB access, and update too many times per minute or so...

blackice912 10-27-2002 02:04 AM

Not if you made WA3 just query a script every time the song is over...and that's usually like 3-4 minutes per song so it's not that bad really.

But I suck at WA3 plugins :)

N!ck 10-27-2002 02:37 AM

this is actually what i had in mind, but i can't do Winamp plugins - period. i'm too stoopid. whoever can accomplish this is a real american hero.

it would need to access the following url:
http://url.of.your/forums/nowplaying.php?title=SONG_TITLE&artist=ARTIST
SONG_TITLE and ARTIST, of course, would be replaced with url-encoded song title and artist.

the load would be quite minimal (updating at the end of each song, of course!), and this would, as an added bonus, keep track of people who are online even when they aren't on your site.

what i envision is a plugin that uses the winamp mini-browser to keep open and update the page. it would LOOK just like normal (meaning it would appear you've filled in the form), but it would automatically update the information (obviously) by opening the page with different query strings.

anyway, good luck to anyone who's ballsy enough to try this.

zajako 10-27-2002 06:19 AM

Quote:

Originally posted by blackice912
Winamp 3 plugin anyone? :)
im workin on it :P

John 10-27-2002 09:20 AM

I could do it, but I'm not American. Nor do I want to be an American hero.

:)

John 10-27-2002 09:21 AM

Quote:

Originally posted by zajako


im workin on it :P

Fancy doing a WA2 version while you're at it?

TheComputerGuy 10-27-2002 10:24 AM

That is going to be so awesome!

N!ck 10-27-2002 01:27 PM

Quote:

Originally posted by TheComputerGuy
That is going to be so awesome!
[high]* nicksaunders agrees[/high]

N!ck 10-27-2002 01:29 PM

Quote:

Originally posted by john.eovie


Fancy doing a WA2 version while you're at it?

i thought you could do it?

John 10-27-2002 01:42 PM

I could, but I really don't want to. I hate all forms of programming other than php :p

Also: Update your avatar!

Unknown553 10-27-2002 04:23 PM

I don't use winamp :(

N!ck 10-27-2002 09:19 PM

been meaning to update it, but i'm just too lazy :) thanks for pointing it out anyhow

unknown553, you could write a program to spy on whatever mp3 program you use and update every 1-2 minutes :/

zajako, how's the plugin coming?

[D]Vincent 10-29-2002 01:58 PM

lol I haven't upgraded to WA3 yet. I wouldn't install it anyways even if I did. Nice idea though.

Chris M 10-29-2002 07:10 PM

WA3 rules;) - When it doesnt crash Windows ME;):)

I hope this gets a plugin;)

Satan

N!ck 10-29-2002 08:16 PM

i wasn't aware of how immense a project creating a WA3 plugin is :/ maybe zajako just hasn't started yet.

NuclioN 11-11-2002 03:30 PM

??? scriptfailure message? It has some strange behaviors but if this works it's fantastic. ;)


All times are GMT. The time now is 04:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01503 seconds
  • Memory Usage 1,762KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete