HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Skip navigation

Guests may see unvalidated guest posts

Title Guests may see unvalidated guest posts
Description Guests can see unvalidated content by other guests.
Affects OCF users
Fix Change line 22 of sources/ocf_topicview.php from:

Code

   if (!has_specific_permission(get_member(),'see_unvalidated')) $where.=' AND (p_validated=1 OR p_poster='.(string)intval(get_member()).')';
to:

Code

   if (!has_specific_permission(get_member(),'see_unvalidated')) $where.=' AND (p_validated=1 OR ((p_poster<>'.strval($GLOBALS['FORUM_DRIVER']->get_guest_id()).' OR '.db_string_equal_to('p_ip_address',get_ip_address()).') AND p_poster='.(string)intval(get_member()).'))';


Trackbacks

There have been no trackbacks yet


There have been no comments yet


Make comment
Your name: (join or login)
Subject:
Your message: