Page Time: 0.0342s

Memory: 4.4956 MB (Peak: 4.8943 MB)

Queries (18, time: 0.0057s, 16.7%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000126
    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,14,2,4,5,6,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)) + user.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 (11,12,13)) 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)
    		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 = user.user_id)
    WHERE user.user_id = ?
    Params: 1160
    Run Time: 0.001164
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYuser_profileconstPRIMARYPRIMARY4const1 
    PRIMARYuser_optionconstPRIMARYPRIMARY4const1 
    PRIMARYuser_privacyconstPRIMARYPRIMARY4const1 
    PRIMARYpermission_combinationconstPRIMARYPRIMARY4const1 
    PRIMARYsession_activityALLPRIMARY   179 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    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
  3. SELECT COUNT(*)
    FROM xf_profile_post AS profile_post
    
    WHERE (profile_post.profile_user_id = 1160) AND (profile_post.message_state IN ('visible'))
    Run Time: 0.000075
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const4Using where
  4. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	0 AS like_date
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    WHERE (profile_post.profile_user_id = 1160) AND (profile_post.message_state IN ('visible'))
    ORDER BY profile_post.post_date DESC
     LIMIT 30
    Run Time: 0.000459
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postrefprofile_user_id_post_dateprofile_user_id_post_date4const4Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4bolttalk_maindb.profile_post.user_id1 
  5. 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 = 1160)
    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.000140
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_fieldALLdisplay_group_order   9Using where; Using filesort
    SIMPLEfield_valueeq_refPRIMARY,field_idPRIMARY31const,bolttalk_maindb.user_field.field_id1 
  6. SELECT
    	user.*,
    	user_profile.*,
    	user_option.*
    	
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)) + user.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 (11,12,13)) 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_follow AS user_follow
    INNER JOIN xf_user AS user ON
    	(user.user_id = user_follow.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.user_id = ?
    ORDER BY RAND()
     LIMIT 6
    Params: 1160
    Run Time: 0.001243
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuser_followrefPRIMARY,follow_user_idPRIMARY4const1Using index; Using temporary; Using filesort
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4bolttalk_maindb.user_follow.follow_user_id1 
    PRIMARYusereq_refPRIMARYPRIMARY4bolttalk_maindb.user_follow.follow_user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4bolttalk_maindb.user_option.user_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
  7. SELECT COUNT(*)
    FROM xf_user_follow
    WHERE follow_user_id = ?
    Params: 1160
    Run Time: 0.000079
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_user_followreffollow_user_idfollow_user_id4const1Using index
  8. SELECT user.*,
    	user_profile.*,
    	user_option.*
    	
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,14,2,4,5,6,7,8,10)) + user.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 (11,12,13)) 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_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: 1160
    Run Time: 0.000943
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuser_followrefPRIMARY,follow_user_idfollow_user_id4const1Using index; Using temporary; Using filesort
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4bolttalk_maindb.user_follow.user_id1 
    PRIMARYusereq_refPRIMARYPRIMARY4bolttalk_maindb.user_follow.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4bolttalk_maindb.user_follow.user_id1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4bolttalk_maindb.user.user_id3Using where
  9. 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=1160, 1410902971,
    Run Time: 0.000262
  10. SELECT *
    FROM kingk_bbcm
    ORDER BY tag
    Run Time: 0.000142
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEkingk_bbcmALL    7Using filesort
  11. SELECT *
    FROM kingk_bbcm
    ORDER BY tag
    Run Time: 0.000138
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEkingk_bbcmALL    7Using filesort
  12. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('user_field_charger_fan_since_desc', 'user_field_aim_desc', 'user_field_facebook_desc', 'user_field_gtalk_desc', 'user_field_icq_desc', 'user_field_msn_desc', 'user_field_skype_desc', 'user_field_twitter_desc', 'user_field_yahoo_desc', 'Tickets', 'Schedule', 'Draft')
    Params: 1
    Run Time: 0.000104
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledrangePRIMARYPRIMARY106 12Using where
  13. 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: 1160, 1160
    Run Time: 0.000320
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    UNION RESULT<union1,2>ALL     Using filesort
  14. SELECT COUNT(*)
    FROM xf_liked_content
    WHERE like_user_id = ?
    Params: 1160
    Run Time: 0.000170
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const18Using index
  15. 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: 1160, 1160
    Run Time: 0.000091
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    UNION RESULT<union1,2>ALL     Using filesort
  16. SELECT COUNT(*)
    FROM xf_liked_content
    WHERE like_user_id = ?
    Params: 1160
    Run Time: 0.000077
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const18Using index
  17. 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: 1160, 1160
    Run Time: 0.000090
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    UNIONdark_postrating_countrefuser_id_ratinguser_id_rating4const4 
    UNION RESULT<union1,2>ALL     Using filesort
  18. SELECT COUNT(*)
    FROM xf_liked_content
    WHERE like_user_id = ?
    Params: 1160
    Run Time: 0.000075
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_liked_contentreflike_user_content_type_idlike_user_content_type_id4const18Using index

Included Files (141, XenForo Classes: 60)

  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/Memcached.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/BBM/Listeners/AllInOne.php
  29. library/sonnb/XenGallery/Listener.php
  30. library/bdTagMe/Listener.php
  31. library/bdTagMe/Helper/Template.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/EWRporta/Listener/Route.php
  39. library/bdTagMe/XenForo/Route/Prefix/Members.php
  40. library/XenForo/RouteMatch.php
  41. library/BBM/Protection/Helper/ContentProtection.php
  42. library/XenForo/ControllerPublic/Member.php
  43. library/XenForo/ControllerPublic/Abstract.php
  44. library/XenForo/Controller.php
  45. library/MailChimp/Listener.php
  46. library/Nobita/LimitGuestThreadPageView/Listener.php
  47. library/KingK/BbCodeManager/EventListener/BbCode.php
  48. library/ModerateCountry/RegisterListener.php
  49. library/SportsNetwork/Listener.php
  50. library/EWRporta/Listener/Controller.php
  51. library/Dark/PostRating/EventListener.php
  52. library/KingK/BbCodeManager/BbCodeManager.php
  53. library/AddOnInstaller/Listener.php
  54. library/Dark/PostRating/ControllerPublic/Member.php
  55. library/bdTagMe/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/Waindigo/JoinUserGroup/Listener/LoadClass.php
  71. library/Waindigo/Listener/LoadClass.php
  72. library/Waindigo/Listener/LoadClass/20140808.php
  73. library/EWRporta/Listener/Model.php
  74. library/BBM/Protection/Listener/Models.php
  75. library/Dark/TaigaChat/EventListener/Listener.php
  76. library/sonnbThreadMassActions/Listener.php
  77. library/Waindigo/JoinUserGroup/Extend/XenForo/Model/User.php
  78. library/Dark/PostRating/Model/User.php
  79. library/sonnb/XenGallery/XenForo/Model/User.php
  80. library/bdTagMe/XenForo/Model/User.php
  81. library/Zend/Db/Profiler/Query.php
  82. library/XenForo/Permission.php
  83. library/XenForo/Phrase.php
  84. library/XenForo/Locale.php
  85. library/Waindigo/JoinUserGroup/Listener/ControllerPreDispatch.php
  86. library/Waindigo/Listener/ControllerPreDispatch.php
  87. library/Waindigo/Listener/ControllerPreDispatch/20140711.php
  88. library/XenForo/ControllerResponse/Reroute.php
  89. library/XenForo/ControllerResponse/Abstract.php
  90. library/XenForo/ControllerHelper/UserProfile.php
  91. library/XenForo/ControllerHelper/Abstract.php
  92. library/Dark/PostRating/Model.php
  93. library/XenForo/Model/UserProfile.php
  94. library/XenForo/Model/ProfilePost.php
  95. library/XenForo/Model/UserField.php
  96. library/XenForo/Model/UserIgnore.php
  97. library/XenForo/Model/Conversation.php
  98. library/Dark/PostRating/Model/Conversation.php
  99. library/XenForo/ControllerResponse/View.php
  100. library/XenForo/Helper/Cookie.php
  101. library/XenForo/ViewRenderer/HtmlPublic.php
  102. library/XenForo/ViewRenderer/Abstract.php
  103. library/XenForo/Template/Public.php
  104. library/XenForo/Template/Abstract.php
  105. library/XenForo/ViewPublic/Member/View.php
  106. library/XenForo/ViewPublic/Base.php
  107. library/XenForo/View.php
  108. library/EWRporta/Listener/ViewPublic.php
  109. library/XenForo/BbCode/Parser.php
  110. library/XenForo/BbCode/Formatter/Base.php
  111. library/EWRporta/Listener/BbCode.php
  112. library/KingK/BbCodeManager/BbCode/Formatter/Base.php
  113. library/EWRporta/BbCode/Formatter.php
  114. library/sonnb/XenGallery/XenForo/BbCode/Formatter/Base.php
  115. library/bdTagMe/XenForo/BbCode/Formatter/Base.php
  116. library/KingK/BbCodeManager/Model/CustomBbCode.php
  117. library/XenForo/BbCode/TextWrapper.php
  118. library/XenForo/ViewPublic/Helper/User.php
  119. library/XenForo/Helper/String.php
  120. library/Waindigo/JoinUserGroup/Listener/TemplateCreate.php
  121. library/Waindigo/Listener/TemplateCreate.php
  122. library/Waindigo/Listener/TemplateCreate/20130522.php
  123. library/ExternalPages/Listeners/Navigation.php
  124. library/ExternalPages/Route/Prefix/En.php
  125. library/EWRporta/Listener/NavTabs.php
  126. library/Dark/TaigaChat/EventListener/NavigationTabs.php
  127. library/XenForo/Template/FileHandler.php
  128. library/XenForo/Helper/File.php
  129. internal_data/templates/S.5,L.1,member_view.php
  130. library/SeparateStickyAndNormal/Listener.php
  131. library/EWRporta/Listener/Template.php
  132. library/XenForo/Model/Like.php
  133. internal_data/templates/S.5,L.1,dark_postrating_member_totals.php
  134. internal_data/templates/S.5,L.1,dark_postrating_member.php
  135. library/XenForo/Route/Prefix/ProfilePosts.php
  136. library/XenForo/Model/Avatar.php
  137. library/XenForo/Helper/Criteria.php
  138. library/XenForo/Debug.php
  139. internal_data/templates/S.5,L.1,PAGE_CONTAINER.php
  140. library/BBM/Listeners/Templates/Public.php
  141. library/XenForo/ViewRenderer/Json.php