Quote:
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='$signature',iconid='$i conid',attachmentid='$attachmentid' WHERE postid='$posts[minpost]'");
--------------------------------------------------------------------------------
change above code to:
PHP:--------------------------------------------------------------------------------
$DB_site->query("UPDATE post SET pagetext='".addslashes($message)."',NP='".addslash es($nowplaying)."',allowsmilie='$allowsmilie',show signature='$signature',iconid='$iconid',attachment id='$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