vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Currently Now Playing (https://vborg.vbsupport.ru/showthread.php?t=71545)

Link14716 11-09-2004 10:00 PM

Currently Now Playing
 
EDIT 11/14: Redownload the zip and upload the new nowplaying.php.

This hack allows users using Winamp with the DoSomething plugin to have a "Now Playing" line underneath their posts showing what they are currently playing. See the screenshot for how this looks.

To install, upload all files to your forums directory, run hack_install.php, select "Currently Now Playing" and follow through the install.

Even though this is shown in the installer, I'm putting this here as well. The hack and the screen is attached, so enjoy.

Quote:

For this hack to be useful, you need to provide instructions for your users to take advantage of this hack.

First, your users must be running Winamp 2.x or 5.x. They may get the latest version at winamp.com. They must also be running the DoSomething plugin. Your users may get the latest version from here.

Now, instruct your users to right click in Winamp and go to Options -> Preferences. Then under Plugins, go to General Purpose. Double click on "DoSomething Plugin". Uncheck "Disable Plugin".

Under Actions, select "Submit a URL". Have them input "http://www.yoursite.com/forums/nowplaying.php?username=username&password=password&song=%%URL_CURRENTSONG%%" where username is their username and password is their password.

Tell them to leave "URL Result File" blank, as it is not needed. Now, click "Add -->" then "OK". Next, they must close Winamp. This is important so that the settings will be properly saved. Now, open Winamp up and play a song. If it adds "Now Playing" underneath their posts, they have done it correctly.

Now, run the rest of this installer and enjoy the hack. (Make sure you don't forget to do the template and the file modification)
If you use this hack, don't forget to click https://vborg.vbsupport.ru/

Lionel 11-10-2004 02:52 AM

Too many instructions for users. Why not just embedding the sound on demand auto start=true like in the jukebox hack?

Link14716 11-10-2004 03:54 AM

Because this has absolutely nothing to do with a jukebox hack.

It's so that someone who is playing music (or even videos) through Winamp will have the song that they are playing shown beneath their posts. It changes when their song changes. This is not a hack to play their music or anything like that.

Blam Forumz 11-10-2004 03:59 AM

Woohoo thanks!

:D



edit - can it be modified to work with 'Now Playing' hack?

Link14716 11-10-2004 04:04 AM

Quote:

Originally Posted by Blam Forumz
Woohoo thanks!

:D



edit - can it be modified to work with 'Now Playing' hack?

Like how?

They are more or less two seperate hacks, and should co-exist.

Blam Forumz 11-10-2004 04:07 AM

Alright then, they do, I was just wandering if you could merge them, no biggie though..

Great hack anyway :)

Link14716 11-10-2004 04:10 AM

In other words, show what they were listening to at the time of posting?

The only thing that may cause problems is if it is outdated, so I'll probably have to include the update time with it, but I can do that.

Blam Forumz 11-10-2004 04:16 AM

Also would I have to set it out like this:

http://www.yoursite.com/forums/nowpl..._CURRENTSONG%%

Link14716 11-10-2004 04:21 AM

Quote:

Originally Posted by Blam Forumz
Also would I have to set it out like this:

http://www.yoursite.com/forums/nowpl..._CURRENTSONG%%

I just used italics myself.

Blam Forumz 11-10-2004 04:27 AM

What, oops, i meant like this

Code:

http://www.yoursite.com/forums/nowplaying.php?username=MY_USERNAME&password=MY_PASSWORD&song=%%URL_CURRENTSONG%%


All times are GMT. The time now is 10:30 AM.

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.01192 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete