[OzzModz] Forum View Count

[OzzModz] Forum View Count 2.0.0 Patch Level 4

No permission to download
In mobile view, the inline text incorrectly shows "posts" instead of views...

Looking at the template modifications, the ozzmodz_forum_views_views correctly uses the "views" phrase, but the ozzmodz_forum_views_views_inline incorrectly uses the "messages" phrase.
 
In mobile view, the inline text incorrectly shows "posts" instead of views...

Looking at the template modifications, the ozzmodz_forum_views_views correctly uses the "views" phrase, but the ozzmodz_forum_views_views_inline incorrectly uses the "messages" phrase.

Thanks for the report. Fixed in the latest version.
 
Thank you @Ozzy47
One area of improvement is the view count for forum with subforums. Right now it shows 0 view and I think it should show the total view count of all subforums. It makes more sense.
Here is an example of the parent forum showing 0 view and the individual view counts for each child forum.

Screenshot 2024-02-06 at 10.01.49 AM.webp

Screenshot 2024-02-06 at 10.02.00 AM.webp
 
Can you give me a structure of the node and it’s siblings so I can replicate it and see if there is a fix.
 
Can you give me a structure of the node and it’s siblings so I can replicate it and see if there is a fix.
Here you go. Maybe of relevance is these are private forum with access only available to specific usergroup. Still, we can get the total view counts without view permission, right?
Screenshot 2024-02-06 at 10.42.00 AM.webp
 
Code:
XF\CssRenderException: Error rendering template public:extra.less: ParseError: missing opening `{` in public:extra.less on line 9160, column 1 (on or near line 9160) src/XF/CssRenderException.php:89
Tarafından: Bilinmeyen hesap 7 Mar 2024 10:55'de
Yığın izleme
 9157 |         width: unset;
 9158 |         min-width: 70px;
 9159 |     }
*9160*| }
------------

#0 src/XF/CssRenderer.php(418): XF\CssRenderException::createFromLessException(Object(Less_Exception_Chunk), 'public:extra.le...', '// Note that th...')
#1 src/XF/CssRenderer.php(352): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#2 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#3 src/XF/CssRenderer.php(118): XF\CssRenderer->renderTemplates(Array, Array, Array)
#4 src/XF/CssWriter.php(55): XF\CssRenderer->render(Array)
#5 css.php(30): XF\CssWriter->run(Array, 3, 4, 'bb069afa8581b5f...')
#6 {main}

-------------

Previous Less_Exception_Chunk: ParseError: missing opening `{` in anonymous-file-2344.less on line 9160, column 1
9158|         min-width: 70px;
9159|     }
9160| } - src/vendor/oyejorge/less.php/lib/Less/Parser.php:677
#0 src/vendor/oyejorge/less.php/lib/Less/Parser.php(621): Less_Parser->GetRules(NULL)
#1 src/vendor/oyejorge/less.php/lib/Less/Parser.php(449): Less_Parser->_parse()
#2 src/XF/CssRenderer.php(414): Less_Parser->parse('// Note that th...')
#3 src/XF/CssRenderer.php(352): XF\CssRenderer->renderToCss('public:extra.le...', '// Note that th...')
#4 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('public:extra.le...', NULL)
#5 src/XF/CssRenderer.php(118): XF\CssRenderer->renderTemplates(Array, Array, Array)
#6 src/XF/CssWriter.php(55): XF\CssRenderer->render(Array)
#7 css.php(30): XF\CssWriter->run(Array, 3, 4, 'bb069afa8581b5f...')
#8 {main}
Durum isteği
array(4) {
  ["url"] => string(273) "/css.php?css=public%3Anode_list.less%2Cpublic%3Ashare_controls.less%2Cpublic%3AxgtSv9_duyuru_bloklari.less%2Cpublic%3AxgtSv9_kullanici_paneli_widget.less%2Cpublic%3Axgt_FrmIstatistik.less%2Cpublic%3Aextra.less&s=3&l=4&d=1709808941&k=bb069afa8581b5f07f046eb8d79717bb6c706f0d"
  ["referrer"] => string(20) "https://oynasak.com/"
  ["_GET"] => array(5) {
    ["css"] => string(174) "public:node_list.less,public:share_controls.less,public:xgtSv9_duyuru_bloklari.less,public:xgtSv9_kullanici_paneli_widget.less,public:xgt_FrmIstatistik.less,public:extra.less"
    ["s"] => string(1) "3"
    ["l"] => string(1) "4"
    ["d"] => string(10) "1709808941"
    ["k"] => string(40) "bb069afa8581b5f07f046eb8d79717bb6c706f0d"
  }
  ["_POST"] => array(0) {
  }
}
 
Top Bottom