Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Ultimate Now Playing Hack - WA3 plugin / data stored in database Details »»
Ultimate Now Playing Hack - WA3 plugin / data stored in database
Version: 1.00, by N!ck N!ck is offline
Developer Last Online: Oct 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-10-2002 Last Update: Never Installs: 24
 
No support by the author.

It's here! A real "Now Playing" hack. A WA3 plugin feeds data to the database. (Note: I did not write the plugin - credit for that goes to Brandon Martus of pubarso.com). Once loading a simple script, the plugin runs silently in the background without intervention.

Features:
+"Now Playing" information (at time of post, not currently) is shown next to posts.
+Currently Playing / All History / My History pages
+Dynamic downloading - user needn't edit any files once downloaded.
+Only last two weeks of songs are stored so database usage doesn't get too high.
+Password protected updating


Current Version: 1.0.1

Download: click here

Enjoy! Screenshots will follow.

Show Your Support

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

Comments
  #12  
Old 11-11-2002, 01:41 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

make sure you're editing the one in your root folder, not in the admin folder
Reply With Quote
  #13  
Old 11-11-2002, 02:09 AM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

really nice but can you do it for WinAmp as well???
Reply With Quote
  #14  
Old 11-11-2002, 02:11 AM
mheinemann's Avatar
mheinemann mheinemann is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great, the only problem I have is that some songs have a ' in the, and they show up with a /.

ie: Adam's Song
turns into: Adam\'s Song
Reply With Quote
  #15  
Old 11-11-2002, 02:21 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmmmm...hold on and i'll get that fixed right up

M.C. This IS for Winamp (Winamp 3 = WA3).
Reply With Quote
  #16  
Old 11-11-2002, 02:35 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This fixes a minor problem with song titles that have apostrophes in them. To upgrade from 1.0, follow these instructions (note: in step one, { imagesfolder } should not have the spaces - this is just so vb.org won't parse it):

Code:
1. In admin/functions.php, replace:
----------------------------------------
$post[nowplaying]="<br><br><img src=\"{ imagesfolder }/np.gif\" alt=\"Currently playing...\"> ".$post[npartist]." &raquo; \"".$post[npsong]."\"";
----------------------------------------
With:
----------------------------------------
$post[nowplaying]="<br><br><img src=\"{ imagesfolder }/np.gif\" alt=\"Currently playing...\"> ".stripslashes($post[npartist])." &raquo; \"".stripslashes($post[npsong])."\"";
----------------------------------------

2. In root/global.php, replace:
----------------------------------------
		eval("\$nptext = \"".gettemplate("header_np")."\";");
----------------------------------------
With:
----------------------------------------
		$nowplaying[song]=stripslashes($nowplaying[song]);
		$nowplaying[artist]=stripslashes($nowplaying[artist]);
		eval("\$nptext = \"".gettemplate("header_np")."\";");
----------------------------------------

3. In root/member.php, replace:
----------------------------------------
    $membernptext=$membernowplaying[artist]." &raquo; \"".$membernowplaying[song]."\" (Began $membernpwhenstarted)&nbsp;";
----------------------------------------
With:
----------------------------------------
    $membernptext=stripslashes($membernowplaying[artist])." &raquo; \"".stripslashes($membernowplaying[song])."\" (Began $membernpwhenstarted)&nbsp;";
----------------------------------------

4. Overwrite nowplaying.php with the one in the new zip.

Done!
New version file attached.
Reply With Quote
  #17  
Old 11-11-2002, 02:41 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Job well done Nick, although it would be great to have this implemented with Sonique as well..so I'll go search for a similar plugin that might possibly be available.

*clicks install*
Reply With Quote
  #18  
Old 11-11-2002, 02:44 AM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AGH ++++KKKKKKKKKKKKKK

It dosent work....it says "Nothing Recently"

Does that mean it dosen't work with winamp 2.xx?
Reply With Quote
  #19  
Old 11-11-2002, 03:00 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It probably only works for Winamp3, according to the Chiefdelphi site inwhich it is from.
Reply With Quote
  #20  
Old 11-11-2002, 03:02 AM
N!ck N!ck is offline
 
Join Date: Mar 2002
Location: Lake Havasu City, AZ
Posts: 886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Velocd is right. also, follow the directions on your "how to use" page to set it up properly.

anyway, i realize that sonique is a popular one, but i'm no good at winamp plugins even, let alone sonique.
Reply With Quote
  #21  
Old 11-11-2002, 03:02 AM
mheinemann's Avatar
mheinemann mheinemann is offline
 
Join Date: May 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nicksaunders
This fixes a minor problem with song titles that have apostrophes in them. To upgrade from 1.0, follow these instructions (note: in step one, { imagesfolder } should not have the spaces - this is just so vb.org won't parse it):

[snip]

New version file attached.
Worked! Great job on this!
Reply With Quote
Reply

Thread Tools

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 04:01 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04649 seconds
  • Memory Usage 2,295KB
  • 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
  • (1)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