![]() |
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:
If you use this hack, don't forget to click https://vborg.vbsupport.ru/ |
Too many instructions for users. Why not just embedding the sound on demand auto start=true like in the jukebox hack?
|
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. |
Woohoo thanks!
:D edit - can it be modified to work with 'Now Playing' hack? |
Quote:
They are more or less two seperate hacks, and should co-exist. |
Alright then, they do, I was just wandering if you could merge them, no biggie though..
Great hack anyway :) |
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. |
|
Quote:
|
What, oops, i meant like this
Code:
http://www.yoursite.com/forums/nowplaying.php?username=MY_USERNAME&password=MY_PASSWORD&song=%%URL_CURRENTSONG%% |
Yeah, that is how it should be.
|
Hmm, doesnt work >_<
|
Well, did you do the template (and file) edits?
|
Yes indeed I did ><
|
Where it said edit postbit, did you actually edit postbit, or did you edit postbit_legacy? Looking at your board, you are using postbit_legacy.
Back in my day, we had to deal with only 1 postbit. :p |
Yeah I did edit postbit_legacy, always do :/
|
Ok wait heres myu problem, I looked at the file (I did the template mod wrong)
I alter it so its correct : but i get this : The following error occurred when attempting to evaluate this template: Parse error: parse error, unexpected T_STRING, expecting ']' in /home/*******/public_html/forum/includes/adminfunctions_template.php(3055) : eval()'d code on line 252 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
Actually, now that I put in the right username: http://www.blaminator.co.uk/forum/sh...0&postcount=19
It's working fine on your board. |
Ok ok sorry about that little error, that was my fault :/
I've done the modification 100% But it still wont work |
hmm :/ I dont see it working for me
|
Quote:
|
Like I said, I made a mistake (I took the code out of the php file and it added / and \ everywhere, but i got it working now)
Do you need to type anything whatsoever for the song to appear? |
Quote:
Code:
http://www.yoursite.com/forums/nowplaying.php?username=MY_USERNAME&password=MY_PASSWORD&song=OMG%20IT%20WORKS |
Quote:
|
Username: Blaminator
Song: OMG IT WORKS Song successfully updated! I guess your right, I did the winamp bit wrong Thanks ALOT :) Much appreciated |
Alright, enjoy it. As for me, it's 2:30 AM and I have school tommorow, so good night. :p
|
here's a noob question for you. at the bottom of the thread, does it put the name of the song at the time the user posted the thread or does it keep up to date? i.e. it changes along with what the user is listening to regardless of how long ago he posted.
|
Yeah it does..
Also Link :P Time to disturb you again, anyway to prevent this kinda thing from happening? Code:
Now Playing: Metallica - Low Man\'s Lyric (Last Updated: Today at 07:38 AM) |
Quote:
|
this is working like a charm!! thank you very much! *clicks install*
|
O_o How would I make it so it only shows the song in that paticular post?
|
MEGA BUG!!
Whos online locations displays as "Unknown location" which shows your password (Full url of nowplaying.php) |
Quote:
|
actually, if it's playing and you view > source the coding on the page, you can see it.
|
this hack has a HUGE security issue and i dont advise anyone installing it until it is fixed unless they use 2 "Submit URL" actions, the second containing false information.
|
Fine, here's your fix. No need to have a damned heart attack.
|
Quote:
thanks for the fix |
That?s a great hack! Thank you very much! :D
|
im using this from 3.5:
Code:
<if condition="!empty($post['npsong'])"> but I think the <legend> isn't working coz the song name and singer isn't getting displayed inside it http://www.radioonev5.com/snitz/song.JPG |
Does this support Permissions? Can I have only certain Usergroups the ability to use this addon?
|
All times are GMT. The time now is 10:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|