![]() |
[HTL] Now Playing Hack v.1.3
[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]
Comments always welcome. Add-Ons: Last 10 songs on Forumhome by yabba SCREENSHOT BELOW: |
Ohh no not the now playing hack :)
Thanks mate this will come in handy on my forum, Thank you |
Great job Dan, I'll be using this when the time comes round! :D
|
Pfft, and you didn't know what to hack? This is great :) will look into tonight
|
Technically I already hacked this. I just upgraded it to vB3.
|
I figured that would be your first vb3 hack here (seeing it at vbulletin.nl)
|
Would have been nice to have been told about this, since I created the original one ;)
|
It would be cool if you hack could read my:
1) winamp playlist 2) Windows media player playlist and copy info from them - maybe you should ask some help at the winamp board? |
Sorry Man, I thought you had disappeared or something and I had already hacked it in for vB3 a couple months ago. If you want credit or something I can give it to you. But I really didn't know you even created the original one.
|
This is a great hack, and I can't wait to install it.
The only thing is, I'm new to this, and at the risk of looking stupid, what do you mean when you say "----------- |Run Query| ----------- ALTER TABLE post ADD nowplaying VARCHAR(40) NOT NULL" :ermm: I'm not sure where to do this, and its probably very simple and obvious, but like I said, I'm new. :disappointed: Thanks |
Everyone starts somewhere mate ;)
A query is basically a piece of code that needs to be run on your MYSQL database, Usualy in PHPMYADMIN that your host should have linked you too, or you will find in your hosts Control Panel. |
In phpMyAdmin select the database then click on query and just past the code from above and click submit query. If you don't have access to phpmyadmin or something similar just email your webhosts asking them to do it for you :)
|
Thanks guys, I appreciate it :D
|
Quote:
Thanks everyone so far that has installed this hack! |
I know the feeling Dan, your half way writting a response then someoen else posts it :)
|
I may actually use this mod. It'll be easier than having it done via Profile Field.
|
A little Add-on for Dans Now Playing Hack.
This little bit of Code display the last 10 Songs at your Forumhome. |
Quote:
|
here is the way I modded the postbits, regular and legacy, this puts the nowplaying box under the attachments in a box like the attachments use
HTML Code:
--------- |
thanks for doing that I just put it in a place i could easily find a spot to put it. If you wouldn't mind I would like to add this to the install file.
|
Quote:
|
I installed this and my members are using and loving it. The only thing they have mentioned is that sometimes they forget to fill in the form, and would like to go back and edit thier song in or correct their spelling mistakes in the song title etc.
Would there be a way to modify a template or one of the php pages in order to show the "now playing" field after a member clicks his or her edit button? Just curious :o |
It is not hard to add that to the modification but I dont have time to document the changes atm, ill post them later on today when I find the time.
|
It's nice Sixxgunzz but the fieldset/legend lines are always white and on a dark style it looks terrible. Is there a way to color the lines in these fieldset blocks?
|
Hey Dan, you might want to add in the instructions when editin the postbit template, to edit the postbit_legacy one aswell ;)
|
I will when i get home... not home at this current time... it is simple to do though.
|
Quote:
|
it is easy, in the style's css
HTML Code:
legend |
in the extra css box i've added this as a replacement for the default fieldset:
Code:
.fieldset { |
hey got a problem
I want to 1. Limit the characters that can be input in this field because it can squish the postbit up. 2. When posting with a new thread, i get one of the de-notations as used in the code as in <--- Now Playing then it goes to the box 3. I want to write above the input "Song now playing: (Not Required) 4. I want to be able to have this input box BELLOW the post where you can add attachments etc. |
Quote:
instead of adding the <!-- nowplaying field --> section after the <!-- /subject field --> as instructed in the orignal instructions, replace it after this instead: HTML Code:
<!-- message area --> |
what can i add to the code to not allow html?
|
A sweet addon would be to have the last time nowplaying in your Profile.
|
Quote:
|
Quote:
Greets yabba |
Sorry... at this time my computer is down and I'm unable to help support my hack currently. Hopefully I'll be up and running again in the next few weeks. I am sorry to anyone this may trouble.
|
Quote:
i put the same <!--Now Playing --> block of code in the "showthread_quickreply" template after this: HTML Code:
<!-- no-toolbar quick reply --> |
Quote:
It works perfect :-) Greets from germany yabba |
Quote:
|
Quote:
|
All times are GMT. The time now is 04:47 PM. |
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:
|