[XenGenTr] Forum statistics system | Forum istatistik sistemi

xF2 Add-on [XenGenTr] Forum statistics system | Forum istatistik sistemi 4.1.0 Beta 6

No permission to download

krvam

Active member
Registered
Joined
Apr 30, 2021
Messages
42
Points
18

Reputation:

Thanks bro.

I recently installed, and work fine, but the option "Top Users" not show anything..
1620196629195.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

I've found that the member_stat_key is empty, which is the reason that this will not be shown. But currently I've no glue where to set these, or if this is a bug.

I got it to work, if I change the content of one of the php files, but this could't be the right way.
 

qwers

🅿🆁🅴🅼🅸🆄🅼
Registered
Joined
Dec 22, 2020
Messages
17
Points
13

Reputation:

I've found that the member_stat_key is empty, which is the reason that this will not be shown. But currently I've no glue where to set these, or if this is a bug.

I got it to work, if I change the content of one of the php files, but this could't be the right way.
BattleKingGive me your solution, please!
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Give me your solution, please!
qwersI still do not know what is going on there all other tabs are working perfectly, they got the right defaultOptions, why not for the last column where the user stats is located. If I dump $this and $options I get that:

1623880918000.png


Workaround: Changed the following line, here you already see the changed line (src\addons\XenGenTr\XGTForumistatistik\Widget\EncokMesajKullanici.php):

PHP:
        $memberStat = $this->findOne('XF:MemberStat', [
            'member_stat_key' => 'most_messages' //$this->options['member_stat_key']
        ]);

The comment will indicate the line content before the change.

It looks like that the readout of the default settings do not work.
 

qwers

🅿🆁🅴🅼🅸🆄🅼
Registered
Joined
Dec 22, 2020
Messages
17
Points
13

Reputation:

I still do not know what is going on there all other tabs are working perfectly, they got the right defaultOptions, why not for the last column where the user stats is located. If I dump $this and $options I get that:

View attachment 22184

Workaround: Changed the following line, here you already see the changed line (src\addons\XenGenTr\XGTForumistatistik\Widget\EncokMesajKullanici.php):

PHP:
        $memberStat = $this->findOne('XF:MemberStat', [
            'member_stat_key' => 'most_messages' //$this->options['member_stat_key']
        ]);

The comment will indicate the line content before the change.

It looks like that the readout of the default settings do not work.
BattleKingThx
 

Akai

Member
Registered
Joined
Nov 1, 2020
Messages
7
Points
13

Reputation:

it this english version ?
 

Loki

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Dec 31, 2019
Messages
478
Points
253

Reputation:

View previous replies…

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Loki

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Dec 31, 2019
Messages
478
Points
253

Reputation:

i already try that..
but still fail to change to english any tutorial ?

upload xml
Child of language: ?
or
Overwrite language ?
AkaiHi I have translated to the current version v3.1.3

1.png
 

Attachments

  • language-English-(US)-XenGenTr_XGTForumistatistik V3.1.3.zip
    3.5 KB · Views: 239

Killer0561

Member
Registered
Joined
May 27, 2021
Messages
6
Points
13

Reputation:

The right side is complete blank, any idea?

blank.png
 
View previous replies…

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Killer0561

Member
Registered
Joined
May 27, 2021
Messages
6
Points
13

Reputation:

Thanks for the fast reply @BattleKing
That said, we have to wait for a fix for it to work properly.

I would like to change the width of the columns a bit, but I don't know in the css where exactly to change that. It's all in Turkish and the old guide here in the forum doesn't work anymore because the code has changed.
 
Last edited:
View previous replies…

Loki

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Dec 31, 2019
Messages
478
Points
253

Reputation:

Thanks for the fast reply @BattleKing
That said, we have to wait for a fix for it to work properly.

I would like to change the width of the columns a bit, but I don't know in the css where exactly to change that. It's all in Turkish and the old guide here in the forum doesn't work anymore because the code has changed.
Killer0561Hi xgtForumistatik.less
 

Killer0561

Member
Registered
Joined
May 27, 2021
Messages
6
Points
13

Reputation:

i know, its xgtForumistatik.less, but which options?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

i know, its xgtForumistatik.less, but which options?
Killer0561Here the information of the xgtForumistatik.less content of column width
  1. Column: .IstatistikSirasi
  2. Column: .IstatistikAvatar
  3. Column: .IstatistikHucre
  4. Column: .konuIkonlari
  5. Column: .IstatistikForum
  6. Column: .IstatistikCevap
  7. Column: .IstatistikGoruntuleme
  8. Column: .IstatistikZaman
  9. Column: .IstatistikSonCevap
  10. Column: .IstatistikHucre.KullaniciAdi
  11. Column: .IstatistikHucre.IstatistikCevap
 
View previous replies…

Killer0561

Member
Registered
Joined
May 27, 2021
Messages
6
Points
13

Reputation:

Here the information of the xgtForumistatik.less content of column width
  1. Column: .IstatistikSirasi
  2. Column: .IstatistikAvatar
  3. Column: .IstatistikHucre
  4. Column: .konuIkonlari
  5. Column: .IstatistikForum
  6. Column: .IstatistikCevap
  7. Column: .IstatistikGoruntuleme
  8. Column: .IstatistikZaman
  9. Column: .IstatistikSonCevap
  10. Column: .IstatistikHucre.KullaniciAdi
  11. Column: .IstatistikHucre.IstatistikCevap
BattleKingI tried to change the width, but unfortunately nothing happens. The width of the cells remains the same as before.
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

I tried to change the width, but unfortunately nothing happens. The width of the cells remains the same as before.
Killer0561It works for me, but you need to play around a bit.
Total of width of pageContent 930 px

Total 100% depends on the style, in my it is 790px
  1. Column: .IstatistikSirasi 25px
  2. Column: .IstatistikAvatar 30px
  3. Column: .IstatistikHucre = 790 - (25 + 30 + 25 + 100 + 80 + 80 + 80 + 100 ) = 270 px
  4. Column: .konuIkonlari 25px
  5. Column: .IstatistikForum 100px
  6. Column: .IstatistikCevap 80px
  7. Column: .IstatistikGoruntuleme 80px
  8. Column: .IstatistikZaman 80px
  9. Column: .IstatistikSonCevap 100px
So for this we have 930 - 790 = 140px left
  1. Column: .IstatistikAvatar 30px
  2. Column: .IstatistikHucre.KullaniciAdi 70% -> 77px
  3. Column: .IstatistikHucre.IstatistikCevap 30% -> 33px
 

aiquoc

New member
Registered
Joined
Dec 26, 2019
Messages
3
Points
13

Reputation:

Here the information of the xgtForumistatik.less content of column width
  1. Column: .IstatistikSirasi
  2. Column: .IstatistikAvatar
  3. Column: .IstatistikHucre
  4. Column: .konuIkonlari
  5. Column: .IstatistikForum
  6. Column: .IstatistikCevap
  7. Column: .IstatistikGoruntuleme
  8. Column: .IstatistikZaman
  9. Column: .IstatistikSonCevap
  10. Column: .IstatistikHucre.KullaniciAdi
  11. Column: .IstatistikHucre.IstatistikCevap
BattleKing@BattleKing Where can I find it? i don't find px parameter?
 

bosss

Member
Registered
Joined
Jun 19, 2021
Messages
6
Points
13

Reputation:

Top