Version: 1.00, by Dan
Developer Last Online: May 2020
Version: 2.3.x
Rating:
Released: 11-08-2003
Last Update: Never
Installs: 8
No support by the author.
[high]Now Playing Hack[/high]
Coded by: Oricon
Help from: fury, mist & assassingod
[high]INTRODUCTION:[/high]
This hack lets your users specify what they are listening to at the time of posting. This is my first hack so if there are any bugs in it please inform me and I'll get it fixed.
[high]VERSION SUPPORT:[/high]
vBulletin 2.3.2
[high]INSTALL: [/high]
All instructions are in the text file.
ALWAYS remember to backup before installing anything.
Please Click Install if you use this, Comments always welcome.
[high]SCREENSHOT BELOW:[/high]
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hmm..... you shouldn't get an error.... I'll look into this and check it out.
Hi Dan, I downloaded this today and noticed a few things in it you missed. This will fix the error with the ' throwing errors:
in newthread.php find:
PHP Code:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,nowp) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','$visible', '$nowp')");
Replace it with:
PHP Code:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,nowp) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','$visible', '".addslashes(htmlspecialchars($nowp))."')");
In newreply.php find:
PHP Code:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,nowp) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','$visible', '$nowp')");
Replace with:
PHP Code:
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,attachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,nowp) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($title))."','".addslashes($postusername)."','$bbuserinfo[userid]','".time()."','$attachmentid','".addslashes($message)."','$allowsmilie','$signature','$ipaddress','$iconid','$visible', '".addslashes(htmlspecialchars($nowp))."')");
And this will hide 'now playing' in the postbit when it is not in use:
in functions.php find:
PHP Code:
if ($post[homepage]!="" and $post[homepage]!="http://") {
eval("\$post[homepage] = \"".gettemplate("postbit_homepage")."\";");
} else {
$post[homepage]="";
}