Good hack, but you need to replace
Code:
$blog_lists = $db->query("SELECT blogid, title, username, dateline, userid, state, views FROM " . TABLE_PREFIX . "blog WHERE state='visible' ORDER BY dateline DESC LIMIT $blogsatir");
With:
Code:
$blog_lists = $db->query("
SELECT blogid, title, username, dateline, userid, state, views
FROM " . TABLE_PREFIX . "blog
WHERE state='visible'
AND userid NOT IN (
SELECT bloguserid from " . TABLE_PREFIX . "blog_user
WHERE options_everyone = 0
)
ORDER BY dateline DESC LIMIT $blogsatir
");
- or this mod will show up private (buddies-only) blogs on the lastest blogs list.
Also, it would be a really good idea for this mod to use the :
Code:
<url>https://vborg.vbsupport.ru/showthread.php?t=161910</url>
In the product file.