Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Currently Now Playing Details »»
Currently Now Playing
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 11-09-2004 Last Update: 11-14-2004 Installs: 15
Supported DB Changes
 

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-10-2004, 05:25 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blam Forumz
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.
Eh? What code are you trying to put in?
Reply With Quote
  #23  
Old 11-10-2004, 05:26 AM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #24  
Old 11-10-2004, 05:27 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blam Forumz
hmm :/ I dont see it working for me
Alright, go to
Code:
http://www.yoursite.com/forums/nowplaying.php?username=MY_USERNAME&password=MY_PASSWORD&song=OMG%20IT%20WORKS
in your browser. What are the results? Should update fine. I'm guessing you didn't do the Winamp part right.
Reply With Quote
  #25  
Old 11-10-2004, 05:28 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blam Forumz
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?
Just after you configure the plugin, play a song.
Reply With Quote
  #26  
Old 11-10-2004, 05:34 AM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Username: Blaminator
Song: OMG IT WORKS
Song successfully updated!


I guess your right, I did the winamp bit wrong

Thanks ALOT Much appreciated
Reply With Quote
  #27  
Old 11-10-2004, 05:36 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, enjoy it. As for me, it's 2:30 AM and I have school tommorow, so good night.
Reply With Quote
  #28  
Old 11-10-2004, 05:39 AM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 11-10-2004, 05:41 AM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
(The '\')
Reply With Quote
  #30  
Old 11-10-2004, 05:55 AM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Alright, enjoy it. As for me, it's 2:30 AM and I have school tommorow, so good night.
Heh :P Only 8 AM here and I have school in 1 hour - uh oh, i need to get ready :/
Reply With Quote
  #31  
Old 11-10-2004, 07:14 AM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is working like a charm!! thank you very much! *clicks install*
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:03 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.07270 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete