phpbb iLe ilgili Her şey

phpBB 2.0.x kurulum ve çalıştırılmasında meydana gelen sorun ve problemler için buradan yardım alabilirsiniz.
Kilitli
Kullanıcı avatarı
Ferdi
Kayıtlı Kullanıcı
Mesajlar: 3
Kayıt: 28.10.2005, 22:56

phpbb iLe ilgili Her şey

Mesaj gönderen Ferdi »

bikaç phpBB modifiye ipuçları ve dosyaları verelim. Bu topic de hepimiz için phpBB modifiye kaynak başlığı olsun..

başlıyorum.
---------------------
Multiforum İpb ve phpBB

http://rapidshare.de/files/5504581/ipbp ... 3.rar.html

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

phpBB için Oyun Sistemleri

The Ultimate Gaming System For phpBB
Your Own Flash Game Script!!

phpBB-Amod

Author: aUsTiN
Version: 1.1.0
phpBB Versions: 2.0.x
Updated: 2005-05-20 15:14:33
Filesize: 1.05 Mb's
Cost: Free

You must have phpBB 2.x installed. Then your gonna need to edit a couple of files, then you need to install it, and your done.
For more info read the readme.txt in the download file :)

It let's you add flash games to it, and play them, and save the scores in Mysql. You have to register to play.So you can put a competition on your own website of games.

download phpbb:
http://www.phpbb.com/files/releases/phpBB-2.0.17.zip


Download phpBB-Amod:
http://phpbb-amod.com/down_db.html-page-get_file-id-76


(to download just enter the generated numbers & letters above)


Demo:
http://www.hungawega.tk



Ps. Remember you Need to register before seeing the games.
You don't need to activate, just enter a nick and a pass and then click full above on "GAMES"
This Is NOT Spam......If you want to see how it is, to see the games, and play them to see how it submit the scores etc, you must register!
Remember, NOT spam! Tnx.

GAMES DOWNLOADS FREE!

phpBB Games Downloads one by one
You can download the games on a game by game basis.
Currently 214 games
Total size to download (Total together): 52.14 Mb's

Download:

http://phpbb-amod.com/down_db.php?page=cat&id=910



phpBB Game Packs Downloads (zip)
In here, you will find downloads that have 15 games per zip. There will be an installer avaliable that will install each of the gamepacks for you as well.
Number of zip files: 16
Download size (all together): 31.43 Mb's



Download:

http://phpbb-amod.com/down_db.php?page=cat&id=911


Images:





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

BAZI TEMALAR

PHPBB.2.x.Skins.Packed-SGT_NICK

ExtremePixels:
* Air
* Ambience
* Applied
* Blue 1
* Cobalt
* Disturbed
* Firmament
* Fusion
* Hybrid
* Imagize
* Oviar
* Plasma
* Pro Vizion
* Scarlet
* Style 1
* Surge
* Tren Z
* Vizion

DOWNLOAD
Code:
http://www.megaupload.com/?d=14SEFD54
http://rapidshare.de/files/2517368/PHPB ... K.rar.html

************************************************

PHPBB.2.x.Skins.Update.1.Packed-SGT_NICK

ExtremePixels:
* Rogue

DOWNLOAD
Code:
http://www.megaupload.com/?d=20XNVB4R
http://rapidshare.de/files/3867470/PHPB ... K.rar.html

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

TEMALARA DEVAM

File: BlueDim.zip 271 KB 20/10/2002 12:00:00 πμ
File: Boogie.zip 269 KB 30/7/2003 12:00:00 πμ
File: DarkBlue_2.0.1_Final.zip 303 KB 1/11/2002 12:00:00 πμ
File: Desert.zip 183 KB 2/11/2002 12:00:00 πμ
File: Eos.zip 349 KB 30/7/2003 12:00:00 πμ
File: FSClean.zip 108 KB 8/3/2003 12:00:00 πμ
File: FSDark.zip 108 KB 8/3/2003 12:00:00 πμ
File: Fantastik.zip 258 KB 30/7/2003 12:00:00 πμ
File: GorbGreenv1.1.zip 217 KB 8/3/2003 12:00:00 πμ
File: Helius.zip 587 KB 30/7/2003 12:00:00 πμ
File: Inviolet.zip 138 KB 30/7/2003 12:00:00 πμ
File: InvisionBlue.zip 210 KB 30/7/2003 12:00:00 πμ
File: LightGreen.zip 157 KB 2/11/2002 12:00:00 πμ
File: MagiCS.zip 544 KB 30/7/2003 12:00:00 πμ
File: Marble.zip 400 KB 30/7/2003 12:00:00 πμ
File: MatrX.zip 367 KB 2/11/2002 12:00:00 πμ
File: NOR.zip 537 KB 8/12/2002 12:00:00 πμ
File: Orange_2.0.1_Final.zip 365 KB 1/11/2002 12:00:00 πμ
File: RedBlack.zip 236 KB 2/11/2002 12:00:00 πμ
File: Rings.zip 301 KB 17/1/2003 12:00:00 πμ
File: Solaris.zip 310 KB 30/7/2003 12:00:00 πμ
File: Splash.zip 249 KB 30/7/2003 12:00:00 πμ
File: Stop.zip 166 KB 30/7/2003 12:00:00 πμ
File: ViceCity.zip 224 KB 30/7/2003 12:00:00 πμ
File: WinterICE.zip 139 KB 30/7/2003 12:00:00 πμ
File: aeolus.zip 612 KB 8/3/2003 12:00:00 πμ
File: akaloko.zip 165 KB 8/12/2002 12:00:00 πμ
File: argentblue.zip 146 KB 30/7/2003 12:00:00 πμ
File: ashHawaiian.zip 407 KB 13/5/2003 12:00:00 πμ
File: ashHawaiiin.zip 410 KB 13/5/2003 12:00:00 πμ
File: ashRetro.zip 239 KB 13/5/2003 12:00:00 πμ
File: azard.zip 262 KB 8/3/2003 12:00:00 πμ
File: christmas.zip 463 KB 8/12/2002 12:00:00 πμ
File: clock86.zip 309 KB 30/7/2003 12:00:00 πμ
File: crisp.zip 87 KB 13/5/2003 12:00:00 πμ
File: dookie.zip 318 KB 30/7/2003 12:00:00 πμ
File: easyblue.zip 388 KB 8/12/2002 12:00:00 πμ
File: entergalaxy.zip 446 KB 30/7/2003 12:00:00 πμ
File: fiapple.zip 139 KB 2/11/2002 12:00:00 πμ
File: fiapple2.zip 164 KB 8/12/2002 12:00:00 πμ
File: fiapplegreen210.zip 170 KB 8/3/2003 12:00:00 πμ
File: fiblack.zip 277 KB 16/11/2002 12:00:00 πμ
File: fission.zip 134 KB 13/5/2003 12:00:00 πμ
File: fisubgreen.zip 138 KB 8/12/2002 12:00:00 πμ
File: fisubice.zip 131 KB 8/12/2002 12:00:00 πμ
File: fisubsilver.zip 293 KB 24/10/2002 12:00:00 πμ
File: fisubtext.zip 83 KB 8/12/2002 12:00:00 πμ
File: helius.zip 583 KB 8/3/2003 12:00:00 πμ
File: illusion102.zip 159 KB 30/7/2003 12:00:00 πμ
File: invisionblue.zip 210 KB 13/5/2003 12:00:00 πμ
File: iris_full.zip 436 KB 30/7/2003 12:00:00 πμ
File: jasidog_frames1.1.zip 153 KB 30/7/2003 12:00:00 πμ
File: jasidog_frames1.1_ancien.zip 153 KB 8/3/2003 12:00:00 πμ
File: jenisonband.zip 655 KB 30/7/2003 12:00:00 πμ
File: legend.zip 756 KB 30/7/2003 12:00:00 πμ
File: logica.zip 844 KB 30/7/2003 12:00:00 πμ
File: megagem.rar 178 KB 30/7/2003 12:00:00 πμ
File: mx3D.zip 278 KB 13/5/2003 12:00:00 πμ
File: mx3d.zip 278 KB 30/7/2003 12:00:00 πμ
File: mxForum.zip 444 KB 30/7/2003 12:00:00 πμ
File: mxReloaded.zip 282 KB 30/7/2003 12:00:00 πμ
File: mxSilver.zip 324 KB 30/7/2003 12:00:00 πμ
File: mxSoccer.zip 733 KB 30/7/2003 12:00:00 πμ
File: nPS2.zip 242 KB 13/5/2003 12:00:00 πμ
File: nabernet.zip 247 KB 30/7/2003 12:00:00 πμ
File: odyssey.zip 479 KB 13/5/2003 12:00:00 πμ
File: phpBB.zip 301 KB 30/7/2003 12:00:00 πμ
File: phpbbsilver.zip 587 KB 30/7/2003 12:00:00 πμ
File: phpib2_blue_204_102.zip 186 KB 8/3/2003 12:00:00 πμ
File: pokemon.zip 295 KB 30/7/2003 12:00:00 πμ
File: pokemon_ancien.zip 295 KB 8/3/2003 12:00:00 πμ
File: rainyday.zip 337 KB 30/7/2003 12:00:00 πμ
File: rapstheme.zip 188 KB 30/7/2003 12:00:00 πμ
File: rbwg.zip 250 KB 30/7/2003 12:00:00 πμ
File: runbabyrunv10.zip 213 KB 30/7/2003 12:00:00 πμ
File: smileblue_2.0.1_Final.zip 253 KB 1/11/2002 12:00:00 πμ
File: solaris.zip 310 KB 13/5/2003 12:00:00 πμ
File: stop.zip 166 KB 13/5/2003 12:00:00 πμ
File: subBlack3DBlue.zip 155 KB 30/7/2003 12:00:00 πμ
File: subBlack3dOrg.zip 159 KB 30/7/2003 12:00:00 πμ
File: subBleack.zip 149 KB 30/7/2003 12:00:00 πμ
File: subInvert.zip 267 KB 8/12/2002 12:00:00 πμ
File: subLFMgrey.zip 801 KB 23/10/2002 12:00:00 πμ
File: subLinux.zip 373 KB 30/7/2003 12:00:00 πμ
File: subMarine.zip 304 KB 2/11/2002 12:00:00 πμ
File: subPortal1.00.zip 217 KB 1/11/2002 12:00:00 πμ
File: subSystem2.zip 202 KB 30/7/2003 12:00:00 πμ
File: subbleack.zip 149 KB 13/5/2003 12:00:00 πμ
File: sublinux.zip 444 KB 13/5/2003 12:00:00 πμ
File: subnet.zip 300 KB 8/3/2003 12:00:00 πμ
File: subsystemgreen.zip 211 KB 13/5/2003 12:00:00 πμ
File: subvereor.zip 169 KB 22/1/2003 12:00:00 πμ
File: sunset.zip 205 KB 13/5/2003 12:00:00 πμ
File: syckle.zip 364 KB 30/7/2003 12:00:00 πμ
File: tmlilac.zip 548 KB 30/7/2003 12:00:00 πμ
File: tuning.zip 313 KB 30/7/2003 12:00:00 πμ
File: vice_city.zip 224 KB 13/5/2003 12:00:00 πμ
File: wrc.zip 500 KB 8/3/2003 12:00:00 πμ
File: xmen.zip 167 KB 8/3/2003 12:00:00 πμ
File: xvblack.zip 390 KB 16/11/2002 12:00:00 πμ
File: zoneCopper.zip 176 KB 8/3/2003 12:00:00 πμ
File: zoneSilver.zip 317 KB 8/3/2003 12:00:00 πμ

*ftp://62.39.106.25/phpBB/2.0/styles/

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

HAZIR MODİFİYE PHPBB

Örnek ve kaynak site= http://www.przemo.org/phpBB2/index.php
download = http://www.przemo.org/phpBB2/index.php? ... ll#install

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

BİKAÇ GÜZEL TEMA




http://www.volize.com/files/skyLineBlue.zip





http://www.volize.com/files/skyLineGrey.zip





http://www.volize.com/files/skyLineOrange.zip


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

phpBB için bir güvenlik modu

Biranda çok fazla üye kaydedip saldırı yapmak isteyenlere karşı bir modul...
http://www.phpbb.com/files/mods/proxy107c.zip

Heres a different one,
http://web-professor.net/wp/2005/05/20/ ... -for-phpbb

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

PHPBB 'yi İPB 'ye ÇEVİRMEK

http://rapidshare.de/files/2146337/conv ... 2.zip.html

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

2 TANE SADE TEMA




http://rapidshare.de/files/3751754/phpbb_skins.rar.html

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

TEMALAR ARŞİVİ - DİĞER FORUM ÇEŞİTLERİNİN DE TEMALARI VAR

http://home.no.net/gamex/eh2349237498br ... bfb/skins/

Bu da başka bir tema..

http://rapidshare.de/files/1070613/coba ... B.zip.html

Benden şimdilik bu kadar.. bu mümkünse üst konu olsun vede burda phpbb'nin tüm inceliklerini paylaşalım ve tartışalım...

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

Kod: Tümünü seç

HİDE (GİZLİ EKLENTİ) phpBB 
# Düzenlenecek Dosyalar # 
# 1 - modules/Forums/posting.php # 
# 2 - modules/Forums/viewtopic.php # 
# 3 - modules/Forums/search.php # 
# 4 - includes/topic_review.php # 
# 5 - includes/bbcode.php # 
# 6 - themes/ Temanız /forums/bbcode.tpl # 
# 7 - themes/ Temanız /forums/posting_body.tpl # */ 
/* # 
################################################## ######################## 

-------------------------------------- 
1 - Aciniz modules/Forums/posting.php 
-------------------------------------- 
Bulunuz Aagidaki kodlari 
-------------------------------------- 


Kod: 
if( $attach_sig && $user_sig != '' && $userdata['user_sig_bbcode_uid'] ) 
{ 
$user_sig = bbencode_second_pass($user_sig, $userdata['user_sig_bbcode_uid']); 
} 

if( $bbcode_on ) 
{ 
$preview_message = bbencode_second_pass($preview_message, $bbcode_uid); 
} 


--------------------------------------- 
1-Buldugunuz Kodu Asagidakiyle Degistiriniz 
--------------------------------------- 


Kod: 
$valid = FALSE; 
if( $userdata['session_logged_in'] ) { 
$sql = "SELECT p.poster_id, p.topic_id 
FROM " . POSTS_TABLE . " p 
WHERE p.topic_id = $topic_id 
AND p.poster_id = " . $userdata['user_id']; 
$resultat = $db->sql_query($sql); 
$valid = $db->sql_numrows($resultat) ? TRUE : FALSE;} 

if( $attach_sig && $user_sig != '' && $userdata['user_sig_bbcode_uid'] ) 
{ 
$user_sig = bbencode_second_pass($user_sig, $userdata['user_sig_bbcode_uid']); 
$user_sig = bbencode_third_pass($user_sig, $userdata['user_sig_bbcode_uid'], $valid); 
} 

if( $bbcode_on ) 
{ 
$preview_message = bbencode_second_pass($preview_message, $bbcode_uid); 
$preview_message = bbencode_third_pass($preview_message, $bbcode_uid, $valid); 
} 


-------------------------------------------- 
2-Bulunuz Asagidaki kodlari 
-------------------------------------------- 


Kod: 
if ( !preg_match('/^Re:/', $subject) && strlen($subject) > 0 ) 
{ 
$subject = 'Re: ' . $subject; 
} 


-------------------------------------------- 
2-Buldugunuz kodun bir Altina Ekleyiniz 
-------------------------------------------- 


Kod: 
if( !$userdata['session_logged_in'] ) {$message = hide_in_quote($message);} 
else { $sql = "SELECT p.poster_id, p.topic_id 
FROM " . POSTS_TABLE . " p 
WHERE p.topic_id = $topic_id 
AND p.poster_id = " . $userdata['user_id']; 
$resultat = $db->sql_query($sql); 
if(!$db->sql_numrows($resultat)) {$message = hide_in_quote($message);} 
} 


------------------------------------- 
3- Aciniz modules/Forums/viewtopic.php 
-------------------------------------- 
3- Bulunuz Asagidaki kodlari 
------------------------------------- 


Kod: 
// 
// Generate a 'Show posts in previous x days' select box. If the postdays var is POSTed 
// then get it's value, find the number of topics with dates newer than it (to properly 
// handle pagination) and alter the main query 
// 


--------------------------------------- 
3- Buldugunuz Kodun Bir Altina ekleyiniz 
---------------------------------------- 


Kod: 
$valid = FALSE; 
if( $userdata['session_logged_in'] ) { 
$sql = "SELECT p.poster_id, p.topic_id 
FROM " . POSTS_TABLE . " p 
WHERE p.topic_id = $topic_id 
AND p.poster_id = " . $userdata['user_id']; 
$resultat = $db->sql_query($sql); 
$valid = $db->sql_numrows($resultat) ? TRUE : FALSE;} 



------------------------------------------ 
4- Bulunuz Asagidaki kodlari 
------------------------------------------ 


Kod: 
if ( $user_sig != '' && $user_sig_bbcode_uid != '' ) 
{ 
$user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig); 
} 

if ( $bbcode_uid != '' ) 
{ 
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message); 
} 


---------------------------------------------- 
4- Buldugunuz kodlari asagidakiyle Degistiriniz 
---------------------------------------------- 


Kod: 
if ( $user_sig != '' && $user_sig_bbcode_uid != '' ) 
{ 
$user_sig = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($user_sig, $user_sig_bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $user_sig); 
$user_sig = bbencode_third_pass($user_sig, $user_sig_bbcode_uid, $valid); 
} 

if ( $bbcode_uid != '' ) 
{ 
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message); 
$message = bbencode_third_pass($message, $bbcode_uid, $valid); 
} 


-------------------------------------- 
5 - Aciniz modules/Forums/search.php 
-------------------------------------- 
Bulunuz Asagidaki kodlari 
--------------------------------------- 


Kod: 
// 
// If the board has HTML off but the post has HTML 
// on then we process it, else leave it alone 
// 
if ( $return_chars != -1 ) 



------------------------------------------ 
Buldugunuz kodlari Asagidakiyle Degistiriniz 
------------------------------------------- 


Kod: 
// 
// If the board has HTML off but the post has HTML 
// on then we process it, else leave it alone 
// 
if( $return_chars == -1 ) 



--------------------------------------- 
Bulunuz Asagidaki kodlari 
--------------------------------------- 


Kod: 
if ( $bbcode_uid != '' ) 
{ 
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message); 
} 


------------------------------------------- 
Buldugunuz kodlari Asagidakiyle Degistiriniz 
------------------------------------------- 


Kod: 
if ( $bbcode_uid != '' ) 
{ 
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message); 
$message = bbencode_third_pass($message, $bbcode_uid, FALSE); 
} 


--------------------------------------------- 
Aciniz includes/topic_review.php Dosyasini 
-------------------------------------------- 
Bulunuz asagidaki kodlari 
-------------------------------------------- 


Kod: 
// 
// Okay, let's do the loop, yeah come on baby let's do the loop 
// and it goes like this ... 
// 
if ( $row = $db->sql_fetchrow($result) ) 
{ 


--------------------------------------------------- 
Buldugunuz Kodun Bir Altina ekleyiniz 
--------------------------------------------------- 


Kod: 
$valid = FALSE; 
if( $userdata['session_logged_in'] ) { 
$sql = "SELECT p.poster_id, p.topic_id 
FROM " . POSTS_TABLE . " p 
WHERE p.topic_id = $topic_id 
AND p.poster_id = " . $userdata['user_id']; 
$resultat = $db->sql_query($sql); 
$valid = $db->sql_numrows($resultat) ? TRUE : FALSE;} 



---------------------------------------------------- 
Bulunuz Asagidaki kodlari 
---------------------------------------------------- 


Kod: 
if ( $bbcode_uid != "" ) 
{ 
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message); 
} 


----------------------------------------------------- 
Buldugunuz kodlari Asagidakiyle Degistiriniz 
---------------------------------------------------- 



Kod: 
if ( $bbcode_uid != "" ) 
{ 
$message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, $bbcode_uid) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message); 
$message = bbencode_third_pass($message, $bbcode_uid, $valid); 
} 


-------------------------------------------------- 
5 - Aciniz includes/bbcode.php Dosyasini 
-------------------------------------------------- 
Bulunuz Asagidaki kodlari 
--------------------------------------------------- 



Kod: 
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']); 


------------------------------------------------------------------- 
Buldugunuz Kodun bir Altina ekleiniz 
---------------------------------------------------- 


Kod: 
$bbcode_tpl['show'] = str_replace('{HTEXTE}', '\\1', $bbcode_tpl['show']); 

<fieldset class="fieldset"> 
<legend style="font-size: 16px;"><table style="filter:glow(color=red, strength={option})">- - E F S A N E X - - </table></legend> 
<br /> 
$post[signature] 
</fieldset> 
</div> 

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

PHPBB'ye PUANLAMA SİSTEMİ EKLEME 

arkadaşlar bu mod sayesinde vBulletindeki gibi bir puanlama sistemini phpbb forumunuza kurabilirsiniz ama kurulumu biraz uzun ve zahmetlidir.Ama değicek bir sistem. 

http://bbmod.sourceforge.net/index.php?mode=mod&id=2 

http://phpbb2.de/dload.php?action=file&file_id=51 

Buyrun arkadaşlar 

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

Online/Offline Mod [by savasay] 


################################################################# 
## Mod İsmi: Online/Offline 
## Mod Version: 1.0.0 
## Yapımcı: Unknown Author 
## John B. Abela <abela@phpbb.com> 
## stitch626 
## 
## 
## Yüklenmesi: Kolay 
## Yükleme Süresi: 5 dk 
## Düzenlenicek dosyalar: viewtopic.php 
## templates/xxxx/viewtopic_body.tpl 
## Eklenicel Dosyalar: 
## online.gif 
## offline.gif 
################################################################# 
Sorunlarınızı www.partideyiz.com veya www.phpkolik.com forumlarını kullanınız...... 
####HADE BAŞLAYAK :))))) <<FAZO>> 
# 
#-----[ AÇIN]------------------------------------------ 
# 

modules/Forums/viewtopic.php 

# 
#-----[ BULUN ]------------------------------------------ 
# 

u.user_allowavatar, u.user_allowsmile, 

# 
#-----[ SONRA EKLEYİN ]------------------------------------------ 
# 

u.user_allow_viewonline, u.user_session_time, 

# 
#-----[ BULUN ]------------------------------------------ 
# 

'POSTER_FROM' => $poster_from, 
'POSTER_AVATAR' => $poster_avatar, 

# 
#-----[ SONRA ELEYİN ]------------------------------------------ 

# 
# SADECE YAZI VERSİYONU İÇİN AŞAĞIDAKİ KODU EKLEYİN. 
# 

'POSTER_ONLINE' => (($postrow[$i]['user_session_time'] >= ( time() - 300 )) && ($postrow[$i]['user_allow_viewonline'])) ? '<span style="color:green;">Online</span>' : '<span style="color:red;">Offline</span>', 


# 
#-----[ AÇIN ]------------------------------------------ 
# 

\themes\XXXXXXX\forumsviewtopic_body.tpl 

# 
#-----[ BULUN]------------------------------------------ 
# 

{postrow.POSTER_FROM}</span><br /> 

# 
#-----[ BUNUNLA DEĞİŞTİRİN ]------------------------------------------ 
# 

{postrow.POSTER_FROM}<br /> 
{postrow.POSTER_ONLINE}</span><br /> 



# 
#-----[ TÜM DOSYALARI KAYDEDİN VE GERİ YERLERİNE ATIN. ]------------------------------------------ 

AŞAĞIDAKİ GİF'LERİ YUKARDA BULUNAN İCİNLARIN LİNKLERİNİ HANGİ ADRES'E DEĞİŞTİRDİYSENİZ ORAYA ATIN. 


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

Users of the day (Gün içinde girenlerin listesi)[by savasay] 




######################################################## 
## 
## MOD Title: Users of the day 
## MOD Version: 2.1 
## Author: ZoZo <zozo@etoiles.net> 
## 
## Description: 
## Displays, under the online users list, a list of the registered users 
## who have visited during the last XX hours. Can also display the list 
## of the users who didn't come. (see "Edit below") 
## 
## Installation Level: easy 
## Installation Time: 2-3 minutes 
## 
## Files To Edit: 3 
## - /templates/subSilver/index_body.tpl 
## - /language/lang_english/lang_main.php 
## - /includes/page_header.php 
## 
## Included Files: None 
## 
######################################################## 
## VERSION HISTORY: 
## 
## October 22th 2004: v2.1 
## 1. Now admins are displayed first, then mods then users. 
## 2. Corrected a problem in the text file with Easy Mod Installer. 
## 
## June 20th 2003: v2.0 
## 1. The list's delay is customizable, but you must give a number in hours, 24 by default. 
## 2. There's now a counter for each list. 
## 3. The MOD doesn't display the list of the users who didn't visit by default. 
## 
## October 28th 2002: v1.1 
## 1. The MOD uses the database variable "user_session_time" instead of "user_lastvisit", which is updated only when the user logs out. 
## 
## October 15th 2002: v1.0 
## 1. Created main features. 
## 
######################################################## 
## TODO LIST: 
## 
## 1. Don't restrict the time unit to hours. 
## 
######################################################## 
## PLEASE REPORT ANY BUGS OR SUGGESTIONS ## 
######################################################## 

# 
#-----[ ACTION: open ]--------------------------------- 
# 
/templates/subSilver/index_body.tpl 
# 
#-----[ ACTION: find ]--------------------------------- 
# 
<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td> 
# 
#-----[ ACTION: replace by ]--------------------------- 
# 
<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td> 
# 
#-----[ ACTION: find ]--------------------------------- 
# 
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td> 
# 
#-----[ ACTION: add after ]---------------------------- 
# 
</tr> 
<tr> 
<td class="row1" align="left"><span class="gensmall">{USERS_OF_THE_DAY_LIST}</span></td> 
# 
#-----[ ACTION: repeat for all templates ]------------- 
# 



# 
#-----[ ACTION: open ]-------------------------------- 
# 
/language/lang_english/lang_main.php 
# 
#-----[ ACTION: find ]-------------------------------- 
# 
$lang['Registered_users'] = 'Registered Users:'; 
# 
#-----[ ACTION: add before ]-------------------------- 
# 
$lang['Day_users'] = '%d registered users visit during the last %d hours:'; 
$lang['Not_day_users'] = '%d registered users <span style="color:red">DIDN\'T</span> visit during the last %d hours:'; 
# 
#-----[ ACTION: repeat for all languages ]------------ 
# 



# 
#-----[ ACTION: open ]-------------------------------- 
# 
/includes/page_header.php 
# 
#-----[ ACTION: find ]-------------------------------- 
# 
'LOGGED_IN_USER_LIST' => $online_userlist, 
# 
#-----[ ACTION: add after ]--------------------------- 
# 
'USERS_OF_THE_DAY_LIST' => $day_userlist, 
# 
#-----[ ACTION: find ]-------------------------------- 
# 
// 
// Obtain number of new private messages 
// if user is logged in 
// 
# 
#-----[ ACTION: add before ]-------------------------- 
# 
// 
// Users of the day MOD 
// 

// ############ Edit below ############ 
// # 
$display_not_day_userlist = 0; // change to 1 here if you also want the list of the users who didn't visit to be displayed 
$users_list_delay = 24; // change here to the number of hours wanted for the list 
// # 
// ############ Edit above ############ 

$sql = "SELECT user_id, username, user_allow_viewonline, user_level, user_session_time 
FROM ".USERS_TABLE." 
WHERE user_id > 0 
ORDER BY IF(user_level=1,3,user_level) DESC, username ASC"; 
if( !($result = $db->sql_query($sql)) ) 
{ 
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql); 
} 

$day_userlist = ''; 
$day_users = 0; 
$not_day_userlist = ''; 
$not_day_users = 0; 

while( $row = $db->sql_fetchrow($result) ) 
{ 
$style_color = ''; 
if ( $row['user_level'] == ADMIN ) 
{ 
$row['username'] = '<b>' . $row['username'] . '</b>'; 
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"'; 
} 
else if ( $row['user_level'] == MOD ) 
{ 
$row['username'] = '<b>' . $row['username'] . '</b>'; 
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"'; 
} 
if ( $row['user_allow_viewonline'] ) 
{ 
$user_day_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>'; 
} 
else 
{ 
$user_day_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>'; 
} 
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN ) 
{ 
if ( $row['user_session_time'] >= ( time() - $users_list_delay * 3600 ) ) 
{ 
$day_userlist .= ( $day_userlist != '' ) ? ', ' . $user_day_link : $user_day_link; 
$day_users++; 
} 
else 
{ 
$not_day_userlist .= ( $not_day_userlist != '' ) ? ', ' . $user_day_link : $user_day_link; 
$not_day_users++; 
} 
} 
} 

$day_userlist = ( ( isset($forum_id) ) ? '' : sprintf($lang['Day_users'], $day_users, $users_list_delay) ) . ' ' . $day_userlist; 

$not_day_userlist = ( ( isset($forum_id) ) ? '' : sprintf($lang['Not_day_users'], $not_day_users, $users_list_delay) ) . ' ' . $not_day_userlist; 

if ( $display_not_day_userlist ) 
{ 
$day_userlist .= '<br />' . $not_day_userlist; 
} 

// 
// End of MOD 
// 



# 
#-----[ ACTION: save/close all ]---------------------- 
# 

# 
#-----[ ACTION: upload the modified files ]----------- 
# 

# 
#-----[ ACTION: enjoy ]------------------------------- 
# 

# 
#-----[ PLEASE REPORT ANY BUGS OR SUGGESTIONS]-------- 
Kolay geLsin arkadasLaR aradıklarınızı bulursunuz umarım
Kullanıcı avatarı
maXi
Alt Yapı Ekibi Lideri
Alt Yapı Ekibi Lideri
Mesajlar: 72
Kayıt: 19.09.2005, 01:34
Konum: dünyanın bir ucundan
İletişim:

Mesaj gönderen maXi »

Güzel Paylaşım ferdi tebrikler
Kullanıcı avatarı
Okan
Kayıtlı Kullanıcı
Mesajlar: 9
Kayıt: 24.11.2005, 11:15

Mesaj gönderen Okan »

Güzel Paylaşım Teşekkürler Arkadaşım
Kullanıcı avatarı
BLacK
Kayıtlı Kullanıcı
Mesajlar: 77
Kayıt: 22.09.2005, 11:48
Konum: Orion takım yıLdızı 17. böLge ana hoLografik Ust, titan
İletişim:

Mesaj gönderen BLacK »

Eline sağlıkta bu bir alıntı ise eğer kaynağını belirtirseniz seviniriz
Sonuçta yarın bir gün bizim ordan şunu çaldılar buraya koydular olayının olmasını istemeyiz
phpBB Turkey - phpBB Türkçe yardım ve destek platformu

Özel mesaj ile yardım istemeyiniz ve Kuralları okuyunuz..
Kilitli

“2.0.x Destek Forumu” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 0 misafir