Page Time: 0.0570s

Memory: 7.5193 MB (Peak: 9.2019 MB)

Queries (15, time: 0.0086s, 15.1%)

  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.000605
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: moods
    Run Time: 0.000188
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000126
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  4. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*
    FROM xf_news_feed AS news_feed FORCE INDEX (event_date)
    INNER JOIN xf_user AS user ON
    	(user.user_id = news_feed.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    LEFT JOIN xf_user_follow AS user_follow ON
    	(user_follow.user_id = user.user_id
    	AND user_follow.follow_user_id = 0)
    INNER JOIN xf_user_privacy AS user_privacy ON
    	(user_privacy.user_id = user.user_id
    		
    			AND (user.user_id = 0
    				OR (
    					user_privacy.allow_receive_news_feed <> 'none'
    					AND IF(user_privacy.allow_receive_news_feed = 'members', 0, 1)
    					AND IF(user_privacy.allow_receive_news_feed = 'followed', user_follow.user_id IS NOT NULL, 1)
    				)
    			)
    		
    	)
    WHERE (user.user_state IN ('valid', 'email_confirm_edit')) AND (user.is_banned = 0)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.001393
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnews_feedindex event_date4 15 
    SIMPLEusereq_refPRIMARY,user_statePRIMARY4forum.news_feed.user_id1Using where
    SIMPLEuser_followeq_refPRIMARY,follow_user_idPRIMARY8forum.news_feed.user_id,const1Using index
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4forum.news_feed.user_id1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4forum.news_feed.user_id1 
  5. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000111
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  6. SELECT thread.*
    	,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    	permission.cache_value AS node_permission_cache,
    	privacy.snog_flag_view
    FROM xf_thread AS thread
    		LEFT JOIN xf_node AS node ON
    			(node.node_id = thread.node_id)
    		LEFT JOIN xf_post AS post ON
    			(post.post_id = thread.first_post_id)
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = thread.node_id)
    	LEFT JOIN xf_user_privacy AS privacy ON
    		(privacy.user_id = thread.user_id)
    WHERE thread.thread_id IN (249603, 249602, 249601)
    Run Time: 0.000498
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 3Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4forum.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4forum.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,forum.thread.node_id1 
    SIMPLEprivacyeq_refPRIMARYPRIMARY4forum.thread.user_id1 
  7. SELECT
    	post.*
    	,
    		thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
    		thread.post_date AS thread_post_date,
    		post.user_id, post.username, post.post_date,
    		node.title AS node_title, node.node_name,
    	permission.cache_value AS node_permission_cache,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    		INNER JOIN xf_thread AS thread ON
    			(thread.thread_id = post.thread_id)
    		INNER JOIN xf_node AS node ON
    			(node.node_id = thread.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 = thread.node_id)
    left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
    left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.post_id IN (371462, 371462, 371458, 371461, 371460, 371459, 371457, 371455, 332392, 332414, 332396)
    Run Time: 0.001071
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangePRIMARY,thread_id_post_date,thread_id_positionPRIMARY4 10Using where
    SIMPLEthreadeq_refPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4forum.post.thread_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4forum.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,forum.node.node_id1 
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4forum.post.post_id1 
    SIMPLEpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8forum.post.post_id,const1 
  8. SELECT profile_post.*
    	,
    		receiving_user.username
    			AS profile_username,
    		receiving_user.gender
    			AS profile_gender,
    		receiving_user.user_state
    			AS profile_user_state,
    		receiving_user.user_group_id
    			AS profile_user_group_id,
    		receiving_user.secondary_group_ids
    			AS profile_secondary_group_ids,
    		receiving_user.display_style_group_id
    			AS profile_display_style_group_id,
    		receiving_user.is_banned
    			AS profile_is_banned,
    		receiving_user.is_admin
    			AS profile_is_admin,
    		receiving_user.is_moderator
    			AS profile_is_moderator,
    		receiving_user.avatar_date
    			AS profile_avatar_date,
    		receiving_user.gravatar
    			AS profile_gravatar,
    		receiving_user.warning_points
    			AS profile_warning_points,
    		receiving_user.permission_combination_id
    			AS profile_permission_combination_id
    FROM xf_profile_post AS profile_post
    
    		LEFT JOIN xf_user AS receiving_user ON
    			(receiving_user.user_id = profile_post.profile_user_id)
    WHERE profile_post.profile_post_id IN(471)
    Run Time: 0.000461
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_userconstPRIMARYPRIMARY4const1 
  9. SELECT user.*
    	,
    	user_privacy.*,
    	0 AS following_0
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)) as positive_rating_count
    
    	, (user.like_count + coalesce((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)), 0)) as positive_rating_count_incl_likes
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (13)) as negative_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9,11,12)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    
    FROM xf_user AS user
    
    	LEFT JOIN xf_user_privacy AS user_privacy ON
    		(user_privacy.user_id = user.user_id)
    WHERE user.user_id IN (1919)
    ORDER BY user.username
    Run Time: 0.000656
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const5 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using where
    DEPENDENT SUBQUERYdark_postrating_countconstuser_id_ratinguser_id_rating8const,const1 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
  10. SELECT session_activity.*
    	,
    	user.*,privacy.snog_flag_view as snog_flag_view
    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_privacy AS privacy ON
    (privacy.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1579538437)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001727
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 171Using where
    SIMPLEusereq_refPRIMARYPRIMARY4forum.session_activity.user_id1 
    SIMPLEprivacyeq_refPRIMARYPRIMARY4forum.session_activity.user_id1 
  11. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 6b9a8c532760bf8ee6f121aa766d79fc, , 1579544437
    Run Time: 0.000202
  12. 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_RecentActivity, Index, valid, , 1579540837,
    Run Time: 0.000150
  13. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'profile_view_count', 'xfc_notepad_sidebar', 'news_feed_item_post_insert', 'news_feed_page_global', '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', 'siropu_chat', 'siropu_chat_disabled', 'threadrating_rate', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 1
    Run Time: 0.000944
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 22Using where
  14. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: mostViewed
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('profile_view_most_viewed')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 1
    Run Time: 0.000238
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (161, XenForo Classes: 62)

  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/ChipXF/MobileSwitcher/Listener.php
  33. library/ChipXF/MobileSwitcher/Detecter.php
  34. library/XenForo/Visitor.php
  35. library/ThemeHouse/Listener/InitDependencies.php
  36. library/ThemeHouse/Listener/InitDependencies/20170101.php
  37. library/ThemeHouse/Listener/ControllerPreDispatch/20150911.php
  38. library/XenMoods/Listener/InitDependencies.php
  39. library/Tinhte/XenTag/Listener.php
  40. library/SK/MarkThreadRead/Listeners.php
  41. library/XenMoods/Listener/LoadClassModel.php
  42. library/NixFifty/TrashCan/Listener/Listen.php
  43. library/TilkiBey/ThreadCount/Listener.php
  44. library/Dark/PostRating/EventListener.php
  45. library/Siropu/Chat/Listener.php
  46. library/MobileRead/ProfileBbCode/Listener/InitDependencies.php
  47. library/Snog/CountryFlags/Listener/Dependencies.php
  48. library/Mega/History/Listener/HistorySidebar.php
  49. library/XenForo/Router.php
  50. library/XenForo/Route/Filter.php
  51. library/XenForo/Route/Interface.php
  52. library/XenForo/Route/ResponseSuffix.php
  53. library/XenForo/Route/Prefix.php
  54. library/XenForo/Route/Prefix/RecentActivity.php
  55. library/XenForo/RouteMatch.php
  56. library/XenForo/ControllerPublic/RecentActivity.php
  57. library/XenForo/ControllerPublic/Abstract.php
  58. library/XenForo/Controller.php
  59. library/ThreadRating/Listener/Class.php
  60. library/Vinavb/CustomNodeIcon/Listener.php
  61. library/Awedo/PostAreas/Listener/LoadClassController.php
  62. library/ProfileViewCount/Listener.php
  63. library/ConversationPost/Listener.php
  64. library/XFCrowd/NotePad/Listener.php
  65. library/XenForo/Input.php
  66. library/XenForo/Session.php
  67. library/XenForo/Helper/Ip.php
  68. library/XenForo/Model/User.php
  69. library/SV/UserActivity/Listener.php
  70. library/SV/ReportImprovements/Listener.php
  71. library/XenMoods/XFCP/Model/User.php
  72. library/TilkiBey/ThreadCount/Extends/Model/User.php
  73. library/Dark/PostRating/Model/User.php
  74. library/SV/UserActivity/XenForo/Model/User.php
  75. library/SV/ReportImprovements/XenForo/Model/User.php
  76. library/XenForo/Permission.php
  77. library/XenForo/Helper/Php.php
  78. library/XenForo/Phrase.php
  79. library/XenForo/Locale.php
  80. library/Snog/CountryFlags/Listener/Visitor.php
  81. library/Snog/CountryFlags/Listener/Includes/Reader.php
  82. library/Snog/CountryFlags/Listener/Includes/Reader/Decoder.php
  83. library/Snog/CountryFlags/Listener/Includes/Reader/InvalidDatabaseException.php
  84. library/Snog/CountryFlags/Listener/Includes/Reader/Metadata.php
  85. library/Snog/CountryFlags/Listener/Includes/Reader/Util.php
  86. library/XenForo/Model/Report.php
  87. library/SV/ReportImprovements/XenForo/Model/Report.php
  88. library/XenForo/Model/NewsFeed.php
  89. library/Dark/PostRating/Model/NewsFeed.php
  90. library/XenForo/NewsFeedHandler/Discussion/Thread.php
  91. library/XenForo/NewsFeedHandler/Discussion.php
  92. library/XenForo/NewsFeedHandler/Abstract.php
  93. library/XenForo/Model/Thread.php
  94. library/SV/TitleEditHistory/Listener.php
  95. library/rellect/LikesSummary/Listener/Proxy.php
  96. library/Snog/CountryFlags/Listener/Thread.php
  97. library/SV/TitleEditHistory/XenForo/Model/Thread.php
  98. library/Tinhte/XenTag/XenForo/Model/Thread.php
  99. library/Dark/PostRating/Model/Thread.php
  100. library/ThreadRating/Model/Thread.php
  101. library/rellect/LikesSummary/XenForo/Model/Thread.php
  102. library/Snog/CountryFlags/Model/Thread.php
  103. library/SV/ReportImprovements/XenForo/Model/Thread.php
  104. library/Dark/PostRating/Model.php
  105. library/XenForo/NewsFeedHandler/DiscussionMessage/Post.php
  106. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  107. library/XenForo/Model/Post.php
  108. library/Snog/CountryFlags/Listener/Post.php
  109. library/Dark/PostRating/Model/Post.php
  110. library/XenForo/NewsFeedHandler/DiscussionMessage/ProfilePost.php
  111. library/XenForo/Model/ProfilePost.php
  112. library/SV/ReportImprovements/XenForo/Model/ProfilePost.php
  113. library/XenForo/Model/Forum.php
  114. library/Tinhte/XenTag/XenForo/Model/Forum.php
  115. library/SV/ReportImprovements/XenForo/Model/Forum.php
  116. library/XenForo/Model/UserProfile.php
  117. library/XenForo/Helper/String.php
  118. library/XenForo/Model/Session.php
  119. library/Snog/CountryFlags/Listener/Session.php
  120. library/Dark/PostRating/Model/Session.php
  121. library/Snog/CountryFlags/Model/Session.php
  122. library/XenForo/ControllerResponse/View.php
  123. library/XenForo/ControllerResponse/Abstract.php
  124. library/XenForo/Helper/Cookie.php
  125. library/SV/UserActivity/Model.php
  126. library/XenForo/ViewRenderer/HtmlPublic.php
  127. library/XenForo/ViewRenderer/Abstract.php
  128. library/XenForo/Template/Public.php
  129. library/XenForo/Template/Abstract.php
  130. library/XenMoods/Listener/FrontControllerPreView.php
  131. library/XenMoods/Model/Mood.php
  132. library/XenForo/ViewPublic/NewsFeed/View.php
  133. library/XenForo/ViewPublic/Base.php
  134. library/XenForo/View.php
  135. library/XenForo/ViewPublic/Helper/NewsFeed.php
  136. library/ThemeHouse/Thumbnails/Listener/TemplateCreate.php
  137. library/ThemeHouse/Listener/TemplateCreate.php
  138. library/ThemeHouse/Listener/TemplateCreate/20150106.php
  139. library/AddonsLab/OriginalPosterHighlight/Listener/TemplateCreate.php
  140. library/AddonsLab/OriginalPosterHighlight/Abstract/Listener/TemplateCreate.php
  141. library/XenForo/Route/Prefix/Members.php
  142. library/Siropu/Chat/Helper.php
  143. library/ThreadRating/Listener/Template.php
  144. library/Sedo/ToggleME/Listener.php
  145. library/XenForo/Route/Prefix/Posts.php
  146. library/XenForo/Route/Prefix/Threads.php
  147. library/ThemeHouse/Thumbnails/Listener/TemplatePostRender.php
  148. library/ThemeHouse/Listener/TemplatePostRender.php
  149. library/ThemeHouse/Listener/TemplatePostRender/20150106.php
  150. library/ThemeHouse/Listener/Template.php
  151. library/ThemeHouse/Listener/Template/20150106.php
  152. library/XenForo/Helper/Criteria.php
  153. library/XenForo/Debug.php
  154. library/ThemeHouse/Thumbnails/Listener/TemplateHook.php
  155. library/ThemeHouse/Listener/TemplateHook.php
  156. library/ThemeHouse/Listener/TemplateHook/20150106.php
  157. library/XenMoods/Listener/TemplateHook.php
  158. library/Siropu/Chat/HelperDevice.php
  159. library/Siropu/Chat/ThirdParty/Mobile_Detect.php
  160. library/XenForo/ViewRenderer/Json.php
  161. library/Vinavb/CustomNodeIcon/Icon.php