Page Time: 0.2000s

Memory: 12.5109 MB (Peak: 13.3921 MB)

Queries (12, time: 0.0146s, 7.3%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.001653
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY77 20Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000246
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*,
    	content_type_field.field_value AS news_feed_handler_class
    FROM xf_news_feed AS news_feed FORCE INDEX (event_date)
    INNER JOIN xf_content_type_field AS content_type_field ON
    	(content_type_field.content_type = news_feed.content_type
    	AND content_type_field.field_name = 'news_feed_handler_class')
    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.003644
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnews_feedALL    3Using filesort
    SIMPLEcontent_type_fieldeq_refPRIMARY,field_namePRIMARY229dichvudi_forumtruyen.news_feed.content_type,const1Using where
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dichvudi_forumtruyen.news_feed.user_id1 
    SIMPLEusereq_refPRIMARY,user_statePRIMARY4dichvudi_forumtruyen.news_feed.user_id1Using where
    SIMPLEuser_followeq_refPRIMARY,follow_user_idPRIMARY8dichvudi_forumtruyen.news_feed.user_id,const1Using index
    SIMPLEuser_privacyeq_refPRIMARYPRIMARY4dichvudi_forumtruyen.news_feed.user_id1Using where
  4. 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.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(2947)
    Run Time: 0.001947
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postconstPRIMARYPRIMARY4const1 
    SIMPLEreceiving_userconstPRIMARYPRIMARY4const1 
  5. SELECT user.*
    	,
    	user_privacy.*,
    	0 AS following_0
    FROM xf_user AS user
    
    	INNER JOIN xf_user_privacy AS user_privacy ON
    		(user_privacy.user_id = user.user_id)
    WHERE user.user_id IN (6093)
    ORDER BY user.username
    Run Time: 0.000659
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
  6. 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,
    	permission.cache_value AS node_permission_cache
    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)
    WHERE post.post_id IN (31074)
    Run Time: 0.001102
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEpostconstPRIMARY,thread_id_post_date,thread_id_positionPRIMARY4const1 
    SIMPLEthreadconstPRIMARY,node_id_last_post_date,node_id_sticky_last_post_datePRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY85const,const,const1 
  7. 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 > 1524556019)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001636
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityALLview_date   91Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4dichvudi_forumtruyen.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4dichvudi_forumtruyen.user.user_id1Using where
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4dichvudi_forumtruyen.user.user_id1Using where
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 463ae17d0c7ce3f0d955295abaec0a34, a:5:{s:12:"sessionStart";i:1524559619;s:2:"ip";i:920675462;s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1524563219
    Run Time: 0.000416
  9. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
    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)
    Params: 0, 920675462, 920675462, XenForo_ControllerPublic_RecentActivity, Index, valid, , 1524559619
    Run Time: 0.000949
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bdtagme_tag', 'news_feed_item_user_avatar_change', 'news_feed_item_profile_post_insert', 'news_feed_item_post_insert', 'news_feed_item_user_homepage', 'news_feed_page_global', 'wf_hook_moderator_bar', 'wf_revealer', 'bdtagme_PAGE_CONTAINER', 'tinhte_xentag_hook_message_content', 'tinhte_xentag_hook_message_notices', 'tinhte_xentag_hook_post_private_controls', 'tinhte_xentag_hook_post_public_controls', 'tinhte_xentag_bb_code_tag_tag', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.001864
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 16Using where
  11. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('xf_unknown_renderer')
    Params: 2
    Run Time: 0.000209
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY231const,const1 
  12. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('dark_azucloud')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 2
    Run Time: 0.000253
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 

Included Files (119, XenForo Classes: 58)

  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.php
  17. library/XenForo/Model/DataRegistry.php
  18. library/XenForo/CodeEvent.php
  19. library/Zend/Db.php
  20. library/Zend/Db/Adapter/Mysqli.php
  21. library/Zend/Db/Adapter/Abstract.php
  22. library/Zend/Db/Select.php
  23. library/Zend/Db/Expr.php
  24. library/Zend/Db/Profiler.php
  25. library/Zend/Db/Statement/Mysqli.php
  26. library/Zend/Db/Statement.php
  27. library/Zend/Db/Statement/Interface.php
  28. library/Zend/Db/Profiler/Query.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/Tinhte/XenTag/Listener.php
  33. library/WidgetFramework/Listener.php
  34. library/WidgetFramework/Core.php
  35. library/WidgetFramework/Model/Widget.php
  36. library/bdTagMe/Listener.php
  37. library/VietXfAdvStats/Listener.php
  38. library/WidgetFramework/WidgetRenderer.php
  39. library/WidgetFramework/WidgetRenderer/Empty.php
  40. library/XenForo/Input.php
  41. library/WidgetFramework/WidgetRenderer/OnlineStaff.php
  42. library/WidgetFramework/WidgetRenderer/Stats.php
  43. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  44. library/WidgetFramework/WidgetRenderer/UsersFind.php
  45. library/WidgetFramework/WidgetRenderer/Users.php
  46. library/WidgetFramework/WidgetRenderer/Birthday.php
  47. library/WidgetFramework/WidgetRenderer/RecentStatus.php
  48. library/XenForo/Phrase.php
  49. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  50. library/WidgetFramework/WidgetRenderer/Threads.php
  51. library/WidgetFramework/WidgetRenderer/Html.php
  52. library/bdTagMe/Template/Helper.php
  53. library/XenForo/Router.php
  54. library/XenForo/Route/ResponseSuffix.php
  55. library/XenForo/Route/Interface.php
  56. library/XenForo/Route/Prefix.php
  57. library/XenForo/Route/Prefix/RecentActivity.php
  58. library/XenForo/RouteMatch.php
  59. library/XenForo/ControllerPublic/RecentActivity.php
  60. library/XenForo/ControllerPublic/Abstract.php
  61. library/XenForo/Controller.php
  62. library/ChipXF/MoreThread/Listener.php
  63. library/XenPlaza/XPlimitLink/Listener/Listener.php
  64. library/XenForo/Session.php
  65. library/XenForo/Visitor.php
  66. library/XenForo/Model/User.php
  67. library/bdTagMe/XenForo/Model/User.php
  68. library/VietXfAdvStats/XenForo/Model/User.php
  69. library/WidgetFramework/Extend/Model/User.php
  70. library/XenForo/Permission.php
  71. library/XenForo/Locale.php
  72. library/Cezz/MobileStyleSwitch/Switch.php
  73. library/XenForo/Model/NewsFeed.php
  74. library/XenForo/NewsFeedHandler/Abstract.php
  75. library/XenForo/NewsFeedHandler/User.php
  76. library/XenForo/NewsFeedHandler/DiscussionMessage/ProfilePost.php
  77. library/XenForo/NewsFeedHandler/DiscussionMessage.php
  78. library/XenForo/Model/ProfilePost.php
  79. library/bdTagMe/XenForo/Model/ProfilePost.php
  80. library/XenForo/NewsFeedHandler/DiscussionMessage/Post.php
  81. library/XenForo/Model/Post.php
  82. library/bdTagMe/XenForo/Model/Post.php
  83. library/Tinhte/XenTag/XenForo/Model/Post.php
  84. library/XenForo/Model/Thread.php
  85. library/VietXfAdvStats/XenForo/Model/Thread.php
  86. library/Tinhte/XenTag/XenForo/Model/Thread.php
  87. library/WidgetFramework/Extend/Model/Thread.php
  88. library/XenForo/Model/UserProfile.php
  89. library/XenForo/Model/Forum.php
  90. library/Tinhte/XenTag/XenForo/Model/Forum.php
  91. library/XenForo/Helper/String.php
  92. library/XenForo/Model/Session.php
  93. library/XenForo/ControllerResponse/View.php
  94. library/XenForo/ControllerResponse/Abstract.php
  95. library/XenForo/Helper/Cookie.php
  96. library/XenForo/ViewRenderer/HtmlPublic.php
  97. library/XenForo/ViewRenderer/Abstract.php
  98. library/XenForo/Template/Public.php
  99. library/XenForo/Template/Abstract.php
  100. library/Dark/AzuCloud/EventListener/FrontControllerPreView.php
  101. library/Dark/AzuCloud/Model/Nakano.php
  102. library/XenForo/ViewPublic/NewsFeed/View.php
  103. library/XenForo/ViewPublic/Base.php
  104. library/XenForo/View.php
  105. library/XenForo/ViewPublic/Helper/NewsFeed.php
  106. library/VietXfAdvStats/Model/GetUserGroup.php
  107. library/XenForo/Route/Prefix/Members.php
  108. library/bdTagMe/XenForo/Route/Prefix/Members.php
  109. library/Check/Listener.php
  110. library/bdTagMe/Engine.php
  111. library/XenForo/Route/Prefix/ProfilePosts.php
  112. library/XenForo/Route/Prefix/Posts.php
  113. library/XenForo/Route/Prefix/Threads.php
  114. library/XenForo/Helper/Criteria.php
  115. library/XenForo/Debug.php
  116. library/WidgetFramework/Option.php
  117. library/Dark/AzuCloud/EventListener/TemplateHook.php
  118. library/VietXfAdvStats/Option.php
  119. library/XenForo/ViewRenderer/Json.php