sonnb - XenGallery (XenForo Gallery) [Deleted]

What is the content of "wf_widget_stats" in the admin.php?template-modifications/?
Code:
<div class="pairsJustified">
    <dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
        <dd>{xen:number $boardTotals.discussions}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase messages}:</dt>
        <dd>{xen:number $boardTotals.messages}</dd></dl>
    <dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
        <dd>{xen:number $boardTotals.users}</dd></dl>
    <dl><dt>{xen:phrase latest_member}:</dt>
        <dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
    <!-- slot: forum_stats_extra -->
</div>
 
Code:
<div class="pairsJustified">
    <dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
        <dd>{xen:number $boardTotals.discussions}</dd></dl>
    <dl class="messageCount"><dt>{xen:phrase messages}:</dt>
        <dd>{xen:number $boardTotals.messages}</dd></dl>
    <dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
        <dd>{xen:number $boardTotals.users}</dd></dl>
    <dl><dt>{xen:phrase latest_member}:</dt>
        <dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
    <!-- slot: forum_stats_extra -->
</div>
I mean this:
upload_2014-6-20_0-10-43.webp
 
i guess i dont get it.. The code above is from Template Modifications / wf_widget_stats / Template Contents:
 
Code:
<xen:if is="{$xenOptions.sonnbXG_showStatistics}">
    <dl>
        <dt>{xen:phrase sonnbXG_total_albums}:</dt>
        <dd>{$boardTotals.totalXenGalleryAlbums}</dd>
    </dl>
    <dl>
        <dt>{xen:phrase sonnbXG_total_photos}:</dt>
        <dd>{$boardTotals.totalXenGalleryPhotos}</dd>
    </dl>
    <dl>
        <dt>{xen:phrase sonnbXG_total_videos}:</dt>
        <dd>{$boardTotals.totalXenGalleryVideos}</dd>
    </dl>
</xen:if>
 
Code:
<xen:if is="{$xenOptions.sonnbXG_showStatistics}">
    <dl>
        <dt>{xen:phrase sonnbXG_total_albums}:</dt>
        <dd>{$boardTotals.totalXenGalleryAlbums}</dd>
    </dl>
    <dl>
        <dt>{xen:phrase sonnbXG_total_photos}:</dt>
        <dd>{$boardTotals.totalXenGalleryPhotos}</dd>
    </dl>
    <dl>
        <dt>{xen:phrase sonnbXG_total_videos}:</dt>
        <dd>{$boardTotals.totalXenGalleryVideos}</dd>
    </dl>
</xen:if>
I am pretty sure the statistic cannot be displayed if the option is unchecked.
 
You can modify template ragtek_sidebarBlock_mostOnlineUsers
Try to replace:
Code:
<dd class="Tooltip" title="{xen:dateTime $ragtek_mostOnlineUsersTime, 'absolute'}">
With:
Code:
<dd>


OK, I tried it, but it still vanishes when enabling the gallery-stats
 
I am pretty sure the statistic cannot be displayed if the option is unchecked.
What option? everything is enabled except for your stats in the options page
Show Photo/Album/Video Count in Forum Statistics
is disabled i have no use for these personally. But disabling this only removes the statistics (numbers) and not the titles (test) and these stats also disable/remove some other custom stats..
 
What option? everything is enabled except for your stats in the options page
is disabled i have no use for these personally.
Is it unchecked or checked?
OK, I tried it, but it still vanishes when enabling the gallery-stats
Please open the template modification "wf_widget_stats"
upload_2014-6-20_0-10-43-png.76218


in the "replace:" part, put $0 at the top.
 
its unchecked at the moment because i dont want or need to see these statistics.. I want my statistics block to work precisely as it did before..
Capture_06192014_134545.webp
 
its unchecked at the moment because i dont want or need to see these statistics.. I want my statistics block to work precisely as it did before..
You can uncheck that template modification to disable it or try to rebuild template. The code is correct then I think rebuild will help.
 
hmm maybe has to do with the two pages of server errors the plugin generated during the upgrade. I dunno.. I suppose ill just enable your stats and let the other more useful stats stay hidden until they decide to reappear someday.
 
hmm maybe has to do with the two pages of server errors the plugin generated during the upgrade. I dunno.. I suppose ill just enable your stats and let the other more useful stats stay hidden until they decide to reappear someday.
I got what you mean now. Sorry for that. Please go to download updated file or follow this post:
Is it unchecked or checked?

Please open the template modification "wf_widget_stats"
upload_2014-6-20_0-10-43-png.76218


in the "replace:" part, put $0 at the top.
 
What updated file? im already running FixA

And as for these instructions "in the "replace:" part, put $0 at the top."
This modification can only be enabled or disabled.
that page is not editable for me..
 
i give up... your stats fine.. im probably the only person who cared about how many people registered, and how many new posts there are anyways..
I lied i cant stand it... I have zero use for these stats.. There has to be a way to delete that nonsense altogether? So i can get my statistics block back to the way it was..
 
Last edited:
i give up... your stats fine.. im probably the only person who cared about how many people registered, and how many new posts there are anyways..
I lied i cant stand it... I have zero use for these stats.. There has to be a way to delete that nonsense altogether? So i can get my statistics block back to the way it was..
After the upgrade, the option still does not work?
 
Top Bottom