Uh my full chat page is only using 6 queries and forum home is 8 (chat is shown at the top). BTW I don't have Speed mode enabled.I've just noticed that the Shoutbox was using more than 10 queries to the database... that's a lot.
Without Shoutbox, XenForo total queries: 12 queries
With Shoutbox + speedmode, XenForo total queries: 23 queries
With Shoutbox without speedmode, XenForo total queries: 16 querries
__________________________________________________________________________________________________________________
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('dark_shoutbox')
Params: 10
Run Time: 0.000296
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE xf_phrase_compiled const PRIMARY PRIMARY 231 const,const 1
__________________________________________________________________________________________________________________
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.001036
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE kingk_bbcm ALL 30 Using filesort
__________________________________________________________________________________________________________________
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('dark_taigachat')
AND style_id = ?
AND language_id = ?
Params: 2, 10
Run Time: 0.000550
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE xf_template_compiled const PRIMARY PRIMARY 160 const,const,const 1
__________________________________________________________________________________________________________________
Test without speedmode: 3 extra queries which are:
Code:__________________________________________________________________________________________________________________ SELECT title, phrase_text FROM xf_phrase_compiled WHERE language_id = ? AND title IN ('dark_shoutbox') Params: 10 Run Time: 0.000296 Select Type Table Type Possible Keys Key Key Len Ref Rows Extra SIMPLE xf_phrase_compiled const PRIMARY PRIMARY 231 const,const 1 __________________________________________________________________________________________________________________ SELECT * FROM kingk_bbcm ORDER BY tag Run Time: 0.001036 Select Type Table Type Possible Keys Key Key Len Ref Rows Extra SIMPLE kingk_bbcm ALL 30 Using filesort __________________________________________________________________________________________________________________ SELECT title, template_compiled FROM xf_template_compiled WHERE title IN ('dark_taigachat') AND style_id = ? AND language_id = ? Params: 2, 10 Run Time: 0.000550 Select Type Table Type Possible Keys Key Key Len Ref Rows Extra SIMPLE xf_template_compiled const PRIMARY PRIMARY 160 const,const,const 1 __________________________________________________________________________________________________________________
It seems it loads by hitself the Custom BBCodes Manager
__________________________________________________________________________________________________________________
SELECT title, phrase_text
FROM xf_phrase_compiled
WHERE language_id = ?
AND title IN ('dark_shoutbox')
Params: 10
Run Time: 0.000358
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE xf_phrase_compiled const PRIMARY PRIMARY 231 const,const 1
__________________________________________________________________________________________________________________
SELECT *, IF(user.username IS NULL, taigachat.username, user.username) AS username, IF(DATEDIFF(NOW(), FROM_UNIXTIME(date)) = 0, 1, 0) AS today
FROM dark_taigachat AS taigachat
LEFT JOIN xf_user AS user ON
(user.user_id = taigachat.user_id)
WHERE taigachat.id > ?
ORDER BY taigachat.id DESC
LIMIT 75
Params: 0
Run Time: 0.001205
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE taigachat range PRIMARY PRIMARY 4 3 Using where
SIMPLE user eq_ref PRIMARY PRIMARY 4 afioc_xenpublic.taigachat.user_id 1
__________________________________________________________________________________________________________________
SELECT *, IF(user.username IS NULL, taigachat.username, user.username) AS username, IF(DATEDIFF(NOW(), FROM_UNIXTIME(date)) = 0, 1, 0) AS today
FROM dark_taigachat AS taigachat
LEFT JOIN xf_user AS user ON
(user.user_id = taigachat.user_id)
WHERE taigachat.id > ?
ORDER BY taigachat.id DESC
LIMIT 25
Params: 0
Run Time: 0.001001
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE taigachat range PRIMARY PRIMARY 4 3 Using where
SIMPLE user eq_ref PRIMARY PRIMARY 4 afioc_xenpublic.taigachat.user_id 1
__________________________________________________________________________________________________________________
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.001004
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE kingk_bbcm ALL 30 Using filesort
__________________________________________________________________________________________________________________
SELECT *
FROM dark_taigachat_activity AS activity
LEFT JOIN xf_user AS user ON
(user.user_id = activity.user_id)
WHERE activity.date > UNIX_TIMESTAMP()-150
ORDER BY activity.date DESC
Run Time: 0.000757
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE Impossible WHERE noticed after reading const tables
__________________________________________________________________________________________________________________
SELECT count(*)
FROM dark_taigachat_activity AS activity
WHERE activity.date > UNIX_TIMESTAMP()-150
Run Time: 0.000133
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE Impossible WHERE noticed after reading const tables
__________________________________________________________________________________________________________________
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.002576
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE xf_data_registry range PRIMARY PRIMARY 77 20 Using where
__________________________________________________________________________________________________________________
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'dark_taigachat_list')
AND style_id = ?
AND language_id = ?
Params: 2, 10
Run Time: 0.000434
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE xf_template_compiled range PRIMARY PRIMARY 160 5 Using where
__________________________________________________________________________________________________________________
SELECT *
FROM kingk_bbcm
ORDER BY tag
Run Time: 0.000905
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE kingk_bbcm ALL 30 Using filesort
__________________________________________________________________________________________________________________
SELECT title, template_compiled
FROM xf_template_compiled
WHERE title IN ('dark_taigachat')
AND style_id = ?
AND language_id = ?
Params: 2, 10
Run Time: 0.000435
Select Type Table Type Possible Keys Key Key Len Ref Rows Extra
SIMPLE xf_template_compiled const PRIMARY PRIMARY 160 const,const,const 1
About the files that Luxus was talking above, is there a way to hash them or will it take too much server resource?
1st: Will get that phrase cached for next update
2nd: BBCode manager is because of MOTD rendering presumably
3rd: Template is due to hook, just turn on templates in filesystem if it matters
I didn't look inside the code so may be what I'm saying is stupid but I was thinking to "crypt" the content of templateHtml. But if we can change the location of those datas (for people who wants to have private shoutbox) it's also a good way to make it private.Do you mean randomise the url?
I can confirm this; it was happening in the beta and I didn't narrow it down to Taigachat.Any reason that speed mode should be able to mess with a secondary style? Speed mode seems to cause my light style to start using the majority of css of the dark default style.
It seems your forum has the same issue as when I try the mobile theme on your website, the front page uses the default theme but when you click on a forum it goes back to the mobile theme. Same behavior that I have.
Chat room itself is working well, but it seems that the "Members in Chat" block in xenporta only works if you actually install that chat block in the portal as well. I assume that's why I can't get the "Members in Chat" block on the forum to work either...
Is there a way to make this work? I have members who would like to see who is in chat before they enter...
.taigachat_alt, #taigachat_sidebar { display: none; }
Also, on a separate note, is it possible to have an option for the forum activity display links to open in a new browser tab?
Also, any reason why the chat won't work on an iPad?
I don't own any Apple mobile devices to test with, what exactly is the problem?
It works 90% perfectly on android, sans some very minor scrolling issues
No problem for me on Ipad (iOS5-Safari) with pro version. So far I can remember the free version didn't have any problem either.I had a member report this issue last night with the free version, but I didn't get any specifics. I know it works on in Safari on my Mac, and also on our Kindle Fire. I'll ask for some details next time I chat with him.
Confirmed here as well, had to disable speed mode.Any reason that speed mode should be able to mess with a secondary style? Speed mode seems to cause my light style to start using the majority of css of the dark default style.
It seems your forum has the same issue as when I try the mobile theme on your website, the front page uses the default theme but when you click on a forum it goes back to the mobile theme. Same behavior that I have.
If I go to the home page it says "An unexpected error occurred. Please try again later."An exception occurred: Undefined offset: 1 in /var/www/htdocs/library/Dark/TaigaChat/Helper/Global.php on line 21
- XenForo_Application::handlePhpError() in Dark/TaigaChat/Helper/Global.php at line 21
- Dark_TaigaChat_Helper_Global::getTaigaChatStuff() in EWRporta/Block/TaigaChat.php at line 16
- EWRporta_Block_TaigaChat->getModule() in EWRporta/Model/Blocks.php at line 112
- EWRporta_Model_Blocks->getBlockParams() in EWRporta/ViewPublic/Custom.php at line 67
- EWRporta_ViewPublic_Custom->renderHtml() in XenForo/ViewRenderer/Abstract.php at line 215
- XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/HtmlPublic.php at line 67
- XenForo_ViewRenderer_HtmlPublic->renderView() in XenForo/FrontController.php at line 533
- XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
- XenForo_FrontController->run() in /var/www/htdocs/index.php at line 13
We use essential cookies to make this site work, and optional cookies to enhance your experience.