Page Time: 0.3156s

Memory: 12.2289 MB (Peak: 13.4191 MB)

Queries (18, time: 0.1009s, 32.0%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.004106
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('brListenerClasses', 'brBriviumAddOns')
    Run Time: 0.000224
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 2Using where
  3. SELECT *
    FROM xf_brivium_addon
    ORDER BY addon_id
    Run Time: 0.000218
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_brivium_addonindex PRIMARY77 1 
  4. INSERT INTO xf_data_registry
    	(data_key, data_value)
    VALUES
    	(?, ?)
    ON DUPLICATE KEY UPDATE
    	data_value = VALUES(data_value)
    Params: brBriviumAddOns, a:0:{}
    Run Time: 0.000260
  5. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000348
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  6. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000276
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  7. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 305
    Run Time: 0.000506
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  8. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = forum.node_id)
    WHERE node.node_id = ?
    Params: 8
    Run Time: 0.000777
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  9. SELECT post.*
    	,
    		bb_code_parse_cache.parse_tree AS message_parsed, bb_code_parse_cache.cache_version AS message_cache_version,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		signature_parse_cache.parse_tree AS signature_parsed, bb_code_parse_cache.cache_version AS signature_cache_version,
    		session_activity.view_date AS last_view_date,
    		0 AS like_date, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 1) as dark_postrating_1_count
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = post.post_id and pr.rating = 14) as dark_postrating_14_count
    
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,14)) as positive_rating_count
    	,
    pr2.rating
    FROM xf_post AS post
    
    		LEFT JOIN xf_bb_code_parse_cache AS bb_code_parse_cache ON
    			(bb_code_parse_cache.content_type = 'post' AND bb_code_parse_cache.content_id = post.post_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_bb_code_parse_cache AS signature_parse_cache ON
    			(signature_parse_cache.content_type = 'signature' AND signature_parse_cache.content_id = post.user_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(post.user_id > 0 AND session_activity.user_id = post.user_id)
    LEFT JOIN dark_postrating pr2 ON (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 20) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 305
    Run Time: 0.086281
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrangethread_id_post_date,thread_id_positionthread_id_position8 20Using where; Using temporary; Using filesort
    PRIMARYbb_code_parse_cacheeq_refcontent_type_idcontent_type_id31const,husky_forum.post.post_id1 
    PRIMARYusereq_refPRIMARYPRIMARY4husky_forum.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4husky_forum.post.user_id1 
    PRIMARYsignature_parse_cacheeq_refcontent_type_idcontent_type_id31const,husky_forum.post.user_id1 
    PRIMARYsession_activityALLPRIMARY   56 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8husky_forum.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4husky_forum.post.user_id1Using where
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8husky_forum.post.post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8husky_forum.post.post_id,const1Using index
  10. SELECT *
    FROM xf_poll
    WHERE content_type = ?
    	AND content_id = ?
    Params: thread, 305
    Run Time: 0.000605
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_pollconstcontent_type_content_idcontent_type_content_id31const,const1 
  11. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 305
    Run Time: 0.000398
  12. SELECT session_activity.*
    	,
    	user.*,
    	user_profile.*,
    	user_option.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    	LEFT JOIN xf_user_profile AS user_profile ON
    		(user_profile.user_id = user.user_id)
    	LEFT JOIN xf_user_option AS user_option ON
    		(user_option.user_id = user.user_id)
    WHERE ((session_activity.view_date > 1573702028)) AND (session_activity.controller_name = 'XenForo_ControllerPublic_Thread') AND ((
    session_activity.params like '%thread_id=305'
    or
    session_activity.params like '%thread_id=305&%'
    ))
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001293
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 12Using where
    SIMPLEusereq_refPRIMARYPRIMARY4husky_forum.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4husky_forum.user.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4husky_forum.user.user_id1 
  13. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: af71fe86633d87a4711b90da9a70766e, , 1573706528
    Run Time: 0.000294
  14. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
    VALUES
    	(?, ?, ?, ?, ?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	ip = VALUES(ip),
    	controller_name = VALUES(controller_name),
    	controller_action = VALUES(controller_action),
    	view_state = VALUES(view_state),
    	params = VALUES(params),
    	view_date = VALUES(view_date),
    	robot_key = VALUES(robot_key)
    Params: 0, , , XenForo_ControllerPublic_Thread, Index, valid, thread_id=305, 1573702928,
    Run Time: 0.000740
  15. SELECT *
    FROM bbm
    ORDER BY tag
    Run Time: 0.000807
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEbbmALL    8Using filesort
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bbm_bbcode_highlighter', 'bbm_bbcode_protected', 'bbm_bbcode_html', 'bbm_bbcode_spoiler', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'thread_online', 'notice_cookies', 'wf_hook_moderator_bar', 'wf_revealer', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.003159
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 29Using where
  17. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('memberMap_title')
    Params: 2
    Run Time: 0.000179
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  18. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bbm_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000441
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (146, XenForo Classes: 65)

  1. index.php
  2. library/XenForo/Autoloader.php
  3. library/XenForo/Application.php
  4. library/Zend/Registry.php
  5. library/Lgpl/utf8.php
  6. library/Zend/Config.php
  7. library/config.php
  8. library/XenForo/FrontController.php
  9. library/XenForo/Dependencies/Public.php
  10. library/XenForo/Dependencies/Abstract.php
  11. library/Zend/Controller/Request/Http.php
  12. library/Zend/Controller/Request/Abstract.php
  13. library/Zend/Uri.php
  14. library/Zend/Controller/Response/Http.php
  15. library/Zend/Controller/Response/Abstract.php
  16. library/XenForo/Model/DataRegistry.php
  17. library/XenForo/Model.php
  18. library/Zend/Db.php
  19. library/Zend/Db/Adapter/Mysqli.php
  20. library/Zend/Db/Adapter/Abstract.php
  21. library/Zend/Db/Select.php
  22. library/Zend/Db/Expr.php
  23. library/Zend/Db/Profiler.php
  24. library/Zend/Db/Statement/Mysqli.php
  25. library/Zend/Db/Statement.php
  26. library/Zend/Db/Statement/Interface.php
  27. library/Zend/Db/Profiler/Query.php
  28. library/XenForo/CodeEvent.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/WidgetFramework/Listener.php
  33. library/WidgetFramework/Core.php
  34. library/XenForo/Model/Moderator.php
  35. library/Dark/PostRating/EventListener.php
  36. library/BBM/Protection/Listener/Models.php
  37. library/InfisJSC/TopicStarter/Listener.php
  38. library/WidgetFramework/Model/Widget.php
  39. library/WidgetFramework/WidgetRenderer.php
  40. library/WidgetFramework/WidgetRenderer/Empty.php
  41. library/XenForo/Input.php
  42. library/WidgetFramework/WidgetRenderer/UsersFind.php
  43. library/WidgetFramework/WidgetRenderer/Users.php
  44. library/WidgetFramework/WidgetRenderer/UsersStaff.php
  45. library/WidgetFramework/WidgetRenderer/RecentStatus.php
  46. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  47. library/WidgetFramework/WidgetRenderer/Stats.php
  48. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  49. library/WidgetFramework/WidgetRenderer/Html.php
  50. library/WidgetFramework/WidgetRenderer/Birthday.php
  51. library/WidgetFramework/WidgetRenderer/TemplateWithoutWrapper.php
  52. library/WidgetFramework/WidgetRenderer/Template.php
  53. library/WidgetFramework/Option.php
  54. library/Brivium/BriviumHelper/EventListeners.php
  55. library/Brivium/BriviumHelper/1000200/EventListeners.php
  56. library/Brivium/BriviumHelper/Model/ListenerClass.php
  57. library/Brivium/BriviumHelper/1000200/Model/ListenerClass.php
  58. library/Brivium/ProfileCover/EventListeners/Listener.php
  59. library/XenForo/Router.php
  60. library/XenForo/Route/Filter.php
  61. library/XenForo/Route/Interface.php
  62. library/XenForo/Route/ResponseSuffix.php
  63. library/XenForo/Route/Prefix.php
  64. library/XenForo/Route/Prefix/Threads.php
  65. library/XenForo/RouteMatch.php
  66. library/BBM/Protection/Helper/ContentProtection.php
  67. library/XenForo/ControllerPublic/Thread.php
  68. library/XenForo/ControllerPublic/Abstract.php
  69. library/XenForo/Controller.php
  70. library/DBTech/UsersViewingThread/Plugin.php
  71. library/XenTrCom/WhoHasVisited/Listener/Listener.php
  72. library/BBM/Listeners/BbCode.php
  73. library/DBTech/UsersViewingThread/Controller/UsersViewingThread.php
  74. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  75. library/InfisJSC/TopicStarter/ControllerPublic/Thread.php
  76. library/XenForo/Session.php
  77. library/XenForo/Helper/Ip.php
  78. library/XenForo/Visitor.php
  79. library/XenForo/Model/User.php
  80. library/WidgetFramework/XenForo/Model/User.php
  81. library/Dark/PostRating/Model/User.php
  82. library/XenForo/Permission.php
  83. library/XenForo/Phrase.php
  84. library/XenForo/Locale.php
  85. library/XenForo/ControllerHelper/ForumThreadPost.php
  86. library/XenForo/ControllerHelper/Abstract.php
  87. library/XenForo/Model/Thread.php
  88. library/WidgetFramework/XenForo/Model/Thread.php
  89. library/Dark/PostRating/Model/Thread.php
  90. library/InfisJSC/TopicStarter/Model/Thread.php
  91. library/Dark/PostRating/Model.php
  92. library/XenForo/Model/Forum.php
  93. library/XenForo/Helper/String.php
  94. library/XenForo/Helper/Discussion.php
  95. library/XenForo/Model/Post.php
  96. library/Dark/PostRating/Model/Post.php
  97. library/InfisJSC/TopicStarter/Model/Post.php
  98. library/XenForo/Model/Poll.php
  99. library/XenForo/Model/Attachment.php
  100. library/XenForo/Model/Node.php
  101. library/XenForo/Route/Prefix/Categories.php
  102. library/XenForo/Route/Prefix/Forums.php
  103. library/XenForo/ControllerResponse/View.php
  104. library/XenForo/ControllerResponse/Abstract.php
  105. library/DBTech/UsersViewingThread/Model/UsersViewingThread.php
  106. library/DBTech/UsersViewingThread/Model/Session.php
  107. library/XenForo/Model/Session.php
  108. library/Dark/PostRating/Model/Session.php
  109. library/XenForo/Helper/Cookie.php
  110. library/XenForo/ViewRenderer/HtmlPublic.php
  111. library/XenForo/ViewRenderer/Abstract.php
  112. library/XenForo/Template/Public.php
  113. library/XenForo/Template/Abstract.php
  114. library/BBM/Listeners/GetBbmEditor.php
  115. library/XenForo/ViewPublic/Thread/View.php
  116. library/XenForo/ViewPublic/Base.php
  117. library/XenForo/View.php
  118. library/WidgetFramework/XenForo/View1.php
  119. library/XenForo/BbCode/Parser.php
  120. library/XenForo/BbCode/Formatter/Base.php
  121. library/spoiler/class.php
  122. library/spoiler/spoiler.php
  123. library/BBM/BbCode/Formatter/Base.php
  124. library/BBM/Model/BbCodes.php
  125. library/BBM/BbCode/Formatter/Default.php
  126. library/BBM/Listeners/LoadClass.php
  127. library/XenForo/ViewPublic/Helper/Message.php
  128. library/XenForo/BbCode/TextWrapper.php
  129. library/BBM/Listeners/Templates/Preloader.php
  130. library/XenForo/Route/Prefix/Members.php
  131. library/memberMap/Listener/Navigation.php
  132. library/memberMap/Model/ViewMap.php
  133. library/Ragtek/NBM/StaticMethods.php
  134. library/WidgetFramework/Template/Extended.php
  135. library/BBM/Listeners/Templates/Public.php
  136. library/xtop/js/xtop.php
  137. library/CnStats/Listener.php
  138. library/BBM/Listeners/Templates/Admin.php
  139. library/XenForo/Route/Prefix/Posts.php
  140. library/XenForo/Model/Avatar.php
  141. library/XenForo/ViewPublic/Helper/User.php
  142. library/XenForo/Model/UserField.php
  143. library/XenForo/Helper/Criteria.php
  144. library/XenForo/Debug.php
  145. library/CnStats/cnst.html
  146. library/XenForo/ViewRenderer/Json.php