Notifications
Clear all

wpForo 1.x.x [Solved] New "Forum" page created each time cache is cleared

12 Posts
3 Users
3 Likes
4,029 Views
Posts: 393
Topic starter
(@anonymous3542)
Honorable Member
Joined: 7 years ago

@robert @sofy not sure I completely agree. If you look at the below revised statement, it's using OR

!WPF()->db->get_var("SELECT `ID` FROM `".WPF()->db->posts."` WHERE `ID` = '".intval(WPF()->pageid)."' AND ( `post_content` LIKE '%[wpforo]%' OR `post_content` LIKE '%[cs_content]%' OR `post_content` LIKE '%[wpforo-index]%' ) AND `post_status` LIKE 'publish' AND `post_type` IN('post', 'page')") ){


Page 3 / 3