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
  #32  
Old 11-10-2004, 02:56 PM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O_o How would I make it so it only shows the song in that paticular post?
Reply With Quote
  #33  
Old 11-10-2004, 04:07 PM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MEGA BUG!!

Whos online locations displays as "Unknown location" which shows your password (Full url of nowplaying.php)
Reply With Quote
  #34  
Old 11-13-2004, 08:03 AM
Breaker's Avatar
Breaker Breaker is offline
 
Join Date: Jan 2002
Location: Derby, UK
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Blam Forumz
MEGA BUG!!

Whos online locations displays as "Unknown location" which shows your password (Full url of nowplaying.php)
only admins can see the location when it shows unknown location i believe.... but still a bit of a problem :|
Reply With Quote
  #35  
Old 11-13-2004, 06:46 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually, if it's playing and you view > source the coding on the page, you can see it.
Reply With Quote
  #36  
Old 11-14-2004, 06:43 PM
Breaker's Avatar
Breaker Breaker is offline
 
Join Date: Jan 2002
Location: Derby, UK
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Fine, here's your fix. No need to have a damned heart attack.
Reply With Quote
  #38  
Old 11-15-2004, 05:59 AM
Breaker's Avatar
Breaker Breaker is offline
 
Join Date: Jan 2002
Location: Derby, UK
Posts: 184
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Fine, here's your fix. No need to have a damned heart attack.
sorry for that, having a member of my forums tell me my password isn't the best thing i want to hear really

thanks for the fix
Reply With Quote
  #39  
Old 11-24-2004, 09:54 AM
bigM bigM is offline
 
Join Date: Oct 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That?s a great hack! Thank you very much!
Reply With Quote
  #40  
Old 06-15-2005, 08:40 PM
Snitz Snitz is offline
 
Join Date: Sep 2004
Location: Lebanon
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im using this from 3.5:

Code:
<if condition="!empty($post['npsong'])">
		<!-- now playing -->
		<legend>Now Playing (Updated $post[npdisplaydate] $post[npdisplaytime])</legend><table><tr><td>
		$post[npsong]
		</td></tr>
		</table></fieldset>
		<!-- / now playing -->
		</if>
instead of the one provided with the install file

but I think the <legend> isn't working coz the song name and singer isn't getting displayed inside it

Reply With Quote
  #41  
Old 06-25-2005, 03:23 AM
BlackxRam BlackxRam is offline
 
Join Date: Aug 2003
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this support Permissions? Can I have only certain Usergroups the ability to use this addon?
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:07 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.04605 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
  • (1)bbcode_code
  • (3)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
  • (3)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