Quote:
Originally Posted by MARCO1
Try To replace this line
PHP Code:
if ( !$vbulletin->db->query_first ( "SELECT postid FROM " . TABLE_PREFIX . "post WHERE userid='".$vbulletin->userinfo[userid]."' AND threadid=$threadinfo[threadid]" ) ) :
Replace With
PHP Code:
if ( !$vbulletin->db->query_first ( "SELECT postid FROM " . TABLE_PREFIX . "post WHERE userid='6".$vbulletin->userinfo[userid]."' AND threadid=$threadinfo[threadid]" ) ) :
|
Ok i tried that, i didnt receive an error but it still didnt work.
Thanks for helping but if i cant get this sorted im gonna have to uninstall.
[edit] Infact it didnt work for anybody wanting to download after that code edit. They could reply to the thread 10 times and they still couldnt have downloaded the attachment.