Aktif Katılım Sağlayan Üyeler

Eklentiler ile ilgili gelişmeler. Yeni modlar, güncellemeler.

Aktif Katılım Sağlayan Üyeler

İleti CeNK 26.11.2005, 23:34

Pano Kımle online bölümünde panoya Aktif Katılım Sağlayan Üyeler sayısı.
[syntax="php"]##############################################################
## MOD Title: actual posters
## MOD Author: Swizec < swizec@randy-comic.com > (N/A) http://www.randy-comic.com
## MOD Description: Shows the number of active users in the board statistics
## MOD Version: 1.0.4
##
## Installation Level: Easy
## Installation Time: ~5 Minutes
## Files To Edit: index.php, functions.php, index_body.tpl, lang_main.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## demo board: http://www.randy-comic.com/demo
##
##############################################################
## MOD History:
##
##
## 2005-03-02 - Version 1.0.0
## - working mod
##
## 2005-04-22 - Version 1.0.1
## - spelling correction
##
## 2005-04-25 - Version 1.0.2
## - small cosmetic fix
##
## 2005-05-12 - Version 1.0.2
## - submission problems :S
##
## 2005-05-12 - Version 1.0.3
## - made it multi template compatible
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#

index.php

#
#-----[ FIND ]------------------------------------------
#

$newest_userdata = get_db_stat('newestuser');

#
#-----[ AFTER, ADD ]------------------------------------------
#

// mod actual posters add
$total_posters = get_db_stat('total_posters');

#
#-----[ FIND ]------------------------------------------
#

'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),

#
#-----[ AFTER, ADD ]------------------------------------------
#

// mod actual posters add
'TOTAL_POSTERS' => sprintf( $lang['total_posters'], $total_posters ),

#
#-----[ OPEN ]------------------------------------------
#

includes/functions.php

#
#-----[ FIND ]------------------------------------------
#

case 'topiccount':
$sql = "SELECT SUM(forum_topics) AS topic_total, SUM(forum_posts) AS post_total
FROM " . FORUMS_TABLE;
break;

#
#-----[ AFTER, ADD ]------------------------------------------
#

// mod actual posters add
case 'total_posters':
$sql = "SELECT COUNT(user_id) AS posters
FROM " . USERS_TABLE . "
WHERE user_id <> " . ANONYMOUS . " AND user_posts > 0";
break;

#
#-----[ FIND ]------------------------------------------
#

case 'topiccount':
return $row['topic_total'];
break;

#
#-----[ AFTER, ADD ]------------------------------------------
#

// mod actual posters add
case 'total_posters':
return $row['posters'];
break;

#
#-----[ OPEN ]------------------------------------------
#

templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#

{TOTAL_USERS}

#
#-----[ IN-LINE FIND ]------------------------------------------
#

{TOTAL_USERS}

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#

&nbsp;{TOTAL_POSTERS}

#
#-----[ OPEN ]------------------------------------------
#

language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
#

//
// That's all, Folks!
// -------------------------------------------------

#
#-----[ AFTER, ADD ]------------------------------------------
#

// mod actual psoters add
$lang['total_posters'] = 'of whom <b>%d</b> actually posted.';

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM [/syntax]
Kullanıcı avatarı
CeNK
Üye
Üye
 
İleti: 584
Kayıt: 01.11.2005, 15:21
Konum: İstanbul

İleti Galatasaray 13.12.2005, 22:29

Bu en çok mesaj atan üyeler değil dimi ? En çok aktif olan üyeler yani panoda en çok zaman harcayan üyeler ? Çünkü en çok mesaj atan olayını yaptımda :)
Kullanıcı avatarı
Galatasaray
Üye
Üye
 
İleti: 44
Kayıt: 12.11.2005, 07:10

İleti Curtis 13.12.2005, 22:42

Şöyle birşey çıkıyor Toplam Üye'nin yanında Panomuza Aktif katılım sağlayan üyesi "bilmemne" gibi...

Yani üye olupta mesaj yazan sayısı...
Kullanıcı avatarı
Curtis
Üye
Üye
 
İleti: 686
Kayıt: 06.10.2005, 06:22
Konum: İstanbul

İleti Galatasaray 16.12.2005, 22:03

Banks yazdı:Şöyle birşey çıkıyor Toplam Üye'nin yanında Panomuza Aktif katılım sağlayan üyesi "bilmemne" gibi...

Yani üye olupta mesaj yazan sayısı...


Saol , o zaman işe yaramaz :) En azındnabenim için. Paylaşım için sağolun.
Kullanıcı avatarı
Galatasaray
Üye
Üye
 
İleti: 44
Kayıt: 12.11.2005, 07:10

İleti w1nona 12.04.2006, 13:22

Arkadaslar ben bunu yaptım. Ama hata verdi sanırım temayla uyusmadı (tema: PDT_lovayl)

tekrar bu modu sildim ama bu hatayı verdi

Warning: init_userprefs(): Unable to access ./language/lang_turkish/lang_ctracker.php in /home/umudumol/public_html/forum/includes/functions.php on line 308

Warning: init_userprefs(./language/lang_turkish/lang_ctracker.php): failed to open stream: No such file or directory in /home/umudumol/public_html/forum/includes/functions.php on line 308

Warning: init_userprefs(): Unable to access ./language/lang_turkish/lang_ctracker.php in /home/umudumol/public_html/forum/includes/functions.php on line 308

Warning: init_userprefs(./language/lang_turkish/lang_ctracker.php): failed to open stream: No such file or directory in /home/umudumol/public_html/forum/includes/functions.php on line 308

Warning: init_userprefs(): Failed opening './language/lang_turkish/lang_ctracker.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/umudumol/public_html/forum/includes/functions.php on line 308

Warning: Cannot modify header information - headers already sent by (output started at /home/umudumol/public_html/forum/includes/functions.php:308) in /home/umudumol/public_html/forum/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/umudumol/public_html/forum/includes/functions.php:308) in /home/umudumol/public_html/forum/includes/page_header.php on line 487

Warning: Cannot modify header information - headers already sent by (output started at /home/umudumol/public_html/forum/includes/functions.php:308) in /home/umudumol/public_html/forum/includes/page_header.php on line 488



Yardımcı olabilirmisiniz?
w1nona
Üye
Üye
 
İleti: 6
Kayıt: 21.03.2006, 15:26


Duyurular & Güncellemeler



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron