Page Time: 0.1450s

Memory: 6.4753 MB (Peak: 9.2406 MB)

Queries (12, time: 0.0102s, 7.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.000951
    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.000199
    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.000167
    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 (1,2,15,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,2,15,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 (14,11,12)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9)) 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_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: 116774
    Run Time: 0.001946
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const2 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
  5. 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 = 116774)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.001388
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEnews_feedrefuserId_eventDateuserId_eventDate4const5Using where
  6. SELECT profile_post_comment.*
    
    FROM xf_profile_post_comment AS profile_post_comment
    
    WHERE profile_post_comment.profile_post_comment_id IN (29329, 31340, 31338, 31336)
    Run Time: 0.000466
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_post_commentrangePRIMARYPRIMARY4 4Using where
  7. 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(12120, 12646, 12646, 12646)
    Run Time: 0.001252
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrangePRIMARYPRIMARY4 2Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4nma_xen.profile_post.user_id1 
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4nma_xen.profile_post.profile_user_id1 
    SIMPLEreceiving_user_privacyeq_refPRIMARYPRIMARY4nma_xen.profile_post.profile_user_id1 
    SIMPLEreceiving_user_followeq_refPRIMARY,follow_user_idPRIMARY8nma_xen.profile_post.profile_user_id,const1Using index
  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(12649)
    Run Time: 0.000443
    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,2,15,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,2,15,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 (14,11,12)) as negative_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,9)) 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 (84035)
    ORDER BY user.username
    Run Time: 0.000962
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const2 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 2Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 9Using where
  10. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: eb98fc857e4cc1f159548cc83abeec8a, , 1576074259
    Run Time: 0.000214
  11. 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=116774, 1576070659,
    Run Time: 0.000140
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'news_feed_item_profile_post_comment_like', 'news_feed_item_profile_post_comment_insert', 'news_feed_item_profile_post_like', 'member_recent_activity', 'sonnb_xengallery_option_copyright', 'sonnbXG_copyright', 'sonnb_xengallery_navbar_template', 'resources_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', 'sonnb_xengallery_nav_visitor', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 1
    Run Time: 0.002089
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 25Using where

Included Files (101, XenForo Classes: 54)

  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/XenResource/Listener/Proxy.php
  33. library/sonnb/XenGallery/Listener.php
  34. library/EWRporta2/Listener/Init.php
  35. library/XenForo/Router.php
  36. library/XenForo/Route/Filter.php
  37. library/XenForo/Route/Interface.php
  38. library/XenForo/Route/ResponseSuffix.php
  39. library/XenForo/Route/Prefix.php
  40. library/XenForo/Route/Prefix/Members.php
  41. library/XenForo/RouteMatch.php
  42. library/XenForo/ControllerPublic/Member.php
  43. library/XenForo/ControllerPublic/Abstract.php
  44. library/XenForo/Controller.php
  45. library/Dark/PostRating/EventListener.php
  46. library/Dark/PostRating/ControllerPublic/Member.php
  47. library/sonnb/XenGallery/XenForo/ControllerPublic/Member.php
  48. library/XenResource/Listener/Proxy/ControllerMember.php
  49. library/XenForo/Input.php
  50. library/XenForo/Session.php
  51. library/XenForo/Helper/Ip.php
  52. library/XenForo/Visitor.php
  53. library/XenForo/Model/User.php
  54. library/EWRporta2/Listener/Model.php
  55. library/Dark/PostRating/Model/User.php
  56. library/sonnb/XenGallery/XenForo/Model/User.php
  57. library/XenResource/Listener/Proxy/ModelUser.php
  58. library/EWRporta2/Model/User.php
  59. library/XenForo/Permission.php
  60. library/XenForo/Helper/Php.php
  61. library/XenForo/Phrase.php
  62. library/XenForo/Locale.php
  63. library/Waindigo/Listener/ControllerPreDispatch.php
  64. library/Waindigo/Listener/ControllerPreDispatch/20131003.php
  65. library/Waindigo/Listener/Template/20140101.php
  66. library/Waindigo/Listener/TemplatePostRender/20130522.php
  67. library/Waindigo/Listener/InitDependencies.php
  68. library/Waindigo/Listener/InitDependencies/20140101.php
  69. library/XenForo/ControllerHelper/UserProfile.php
  70. library/XenForo/ControllerHelper/Abstract.php
  71. library/Dark/PostRating/Model.php
  72. library/XenForo/Model/UserProfile.php
  73. library/XenForo/Model/NewsFeed.php
  74. library/Dark/PostRating/Model/NewsFeed.php
  75. library/XenForo/NewsFeedHandler/ProfilePostComment.php
  76. library/XenForo/NewsFeedHandler/Abstract.php
  77. library/XenForo/Model/ProfilePost.php
  78. library/sonnb/XenGallery/XenForo/Model/ProfilePost.php
  79. library/XenForo/NewsFeedHandler/DiscussionMessage/ProfilePost.php
  80. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  81. library/XenForo/ControllerResponse/View.php
  82. library/XenForo/ControllerResponse/Abstract.php
  83. library/XenForo/Helper/Cookie.php
  84. library/XenForo/ViewRenderer/HtmlPublic.php
  85. library/XenForo/ViewRenderer/Abstract.php
  86. library/XenForo/Template/Public.php
  87. library/XenForo/Template/Abstract.php
  88. library/XenForo/ViewPublic/Member/RecentActivity.php
  89. library/XenForo/ViewPublic/Base.php
  90. library/XenForo/View.php
  91. library/EWRporta2/Listener/ViewPublic.php
  92. library/XenForo/ViewPublic/Helper/NewsFeed.php
  93. library/XenResource/Listener/Template.php
  94. library/EWRporta2/Listener/NavTabs.php
  95. library/EWRporta2/Model/Perms.php
  96. library/XenForo/Route/Prefix/ProfilePosts.php
  97. library/XenForo/Helper/String.php
  98. library/Waindigo/SmilieImporter/Listener/TemplatePostRender.php
  99. library/XenForo/Debug.php
  100. library/EWRporta2/Listener/Template.php
  101. library/XenForo/ViewRenderer/Json.php