View Full Version : 'Now Playing' Hack
MarkB
11-21-2001, 10:00 PM
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 (http://www.ultimatemetal.com/forum/) 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 :)
squawell
11-22-2001, 06:28 AM
this hack sounds good~~
thankz MarkB!!:D
Lesane
11-22-2001, 09:54 AM
Sounds Great, i gonna try it on my 2.0.3 version
Lesane
11-22-2001, 11:17 AM
It works great, i had 2 change some codes but finally it works fine on vb 2.0.3
Also where it says:
Add
$postbit[nowplaying]
where you want the NP information to appear.
That didnt worked, i changed it to $post[nowplaying] and it works perfect now.
Thanks for the great hack.
MarkB
11-22-2001, 11:41 AM
Originally posted by Lesane
Also where it says:
Add
$postbit[nowplaying]
where you want the NP information to appear.
That didnt worked, i changed it to $post[nowplaying] and it works perfect now.
Thanks for the great hack.
Oops, sorry, that was indeed an error. I've updated the attachment :) Thanks for pointing it out! :)
TheComputerGuy
11-22-2001, 12:07 PM
Purty Work, consider it installed
|DarkManX|
11-22-2001, 02:14 PM
great hack....
was wondering how i would alter the nowplaying template to have a image instead of saying NP:
thanks for this :)
|DarkManX|
11-22-2001, 02:21 PM
coooool, i figured out how to add the image on my own....thanks again!!
Lesane
11-22-2001, 02:28 PM
Mark, i also edited the editpost.php & editpost template so that if someone edit his post then he can add the np too.
*hint* ;)
|DarkManX|
11-22-2001, 02:32 PM
Originally posted by Lesane
Mark, i also edited the editpost.php & editpost template so that if someone edit his post then he can add the np too.
*hint* ;)
good idea :)
MarkB
11-22-2001, 08:57 PM
Oh yes, something else I forgot :( :eek:
I will update the installation instructions to include the edit changes :) Thanks Lesane! :)
MarkB
11-22-2001, 09:05 PM
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)
|DarkManX|
11-22-2001, 09:10 PM
here it is
Sinecure
11-22-2001, 11:14 PM
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!
MarkB
11-23-2001, 01:11 AM
Thanks! :) I can't believe it works! LOL
|DarkManX|
11-23-2001, 02:03 PM
found this icon too.....
white background though....but you should be able to edit it... :)
|DarkManX|
11-24-2001, 04:40 AM
here is another, let me know if ya like any of these....
Goldfinger
11-24-2001, 11:57 AM
Installed. Great hack man. Once my board is done for sure this hack will be installed.
MarkB
11-24-2001, 12:09 PM
Cool! Glad you like it :D
NP: Vintersorg - The Enigmatic Spirit :)
|DarkManX|
11-24-2001, 01:11 PM
what do you all think of this icon??
MarkB
11-24-2001, 01:16 PM
LOL! That icon rocks! :)
|DarkManX|
11-24-2001, 01:16 PM
Originally posted by MarkB
LOL! That icon rocks! :)
:)
i know, thats what i am using right now!!!
Nupraptor
11-24-2001, 04:02 PM
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.
|DarkManX|
11-24-2001, 04:11 PM
Originally posted by Nupraptor
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.
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:
MarkB
11-24-2001, 09:52 PM
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 :)
Airwaves
12-05-2001, 11:25 AM
Any chance for a WinXP themed icon to use for this hack?
KuraFire
12-10-2001, 11:29 AM
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...
MarkB
12-10-2001, 11:38 AM
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 :(
KuraFire
12-10-2001, 11:54 AM
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
if forumid=xx
display("NP")
(but then in correct PHP coding and all - I'm still a PHP n00b, lol)
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 ;)
MarkB
12-10-2001, 12:11 PM
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...
KuraFire
12-10-2001, 03:42 PM
*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
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$postid'");
Lesane
01-09-2002, 09:02 AM
Originally posted by ReT
i cant find this piece of code in 2.2.1
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$postid'");
The only similiar UPDATE POST code is on line 202 of newthread.php:
$DB_site->query("UPDATE post SET pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$posts[minpost]'");
change above code to:
$DB_site->query("UPDATE post SET pagetext='".addslashes($message)."',NP='".addslashes($nowplaying)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$posts[minpost]'");
Your welcome Derek :D
DelusionalMind
01-27-2002, 07:39 AM
will be installing this in the morning over at teencribs.com
should be a nice addition over there :)
Lionel
01-27-2002, 10:59 AM
One can also pull out the data and establish a top10 chart...
Lionel
01-28-2002, 05:54 AM
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
fresh_froot
01-29-2002, 05:49 PM
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.
ytclear
01-29-2002, 09:32 PM
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 ****
X-Fan
01-30-2002, 02:25 PM
I've installed this into 2.2.1 (using the slight mod from a few posts up), and I get the Now Playing box option for new posts and post edits, but the NP text doesn't show up on the post proper.
I placed it between $post[signature] and $post[editedby] in the postbit template yet it's not showing up there.
Any ideas?
fresh_froot
01-30-2002, 02:51 PM
Just play around with it. You'll ge the jist of things, and probably figure it out. I managed to work it out in the end.
X-Fan
01-30-2002, 03:17 PM
Originally posted by fresh_froot
Just play around with it. You'll ge the jist of things, and probably figure it out. I managed to work it out in the end.
I've been playing around with it - trying to put $post[nowplaying] in different locations but so far no luck.
One thing I did notice with the install instructions is that for step 4, editing newreply.php, it said to find:
$DB_site->query("UPDATE post SET pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$posts[minpost]'");
But I couldn't find that in my newreply.php (perhaps because I'm using vbPortal?). The closest I found was:
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$postid'");
So I edited that to be:
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',NP='".addslashes($nowplaying)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$postid'");
Also, still in newreply.php, it said to find this:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($subject))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','1')");
But the closest I could find was this:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipad dress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes(htmlspecialchars($postusername))."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconi d','$visible')");
So I changed that to:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,NP,allowsmilie,showsignature,i paddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes(htmlspecialchars($postusername))."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','".addslashes($nowplaying)."','$allowsmilie','$signature','$ipaddress','$iconi d','$visible')");
Everything is working fine except that the Now Playing doesn't show up where indicated in the postbit template.
Justice
02-04-2002, 06:44 AM
has anyone tested this on 2.0.3?
KuraFire
02-04-2002, 08:35 AM
MarkB, just wanted you to know that everyone on my board is, like, REALLY excited about this hack, and they're using it plentifully! On all forums, even, so that whole thing we discussed earlier in this thread (only appear on one forum) is Totally not needed after all.
Thanks man, awesome hack! :up:
Justice
02-05-2002, 01:43 AM
Originally posted by Justice
has anyone tested this on 2.0.3?
i'd really like to install this hack, but I don't want to alter my database if it won't work for 2.0.3... anyone??
Justice
02-05-2002, 02:23 AM
n/m... read the 3rd reply
Justice
02-05-2002, 04:26 AM
ok, I installed it... works beautifully. one problem though... there's no filter for censored words or html... users could really take advantage of this and add harmful tags to mess up pages.
is there a quick and dirty way to disable html in the "postbit_nowplaying" template?
Nemesis77
02-09-2002, 05:07 AM
The only similiar UPDATE POST code is on line 202 of newthread.php:
PHP:--------------------------------------------------------------------------------
$DB_site->query("UPDATE post SET pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$posts[minpost]'");
--------------------------------------------------------------------------------
change above code to:
PHP:--------------------------------------------------------------------------------
$DB_site->query("UPDATE post SET pagetext='".addslashes($message)."',NP='".addslashes($nowplaying)."',allowsmilie='$allowsmilie',showsignature='$signa ture',iconid='$iconid',attachmentid='$attachmentid ' WHERE postid='$posts[minpost]'");
I did this and now when people enter a song name in the now playing field, and they submit thier post. it put ths name of the song as thier post and the post as the name of the song.
It works fine for replying to a post but not for making a new thread.
anyone know what's going on. Runnings this on vb 2.2.1
cavola
02-20-2002, 07:10 PM
Okay.. is there another way of adding a new field to post table other than using phpmyadmin?! I am not familiar with this... thanks.
Serge
02-23-2002, 10:38 PM
First think I would like to say is your hack is awesome I absoultly love it. But as I was installing it I found that many people and me could not find the lines your were referring to in the install file but as I got to look I think the things might be switched around so the stuff you said needed to go into the Newthread.php should go into newreply.php and visa versa. If I'm wrong please let me know but I will try it that way and see if it works and let everyone know. :)
MarkB
03-17-2002, 08:54 PM
I think they may have changed the code between versions... but it seems people are working it out ok :)
X-Fan
03-17-2002, 10:49 PM
I used the hack to upgrade from v2.2.2 to v2.2.4 and now this hack has stopped working altogether!
Has anyone got any ideas about re-enabling this hack under v2.2.4?
ZiRu$
03-27-2002, 05:37 PM
when i put in the NP info it dosent show up I think its a problem with where it is in my postbit
i put it here:
<tr>
<td width="85%">
<smallfont>$post[icon] <b>$post[title] </b></smallfont>
</td>
<td width="15%" align="right">
<smallfont>
(<a href="showthread.php?postid=$post[postid]#post$post[postid]">Post #$countposts</a>)</smallfont></td>
</tr>
</table>
$post[nowplaying]
<smallfont><a href="showthread.php?threadid=$post[threadid]#post$post[postid]"></a></smallfont>
<p><normalfont>$post[message] </normalfont></p>
$post[attachment]
$post[nowplaying]
<p>$post[signature]</p>
<p>$post[editedby]<br>$post[editedreason]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
</td>
</tr>
if you notice i have it put down twice that's letting you know I tried it in both those places
ZiRu$
03-27-2002, 11:55 PM
^
Serge
03-28-2002, 12:06 AM
well first off I would like to know why you have the varable listed twice on your postbit and I also would like to know what verison of vB you are using since people are having problems it seems cause I found some thing to be backwards.
ZiRu$
03-28-2002, 05:56 PM
[QUOTE]Originally posted by Serge
well first off I would like to know why you have the varable listed twice on your postbit and I also would like to know what verison of vB you are using since people are having problems it seems cause I found some thing to be backwards.
ZiRu$
03-29-2002, 03:47 AM
Nevermind man i got it working perfectlly!
Great Hack!
I can't get this to work on 2.2.5..the file changes I'm supposed to make, the "to be replaced" lines are different..and when I try to just add in the NP part I get MySQL errors when trying to post..
Can anyone update the instructions for 2.2.5?
Serge
04-03-2002, 10:14 PM
Ok I have found this out. When adding the stuff in try adding the stuff needed in newreply in newthread and newthread in newreply. I looked it over and saw that they were switch and when I installed it that way it worked. :)
This works perfectly for me. since I know php/mysql and it was put together well :p
Care to put up a readme of the changes please? This hack would go down great at my music-mad forum.
Velocd
04-21-2002, 05:06 PM
Yea, I'm using 2.2.4 and can't seem to find many of the lines in Newthread.php and Newreply.php, I'm not sure if its because of another hack installed over or just the updated version.
For example, in both Newthread and Newreply this line of code cannot be found:
<smallfont><a href="javascript:checklength(document.vbform);">[check message length]</a></smallfont>
Any help?
Unknown553
04-21-2002, 06:43 PM
You look for that line of code in the newreply and newthread TEMPLATES, not the .php files.
Roxie
05-20-2002, 09:27 PM
hmmm. everything works except it won't show after the new thread is submitted. Any ideas? I am using 2.2.5
MarkB
06-06-2002, 11:27 AM
Did you follow step 7?
## Step 7: Edit the template called 'postbit'
Add
$post[nowplaying]
where you want the NP information to appear.
Chris M
06-24-2002, 07:07 PM
When is the Update for 2.2.6?
I have done all the instructions, yet it refuses to work...
Satan
Roxie
06-24-2002, 07:24 PM
yes, I followed all steps. It's in the postbit, just displaying...
Roxie
06-24-2002, 07:25 PM
oops...I meant just NOT displaying
Chris M
06-24-2002, 07:43 PM
Yeh...
Ive got a little CD Image, and I even did the editpost.php options...
It still wont show...
Satan
Chris M
06-25-2002, 09:58 AM
Anyone?
Satan
disillusioned
08-06-2002, 10:23 AM
Awesome hack-
But my forum members are all strong users of the Quick Reply box... and would like the NP functionality to be included there, as well..
I copied the basic
<p>
<smallfont><b>Now Playing</b>: What are you listening to? [optional]
<br><input type="text" class="bginput" name="nowplaying" value="$nowplaying" size="40" maxlength="85" tabindex="1"></smallfont>
code to allow them to input the song, but the title doesn't display.
Any ideas?
Chris M
08-06-2002, 12:37 PM
What title?
It doesnt work on 2.2.6...
Satan
disillusioned
08-07-2002, 09:31 PM
The hack is working fine, and I'm running 2.2.6.
I'm just wondering why, when the form and the code above is included in the quick reply box, does it not add that to the post data. Anyone?
I know this hack won't get much use unless I can put a field for now playing... Suggestions?
Unknown553
08-07-2002, 11:49 PM
Is this what you're looking for??
disillusioned
08-07-2002, 11:52 PM
Absolutely it- I had the form input on the quick reply template, but do I need to make any changes? The NP wasn't showing up in the post that was made from the quick reply box...
Thanks!
Unknown553
08-08-2002, 12:01 AM
Here's what I have as my showthread_quickreply template (yours might be "replybox"):
<script language="Javascript" src="vbcode.js"></script>
<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post">
<input type="hidden" name="s" value="">
<input type="hidden" name="action" value="postreply">
<input type="hidden" name="threadid" value="$threadid">
<input type="hidden" name="title" value="">
<input type="hidden" name="iconid" value="0">
<input type="hidden" name="parseurl" value="yes">
<input type="hidden" name="email" value="">
<input type="hidden" name="disablesmilies" value="">
<input type="hidden" name="signature" value="yes">
<input type="hidden" name="rating" value="">
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="{categorybackcolor}" colspan="2"><normalfont color="{categoryfontcolor}"><b>Quick Reply</b></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont><br>
<smallfont>[<a href="javascript:opensmiliewindow(350,450,'')">Smilies</a>]</smallfont></td>
<td bgcolor="{firstaltcolor}">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"></textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="{secondaltcolor}" valign="top"><normalfont><b>Now Playing:</b></normalfont></td>
<td bgcolor="{secondaltcolor}" valign="top"><smallfont>
<input type="text" class="bginput" name="nowplaying" size="40" maxlength="85" tabindex="2"> (Optional)<br>
What are you listening to?</smallfont></td>
</tr>
</table>
</td></tr></table>
<br>
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center"><normalfont>
<input type="submit" class="bginput" name="submit" value="Submit Reply" accesskey="s" tabindex="3">
</normalfont></td>
</tr>
</table>
</form>
In red is the NP part. Hope that helps :)
disillusioned
08-08-2002, 01:19 AM
Thanks- I used that exact code even before, and the form appears, and you can enter in the name of the song- but it won't display when entered in through the quick reply method...
It will work through the normal editpost, or new thread or reply to post... or anything but quick reply...
Please help!
Unknown553
08-08-2002, 05:05 AM
Make sure you have this at the top:
<form enctype="multipart/form-data" action="newreply.php" name="vbform" method="post">
and that you have name="nowplaying" in the input tag for the now playing box. If that doesnt fix it contact me privately and I'll try to help you from there.
Mike Gaidin
08-11-2002, 04:52 PM
Installed on 2.2.6 and it works great. I did leave off the editpost stuff though.
disillusioned
08-17-2002, 09:26 AM
Found the issue to be a missing value="$nowplaying" in the INPUT tag!!!
Now I'm having some other weird issue with Quick Replies- some are trying to reply to messages from different forums- especially if you're trying to reply to an admins only forum- we're having some sensitive replies appearing in random other threads outside that forum.... Ideas?
(thanks for all your help!)
Chris M
08-18-2002, 12:18 PM
@J-OST - How did you get it to work??
Any chance of an update for 2.2.7? I get a parse error when I follow the instructions..I wish I never updated now, this was my favourite hack :(
MarkB
09-06-2002, 01:16 PM
It should work fine on 2.2.7 - you must have missed a step somewhere. What parse error do you get?
MarkB
09-06-2002, 01:24 PM
Oh, and for the record - I've not udpated this since the version it was originally released for, and don't expect to update it until vB3 is out... so if it don't work, just play around with it ;)
MartynJ
09-08-2002, 04:38 PM
I'd like to add this, but each time I click on the .txt attachment, it loads into IE all funky. Can't someone attach it in a zip like most hacks are? It's a nightmare trying to decode a scrambled text file.
Ghostsuit
09-26-2002, 10:22 AM
Damn fine hack working fine on my boards in 2.2.7 just had to make a few changes to the INSERTS parts of Newreply and Newpost since the mood hack affects those already.
I can't get this hack to show up at all. I modified all the correct templates and php files and still noluck. I've done it twice now with the same effect. Anyone know were the problem could be. I think it's most likely in the sql database I dont think I put that table where it's supposed to go.
ZiRu$
10-17-2002, 04:32 AM
Originally posted by MarkB
Oh, and for the record - I've not udpated this since the version it was originally released for, and don't expect to update it until vB3 is out... so if it don't work, just play around with it ;)
NOOOOOOOOOOOOOO PLEASE MARK UPDATE IT FOR 2.2.8
Now Playing is my favorite hack....But A LOT has changed in 2.2.8 and i messed up my forums big time trying to make it work. Can you PLEASSEEEE do 1 more update?
Because I dont ever wanna go to 3.0
Working well on 2.2.8. :)
ZiRu$
10-17-2002, 04:47 PM
Originally posted by Anime-loo
Working well on 2.2.8. :)
agh crap....then that means its just another hack i have :(
Ghostsuit
10-17-2002, 05:13 PM
Originally posted by ZiRu$
agh crap....then that means its just another hack i have :( It might be the mood hack if you have that installed.
ZiRu$
10-18-2002, 06:05 PM
nope......
MarkB
10-24-2002, 01:41 PM
I'll update it for 2.2.8 soon :)
Chris M
10-24-2002, 01:44 PM
Thanks:)
Satan
Dean C
10-24-2002, 07:54 PM
MarkB - it works fine on 2.2.8 for me :D
- miSt
It works on 2.2.8. People that are having problems with it have edited the code before install, if i get the time ill put something togther for people that have alreadyed edited the code is Mark dosent mind.
ZiRu$
10-29-2002, 07:36 PM
thanks for updating it for 2.2.8....works perfect now :)
Donkeyballz
11-11-2002, 02:32 PM
im having a problam with the display. when i post a new thread and dont enter anything in the 'NP:' box nothing shows, but when i post a new reply and dont enter anything in the 'NP:' box it will show in the thread 'NP:' with nothing, becuase i didn't enter anything. i checked the codes both in newreplay and newthread they are the same. if i didn't enter anything in the 'NP:' box i dont want it to show in the thread 'NP: <blank>'. any ideas?
Crazy Pete
12-12-2002, 02:16 AM
I installed this hack, but I can't get it to show up in the postbit anywhere. Also, by default the text field for Now Playing? has "Array" in it, that doesn't seem right to me. What's going on?
Crazy Pete
12-12-2002, 02:18 AM
I installed this hack, but I can't get it to show up in the postbit anywhere. Also, by default the text field for Now Playing? has "Array" in it, that doesn't seem right to me. What's going on?
Oblivion Knight
02-05-2003, 08:47 PM
Nice one Mark.
Working with no problems on 2.2.9 whatsoever :)
* Oblivion Knight clicks install.
Harken
02-11-2003, 01:47 AM
how do i edit it to show a little cd instead of NP
Harken
02-11-2003, 02:08 AM
nm im a dumbass
L-Mane
03-05-2003, 12:42 AM
I cannot find
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmili e,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($post username)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signa ture','$ipaddress','$iconid','$visible')");
Anywhere in edit post
Austin Dea
05-11-2003, 12:42 AM
For you guys who couldn't get it to display, I did by doing this.
Chang:if ($post[NP]!="") {
eval("\$post[nowplaying] = \"".gettemplate("postbit_nowplaying")."\";");
} else {
$post[NP]="";
} to: if ($post[NP]!="") {
eval("\$post[nowplaying] = \"".gettemplate("postbit_nowplaying")."\";");
} else {
$post[NP]="";
}
I have no idea why that fixes it, but it did for me =P.
reismarktq2
06-02-2003, 08:36 PM
Never mind... fixed it myself.
/me clicks install
Xelation
06-09-2003, 06:59 PM
Is it possible for someone to make an addon for the getinfo page? with the last 5 songs played?
MarkB
07-06-2003, 08:12 AM
I've managed to hack this for vB3 now, so once that is released as Gold, and vB.org is accepting vB3 hacks, I'll release it :)
midnightz
07-25-2003, 03:40 PM
Hi - Great hack
Is it possible to have it show in thier profile as well
Thanks,
midz
RixiuS
08-02-2003, 03:32 AM
i'm on vb 2.3.0 and when i reply to threads that i started, the NP stays the same >.<
Zachery
08-02-2003, 09:08 AM
[QUOTE]11-24-01 at 07:02 PM Nupraptor said this in Post #24 (https://vborg.vbsupport.ru/showthread.php?postid=202514#post202514)
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.
RixiuS
08-03-2003, 01:57 AM
-.- anyone else getting my error?
i'm on vb 2.3.0 and when i reply to threads that i started, the NP stays the same >.<
RixiuS
08-08-2003, 02:11 AM
>_< neone?
DannyBoy8406
08-12-2003, 04:06 AM
installed, now whenever i try to post i get this error
Database error in vBulletin 2.2.9:
Invalid SQL: INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,NP,allowsmilie,showsignature,i paddress,iconid,visible) VALUES (NULL,'1309','','Dark Illusions','6','1060664645','0','BLAH','1','0','21 6.24.108.139','0','1')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
Date: Tuesday 12th of August 2003 01:04:05 AM
Script: http://www.wb-devotions.com/newreply.php
Referer: http://www.wb-devotions.com/newreply.php?s=&action=newreply&threadid=1309
yabba
08-12-2003, 05:57 PM
anyone here their this have made for the now playing hack?
https://vborg.vbsupport.ru/showthread.php?s=&threadid=56114
Greets yabba
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.