Page Time: 0.0489s

Memory: 4.9992 MB (Peak: 6.4254 MB)

Queries (10, time: 0.0085s, 17.3%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000390
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. 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 (18,1,14,2,4,5,6,7,8,10,17)) 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 (18,1,14,2,4,5,6,7,8,10,17)), 0)) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (12)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9,13,16)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    ,
    invite.user_id AS invited_by
    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)
    LEFT JOIN adinvitation_invitation AS invite ON
    	(invite.invite_user_id = user.user_id)
    WHERE user.user_id = ?
    Params: 3319
    Run Time: 0.001696
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYinviteALL    1Using where
    SUBQUERYdark_postrating_countrefuser_id_rating,user_iduser_id_rating4const14 
    SUBQUERYdark_postrating_countrangeuser_id_rating,user_iduser_id_rating8 4Using index condition
    SUBQUERY       Impossible WHERE noticed after reading const tables
    SUBQUERYdark_postrating_countrefuser_id_rating,user_iduser_id_rating4const11Using index condition
    SUBQUERYdark_postrating_countrefuser_id_rating,user_iduser_id_rating4const11Using index condition
  3. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*
    FROM xf_news_feed AS news_feed 
    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 (news_feed.user_id = 3319)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.001302
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEnews_feedrefuserId_eventDateuserId_eventDate4const3Using where
  4. 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 (1079891)
    Run Time: 0.000610
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    SIMPLEthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
    SIMPLEpr_cacheconstPRIMARYPRIMARY4const1 
    SIMPLEpr2constpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const0unique row not found
  5. 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 (1079780, 1079702)
    Run Time: 0.001298
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostrangePRIMARY,thread_id_post_date,thread_id_positionPRIMARY4 2Using where
    SIMPLEthreadeq_refPRIMARY,node_id_last_post_date,node_id_sticky_state_last_postPRIMARY4xenforosilver.post.thread_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4xenforosilver.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,xenforosilver.thread.node_id1Using where
    SIMPLEpr_cacheeq_refPRIMARYPRIMARY4xenforosilver.post.post_id1 
    SIMPLEpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8xenforosilver.post.post_id,const1 
  6. SELECT rating
    FROM dark_postrating
    WHERE post_id = ? and user_id = ?
    Params: 1079780, 3319
    Run Time: 0.000214
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEdark_postratingconstpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const1 
  7. SELECT rating
    FROM dark_postrating
    WHERE post_id = ? and user_id = ?
    Params: 1079702, 3319
    Run Time: 0.000155
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEdark_postratingconstpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8const,const1 
  8. 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, RecentActivity, valid, user_id=3319, 1537442300,
    Run Time: 0.000231
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'news_feed_item_post_insert', 'news_feed_item_postrating_rate', 'member_recent_activity', 'notice_cookies', 'siropu_custom_tabs_child_list', 'st_mvp_tab_links', 'EWRporta2_Navtabs', '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: 28, 1
    Run Time: 0.002375
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 22Using where
  10. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('silvertails_mvp_tab_title')
    Params: 1
    Run Time: 0.000187
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 

Included Files (132, XenForo Classes: 57)

  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/Cache.php
  19. library/Zend/Cache/Backend/File.php
  20. library/Zend/Cache/Backend/ExtendedInterface.php
  21. library/Zend/Cache/Backend/Interface.php
  22. library/Zend/Cache/Backend.php
  23. library/Zend/Cache/Core.php
  24. library/XenForo/CodeEvent.php
  25. library/XenForo/Options.php
  26. library/XenForo/Link.php
  27. library/XenForo/Template/Helper/Core.php
  28. library/Waindigo/Listener/InitDependencies.php
  29. library/Waindigo/Listener/InitDependencies/20150106.php
  30. library/Waindigo/Listener/ControllerPreDispatch/20150106.php
  31. library/EWRporta2/Listener/Init.php
  32. library/XenForo/Router.php
  33. library/XenForo/Route/Filter.php
  34. library/XenForo/Route/Interface.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Prefix.php
  37. library/XenForo/Route/Prefix/Members.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Member.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/NixFifty/NotableGroups/Listener.php
  43. library/Waindigo/Trophies/Listener/LoadClass.php
  44. library/Waindigo/Listener/LoadClass.php
  45. library/Waindigo/Listener/LoadClass/20150106.php
  46. library/Silvertails/GameThread/Listener/LoadClassController.php
  47. library/Silvertails/PickemImporter/Listener/LoadClassController.php
  48. library/AntiSPAM/Listener/LoadClassController.php
  49. library/Dark/PostRating/EventListener.php
  50. library/Audentio/Invitation/Listener/CodeEvent.php
  51. library/NixFifty/NotableGroups/XenForo/ControllerPublic/Member.php
  52. library/Waindigo/Trophies/Extend/XenForo/ControllerPublic/Member.php
  53. library/AntiSPAM/ControllerPublic/Member.php
  54. library/Dark/PostRating/ControllerPublic/Member.php
  55. library/Audentio/Invitation/Extend/XenForo/ControllerPublic/Member.php
  56. library/XenForo/Input.php
  57. library/XenForo/Session.php
  58. library/Zend/Db.php
  59. library/Zend/Db/Adapter/Mysqli.php
  60. library/Zend/Db/Adapter/Abstract.php
  61. library/Zend/Db/Select.php
  62. library/Zend/Db/Expr.php
  63. library/Zend/Db/Profiler.php
  64. library/Zend/Db/Statement/Mysqli.php
  65. library/Zend/Db/Statement.php
  66. library/Zend/Db/Statement/Interface.php
  67. library/XenForo/Helper/Ip.php
  68. library/XenForo/Visitor.php
  69. library/XenForo/Model/User.php
  70. library/Brivium/LikedCounter/EventListeners/Listener.php
  71. library/Brivium/BriviumLibrary/EventListeners.php
  72. library/Silvertails/PickemImporter/Listener/LoadClassModel/BonusGame.php
  73. library/Silvertails/PickemImporter/Listener/LoadClassModel/Picks.php
  74. library/NFLJ/Pickem/Listener/Proxy.php
  75. library/EWRporta2/Listener/Model.php
  76. library/Dark/PostRating/Model/User.php
  77. library/Audentio/Invitation/Extend/XenForo/Model/User.php
  78. library/EWRporta2/Model/User.php
  79. library/Zend/Db/Profiler/Query.php
  80. library/XenForo/Permission.php
  81. library/XenForo/Helper/Php.php
  82. library/XenForo/Phrase.php
  83. library/XenForo/Locale.php
  84. library/Sedo/DetectBrowser/Listener/Visitor.php
  85. library/Sedo/DetectBrowser/Helper/MobileDetect.php
  86. library/XenForo/ControllerHelper/UserProfile.php
  87. library/XenForo/ControllerHelper/Abstract.php
  88. library/Dark/PostRating/Model.php
  89. library/XenForo/Model/UserProfile.php
  90. library/XenForo/Model/NewsFeed.php
  91. library/Dark/PostRating/Model/NewsFeed.php
  92. library/XenForo/NewsFeedHandler/DiscussionMessage/Post.php
  93. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  94. library/XenForo/NewsFeedHandler/Abstract.php
  95. library/XenForo/Model/Post.php
  96. library/Waindigo/Trophies/Extend/XenForo/Model/Post.php
  97. library/Dark/PostRating/Model/Post.php
  98. library/EWRporta2/Model/Post.php
  99. library/XenForo/Model/Thread.php
  100. library/Waindigo/ThreadNavigation/Listener/LoadClass.php
  101. library/Waindigo/ThreadNavigation/Extend/XenForo/Model/Thread.php
  102. library/Dark/PostRating/Model/Thread.php
  103. library/Dark/PostRating/NewsFeedHandler.php
  104. library/XenForo/Model/Forum.php
  105. library/XenForo/Helper/String.php
  106. library/XenForo/ControllerResponse/View.php
  107. library/XenForo/ControllerResponse/Abstract.php
  108. library/XenForo/Helper/Cookie.php
  109. library/XenForo/ViewRenderer/HtmlPublic.php
  110. library/XenForo/ViewRenderer/Abstract.php
  111. library/XenForo/Template/Public.php
  112. library/XenForo/Template/Abstract.php
  113. library/XenForo/ViewPublic/Member/RecentActivity.php
  114. library/XenForo/ViewPublic/Base.php
  115. library/XenForo/View.php
  116. library/EWRporta2/Listener/ViewPublic.php
  117. library/XenForo/ViewPublic/Helper/NewsFeed.php
  118. library/Siropu/CustomTabs/Listener.php
  119. library/NFLJ/Pickem/Listener/Template.php
  120. library/Siropu/CustomTabs/Model.php
  121. library/Siropu/CustomTabs/Helper.php
  122. library/XenForo/Helper/Criteria.php
  123. library/Silvertails/Eliminator/Listener/Template.php
  124. library/Silvertails/Mvp/Listener/Template.php
  125. library/EWRporta2/Listener/NavTabs.php
  126. library/EWRporta2/Model/Perms.php
  127. library/XenForo/Route/Prefix/Posts.php
  128. library/XenForo/Route/Prefix/Threads.php
  129. library/XenForo/Debug.php
  130. library/SolveMedia/Listener/Captcha.php
  131. library/EWRporta2/Listener/Template.php
  132. library/XenForo/ViewRenderer/Json.php