- Betroffene Version
- WoltLab Suite 6.0
- Betroffene App
- WoltLab Suite Forum
![](https://cdn.statically.io/img/www.woltlab.com/images/avatars/13/27429-13aaba9ba88bd786eeece64422fdb442247ca74f.png)
About Footer Statistics
-
CL4Y -
10. Juli 2024 um 15:32 -
Unerledigt
-
-
It's maybe possible with template and css changes
-
I won't be providing the required CSS for this, as you will need to take some self-initiative, but this should be a good basis:
Smarty: wbb.index.stats.detail
Alles anzeigen<div class="statisticsBox"> <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats[members]}</dt> <dd>Mitglied{if $stats[members] != 1}er{/if}</dd> </dl> </div> <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats[threads]}</dt> <dd>{if $stats[threads] == 1}Thema{else}Themen{/if}</dd> </dl> </div> <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats[posts]}</dt> <dd>{if $stats.posts == 1}Beitrag{else}Beiträge{/if}</dd> </dl> </div> {if $stats[postsPerDay]} <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats.postsPerDay}</dt> <dd>{if $stats[postsPerDay] == 1}Beitrag{else}Beiträge{/if} pro Tag</dd> </dl> </div> {/if} {if $stats[newestMember]} <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{user object=$stats[newestMember]}</dt> <dd>Neuestes Mitglied</dd> </dl> </div> {/if} </div>
As the contents of the statistics box are in a language variable, you would have to modify the language variable wbb.index.stats.detail for each installed language. It would be better to modify the corresponding box in the boardList template under {if WBB_INDEX_ENABLE_STATS && $__wcf->session->getPermission('user.profile.canViewStatistics')} and create language variables yourself.
-
I won't be providing the required CSS for this, as you will need to take some self-initiative, but this should be a good basis:
Smarty: wbb.index.stats.detail
Alles anzeigen<div class="statisticsBox"> <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats[members]}</dt> <dd>Mitglied{if $stats[members] != 1}er{/if}</dd> </dl> </div> <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats[threads]}</dt> <dd>{if $stats[threads] == 1}Thema{else}Themen{/if}</dd> </dl> </div> <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats[posts]}</dt> <dd>{if $stats.posts == 1}Beitrag{else}Beiträge{/if}</dd> </dl> </div> {if $stats[postsPerDay]} <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{#$stats.postsPerDay}</dt> <dd>{if $stats[postsPerDay] == 1}Beitrag{else}Beiträge{/if} pro Tag</dd> </dl> </div> {/if} {if $stats[newestMember]} <div class="statisticsBox__item"> {icon size=48 name='bell' type='solid'} <dl> <dt>{user object=$stats[newestMember]}</dt> <dd>Neuestes Mitglied</dd> </dl> </div> {/if} </div>
As the contents of the statistics box are in a language variable, you would have to modify the language variable wbb.index.stats.detail for each installed language. It would be better to modify the corresponding box in the boardList template under {if WBB_INDEX_ENABLE_STATS && $__wcf->session->getPermission('user.profile.canViewStatistics')} and create language variables yourself.
Thank you, I'll look into it some more.
-
-
<center> soures </center>
-
<center> soures </center>
I know 😂 I think it's not working because it's a double column problem.
-
Try to add CSS code below to this CSS class: "statisticsBox"
CSS code: margin: 0 auto;
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!