I noticed that in your code, you don't include a link identifier on the mysql_real_escape_string:
if($vbulletin->GPC['title']){ $conditions .= " AND pfp.title LIKE '%". mysql_real_escape_string($vbulletin->GPC['title']) ."%'"; } // title of product
It should default to the last used connection, but in my case I think it's not. In the meantime, I've switched to mysql_escape_string() which appears to be working. Do you see any issues with this?
Also all new reviews go into moderation even though I have the option turned off and made sure the forum have all moderation turned off. Thought it might be a conflict with Glowhost so uninstalled that and they still get moderated.
|