Arama butonu
Bu konudaki kullanıcılar: 1 misafir
39
Cevap
1833
Tıklama
0
Öne Çıkarma
░▒▓ PhpBB Topic'i ▓▒░
S
19 yıl
Yarbay
Konu Sahibi

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/ipbphpbbmulti1.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:
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:
< Resime gitmek için tıklayın >

< Resime gitmek için tıklayın >


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

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/PHPBB.2.x.Skins.Packed-SGT_NICK.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/PHPBB.2.x.Skins.Update.1.Packed-SGT_NICK.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?page=install#install

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

BİKAÇ GÜZEL TEMA

< Resime gitmek için tıklayın >

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


< Resime gitmek için tıklayın >

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


< Resime gitmek için tıklayın >

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/block-anonymous-proxies-mod-for-phpbb

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

PHPBB 'yi İPB 'ye ÇEVİRMEK

http://rapidshare.de/files/2146337/conv_phpbb_ipb2.zip.html

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

2 TANE SADE TEMA

< Resime gitmek için tıklayın > < Resime gitmek için tıklayın >


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/eh2349237498brjbwurbiu32u4bfi32hf23bfb/skins/

Bu da başka bir tema..

http://rapidshare.de/files/1070613/cobalt_PHPBB.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...

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

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]--------
#





< Bu mesaj bu kişi tarafından değiştirildi SchzophreniC -- 25 Eylül 2005, 18:31:17 >

C
19 yıl
Binbaşı

Tipik bir Batu örneği. Sağol.


Bu mesaja 2 cevap geldi.
E
19 yıl
Yarbay

Güzel paylaşım, saolasın...



S
19 yıl
Yarbay
Konu Sahibi

eywallah saol..





< Bu mesaj bu kişi tarafından değiştirildi SchzophreniC -- 25 Eylül 2005, 17:45:20 >
Bu mesaja 1 cevap geldi.
E
19 yıl
Yarbay

quote:

Orjinalden alıntı: ShzophreniC

eywallah saol..


SSS yaptım ama düşünüyorum üst konuyu, yaparız bi ara

güzel kaynak oldu...


Bu mesaja 2 cevap geldi.
S
19 yıl
Yarbay
Konu Sahibi

quote:

Orjinalden alıntı: SaintEagle

quote:

Orjinalden alıntı: ShzophreniC

eywallah saol..


SSS yaptım ama düşünüyorum üst konuyu, yaparız bi ara

güzel kaynak oldu...


saolasın...



E
19 yıl
Yarbay

güzel kaynak,sağolasın, bende fırsat ve zaman buldukça eklerim bişeyler


Bu mesaja 1 cevap geldi.
E
19 yıl
Yarbay

Online/Offline Mod

#################################################################  
## 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.


Bu mesaja 1 cevap geldi.
S
19 yıl
Yarbay
Konu Sahibi

E
19 yıl
Yarbay



Users of the day (Gün içinde girenlerin listesi)


########################################################
##
## 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]--------
#


Bu mesaja 1 cevap geldi.
S
19 yıl
Yarbay
Konu Sahibi

E
19 yıl
Yarbay




Dün Bugün (today yesterday)


##############################################################
## MOD Title: frinendly date
## MOD Author: vegatron <webmaster@vega.4t.com> - <www.jam3a.tk -www.alhandasa.net> (arabic sites)
## MOD Description:
## This mod will replace the date with the word 'Today' or 'Yesterday' for the posts that are posted on today or yesterday,
## which will make the date look more friendly.
##
## MOD Version: 1.0
##
## PHPBB Version: 2.0.0+
## Installation Level: easy
## Installation Time: ~ 1 Minutes
## Files To Edit: 1
## includes/functions.php
##
## Included Files: N/A
##
##############################################################
## Author's Notes:
##
## The form of the displayed date is 'Today/yesterday - h:i a" ,so in case you wanted to change the date format
## all you have to do is to edit the variable '$time_format'
##
## This MOD is released under the GPL License.
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php

#
#-----[ FIND ]------------------------------------------
#
return ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz));

#
#-----[ REPLACE WITH ]-----------------------------------
#

// friendly date mod\\*******************

$thetime = ( !empty($translate) ) ? strtr(@gmdate($format, $gmepoch + (3600 * $tz)), $translate) : @gmdate($format, $gmepoch + (3600 * $tz));

$L_Today = 'Today';
$L_Yesterday = 'Yesterday';
$time_format = " - h:i a";// - hour:minute am/pm

$date = getdate();
$today = $date['mday'];
$month = $date['mon'];
$year = $date['year'];

$forum_date_today = @gmdate ("d", $gmepoch);
$forum_date_month = @gmdate ("m", $gmepoch);
$forum_date_year = @gmdate ("Y", $gmepoch);

if ($forum_date_today == $today && $forum_date_month == $month && $forum_date_year == $year)
$thetime = $L_Today . @gmdate ($time_format, $gmepoch);//today

else
if ($today != 1 && $forum_date_today == ($today-1) && $forum_date_month == $month && $forum_date_year == $year)
$thetime = $L_Yesterday . @gmdate ($time_format, $gmepoch);//yesterday

else
//if today is 1 and the month is not 1, then we have to check how many days in the previews month
//and then set $yesterday to the last day in the previews month
if ($today == 1 && $month != 1)
{
$yesterday = date ("t", mktime(0,0,0,($month-1),1,$year));//returns how many days in the previews month
if ($forum_date_today == $yesterday && $forum_date_month == ($month-1) && $forum_date_year == $year)
$thetime = $L_Yesterday . @gmdate ($time_format, $gmepoch);//yesterday
}
else
//if we are in the first day in the year
if ($today == 1 && $month == 1)
{
$yesterday = date ("t", mktime(0,0,0,12,1,($year -1)));
if ($forum_date_today == $yesterday && $forum_date_month == 12 && $forum_date_year == ($year-1))
$thetime = $L_Yesterday . @gmdate ($time_format, $gmepoch);//yesterday
}

return ($thetime);
//end friendly date \\*******************************

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
# EoM


Bu mesaja 3 cevap geldi.
T
19 yıl
Yüzbaşı

Saolun dostlar elinize sağlık birde hızlı cevap modülü verirseniz iyi olur.



B
19 yıl
Yüzbaşı

SubForum Kurulumu Buyrun...


##############################################################

#################################################################
## MOD Başlık: Simple subforums mod
## MOD Yazar: CyberAlien <no@public.email> (CyberAlien)http://www.phpbbstyles.com
## Türkçe Kurulum :Www.Webcix.Com Mustafa BAŞ // webmaster@webcix.com
## MOD Açıklama:
## This mod is a simple subforums mod that doesn't
## include any useless extras and doesn't modify
## your forum database. It supports only one level
## deep subforums that should be enough for most
## forums.
## MOD Sürüm: 0.0.4
##
## Kurulum zorluğu: Intermediate
## Kurulum süresi: 10 Dakika
## Düzenlenecek dosyalar (12): admin/admin_forums.php,
## includes/functions.php,
## language/lang_english/lang_main.php,
## templates/subSilver/admin/forum_admin_body.tpl,
## templates/subSilver/index_body.tpl,
## templates/subSilver/overall_header.tpl,
## templates/subSilver/subSilver.cfg,
## templates/subSilver/viewforum_body.tpl,
## templates/subSilver/viewtopic_body.tpl,
## index.php,
## viewforum.php,
## viewtopic.php
## Included Files (2): templates/subSilver/images/folders_big.gif
## templates/subSilver/images/folders_new_big.gif
##############################################################
## 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/
##############################################################
## Yazar notları:
##
##
## Important:
##
## This mod requires eXtreme Styles mod version 2.x
## Download latest version onhttp://www.phpbbstyles.com
##
## /***************************************************************************
## *
## * This program is free software; you can redistribute it and/or modify
## * it under the terms of the GNU General Public License as published by
## * the Free Software Foundation; either version 2 of the License, or
## * (at your option) any later version.
## *
## ***************************************************************************/
##
##############################################################
## Bu modu eklemeden önce lütfen dosyaların yedeğini alınız.
##############################################################

#
#-----[ SQL SORGUSU ]------------------------------------------
#

ALTER TABLE `phpbb_forums` ADD forum_parent INT NOT NULL DEFAULT '0';

#
#-----[ KOPYALA ]------------------------------------------
#

copy upload/templates/subSilver/images/folders_big.gif to templates/subSilver/images/folders_big.gif
copy upload/templates/subSilver/images/folders_new_big.gif to templates/subSilver/images/folders_new_big.gif

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

admin/admin_forums.php

#
#-----[ BUL ]------------------------------------------
# Line 168

function renumber_order($mode, $cat = 0)
{

#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

function get_list_cat($id, $parent, $forum_id)
{
global $db;

// get categories
$sql = "SELECT * FROM " . CATEGORIES_TABLE . " ORDER BY cat_order ASC";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get list of categories", "", __LINE__, __FILE__, $sql);
}
$cat_list = array();
while( $row = $db->sql_fetchrow($result) )
{
$cat_list[] = $row;
}
$db->sql_freeresult($result);

// get all forums and check if forum has subforums
$has_sub = false;
$sql = "SELECT forum_id, cat_id, forum_name, forum_parent FROM " . FORUMS_TABLE . " ORDER BY forum_order ASC";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't get list of forums", "", __LINE__, __FILE__, $sql);
}
$forums_list = array();
while( $row = $db->sql_fetchrow($result) )
{
if($row['forum_parent'] > 0 && $row['forum_parent'] == $forum_id)
{
$has_sub = true;
}
if(!$row['forum_parent'])
{
$forums_list[] = $row;
}
}
$db->sql_freeresult($result);


// generate select
for($i=0; $i<count($cat_list); $i++)
{
$cat_id = $cat_list[$i]['cat_id'];
$selected = $id == $cat_id && $parent == 0 ? ' selected="selected"' : ';
$str .= '<option value="' . $cat_id . "' . $selected . '>' . $cat_list[$i]['cat_title'] . '</option>';
if(!$has_sub)
{
for($j=0; $j<count($forums_list); $j++)
{
if($forums_list[$j]['cat_id'] == $cat_id)
{
$forum_id = $forums_list[$j]['forum_id'];
$selected = $id == $cat_id && $parent == $forum_id ? ' selected="selected"' : ';
$str .= '<option value="' . $cat_id . ',' . $forum_id . "' . $selected . '>- ' . $forums_list[$j]['forum_name'] . '</option>';
}
}
}
}
return $str;
}

#
#-----[ BUL ]------------------------------------------
# Line 324

$row = get_info('forum', $forum_id);

$cat_id = $row['cat_id'];

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$parent_id = $row['forum_parent'];

#
#-----[ BUL ]------------------------------------------
# Line 359

$forumdesc = ';
$forumstatus = FORUM_UNLOCKED;
$forum_id = ';
$prune_enabled = ';

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$parent_id = 0;

#
#-----[ BUL ]------------------------------------------
# Line 366

$catlist = get_list('category', $cat_id, TRUE);

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

// $catlist = get_list('category', $cat_id, TRUE);
$catlist = get_list_cat($cat_id, $parent_id, $forum_id);

#
#-----[ BUL ]------------------------------------------
# Line 458

// There is no problem having duplicate forum names so we won't check for it.

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$list = explode(',', $HTTP_POST_VARS[POST_CAT_URL]);
$new_cat = count($list) ? intval($list[0]) : intval($HTTP_POST_VARS[POST_CAT_URL]);
$new_parent = isset($list[1]) ? intval($list[1]) : 0;

#
#-----[ BUL ]------------------------------------------
# Line 463

$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name,

#
#-----[ SATIRDA BUL ]------------------------------------------
#

cat_id,

#
#-----[ HEMEN YANINA EKLE ]------------------------------------------
#

forum_parent,

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

, " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ",

#
#-----[ SATIR İÇİNDE, ile DEĞİŞTİR ]------------------------------------------
#

, '{$new_cat}', '{$new_parent}',

#
#-----[ BUL ]------------------------------------------
# Line 492

case 'modforum':
// Modify a forum in the DB

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$list = explode(',', $HTTP_POST_VARS[POST_CAT_URL]);
$new_cat = count($list) ? intval($list[0]) : intval($HTTP_POST_VARS[POST_CAT_URL]);
$new_parent = isset($list[1]) ? intval($list[1]) : 0;

#
#-----[ BUL ]------------------------------------------
# Line 507

SET forum_name = " . str_replace("", "", $HTTP_POST_VARS['forumname']) . "',

#
#-----[ YAKINLARINDA ARA ]------------------------------------------
#

cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ",

#
#-----[ SATIR İÇİNDE, ile DEĞİŞTİR ]------------------------------------------
#

cat_id = '$new_cat', forum_parent = '{$new_parent}',

#
#-----[ BUL ]------------------------------------------
# Line 1070

if ($forum_rows[$j]['cat_id'] == $cat_id)

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

if ($forum_rows[$j]['cat_id'] == $cat_id && $forum_rows[$j]['forum_parent'] == 0)

#
#-----[ BUL ]------------------------------------------
# Line 1088

}// if ... forumid == catid

} // for ... forums

#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

for($k = 0; $k < $total_forums; $k++)
{
$forum_id2 = $forum_rows[$k]['forum_id'];
if ($forum_rows[$k]['forum_parent'] == $forum_id)
{
$template->assign_block_vars("catrow.forumrow", array(
'FORUM_NAME' => $forum_rows[$k]['forum_name'],
'FORUM_DESC' => $forum_rows[$k]['forum_desc'],
'ROW_COLOR' => $row_color,
'NUM_TOPICS' => $forum_rows[$k]['forum_topics'],
'NUM_POSTS' => $forum_rows[$k]['forum_posts'],
'STYLE' => ' style="padding-left: 20px;" ',

'U_VIEWFORUM' => append_sid($phpbb_root_path."viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id2"),
'U_FORUM_EDIT' => append_sid("admin_forums.$phpEx?mode=editforum&" . POST_FORUM_URL . "=$forum_id2"),
'U_FORUM_DELETE' => append_sid("admin_forums.$phpEx?mode=deleteforum&" . POST_FORUM_URL . "=$forum_id2"),
'U_FORUM_MOVE_UP' => append_sid("admin_forums.$phpEx?mode=forum_order&move=-15&" . POST_FORUM_URL . "=$forum_id2"),
'U_FORUM_MOVE_DOWN' => append_sid("admin_forums.$phpEx?mode=forum_order&move=15&" . POST_FORUM_URL . "=$forum_id2"),
'U_FORUM_RESYNC' => append_sid("admin_forums.$phpEx?mode=forum_sync&" . POST_FORUM_URL . "=$forum_id2"))
);

}

} // for ... forums

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

includes/functions.php

#
#-----[ BUL ]------------------------------------------
# Line 141

function make_jumpbox($action, $match_forum_id = 0)

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

{
$list = array();
return make_jumpbox_ref($action, $match_forum_id, $list);
}

function make_jumpbox_ref($action, $match_forum_id, &$forums_list)

#
#-----[ BUL ]------------------------------------------
# Line 182

while ( $row = $db->sql_fetchrow($result) )
{
$forum_rows[] = $row;

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$forums_list[] = $row;

#
#-----[ BUL ]------------------------------------------
# Line 195

if ( $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$j]['auth_view'] <= AUTH_REG )
{

// if ( $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $is_auth[$forum_rows[$j]['forum_id']]['auth_view'] )
// {

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

if ( !$forum_rows[$j]['forum_parent'] && $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$j]['auth_view'] <= AUTH_REG )
{

// if ( !$forum_rows[$j]['forum_parent'] && $forum_rows[$j]['cat_id'] == $category_rows[$i]['cat_id'] && $is_auth[$forum_rows[$j]['forum_id']]['auth_view'] )
// {
$id = $forum_rows[$j]['forum_id'];

#
#-----[ BUL ]------------------------------------------
# Line 208

$nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
'title' => $forum_rows[$j]['forum_name']
);

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

for($k = 0; $k < $total_forums; $k++)
{
if ( $forum_rows[$k]['forum_parent'] == $id && $forum_rows[$k]['cat_id'] == $category_rows[$i]['cat_id'] && $forum_rows[$k]['auth_view'] <= AUTH_REG )
{
// if ( $forum_rows[$k]['forum_parent'] == $id && $forum_rows[$k]['cat_id'] == $category_rows[$i]['cat_id'] && $is_auth[$forum_rows[$k]['forum_id']]['auth_view'] )
// {
$selected = ( $forum_rows[$k]['forum_id'] == $match_forum_id ) ? 'selected="selected"' : ';
$boxstring_forums .= '<option value="' . $forum_rows[$k]['forum_id'] . "' . $selected . '>-- ' . $forum_rows[$k]['forum_name'] . '</option>';

//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
);

}
}

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

language/lang_english/lang_main.php

#
#-----[ BUL ]------------------------------------------
# Line 1023

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

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$lang['Subforums'] = 'AltForumlar';

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

templates/subSilver/admin/forum_admin_body.tpl

#
#-----[ BUL ]------------------------------------------
# Line 20

<td class="row2"><span class="gen"><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={catrow.forumrow.U_VIEWFORUM}" target="_new" data-href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br /><span class="gensmall">{catrow.forumrow.FORUM_DESC}</span></td>

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

<td class="row2"{catrow.forumrow.STYLE}><span class="gen"><a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={catrow.forumrow.U_VIEWFORUM}" target="_new" data-href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br /><span class="gensmall">{catrow.forumrow.FORUM_DESC}</span></td>

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

templates/subSilver/index_body.tpl

#
#-----[ BUL ]------------------------------------------
# Line 28

<!-- BEGIN forumrow -->

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

<!-- BEGIN forumrow --><!-- IF ! forumrow.PARENT -->

#
#-----[ BUL ]------------------------------------------
# Line 31

<td class="row1" width="100%" height="50"><span class="forumlink">

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

href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink"

#
#-----[ SATIR İÇİNDE, ile DEĞİŞTİR ]------------------------------------------
#

href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink<!-- IF catrow.forumrow.TOTAL_UNREAD --> topic-new<!-- ENDIF -->"

#
#-----[ BUL ]------------------------------------------
# Line 33

</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

</span><!-- IF catrow.forumrow.MODERATORS --><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!-- ENDIF -->
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}" data-href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</td>

#
#-----[ BUL ]------------------------------------------
#

<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>

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

{catrow.forumrow.TOPICS}

#
#-----[ SATIR İÇİNDE, ile DEĞİŞTİR ]------------------------------------------
#

{catrow.forumrow.TOTAL_TOPICS}

#
#-----[ BUL ]------------------------------------------
#

<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>

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

{catrow.forumrow.POSTS}

#
#-----[ SATIR İÇİNDE, ile DEĞİŞTİR ]------------------------------------------
#

{catrow.forumrow.TOTAL_POSTS}

#
#-----[ BUL ]------------------------------------------
# Line 41

<!-- END forumrow -->

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

<!-- ENDIF --><!-- END forumrow -->

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

templates/subSilver/overall_header.tpl

#
#-----[ BUL ]------------------------------------------
# Line 209

@import url("templates/subSilver/formIE.css");

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

/* Simple subforums mod */
a.topic-new, a.topic-new:visited { color: {T_BODY_HLINK}; }
a.topic-new:hover, a.topic-new:active { color: {T_BODY_LINK}; }

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

templates/subSilver/subSilver.cfg

#
#-----[ BUL ]------------------------------------------
# Line 49

$images['forum_locked'] = "$current_template_images/folder_locked_big.gif";

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$images['forums'] = "$current_template_images/folders_big.gif";
$images['forums_new'] = "$current_template_images/folders_new_big.gif";

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

templates/subSilver/viewforum_body.tpl

#
#-----[ BUL ]------------------------------------------
# Line 10

<td align="left" valign="middle" class="nav" width="100%"><span class="nav">   <a href="{U_INDEX}"

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

<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={U_INDEX}" class="nav" data-href="{U_INDEX}" class="nav">{L_INDEX}</a>

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

<!-- IF PARENT_FORUM --> -> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={U_VIEW_PARENT_FORUM}" data-href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a> <!-- ENDIF -->

#
#-----[ BUL ]------------------------------------------
# Line 15

<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap"> {L_TOPICS} </th>

#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {catrow.CAT_DESC} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={catrow.forumrow.U_VIEWFORUM}" class="forumlink<!-- IF catrow.forumrow.UNREAD --> topic-new<!-- ENDIF -->" data-href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink<!-- IF catrow.forumrow.UNREAD --> topic-new<!-- ENDIF -->">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table>
<br />
<!-- END catrow -->

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

templates/subSilver/viewtopic_body.tpl

#
#-----[ BUL ]------------------------------------------
# Line 13

<td align="left" valign="middle" width="100%"><span class="nav">   <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={U_INDEX}" class="nav" data-href="{U_INDEX}" class="nav">{L_INDEX}</a>

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

<!-- IF PARENT_FORUM --> -> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url={U_VIEW_PARENT_FORUM}" data-href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->

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

index.php

#
#-----[ BUL ]------------------------------------------
# Line 125

if( ( $total_categories = count($category_rows) ) )
{

#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

$subforums_list = array();

#
#-----[ BUL ]------------------------------------------
# Line 278

'L_FORUM' => $lang['Forum'],

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

'L_SUBFORUMS' => $lang['Subforums'],

#
#-----[ BUL ]------------------------------------------
# Line 341

$folder_image = $images['forum_locked'];
$folder_alt = $lang['Forum_locked'];

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$unread_topics = false;
$folder_images = array(
'default' => $folder_image,
'new' => $images['forum_locked'],
'sub' => isset($images['forums_locked']) ? $images['forums_locked'] : $images['forum_locked'],
'subnew' => isset($images['forums_locked']) ? $images['forums_locked'] : $images['forum_locked'],
'subalt' => $lang['Forum_locked'],
'subaltnew' => $lang['Forum_locked'],
);

#
#-----[ BUL ]------------------------------------------
# Line 399

$folder_image = ( $unread_topics ) ? $images['forum_new'] : $images['forum'];
$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

$folder_images = array(
'default' => $folder_image,
'new' => $images['forum_new'],
'sub' => isset($images['forums']) ? $images['forums'] : $images['forum'],
'subnew' => isset($images['forums_new']) ? $images['forums_new'] : $images['forum_new'],
'subalt' => $lang['No_new_posts'],
'subaltnew' => $lang['New_posts'],
);

#
#-----[ BUL ]------------------------------------------
# Line 424

}
else
{
$last_post = $lang['No_Posts'];
}

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

$last_post_sub = '<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . " data-href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . "><img src="' . ($unread_topics ? $images['icon_newest_reply'] : $images['icon_latest_reply']) . " border="0" alt="' . $lang['View_latest_post'] . " title="' . $lang['View_latest_post'] . " /></a>';
$last_post_time = $forum_data[$j]['post_time'];
}
else
{
$last_post = $lang['No_Posts'];
$last_post_sub = '<img src="' . $images['icon_minipost'] . " border="0" alt="' . $lang['No_Posts'] . " title="' . $lang['No_Posts'] . " />';
$last_post_time = 0;
}

#
#-----[ BUL ]------------------------------------------
# Line 442

$moderator_list = ' ';

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

$moderator_list = ';

#
#-----[ BUL ]------------------------------------------
# Line 462

'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

'FORUM_FOLDERS' => serialize($folder_images),
'HAS_SUBFORUMS' => 0,
'PARENT' => $forum_data[$j]['forum_parent'],
'ID' => $forum_data[$j]['forum_id'],
'UNREAD' => intval($unread_topics),
'TOTAL_UNREAD' => intval($unread_topics),
'TOTAL_POSTS' => $forum_data[$j]['forum_posts'],
'TOTAL_TOPICS' => $forum_data[$j]['forum_topics'],
'LAST_POST_FORUM' => $last_post,
'LAST_POST_TIME' => $last_post_time,
'LAST_POST_TIME_FORUM' => $last_post_time,

'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id"))
);

if($forum_data[$j]['forum_parent'])
{
$subforums_list[] = array(
'forum_data' => $forum_data[$j],
'folder_image' => $folder_image,
'last_post' => $last_post,
'last_post_sub' => $last_post_sub,
'moderator_list' => $moderator_list,
'unread_topics' => $unread_topics,
'l_moderators' => $l_moderators,
'folder_alt' => $folder_alt,
'last_post_time' => $last_post_time,
'desc' => $forum_data[$j]['forum_desc'],
);
}

#
#-----[ BUL ]------------------------------------------
# Line 500

else
{
message_die(GENERAL_MESSAGE, $lang['No_forums']);
}

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

unset($data);
unset($item);
for($i=0; $i<count($subforums_list); $i++)
{
$forum_data = $subforums_list[$i]['forum_data'];
$cat_id = $forum_data['cat_id'];
$parent_id = $forum_data['forum_parent'];
// find parent category
if(isset($template->_tpldata['catrow.']))
{
$data = &$template->_tpldata['catrow.'];
$count = count($data);
for($j=0; $j<$count; $j++)
{
if($data[$j]['CAT_ID'] == $cat_id)
{
$item = &$data[$j];
}
}
}
if(isset($item))
{
$data = &$item['forumrow.'];
unset($item);
$count = count($data);
for($j=0; $j<$count; $j++)
{
if($data[$j]['ID'] == $parent_id)
{
$item = &$data[$j];
}
}
}
if(isset($item))
{
if(isset($item['sub.']))
{
$num = count($item['sub.']);
$data = &$item['sub.'];
}
else
{
$num = 0;
$item[] = 'sub.';
$data = &$item['sub.'];
}
// append new entry
$data[] = array(
'NUM' => $num,
'FORUM_FOLDER_IMG' => $subforums_list[$i]['folder_image'],
'FORUM_NAME' => $forum_data['forum_name'],
'FORUM_DESC' => $forum_data['forum_desc'],
'FORUM_DESC_HTML' => htmlspecialchars(preg_replace('@<['/'!]*?[^<>]*?>@si', ', $forum_data['forum_desc'])),
'POSTS' => $forum_data['forum_posts'],
'TOPICS' => $forum_data['forum_topics'],
'LAST_POST' => $subforums_list[$i]['last_post'],
'LAST_POST_SUB' => $subforums_list[$i]['last_post_sub'],
'LAST_TOPIC' => $forum_data['topic_title'],
'MODERATORS' => $subforums_list[$i]['moderator_list'],
'PARENT' => $forum_data['forum_parent'],
'ID' => $forum_data['forum_id'],
'UNREAD' => intval($subforums_list[$i]['unread_topics']),

'L_MODERATOR' => $subforums_list[$i]['l_moderators'],
'L_FORUM_FOLDER_ALT' => $subforums_list[$i]['folder_alt'],

'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . '=' . $forum_data['forum_id'])
);
$item['HAS_SUBFORUMS'] ++;
$item['TOTAL_UNREAD'] += intval($subforums_list[$i]['unread_topics']);
// change folder image
$images = unserialize($item['FORUM_FOLDERS']);
$item['FORUM_FOLDER_IMG'] = $item['TOTAL_UNREAD'] ? $images['subnew'] : $images['sub'];
$item['L_FORUM_FOLDER_ALT'] = $item['TOTAL_UNREAD'] ? $images['subaltnew'] : $images['subalt'];
// check last post
if($item['LAST_POST_TIME'] < $subforums_list[$i]['last_post_time'])
{
$item['LAST_POST'] = $subforums_list[$i]['last_post'];
$item['LAST_POST_TIME'] = $subforums_list[$i]['last_post_time'];
}
if(!$item['LAST_POST_TIME_FORUM'])
{
$item['LAST_POST_FORUM'] = $item['LAST_POST'];
}
// add topics/posts
$item['TOTAL_POSTS'] += $forum_data['forum_posts'];
$item['TOTAL_TOPICS'] += $forum_data['forum_topics'];
}
unset($item);
unset($data);
}

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

viewforum.php

#
#-----[ BUL ]------------------------------------------
# Line 122

if ( $mark_read == 'topics' )
{
if ( $userdata['session_logged_in'] )
{

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

if ( $mark_read == 'topics' )
{
// begin - simple subforums - mark forum
$mark_list = isset($HTTP_GET_VARS['mark_list']) ? explode(',', $HTTP_GET_VARS['mark_list']) : array($forum_id);
$old_forum_id = $forum_id;
if ( $userdata['session_logged_in'] )
{
$set_cookie = false;
for($i=0; $i<count($mark_list); $i++)
{
$forum_id = intval($mark_list[$i]);
// end - simple subforums - mark forum

#
#-----[ BUL ]------------------------------------------
# Line 157

setcookie($board_config['cookie_name'] . '_f', serialize($tracking_forums), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

// begin - simple subforums - mark forum
$set_cookie = true;
if(isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f']))
{
$HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f'] = serialize($tracking_forums);
}
// end - simple subforums - mark forum

#
#-----[ BUL ]------------------------------------------
# Line 167

$template->assign_vars(array(
'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . ">')
);


#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

// begin - simple subforums - mark forum
$db->sql_freeresult($result);
}
if($set_cookie)
{
setcookie($board_config['cookie_name'] . '_f', serialize($tracking_forums), 0, $board_config['cookie_path'], $board_config['cookie_domain'], $board_config['cookie_secure']);
}
$forum_id = $old_forum_id;
// end - simple subforums - mark forum

#
#-----[ BUL ]------------------------------------------
# Line 419

make_jumpbox('viewforum.'.$phpEx);

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

$all_forums = array();
make_jumpbox_ref('viewforum.'.$phpEx, $forum_id, $all_forums);

#
#-----[ BUL ]------------------------------------------
# Line 439

'L_TOPICS' => $lang['Topics'],

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

'L_FORUM' => $lang['Forum'],

#
#-----[ BUL ]------------------------------------------
# Line 466

//
// End header
//

#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

if($forum_row['forum_parent'])
{
$parent_id = $forum_row['forum_parent'];
for($i=0; $i<count($all_forums); $i++)
{
if($all_forums[$i]['forum_id'] == $parent_id)
{
$template->assign_vars(array(
'PARENT_FORUM' => 1,
'U_VIEW_PARENT_FORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL .'=' . $all_forums[$i]['forum_id']),
'PARENT_FORUM_NAME' => $all_forums[$i]['forum_name'],
));
}
}
}
else
{
$sub_list = array();
for($i=0; $i<count($all_forums); $i++)
{
if($all_forums[$i]['forum_parent'] == $forum_id)
{
$sub_list[] = $all_forums[$i]['forum_id'];
}
}
if(count($sub_list))
{
$sub_list[] = $forum_id;
$template->vars['U_MARK_READ'] .= '&mark_list=' . implode(',', $sub_list);
}
}

#
#-----[ BUL ]------------------------------------------
# Line 744

//
// Parse the page and print
//

#
#-----[ ÖNCESİNE EKLE ]------------------------------------------
#

//
// Subforums
//
switch(SQL_LAYER)
{
case 'postgresql':
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
WHERE p.post_id = f.forum_last_post_id
AND u.user_id = p.poster_id
AND f.forum_parent = '{$forum_id}'
UNION (
SELECT f.*, NULL, NULL, NULL, NULL
FROM " . FORUMS_TABLE . " f
WHERE NOT EXISTS (
SELECT p.post_time
FROM " . POSTS_TABLE . " p
WHERE p.post_id = f.forum_last_post_id
)
)
ORDER BY cat_id, forum_order";
break;

case 'oracle':
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM " . FORUMS_TABLE . " f, " . POSTS_TABLE . " p, " . USERS_TABLE . " u
WHERE p.post_id = f.forum_last_post_id(+)
AND u.user_id = p.poster_id(+)
AND f.forum_parent = '{$forum_id}'
ORDER BY f.cat_id, f.forum_order";
break;

default:
$sql = "SELECT f.*, p.post_time, p.post_username, u.username, u.user_id
FROM (( " . FORUMS_TABLE . " f
LEFT JOIN " . POSTS_TABLE . " p ON p.post_id = f.forum_last_post_id )
LEFT JOIN " . USERS_TABLE . " u ON u.user_id = p.poster_id )
WHERE f.forum_parent = '{$forum_id}'
ORDER BY f.cat_id, f.forum_order";
break;
}
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query subforums information', ', __LINE__, __FILE__, $sql);
}

$subforum_data = array();
while( $row = $db->sql_fetchrow($result) )
{
$subforum_data[] = $row;
}
$db->sql_freeresult($result);

if ( ($total_forums = count($subforum_data)) > 0 )
{
//
// Find which forums are visible for this user
//
$is_auth_ary = array();
$is_auth_ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata, $subforum_data);

$display_forums = false;
for($j = 0; $j < $total_forums; $j++)
{
if ($is_auth_ary[$subforum_data[$j]['forum_id']]['auth_view'])
{
$display_forums = true;
}
}
if(!$display_forums)
{
$total_forums = 0;
}
}
if($total_forums)
{
$template->assign_var('HAS_SUBFORUMS', 1);
$template->assign_block_vars('catrow', array(
'CAT_ID' => $forum_id,
'CAT_DESC' => $forum_row['forum_name'],
'U_VIEWCAT' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL ."=$forum_id"),
));

//
// Obtain a list of topic ids which contain
// posts made since user last visited
//
if ( $userdata['session_logged_in'] )
{
$sql = "SELECT t.forum_id, t.topic_id, p.post_time
FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
WHERE p.post_id = t.topic_last_post_id
AND p.post_time > " . $userdata['user_lastvisit'] . "
AND t.topic_moved_id = 0";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query new topic information', ', __LINE__, __FILE__, $sql);
}

$new_topic_data = array();
while( $topic_data = $db->sql_fetchrow($result) )
{
$new_topic_data[$topic_data['forum_id']][$topic_data['topic_id']] = $topic_data['post_time'];
}
$db->sql_freeresult($result);
}
//
// Obtain list of moderators of each forum
// First users, then groups ... broken into two queries
//
$subforum_moderators = array();
$sql = "SELECT aa.forum_id, u.user_id, u.username
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g, " . USERS_TABLE . " u
WHERE aa.auth_mod = " . TRUE . "
AND g.group_single_user = 1
AND ug.group_id = aa.group_id
AND g.group_id = aa.group_id
AND u.user_id = ug.user_id
GROUP BY u.user_id, u.username, aa.forum_id
ORDER BY aa.forum_id, u.user_id";
if ( !($result = $db->sql_query($sql, false, true)) )
{
message_die(GENERAL_ERROR, 'Could not query forum moderator information', ', __LINE__, __FILE__, $sql);
}

while( $row = $db->sql_fetchrow($result) )
{
$subforum_moderators[$row['forum_id']][] = '<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url=' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . " data-href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . ">' . $row['username'] . '</a>';
}
$db->sql_freeresult($result);

$sql = "SELECT aa.forum_id, g.group_id, g.group_name
FROM " . AUTH_ACCESS_TABLE . " aa, " . USER_GROUP_TABLE . " ug, " . GROUPS_TABLE . " g
WHERE aa.auth_mod = " . TRUE . "
AND g.group_single_user = 0
AND g.group_type <> " . GROUP_HIDDEN . "
AND ug.group_id = aa.group_id
AND g.group_id = aa.group_id
GROUP BY g.group_id, g.group_name, aa.forum_id
ORDER BY aa.forum_id, g.group_id";
if ( !($result = $db->sql_query($sql, false, true)) )
{
message_die(GENERAL_ERROR, 'Could not query forum moderator information', ', __LINE__, __FILE__, $sql);
}

while( $row = $db->sql_fetchrow($result) )
{
$subforum_moderators[$row['forum_id']][] = '<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url=' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row['group_id']) . " data-href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row['group_id']) . ">' . $row['group_name'] . '</a>';
}
$db->sql_freeresult($result);

// show subforums
for($j = 0; $j < $total_forums; $j++)
{
$subforum_id = $subforum_data[$j]['forum_id'];

if ( $is_auth_ary[$subforum_id]['auth_view'] )
{
$unread_topics = false;
if ( $subforum_data[$j]['forum_status'] == FORUM_LOCKED )
{
$folder_image = $images['forum_locked'];
$folder_alt = $lang['Forum_locked'];
}
else
{
if ( $userdata['session_logged_in'] )
{
if ( !empty($new_topic_data[$subforum_id]) )
{
$subforum_last_post_time = 0;

while( list($check_topic_id, $check_post_time) = @each($new_topic_data[$subforum_id]) )
{
if ( empty($tracking_topics[$check_topic_id]) )
{
$unread_topics = true;
$subforum_last_post_time = max($check_post_time, $subforum_last_post_time);
}
else
{
if ( $tracking_topics[$check_topic_id] < $check_post_time )
{
$unread_topics = true;
$subforum_last_post_time = max($check_post_time, $subforum_last_post_time);
}
}
}
if ( !empty($tracking_forums[$subforum_id]) )
{
if ( $tracking_forums[$subforum_id] > $subforum_last_post_time )
{
$unread_topics = false;
}
}
if ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )
{
if ( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all'] > $subforum_last_post_time )
{
$unread_topics = false;
}
}

}
}

$folder_image = ( $unread_topics ) ? $images['forum_new'] : $images['forum'];
$folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];
}

$posts = $subforum_data[$j]['forum_posts'];
$topics = $subforum_data[$j]['forum_topics'];

if ( $subforum_data[$j]['forum_last_post_id'] )
{
$last_post_time = create_date($board_config['default_dateformat'], $subforum_data[$j]['post_time'], $board_config['board_timezone']);

$last_post = $last_post_time . '<br />';

$last_post .= ( $subforum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($subforum_data[$j]['post_username'] != ' ) ? $subforum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url=' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $subforum_data[$j]['user_id']) . " data-href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $subforum_data[$j]['user_id']) . ">' . $subforum_data[$j]['username'] . '</a> ';

$last_post .= '<a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=4203082&url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $subforum_data[$j]['forum_last_post_id']) . '#' . $subforum_data[$j]['forum_last_post_id'] . " data-href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $subforum_data[$j]['forum_last_post_id']) . '#' . $subforum_data[$j]['forum_last_post_id'] . "><img src="' . $images['icon_latest_reply'] . " border="0" alt="' . $lang['View_latest_post'] . " title="' . $lang['View_latest_post'] . " /></a>';
}
else
{
$last_post = $lang['No_Posts'];
}

if ( count($subforum_moderators[$subforum_id]) > 0 )
{
$l_moderators = ( count($subforum_moderators[$subforum_id]) == 1 ) ? $lang['Moderator'] : $lang['Moderators'];
$moderator_list = implode(', ', $subforum_moderators[$subforum_id]);
}
else
{
$l_moderators = ' ';
$moderator_list = ';
}

$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];

$template->assign_block_vars('catrow.forumrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'FORUM_FOLDER_IMG' => $folder_image,
'FORUM_NAME' => $subforum_data[$j]['forum_name'],
'FORUM_DESC' => $subforum_data[$j]['forum_desc'],
'POSTS' => $subforum_data[$j]['forum_posts'],
'TOPICS' => $subforum_data[$j]['forum_topics'],
'LAST_POST' => $last_post,
'MODERATORS' => $moderator_list,
'ID' => $subforum_data[$j]['forum_id'],
'UNREAD' => intval($unread_topics),
'LAST_POST_TIME' => $last_post_time,

'L_MODERATOR' => $l_moderators,
'L_FORUM_FOLDER_ALT' => $folder_alt,

'U_VIEWFORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$subforum_id"))
);

}
}
}

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

viewtopic.php

#
#-----[ BUL ]------------------------------------------
# Line 570

make_jumpbox('viewforum.'.$phpEx, $forum_id);

#
#-----[ ile DEĞİŞTİR ]------------------------------------------
#

$all_forums = array();
make_jumpbox_ref('viewforum.'.$phpEx, $forum_id, $all_forums);

$parent_id = 0;
for($i=0; $i<count($all_forums); $i++)
{
if($all_forums[$i]['forum_id'] == $forum_id)
{
$parent_id = $all_forums[$i]['forum_parent'];
}
}
if($parent_id)
{
for($i=0; $i<count($all_forums); $i++)
{
if($all_forums[$i]['forum_id'] == $parent_id)
{
$template->assign_vars(array(
'PARENT_FORUM' => 1,
'U_VIEW_PARENT_FORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL .'=' . $all_forums[$i]['forum_id']),
'PARENT_FORUM_NAME' => $all_forums[$i]['forum_name'],
));
}
}
}

#
#-----[ TÜM DOSYALARI KAYDET/KAPAT ]------------------------------------------
#
# Eklentinin Sonu


Kaynak:Webcix



P
19 yıl
Yüzbaşı

gözlerim yaşardı ağlamak istiyorum forumun uzun zamandır beklediği kan bulundu....


Bu mesaja 1 cevap geldi.
B
19 yıl
Yüzbaşı

R
19 yıl
Yarbay

saolasında su oyun modunu acıkmar mısınız?ne variçinde


Bu mesaja 2 cevap geldi.
B
19 yıl
Yüzbaşı

Arkadaslar bana biri Su mesaj yazarken alta resim yukleme icin bi eklenti varya onu anlatabilirmi ?


Bu mesaja 1 cevap geldi.
P
19 yıl
Yüzbaşı

YA ARKADAŞLAR BEN BU PHPBBYİ T35.COM A YÜKEDİM İNSTALL.PHPYİ AÇIP DOLDURUNCA AŞŞADAKİ HATAYI VERİYOR

Warning: main(): Unable to access ./../db/mysql.php in /home/freehost/t35.com/t/r/trforum/phpBB2/includes/db.php on line 31

Warning: main(./../db/mysql.php): failed to open stream: No such file or directory in /home/freehost/t35.com/t/r/trforum/phpBB2/includes/db.php on line 31

Warning: main(): Failed opening './../db/mysql.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/freehost/t35.com/t/r/trforum/phpBB2/includes/db.php on line 31

Fatal error: Cannot instantiate non-existent class: sql_db in /home/freehost/t35.com/t/r/trforum/phpBB2/includes/db.php on line 60


İNSTALL.PHP Yİ EKE EKLİYORUM BANA YARDIMCI OLURSANIZ BOŞLUKLARA NELER YAZMAMAI GEREKTİĞİNİ SÖLERSENİZ SEVİRİM. ÖZELLİKLE Veritabanı Ayarları BÖLÜMÜNE NE YAZMAM LAZIM?... HOST T35.COM


Bu mesaja 1 cevap geldi.
S
19 yıl
Yüzbaşı

güzel bir paylaşım saolasın


Bu mesaja 1 cevap geldi.