Page Time: 0.1849s

Memory: 11.7673 MB (Peak: 13.3143 MB)

Queries (17, time: 0.0504s, 27.3%)

  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.000976
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000454
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000285
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		0 AS following_0
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (5,1,2,4,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 (5,1,2,4,8,10)), 0)) as positive_rating_count_incl_likes
    
    ,(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_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)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = user.user_id)
    WHERE user.user_id = ?
    Params: 22164
    Run Time: 0.001099
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const6 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using index condition
  5. SELECT search_index.content_type, search_index.content_id
    FROM xf_search_index AS search_index
    WHERE search_index.user_id = ?
    	
    ORDER BY search_index.item_date DESC
     LIMIT 15
    Params: 22164
    Run Time: 0.039555
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexrefuser_id_item_dateuser_id_item_date4const1823Using where
  6. SELECT profile_post_comment.*
    ,
    		user.*,
    		IF(user.username IS NULL, profile_post_comment.username, user.username) AS username
    FROM xf_profile_post_comment AS profile_post_comment
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = profile_post_comment.user_id)
    WHERE profile_post_comment.profile_post_comment_id IN (4397, 4388, 4368, 4146)
    Run Time: 0.001062
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_post_commentrangePRIMARYPRIMARY4 4Using where
    SIMPLEusereq_refPRIMARYPRIMARY4tf2maps_site.profile_post_comment.user_id1 
  7. 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(9314, 10110, 10214, 10221)
    Run Time: 0.000412
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrangePRIMARYPRIMARY4 4Using where
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4tf2maps_site.profile_post.profile_user_id1 
  8. 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 (5,1,2,4,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 (5,1,2,4,8,10)), 0)) as positive_rating_count_incl_likes
    
    ,(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 (22663, 22164, 22051, 16302)
    ORDER BY user.username
    Run Time: 0.000828
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserrangePRIMARYPRIMARY4 4Using where; Using filesort
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4tf2maps_site.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tf2maps_site.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tf2maps_site.user.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tf2maps_site.user.user_id1Using index condition
  9. 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,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    	permission.cache_value AS node_permission_cache
    		,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (5,1,2,4,8,10)) as positive_rating_count
    	,
    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_user AS user ON
    			(user.user_id = post.user_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 (449911, 447545, 444550, 443812, 443641, 443620, 443551, 443431, 443389, 443387)
    Run Time: 0.002036
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrangePRIMARY,thread_id_post_date,thread_id_positionPRIMARY4 10Using where
    PRIMARYusereq_refPRIMARYPRIMARY4tf2maps_site.post.user_id1 
    PRIMARYthreadeq_refPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4tf2maps_site.post.thread_id1 
    PRIMARYnodeeq_refPRIMARYPRIMARY4tf2maps_site.thread.node_id1 
    PRIMARYpermissioneq_refPRIMARYPRIMARY35const,const,tf2maps_site.thread.node_id1Using where
    PRIMARYpr_cacheeq_refPRIMARYPRIMARY4tf2maps_site.post.post_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8tf2maps_site.post.post_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4tf2maps_site.post.user_id1Using index condition
  10. SELECT profile_post.*
    	,
    		posting_user.*,
    		IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    		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,
    		receiving_user_privacy.allow_view_profile
    			AS profile_allow_view_profile,
    		receiving_user_privacy.allow_post_profile
    			AS profile_allow_post_profile,
    		receiving_user_privacy.allow_send_personal_conversation
    			AS profile_allow_send_personal_conversation,
    		receiving_user_privacy.allow_view_identities
    			AS profile_allow_view_identities,
    		receiving_user_privacy.allow_receive_news_feed
    			AS profile_allow_allow_receive_news_feed,
    		IF (receiving_user_follow.follow_user_id, 1, 0)
    			AS following_0
    FROM xf_profile_post AS profile_post
    
    		LEFT JOIN xf_user AS posting_user ON
    			(posting_user.user_id = profile_post.user_id)
    		LEFT JOIN xf_user AS receiving_user ON
    			(receiving_user.user_id = profile_post.profile_user_id)
    		LEFT JOIN xf_user_privacy AS receiving_user_privacy ON
    			(receiving_user_privacy.user_id = profile_post.profile_user_id)
    		LEFT JOIN xf_user_follow AS receiving_user_follow ON
    			(receiving_user_follow.user_id = profile_post.profile_user_id AND follow_user_id = 0)
    WHERE profile_post.profile_post_id IN(9532)
    Run Time: 0.000921
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postconstPRIMARYPRIMARY4const1 
    SIMPLEposting_userconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_userconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_user_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_user_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
  11. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 0485d3cd43b4c4c65b4607ab40cb0ff2, , 1544672868
    Run Time: 0.000656
  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_Member, RecentContent, valid, user_id=22164, 1544669268,
    Run Time: 0.000165
  13. SELECT COUNT(*) AS total
    	FROM EWRrio_streams
    	LEFT JOIN EWRrio_games ON (EWRrio_games.game_id = EWRrio_streams.game_id)
    Run Time: 0.000263
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRrio_streamsALL    2 
  14. SELECT node.*, COALESCE(options.nat_newwindow, 0) AS nat_newwindow,
    	permission.cache_value AS node_permission_cache
    FROM xf_node AS node
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = ?
    	AND permission.content_type = 'node'
    	AND permission.content_id = node.node_id)
    LEFT JOIN nat_options AS options ON (options.node_id = node.node_id)
    WHERE node.node_id IN (92, 93, 89)
    ORDER BY node.lft
    ASC
    Params: 1
    Run Time: 0.000528
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnoderangePRIMARYPRIMARY4 3Using where; Using filesort
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,tf2maps_site.node.node_id1Using where
    SIMPLEoptionseq_refnode_idnode_id4tf2maps_site.node.node_id1 
  15. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'search_result_profile_post_comment', 'search_result_post', 'search_result_profile_post', 'member_recent_content', 'nat_childlinks')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000301
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 6Using where
  16. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('EWRporta2_Navtabs', 'resources_tab_links', 'EWRrio_Navtabs', 'nat_linkstemplate', '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', 'steam_helper_criteria_privs', 'steam_navtabs', 'steam_public_index', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000585
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 21Using where
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('nat_bodyjs')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.000285
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (139, XenForo Classes: 66)

  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/HtmlCustomTitles/Listener.php
  33. library/Waindigo/Listener/InitDependencies.php
  34. library/Waindigo/Listener/InitDependencies/20150106.php
  35. library/Waindigo/Listener/ControllerPreDispatch/20150209.php
  36. library/LiamW/AllRich/Addon.php
  37. library/bdMedal/Listener.php
  38. library/EWRporta2/Listener/Init.php
  39. library/NodesAsTabs/Listen.php
  40. library/AttachmentHelper/Listener.php
  41. library/XenResource/Listener/Proxy.php
  42. library/EWRrio/Listener/Init.php
  43. library/bdPaygate/Listener.php
  44. library/bdPaygate/ShippableHelper/Updater.php
  45. library/bdPaygate/Option.php
  46. library/Steam/Listener.php
  47. library/XenForo/Router.php
  48. library/XenForo/Route/Filter.php
  49. library/XenForo/Route/Interface.php
  50. library/XenForo/Route/ResponseSuffix.php
  51. library/XenForo/Route/Prefix.php
  52. library/XenForo/Route/Prefix/Members.php
  53. library/XenForo/RouteMatch.php
  54. library/NodesAsTabs/Model/Options.php
  55. library/RmThreadReassign/Listener.php
  56. library/Dark/PostRating/EventListener.php
  57. library/EWRporta2/Listener/Model.php
  58. library/XenForo/ControllerPublic/Member.php
  59. library/XenForo/ControllerPublic/Abstract.php
  60. library/XenForo/Controller.php
  61. library/Nobita/DiscussionsPerPage/Listener.php
  62. library/EWRporta2/Listener/Controller.php
  63. library/Siropu/UsernameChange/Listener.php
  64. library/XFA/ExtendedCover/Extends/XenForo/Proxy.php
  65. library/bdMedal/Extend/ControllerPublic/Member.php
  66. library/Dark/PostRating/ControllerPublic/Member.php
  67. library/XenResource/Listener/Proxy/ControllerMember.php
  68. library/XFA/ExtendedCover/Extends/XenForo/ControllerPublic/Member.php
  69. library/XenForo/Input.php
  70. library/XenForo/Session.php
  71. library/XenForo/Helper/Ip.php
  72. library/XenForo/Visitor.php
  73. library/XenForo/Model/User.php
  74. library/Dark/PostRating/Model/User.php
  75. library/EWRporta2/Model/User.php
  76. library/XenResource/Listener/Proxy/ModelUser.php
  77. library/XenForo/Permission.php
  78. library/XenForo/Helper/Php.php
  79. library/XenForo/Phrase.php
  80. library/XenForo/Locale.php
  81. library/XenForo/ControllerHelper/UserProfile.php
  82. library/XenForo/ControllerHelper/Abstract.php
  83. library/Dark/PostRating/Model.php
  84. library/XenForo/Model/UserProfile.php
  85. library/XenForo/Search/SourceHandler/Abstract.php
  86. library/XenForo/Search/SourceHandler/MySqlFt.php
  87. library/XenForo/Model/Search.php
  88. library/XenForo/Search/DataHandler/ProfilePostComment.php
  89. library/XenForo/Search/DataHandler/Abstract.php
  90. library/XenForo/Search/DataHandler/Post.php
  91. library/XenForo/Search/DataHandler/ProfilePost.php
  92. library/XenForo/Model/ProfilePost.php
  93. library/XenForo/Model/Post.php
  94. library/Dark/PostRating/Model/Post.php
  95. library/EWRporta2/Model/Post.php
  96. library/XenForo/Model/Thread.php
  97. library/SV/ThreadReplyBanner/Listener.php
  98. library/SV/ThreadReplyBanner/XenForo/Model/Thread.php
  99. library/RmThreadReassign/Model/Thread.php
  100. library/Dark/PostRating/Model/Thread.php
  101. library/bdPaygate/XenForo/Model/Thread.php
  102. library/XenForo/Model/Forum.php
  103. library/XenForo/Helper/String.php
  104. library/XenForo/ControllerResponse/View.php
  105. library/XenForo/ControllerResponse/Abstract.php
  106. library/XenForo/Helper/Cookie.php
  107. library/XenForo/ViewRenderer/HtmlPublic.php
  108. library/XenForo/ViewRenderer/Abstract.php
  109. library/XenForo/Template/Public.php
  110. library/XenForo/Template/Abstract.php
  111. library/XenForo/ViewPublic/Member/RecentContent.php
  112. library/XenForo/ViewPublic/Base.php
  113. library/XenForo/View.php
  114. library/Dark/ParseHTML/EventListener.php
  115. library/EWRporta2/Listener/ViewPublic.php
  116. library/XenForo/ViewPublic/Helper/Search.php
  117. library/XenResource/Listener/Template.php
  118. library/bdMedal/Option.php
  119. library/EWRporta2/Listener/NavTabs.php
  120. library/EWRporta2/Model/Perms.php
  121. library/EWRrio/Listener/NavTabs.php
  122. library/EWRrio/Model/Perms.php
  123. library/EWRrio/Model/Streams.php
  124. library/NodesAsTabs/NavTabs.php
  125. library/XenForo/Model/Node.php
  126. library/XFA/ExtendedCover/Extends/XenForo/Model/Node.php
  127. library/XenForo/Route/Prefix/Pages.php
  128. library/XenForo/Route/Prefix/LinkForums.php
  129. library/XenForo/Model/Avatar.php
  130. library/XenForo/Route/Prefix/ProfilePosts.php
  131. library/LiamW/AllRich/Template/Helper/Core.php
  132. library/XenForo/Route/Prefix/Posts.php
  133. library/XenForo/Route/Prefix/Forums.php
  134. library/Dark/Minorin/EventListener/TemplateHook.php
  135. library/EWRporta2/Listener/Template.php
  136. library/XFA/ExtendedCover/Template.php
  137. library/XenForo/Helper/Criteria.php
  138. library/XenForo/Debug.php
  139. library/XenForo/ViewRenderer/Json.php