Page Time: 0.0559s

Memory: 5.0401 MB (Peak: 6.2472 MB)

Queries (23, time: 0.0079s, 14.2%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		permission_combination.cache_value AS global_permission_cache,
    		IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
    		session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params, session_activity.ip,
    		0 AS following_0
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,4,15,20,5,6)) as positive_rating_count
    
    
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,4,15,20,5,6)) + like_count) as positive_rating_count_incl_likes
    
    
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (16)) as negative_rating_count
    
    
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,17,18,19)) 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)
    		LEFT JOIN xf_permission_combination AS permission_combination ON
    			(permission_combination.permission_combination_id = user.permission_combination_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(session_activity.user_id = user.user_id AND session_activity.unique_key = CAST(user.user_id AS BINARY))
    WHERE user.user_id = ?
    Params: 8306
    Run Time: 0.001348
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpermission_combinationconstPRIMARYPRIMARY4const1 
    PRIMARYsession_activityconstPRIMARYPRIMARY22const,const0unique row not found
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using where
    DEPENDENT SUBQUERY       Impossible WHERE noticed after reading const tables
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using where
    DEPENDENT SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 6Using where
  3. SELECT user_field.*
    	,
    	field_value.field_value
    FROM xf_user_field AS user_field
    
    	LEFT JOIN xf_user_field_value AS field_value ON
    		(field_value.field_id = user_field.field_id AND field_value.user_id = 8306)
    WHERE (user_field.display_group <> 'preferences' AND user_field.viewable_profile = 1)
    ORDER BY user_field.display_group, user_field.display_order
    Run Time: 0.000637
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_fieldALLdisplay_group_order   19Using where; Using filesort
    SIMPLEfield_valueeq_refPRIMARY,field_idPRIMARY31const,reddead.user_field.field_id1 
  4. SELECT COUNT(*)
    FROM xf_user_follow
    WHERE follow_user_id = ?
    Params: 8306
    Run Time: 0.000282
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_user_followreffollow_user_idfollow_user_id4const1Using index
  5. 
    SELECT user.*,
    
    	user_profile.*,
    
    	user_option.*
    
    	
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,4,15,20,5,6)) as positive_rating_count
    
    
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,4,15,20,5,6)) + like_count) as positive_rating_count_incl_likes
    
    
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (16)) as negative_rating_count
    
    
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,17,18,19)) 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_follow AS user_follow
    
    INNER JOIN xf_user AS user ON
    
    	(user.user_id = user_follow.user_id)
    
    INNER JOIN xf_user_profile AS user_profile ON
    
    	(user_profile.user_id = user.user_id)
    
    INNER JOIN xf_user_option AS user_option ON
    
    	(user_option.user_id = user.user_id)
    
    	
    
    WHERE user_follow.follow_user_id = ?
    
    ORDER BY RAND()
    
     LIMIT 6
    Params: 8306
    Run Time: 0.001791
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuser_followrefPRIMARY,follow_user_idfollow_user_id4const1Using index; Using temporary; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4reddead.user_follow.user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4reddead.user.user_id1Using where
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4reddead.user_follow.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4reddead.user.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4reddead.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_counteq_refuser_id_ratinguser_id_rating8reddead.user.user_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4reddead.user.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4reddead.user.user_id1Using where
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 966ab0e65113c55ba9180b6b70602051, , 1511405743
    Run Time: 0.000255
  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, Member, valid, user_id=8306, 1511402143,
    Run Time: 0.000170
  8. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'xfr_useralbums_member_profile_tab', 'xfr_useralbums_member_profile_tab_content', 'bdmedal_member_view_sidebar_middle1', 'bdmedal_member_view_tabs_heading', 'bdmedal_member_view_tabs_content', 'member_view', 'notice_cookies', 'EWRmedio_Navtabs', 'wf_hook_moderator_bar', 'wf_revealer', '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', 'twitter_login_bar_item', 'twitter_navigation_visitor_tab_link', 'twitter_account_wrapper_sidebar_settings', 'bdmedal_navigation_tabs_help', 'usersmilies_navigation_visitor_tab_links', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 47, 1
    Run Time: 0.000741
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 36Using where
  9. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('user_field_xboxid_desc', 'user_field_SteamID_desc', 'user_field_psn_id_desc', 'user_field_psn_id1_desc', 'user_field_rstar_l_desc', 'user_field_rstar_l1_desc', 'user_field_favorite_game_type_desc', 'user_field_favorite_weapon_desc', 'user_field_favorite_character_desc', 'user_field_add_a_banner_above_your_p_desc', 'user_field_aim_desc', 'user_field_twitter_in_profile_desc', 'user_field_tcode_desc', 'user_field_msn_desc', 'user_field_icq_desc', 'user_field_yahoo_desc', 'user_field_skype_desc', 'user_field_gtalk_desc', 'user_field_facebook_desc', 'media')
    Params: 1
    Run Time: 0.000179
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 20Using where
  10. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('CrazYimProfileLinks_contents')
    	AND style_id = ?
    	AND language_id = ?
    Params: 47, 1
    Run Time: 0.000134
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 
  11. 
    SELECT count_given as rating_count, rating, 1 as given
    
    FROM dark_postrating_count
    
    WHERE user_id = ?
    
    
    
    UNION                
    
    
    
    SELECT count_received as rating_count, rating, 0 as given
    
    FROM dark_postrating_count
    
    WHERE user_id = ?
    
    
    
    ORDER BY rating_count desc, rating asc
    Params: 8306, 8306
    Run Time: 0.000397
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    UNION RESULT<union1,2>ALL     Using filesort
  12. 
    SELECT COUNT(*)
    
    FROM xf_liked_content
    
    WHERE like_user_id = ?
    Params: 8306
    Run Time: 0.000332
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const1Using index
  13. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('likes_received')
    Params: 1
    Run Time: 0.000118
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  14. 
    SELECT count_given as rating_count, rating, 1 as given
    
    FROM dark_postrating_count
    
    WHERE user_id = ?
    
    
    
    UNION                
    
    
    
    SELECT count_received as rating_count, rating, 0 as given
    
    FROM dark_postrating_count
    
    WHERE user_id = ?
    
    
    
    ORDER BY rating_count desc, rating asc
    Params: 8306, 8306
    Run Time: 0.000110
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    UNION RESULT<union1,2>ALL     Using filesort
  15. 
    SELECT COUNT(*)
    
    FROM xf_liked_content
    
    WHERE like_user_id = ?
    Params: 8306
    Run Time: 0.000092
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const1Using index
  16. 
    SELECT count_given as rating_count, rating, 1 as given
    
    FROM dark_postrating_count
    
    WHERE user_id = ?
    
    
    
    UNION                
    
    
    
    SELECT count_received as rating_count, rating, 0 as given
    
    FROM dark_postrating_count
    
    WHERE user_id = ?
    
    
    
    ORDER BY rating_count desc, rating asc
    Params: 8306, 8306
    Run Time: 0.000108
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    UNION RESULT<union1,2>ALL     Using filesort
  17. 
    SELECT COUNT(*)
    
    FROM xf_liked_content
    
    WHERE like_user_id = ?
    Params: 8306
    Run Time: 0.000093
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const1Using index
  18. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('trophy_points')
    Params: 1
    Run Time: 0.000118
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 
  19. SELECT COUNT(*) AS total
    	FROM EWRmedio_media
    WHERE EWRmedio_media.user_id = 8306
    	AND EWRmedio_media.media_state = 'visible'
    Run Time: 0.000231
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_mediarefuser_iduser_id4const1Using where
  20. SELECT * FROM xf_profile_tab_manager WHERE tab_active = ? ORDER BY tab_order ASC
    Params: 1
    Run Time: 0.000199
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_profile_tab_managerALL    1Using where; Using filesort
  21. SELECT COUNT(*) AS total
    	FROM EWRmedio_media
    WHERE EWRmedio_media.user_id = 8306
    	AND EWRmedio_media.media_state = 'visible'
    Run Time: 0.000081
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRmedio_mediarefuser_iduser_id4const1Using where
  22. SELECT * FROM xf_profile_tab_manager WHERE tab_active = ? ORDER BY tab_order ASC
    Params: 1
    Run Time: 0.000196
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_profile_tab_managerALL    1Using where; Using filesort
  23. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('arcade_copyright')
    	AND style_id = ?
    	AND language_id = ?
    Params: 47, 1
    Run Time: 0.000147
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY60const,const,const1 

Included Files (144, XenForo Classes: 59)

  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/WidgetFramework/Listener.php
  29. library/WidgetFramework/Core.php
  30. library/XenForo/Model/Moderator.php
  31. library/Dark/PostRating/EventListener.php
  32. library/bdMedal/Listener.php
  33. library/WidgetFramework/Model/Widget.php
  34. library/WidgetFramework/WidgetRenderer.php
  35. library/WidgetFramework/WidgetRenderer/Empty.php
  36. library/XenForo/Input.php
  37. library/WidgetFramework/WidgetRenderer/OnlineUsers.php
  38. library/WidgetFramework/WidgetRenderer/Stats.php
  39. library/WidgetFramework/WidgetRenderer/ShareThisPage.php
  40. library/WidgetFramework/WidgetRenderer/UsersFind.php
  41. library/WidgetFramework/WidgetRenderer/Users.php
  42. library/EWRmedio/Listener/Init.php
  43. library/XenForo/DataWriter/User.php
  44. library/XenForo/DataWriter.php
  45. library/Arcade/Listener.php
  46. library/bdMails/Listener.php
  47. library/bdMails/Helper/Transport.php
  48. library/bdMails/Option.php
  49. library/bdMails/Transport/SendGrid.php
  50. library/bdMails/Transport/Abstract.php
  51. library/Zend/Mail/Transport/Abstract.php
  52. library/Zend/Mime.php
  53. library/XenForo/Mail.php
  54. library/Zend/Mail.php
  55. library/Zend/Mime/Message.php
  56. library/Zend/Mime/Part.php
  57. library/bdMails/ShippableHelper/Updater.php
  58. library/XenForo/Router.php
  59. library/XenForo/Route/Filter.php
  60. library/XenForo/Route/Interface.php
  61. library/XenForo/Route/ResponseSuffix.php
  62. library/XenForo/Route/Prefix.php
  63. library/XenForo/Route/Prefix/Members.php
  64. library/XenForo/RouteMatch.php
  65. library/XenForo/ControllerPublic/Member.php
  66. library/XenForo/ControllerPublic/Abstract.php
  67. library/XenForo/Controller.php
  68. library/AvatarGallery/Listener.php
  69. library/HideIpSadmin/EventListener/Post.php
  70. library/Twitter/Listener/Listener.php
  71. library/EWRmedio/Listener/Controller.php
  72. library/ConvMan/Listener/LoadClassController.php
  73. library/xFS/UserSmilies/Listener.php
  74. library/Dark/PostRating/ControllerPublic/Member.php
  75. library/bdMedal/Extend/ControllerPublic/Member.php
  76. library/XenForo/Session.php
  77. library/Zend/Db.php
  78. library/Zend/Db/Adapter/Mysqli.php
  79. library/Zend/Db/Adapter/Abstract.php
  80. library/Zend/Db/Select.php
  81. library/Zend/Db/Expr.php
  82. library/Zend/Db/Profiler.php
  83. library/Zend/Db/Statement/Mysqli.php
  84. library/Zend/Db/Statement.php
  85. library/Zend/Db/Statement/Interface.php
  86. library/XenForo/Helper/Ip.php
  87. library/XenForo/Visitor.php
  88. library/XenForo/Model/User.php
  89. library/WidgetFramework/Extend/Model/User.php
  90. library/Dark/PostRating/Model/User.php
  91. library/Zend/Db/Profiler/Query.php
  92. library/XenForo/Permission.php
  93. library/XenForo/Helper/Php.php
  94. library/XenForo/Phrase.php
  95. library/XenForo/Locale.php
  96. library/XenForo/ControllerResponse/Reroute.php
  97. library/XenForo/ControllerResponse/Abstract.php
  98. library/XenForo/ControllerHelper/UserProfile.php
  99. library/XenForo/ControllerHelper/Abstract.php
  100. library/Dark/PostRating/Model.php
  101. library/XenForo/Model/UserProfile.php
  102. library/XenForo/Model/ProfilePost.php
  103. library/XenForo/Model/UserField.php
  104. library/XenForo/Model/UserIgnore.php
  105. library/XenForo/Model/Conversation.php
  106. library/Dark/PostRating/Model/Conversation.php
  107. library/XenForo/ControllerResponse/View.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/View.php
  114. library/XenForo/ViewPublic/Base.php
  115. library/XenForo/View.php
  116. library/XenForo/BbCode/Parser.php
  117. library/XenForo/BbCode/Formatter/Base.php
  118. library/EWRmedio/Listener/BbCode.php
  119. library/Spoiler/listener.php
  120. library/xFS/UserSmilies/XenForo/BbCode/Formatter/Base.php
  121. library/EWRmedio/BbCode/Formatter.php
  122. library/Spoiler/formatter.php
  123. library/XenForo/BbCode/TextWrapper.php
  124. library/XfRu/UserAlbums/EventListener/Template.php
  125. library/XfRu/UserAlbums/EventListener/Tab.php
  126. library/XfRu/UserAlbums/Permissions.php
  127. library/EWRmedio/Listener/NavTabs.php
  128. library/EWRmedio/Model/Perms.php
  129. library/WidgetFramework/Option.php
  130. library/CrazYimProfileLinks/Listener.php
  131. library/ModUnread/Listeners/ModBarListener.php
  132. library/EWRmedio/Listener/Template.php
  133. library/EWRmedio/Model/Lists.php
  134. library/ProfileTabManager/Listener.php
  135. library/ConvMan/Listener/Hook.php
  136. library/GFNCoders/TitleManipulator/Listener.php
  137. library/OXY/RstarLB/Listener.php
  138. library/Arcade/Template/Hook.php
  139. library/XenForo/Model/Like.php
  140. library/ProfileTabManager/DataWriter/ProfileTabs.php
  141. library/ProfileTabManager/Model/ProfileTabManager.php
  142. library/XenForo/Helper/Criteria.php
  143. library/XenForo/Debug.php
  144. library/XenForo/ViewRenderer/Json.php