Quote:
Originally Posted by SteveK
Nice... Installed. I hope they add this to vb.com & vb.org!
I notice it doesn't include posts that are "hidden" as a result of the hack by Xenon "Staff can Post hidden Posts " located here: https://vborg.vbsupport.ru/showthread.php?t=64860
Any way to include these (if you have permission to view those hidden posts)?
|
Give it a shot but I haven't tested:
find:
after that add :
PHP Code:
if (in_array($bbuserinfo['usergroupid'], array(5, 6, 7))) {$secret_post=1;$visiblequery='';} else {$secret_post=0;$visiblequery=' AND visible=1 ';}
find:
PHP Code:
p.title, p.pagetext, p.userid,
replace it as:
PHP Code:
p.title, p.pagetext, p.userid,p.visible,
Find
replace it as
find:
PHP Code:
print ("[Post $i]\r\n");
replace it as
PHP Code:
if ($post[visible]==0) {$visibletext = 'HIDDEN TEXT!!!';} else {unset($visibletext);}
print ("[Post $i] $visibletext\r\n");