[tLk] Thread Count

[tLk] Thread Count 1.1.0

No permission to download
@Tilkißey it would be cool if we could have it on the sidebar as well (and if we show sidebar on custom pages, that it doesn't break, or is included)

Screen Shot 2017-04-08 at 02.27.00.webp

and in the admin area on their profile tab above msgs, it would be so helpful too.
Screen Shot 2017-04-08 at 02.28.52.webp
 
For the people that use the plugin: [HA] Missing Icons, and use the little FA message icon in front of Messages, to get the same icon in front of Threads: .. now, go to appearance, template modifications, find the member_user_info for this plugin, inside it find this, in the 'replace' box:
Code:
{xen:phrase threads}
and add this in front of it:
Code:
<xen:if is="{$xenOptions.dad_mi_messages}"><i class="dad-mi-messages fa {$xenOptions.dad_mi_messages}" aria-hidden="true"></i> </xen:if>

Screen Shot 2017-04-08 at 02.50.10.webp Screen Shot 2017-04-08 at 02.50.31.webp

Just so it's a bit more complete.
 
@Tilkißey it would be cool if we could have it on the sidebar as well (and if we show sidebar on custom pages, that it doesn't break, or is included)
Welcome back Floris :)

I'm sorry but i didnt understand your this offer. Your screenshot shows forum stats area and this area already contains "Discussions: XXXX", which is total thread count on all forums.


and in the admin area on their profile tab above msgs, it would be so helpful too.
View attachment 150912

Working on it now. Need to extend a controlleradmin file.

PS: Will be added user title ladder support on 0.1.2 version :)
 
Excellent updated, @Tilkißey I am still are not getting Sidebar Visitor Panel work. Do we have any option for this to enable?

b3b72010df714979b186250bee799456.png
 
Excellent updated, @Tilkißey I am still are not getting Sidebar Visitor Panel work. Do we have any option for this to enable?

b3b72010df714979b186250bee799456.png
Thank you @Nirjonadda

Can you check with default theme please? It is showing with a template modification. If your theme's sidebar_visitor_panel template is modified, my add-on's modification rule may not be work properly. That template should be content belowing code for workin modification
HTML:
<dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>

Hmm, i got a point for making universal theme support via changing rule. I will send an xml for 0.1.2 version to your pm box in a few minutes. Please try it with 0.1.2 ftp files
 
Welcome back Floris :)


I'm sorry but i didnt understand your this offer. Your screenshot shows forum stats area and this area already contains "Discussions: XXXX", which is total thread count on all forums.




Working on it now. Need to extend a controlleradmin file.

PS: Will be added user title ladder support on 0.1.2 version :)

Hi, and thanks. Yeh, well, wasn't really gone, but took over the xenfans account from roberto again.
Hey, great improvements, thank you.
And yeah, how did my break not even spot discussions. I guess I was too focussed on looking for threads "nope, dont see thread, see msgs, ok, lets ask to .." .. Such an idiot.
 
Yes this XML are working on your PM.

96ac3deecdf54e059372da35e6180e90.png


But only problem with Enable Visitor Panel Stats Icons with UI.X based style. The icon image are not showing.

642579c2da3b4b4e96b8647753e25624.png
 
Hi, and thanks. Yeh, well, wasn't really gone, but took over the xenfans account from roberto again.
Hey, great improvements, thank you.
And yeah, how did my break not even spot discussions. I guess I was too focussed on looking for threads "nope, dont see thread, see msgs, ok, lets ask to .." .. Such an idiot.

:D no problem Floris :D


Yes this XML are working on your PM.

96ac3deecdf54e059372da35e6180e90.png


But only problem with Enable Visitor Panel Stats Icons with UI.X based style. The icon image are not showing.

642579c2da3b4b4e96b8647753e25624.png

Your this problem is related with your style's feature. You can check @xenfans ' message for adding image. Maybe codes need to be changing but general steps are same
 
Does this take into account the forum/node option of 'Count messages posted in this forum toward user total' and not count threads in forums/nodes where this is unticked?
 
Does this take into account the forum/node option of 'Count messages posted in this forum toward user total' and not count threads in forums/nodes where this is unticked?
Yes, of course checking 'count messages.....' option's value as users' message counts.
If a node's this (count messages..) option is unticked, threads in that forum wont count
 
@Tilkißey I am getting Server Error Logs and manual rebuild processes error. Please let me know this fix.

Code:
Error Info
XenForo_Exception: Please enter a positive whole number. - library/XenForo/DataWriter.php:1359
Generated By: Nirjon, 3 minutes ago
Stack Trace

#0 /home/nadda/public_html/library/XenForo/DataWriter.php(1401): XenForo_DataWriter->_haveErrorsPreventSave()
#1 /home/nadda/public_html/library/TilkiBey/ThreadCount/Extends/DataWriter/Forum.php(105): XenForo_DataWriter->save()
#2 /home/nadda/public_html/library/XenForo/DataWriter/Discussion.php(974): TilkiBey_ThreadCount_Extends_DataWriter_Forum->updateCountersAfterDiscussionDelete(Object(EndlessHorizon_AdvOG_DataWriter_Discussion_Thread))
#3 /home/nadda/public_html/library/XenForo/DataWriter/Discussion.php(764): XenForo_DataWriter_Discussion->_updateContainerPostDelete()
#4 /home/nadda/public_html/library/XenForo/DataWriter.php(1793): XenForo_DataWriter_Discussion->_postDelete()
#5 /home/nadda/public_html/library/XenForo/Deferred/ThreadAction.php(62): XenForo_DataWriter->delete()
#6 /home/nadda/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_ThreadAction->execute(Array, Array, 6.2017328739166, '')
#7 /home/nadda/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 6.2017328739166, '', false)
#8 /home/nadda/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 6.2017328739166, '', false)
#9 /home/nadda/public_html/library/XenForo/ViewRenderer/Abstract.php(352): XenForo_Model_Deferred->run(true, 6.2017328739166)
#10 /home/nadda/public_html/library/XenForo/ViewRenderer/HtmlAdmin.php(131): XenForo_ViewRenderer_Abstract::hasManualDeferredToRun(true)
#11 /home/nadda/public_html/library/XenForo/FrontController.php(639): XenForo_ViewRenderer_HtmlAdmin->renderContainer(Object(XenForo_Template_Admin), Array)
#12 /home/nadda/public_html/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_Error), Object(XenForo_ViewRenderer_HtmlAdmin), Array)
#13 /home/nadda/public_html/admin.php(13): XenForo_FrontController->run()
#14 {main}

Request State

array(3) {
  ["url"] => string(55) "https://www.mysite.com/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(36) "https://www.mysite.com/admin.php"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}

Code:
An exception occurred: Please enter a positive whole number. in /home/nadda/public_html/library/XenForo/DataWriter.php on line 1359

    XenForo_DataWriter->_haveErrorsPreventSave() in XenForo/DataWriter.php at line 1401
    XenForo_DataWriter->save() in TilkiBey/ThreadCount/Extends/DataWriter/Forum.php at line 105
    TilkiBey_ThreadCount_Extends_DataWriter_Forum->updateCountersAfterDiscussionDelete() in XenForo/DataWriter/Discussion.php at line 974
    XenForo_DataWriter_Discussion->_updateContainerPostDelete() in XenForo/DataWriter/Discussion.php at line 764
    XenForo_DataWriter_Discussion->_postDelete() in XenForo/DataWriter.php at line 1793
    XenForo_DataWriter->delete() in XenForo/Deferred/ThreadAction.php at line 62
    XenForo_Deferred_ThreadAction->execute() in XenForo/Model/Deferred.php at line 295
    XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 429
    XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 374
    XenForo_Model_Deferred->run() in XenForo/ViewRenderer/Abstract.php at line 352
    XenForo_ViewRenderer_Abstract::hasManualDeferredToRun() in XenForo/ViewRenderer/HtmlAdmin.php at line 131
    XenForo_ViewRenderer_HtmlAdmin->renderContainer() in XenForo/FrontController.php at line 639
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /home/nadda/public_html/admin.php at line 13
 
Back
Top Bottom