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
[HTL] Now Playing Hack v.1.3 Details »»
[HTL] Now Playing Hack v.1.3
Version: 1.00, by Dan Dan is offline
Developer Last Online: May 2020 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-02-2004 Last Update: Never Installs: 37
 
No support by the author.

[high]Now Playing Hack[/high]
Version: 1.5
vB-version: 3.0.1
Developer: Dan
Install difficulty: Easy
File edits: 3
Template edits: 5

[high]Description of the Hack:[/high]
This hack lets your users specify what they are listening to at the time of posting.

[high]HACK INSTALLATION DETAILS:[/high]

[high]Files modified for this Hack:[/high]
includes/functions_newpost.php
newthread.php
newreply.php

[high]Templates modified for this Hack:[/high]
postbit_legacy
postbit
newreply
newthread
showthread_quickreply

[high]Changes:[/high]
  • Added a new HTML install file. (Not automatic)
  • Updated to 3.0.1
  • Changed postbit look
  • Moved to HTL
  • Fixed double step in installer
  • Fixed the not allow html/censored words in the now playing field
  • Added Quick Reply functionality
ALWAYS remember to backup before installing anything.


Comments always welcome.

Add-Ons:
Last 10 songs on Forumhome by yabba







SCREENSHOT BELOW:

Show Your Support

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

Comments
  #102  
Old 06-09-2004, 10:26 PM
Goober Goober is offline
 
Join Date: Apr 2004
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dan
That would require coding of the software they use and I'm unable to code that. It allows for the user to specify what they are listening to if they choose to say so.
Thanks Dan, I was confused over it because it sounded like a nice hack that allowed someone to actually hear a song being played.



I take it there is nothing like this out there then....




Goober
Reply With Quote
  #103  
Old 06-09-2004, 10:29 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Goober
Thanks Dan, I was confused over it because it sounded like a nice hack that allowed someone to actually hear a song being played.



I take it there is nothing like this out there then....




Goober
No there isn't anything like that available that I know of.
Reply With Quote
  #104  
Old 06-09-2004, 10:48 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by moley
i've managed to make it appear but if you edit a post it doesnt show up so i'm looking for whatever i have to add/ edit now:ninja:
i realised theres no point to have it on editpost coz it could interfear with the now playing thats already in the post

and it makes sense that u actually have a now playing at the time u made the post

the only way it could work is if the now playing only appeared in editpost if the post didn't have a now playing already
Reply With Quote
  #105  
Old 06-15-2004, 11:23 PM
PalmNut PalmNut is offline
 
Join Date: Dec 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice piece of work.

I'd also modify the quick reply HTML and JavaScript so that the input field is disabled if threading messages until a message is selected. Like so:

Edit the showthread_quickreply template by adding a new attribute to the text input field.

Find:
HTML Code:
<td><input type="text" class="bginput" style="width:600px;" name="nowplaying" value="$post[nowplaying]" size="50" maxlength="85" tabindex="1" /></td>
Replace with:
HTML Code:
<td><input type="text" class="bginput" style="width:600px;" name="nowplaying" id="qr_nowplaying" value="$post[nowplaying]" size="50" maxlength="85" tabindex="1" /></td>
Edit clientscript/vbulletin_quickreply.js as follows:

Find:
Code:
if (WYSIWYG != 2)
  {
    fetch_object("qr_message").disabled = true; // message textarea
    fetch_object("qr_message").value = must_click_message; // message textbox
Below that, add:
Code:
fetch_object("qr_nowplaying").disabled = true; // nowplaying text
Find:
Code:
fetch_object("qr_message").value = "";
Below that, add:
Code:
fetch_object("qr_nowplaying").disabled = false;
Reply With Quote
  #106  
Old 06-24-2004, 02:01 AM
PET's Avatar
PET PET is offline
 
Join Date: Jan 2002
Location: Timisoara/Romania
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i hoped that this will be a hack ho will automaticly take your winamp song. There are some programs ho can do this.
Reply With Quote
  #107  
Old 06-24-2004, 02:27 AM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PET
i hoped that this will be a hack ho will automaticly take your winamp song. There are some programs ho can do this.
Programs? this isn't a program sorry its a php hack which has no actual tie in to the actual software of the user besides IE.
Reply With Quote
  #108  
Old 07-04-2004, 03:15 AM
turbidblue's Avatar
turbidblue turbidblue is offline
 
Join Date: Apr 2004
Location: Indiana
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow! This hack is sooo cool! Thanks to all of you who help bring this one about!!


*trys to click install more than once!
Reply With Quote
  #109  
Old 08-22-2004, 10:19 PM
nando415 nando415 is offline
 
Join Date: Aug 2003
Location: sf
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i change the maximum limit of characters that can be entered???
Reply With Quote
  #110  
Old 08-24-2004, 11:11 PM
Noiz Pollution Noiz Pollution is offline
 
Join Date: Jun 2003
Location: Glasgow, UK
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yabba
A little Add-on for Dans Now Playing Hack.

This little bit of Code display the last 10 Songs at your Forumhome.
Somebody on your board likes their EBM [/approval]


Cheers,
Robert
Reply With Quote
  #111  
Old 08-30-2004, 01:12 AM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me 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 07:00 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.05636 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)bbcode_code
  • (2)bbcode_html
  • (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