eplex.blogg.se

Snapcams
Snapcams






snapcams

$thread_page = ceil(( $thread_position/ $mybb-> settings)) īuild_forum_breadcrumb( $fid, $breadcrumb_multipage) Īdd_breadcrumb( $thread.Never miss a moment of your life with the new SnapCam LE app. $thread_position = $db-> fetch_field( $query, " threads") $query = $db-> simple_select(" threadsread", " dateline", " uid='", array( 'order_by' => 'lastpost', 'order_dir' => 'desc')) First, figure out what time the thread or forum were last read If there is no specific action, we must be looking at the thread.

snapcams

Check if this forum is password protected and we have a valid password Does the thread belong to a valid forum? $archive_url = build_archive_link(" thread", $tid) If(isset( $forumpermissions) & $forumpermissions = 1 & $thread != $mybb-> user) If( $forumpermissions != 1 || $forumpermissions != 1) Does the user have permission to view this thread? $forumpermissions = forum_permissions( $thread) If(( $thread != 1 & $ismod = false) || ( $thread > 1 & $ismod = true)) Make sure we are looking at a real thread here. $visibleonly = " AND (visible='1' OR visible='0')" Is the currently logged in user a moderator of this forum? $visibleonly2 = " AND p.visible='1' AND t.visible='1'"

snapcams

$reply_subject = htmlspecialchars_uni( $reply_subject) $reply_subject = my_substr( $reply_subject, 0, 82). Subject too long? Shorten it to avoid error message $thread = htmlspecialchars_uni( $reply_subject) $reply_subject = $parser-> parse_badwords( $thread) $threadprefix = build_prefixes( $thread) Get the thread details from the database. $query = $db-> simple_select(" posts", " tid", " pid=". Unset( $style) // stop the thread caching code from being tricked If(isset( $style) & $style = $mybb-> input & $style) see if we already have the post information If(!empty( $mybb-> input) & ! $mybb-> input) If there is no tid but a pid, trick the system into thinking there was a tid anyway.








Snapcams