Page Time: 0.2146s

Memory: 7.8419 MB (Peak: 8.4468 MB)

Queries (8, time: 0.0158s, 7.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.001952
    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.000501
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		0 AS following_0
    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: 2380
    Run Time: 0.001861
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_optionconstPRIMARYPRIMARY4const1 
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
  4. 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 = 2380)
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.001872
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEuser_followconstPRIMARY,follow_user_idPRIMARY8const,const0unique row not found
    SIMPLEuser_privacyconstPRIMARYPRIMARY4const1 
    SIMPLEnews_feedrefuserId_eventDateuserId_eventDate4const3Using where
  5. SELECT thread.*
    	,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    	permission.cache_value AS node_permission_cache
    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)
    WHERE thread.thread_id IN (17448, 17410, 17343)
    Run Time: 0.007954
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangePRIMARYPRIMARY4 3Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4vcbhcmco_diendan.thread.node_id1 
    SIMPLEposteq_refPRIMARYPRIMARY4vcbhcmco_diendan.thread.first_post_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,vcbhcmco_diendan.thread.node_id1Using where
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: c289dc51d415e0518309bbfa345d22b2, , 1513589974
    Run Time: 0.000204
  7. 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=2380, 1513586374,
    Run Time: 0.000134
  8. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'news_feed_item_thread_insert', 'member_recent_activity', 'wf_widget_wrapper', 'wf_hook_moderator_bar', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 4, 2
    Run Time: 0.001278
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 6Using where

Included Files (109, XenForo Classes: 55)

  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/WidgetFramework/Listener.php
  33. library/WidgetFramework/Option.php
  34. library/XenForo/Router.php
  35. library/XenForo/Route/Filter.php
  36. library/XenForo/Route/Interface.php
  37. library/XenForo/Route/ResponseSuffix.php
  38. library/XenForo/Route/Prefix.php
  39. library/WidgetFramework/Route/Filter/PageX.php
  40. library/XenForo/Route/Prefix/Members.php
  41. library/Brivium/DoFollowforUsergroup/EventListeners/Listener.php
  42. library/Brivium/BriviumLibrary/EventListeners.php
  43. library/EWRporta/Listener/Route.php
  44. library/XenForo/RouteMatch.php
  45. library/XenForo/ControllerPublic/Member.php
  46. library/XenForo/ControllerPublic/Abstract.php
  47. library/XenForo/Controller.php
  48. library/MaxDailyBaiViet/EventListener/BaiViet.php
  49. library/EWRporta/Listener/Controller.php
  50. library/LilTee/LimitPostLink/Listener/Listener.php
  51. library/MaxDailyBaiViet/EventListener/ChuDe.php
  52. library/XenForo/Input.php
  53. library/XenForo/Session.php
  54. library/XenForo/Helper/Ip.php
  55. library/XenForo/Visitor.php
  56. library/XenForo/Model/User.php
  57. library/VietXfAdvStats/Listener.php
  58. library/EWRporta/Listener/Model.php
  59. library/VietXfAdvStats/XenForo/Model/User.php
  60. library/WidgetFramework/XenForo/Model/User.php
  61. library/XenForo/Permission.php
  62. library/XenForo/Phrase.php
  63. library/XenForo/Locale.php
  64. library/XenForo/ControllerHelper/UserProfile.php
  65. library/XenForo/ControllerHelper/Abstract.php
  66. library/XenForo/Model/UserProfile.php
  67. library/XenForo/Model/NewsFeed.php
  68. library/XenForo/NewsFeedHandler/Discussion/Thread.php
  69. library/XenForo/NewsFeedHandler/Discussion.php
  70. library/XenForo/NewsFeedHandler/Abstract.php
  71. library/XenForo/Model/Thread.php
  72. library/VietXfAdvStats/XenForo/Model/Thread.php
  73. library/WidgetFramework/XenForo/Model/Thread.php
  74. library/XenForo/Model/Forum.php
  75. library/XenForo/Helper/String.php
  76. library/XenForo/ControllerResponse/View.php
  77. library/XenForo/ControllerResponse/Abstract.php
  78. library/XenForo/Helper/Cookie.php
  79. library/XenForo/ViewRenderer/HtmlPublic.php
  80. library/XenForo/ViewRenderer/Abstract.php
  81. library/XenForo/Template/Public.php
  82. library/XenForo/Template/Abstract.php
  83. library/WidgetFramework/Core.php
  84. library/XenForo/Model/Moderator.php
  85. library/WidgetFramework/Model/Widget.php
  86. library/WidgetFramework/Helper/LayoutEditor.php
  87. library/WidgetFramework/Helper/Sort.php
  88. library/WidgetFramework/WidgetRenderer.php
  89. library/XenForo/ViewPublic/Member/RecentActivity.php
  90. library/XenForo/ViewPublic/Base.php
  91. library/XenForo/View.php
  92. library/EWRporta/Listener/ViewPublic.php
  93. library/WidgetFramework/XenForo/View1.php
  94. library/XenForo/ViewPublic/Helper/NewsFeed.php
  95. library/VietXfAdvStats/Model/GetUserGroup.php
  96. library/Hoffi/EventListener/ShowMods.php
  97. library/EWRporta/Listener/NavTabs.php
  98. library/WidgetFramework/WidgetRenderer/Html.php
  99. library/WidgetFramework/Template/Extended.php
  100. library/XenForo/Route/Prefix/Threads.php
  101. library/EWRporta/Route/Thread.php
  102. library/XenForo/Route/Prefix/Forums.php
  103. library/WidgetFramework/WidgetRenderer/Empty.php
  104. library/XenForo/Debug.php
  105. library/EWRporta/Listener/Template.php
  106. library/VietXfAdvStats/Option.php
  107. library/WidgetFramework/Helper/Conditional.php
  108. library/WidgetFramework/Helper/String.php
  109. library/XenForo/ViewRenderer/Json.php