![]() |
NOW PLAYING HACK for vBulletin 2.2.8 (UPDATE)
Adds a 'Now Playing' field to your new thread and new reply pages where users can enter whatever they're listening to, and their post will be appended with something akin to: "NP: Some Song by Some Band". All support questions should be posted in this thread :) Remember: BACKUP YOUR DATABASE!! I am not a PHP guru by any stretch of the imagination -- the following code works fine for me, so you should not have any problems. It's been tested on cB 2.2.8. I will not be held responsible if your forum crashes, or turns into a Britney Spears BB ;) You can see it in action at my Ultimate Metal forums where I've modified it slightly to have a small CD icon in place of the usual 'NP:'. This is my first ever hack, so please do let me know any shortcomings or errors!! :) I hope you enjoy it as much I plan to ;) Added to: now includes 'editpost.php' and 'editpost' template changes!:) UPDATED for 2.2.8 (very minor fix in newreply.php - if it's working for you, there is NO NEED to upgrade! This will be the last update until vB3 is out :) |
this hack sounds good~~
thankz MarkB!!:D |
Sounds Great, i gonna try it on my 2.0.3 version
|
It works great, i had 2 change some codes but finally it works fine on vb 2.0.3
Also where it says: PHP Code:
Thanks for the great hack. |
Quote:
|
Purty Work, consider it installed
|
great hack....
was wondering how i would alter the nowplaying template to have a image instead of saying NP: thanks for this :) |
coooool, i figured out how to add the image on my own....thanks again!!
|
Mark, i also edited the editpost.php & editpost template so that if someone edit his post then he can add the np too.
*hint* ;) |
Quote:
good idea :) |
Oh yes, something else I forgot :( :eek:
I will update the installation instructions to include the edit changes :) Thanks Lesane! :) |
Here's a copy of the little CD image I use on my site, if anyone's interested... (and if anyone can make a clearer one, pls let me know:p)
|
here it is
|
Ahh, great you released it. As I said before once I have finished updating my board and implementing the new design, I am going to add this one :D
|
Nice Hack Mark :) Great work!
|
Thanks! :) I can't believe it works! LOL
|
found this icon too.....
white background though....but you should be able to edit it... :) |
here is another, let me know if ya like any of these....
|
Installed. Great hack man. Once my board is done for sure this hack will be installed.
|
Cool! Glad you like it :D
NP: Vintersorg - The Enigmatic Spirit :) |
what do you all think of this icon??
|
LOL! That icon rocks! :)
|
Quote:
:) i know, thats what i am using right now!!! |
Do you think it would be possible to have something which automatically detects what Winamp is currently playing? I realize that it would probably be rather extensive, but I think it'd also be kind of neat.
|
Quote:
lol, there is a script like that for IRC........... if it is possible here.......that would be a serious hack....cuz winamp would have to send the song info to the server the vb was on and then the vb would have to take that info and insert it into one of your posts......... damn...don't be lazy, just type it in man :rolleyes: |
I'm using a winamp plugin that copies the band/song to my clipboard - but it's an IRC-related plugin, so mIRC needs to be running all the time :(
Still, it's nice and easy tho :) |
Any chance for a WinXP themed icon to use for this hack?
|
Would it be possible to define this hack so that the "Now Playing: " entry boxes (in new thread / new reply / edit post) only appear in one specific forum?
I have a Music forum on my board, it'd be great to have this hack available only on threads THERE, not elsewhere. If it's not possible or not easily done, I'll just install it and see it appear everywhere - no harm in that, really... But I'd prefer forum-specific... |
I'm sure there would be a way to do this without having an extra template set, but that'd be the easy way for now...
Sorry I can't be of more help :( |
I checked your install instructions, and I think it won't be easily done with the way you set it up. For it to be forum specific, it'd have to be coded into the newthread.php and newreply.php (or whatever) files, something like
PHP Code:
But you added the entry fields and all to the templates, not to the pages. This way, I don't know if such PHP coding would work... We need FireFly or so in here ;) |
Something like that sounds about right - Chen did a hack for me where certain forums have a different first post display - I imagine that this would use something similar...
|
*nods*
I wouldn't know how to do it in PHP or anything, but I'm sure that the only 'scripting' necessary here, is for one single IF statement to check whether this forum is id x (where x is defined in the code by the admin) and IF so, it makes this hack appear, and if NOT, it doesn't... Maybe we should ask someone with more experience about it.. :) |
i cant find this piece of code in 2.2.1
PHP Code:
|
Quote:
PHP Code:
PHP Code:
|
Thanks Maurice :D
|
will be installing this in the morning over at teencribs.com
should be a nice addition over there :) |
One can also pull out the data and establish a top10 chart...
|
I installed this one very easily. I'd like to know: in edit post, the choice that was entered at first is not being redisplayed and have to be re-entered. Is that the way it is supposed to be or did I miss something?
thanks |
How about the option to choose from different icons. Maybe a CD or Music note for music, or a PS2 or Xbox or even PC for Videogames.
This could be a popular addition for any gaming sites as well, where people playing on more than one format. Love the hack! Maybe it'll be come more. Another thing...the directions for editing newpost are for newreply and vice versa. I don't know if anyone else caught that. |
i installed the hack and i thought everything was working fine, EXCEPT now when people hit post reply on old threads it puts there reply 2nd from last instead of last post.
Weird as **** |
All times are GMT. The time now is 10:29 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:
|