Quote:
Originally Posted by lolo?
hello i try this but dosent work if you have a prefix for the db
use this if you have a prefix
|
You have to put the prefix in the name of the tables required
Open Product - MARCO1 Hide All Final.xml whit a text editor and search:
In word in red add the prefix (for ex.: if you use
vb as prefix put
vbpost
In line 25 search:
Code:
$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]' AND userid=" . $vbulletin->userinfo[userid] . "");
In line 45 search:
Code:
$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]' AND userid=" . $vbulletin->userinfo[userid] . "");
In line 55 search:
Code:
$p=$db->query_first("SELECT userid from post where threadid='$post[threadid]' AND userid=" . $vbulletin->userinfo[userid] . "");
After reinstall the product