![]() |
| |||||||
| Webmaster Hosting, domain, web dizayn, scriptler, php, html, asp, programlama dilleri, forum ve portallar, web grafik ve google adsense & adwords |
![]() |
| | Konu Seçenekleri | Modları Göster |
| | #1 | |
| Süper Üye ![]() ![]() ![]()
Mesajlar: 367
Teşekkür Etme: 31
182 Mesajina 466 Defa Tesekkur edildi
Tecrübe Puanı: 3621141 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
################################################## ############ ## MOD Title: Forum Information - ALEXIS edition ## MOD Author: lowjoel <webmaster@joelsplace.sg> Joel Low - Joel's Place ## MOD Description: Displays the Number of script queries executed, GZIP ## compression information and page execution time. ## MOD Version: 1.0.0 ## ## Installation Level: Easy ## Installation Time: 3 Minutes ## Files To Edit: extension.inc, ## language/lang_turkish/lang_main.php ## includes/page_tail.php ## templates/subSilver/overall_footer.tpl ## ################################################## ############ ## MOD History: ## ## 2005-03-17 - Version 1.0.1 ## - Updated installation instructions ## - Created folder hierachy for easy extraction ## ## 2005-03-12 - Version 1.0.0 ## - Original release ## ################################################## ############ ## Author Notes: ## ## ################################################## ############ ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ################################################## ############ # # #-----[ OPEN ]------------------------------------------ # extension.inc # #-----[ FIND ]------------------------------------------ # $starttime = 0; # #-----[ REPLACE WITH ]------------------------------------------ # //-- [+] MOD: Forum Information ------------------------------------------ //-- replace // // $starttime = 0; // $starttime = time(); // //-- [-] MOD: Forum Information ------------------------------------------ # #-----[ OPEN ]------------------------------------------ # language/lang_turkish/lang_main.php # #-----[ FIND ]------------------------------------------ # // That's all, Folks! # #-----[ AFTER, ADD ]------------------------------------------ # // Forum Information $lang['L_GZIP_ENABLED'] = 'GZIP: Açık'; $lang['L_GZIP_DISABLED'] = 'GZIP: Kapalı'; // [+] ALEXIS $lang['L_DEBUG_ENABLED'] = 'DEBUG: Açık'; $lang['L_DEBUG_DISABLED'] = 'DEBUG: Kapalı'; // [-] ALEXIS $lang['L_GENERATION_TIME'] = 'Sayfa oluşturma: %s s'; $lang['L_MYSQL_QUERIES'] = 'Sorgular: %s'; # #-----[ OPEN ]------------------------------------------ # includes/page_tail.php # #-----[ FIND ]------------------------------------------ # $template->pparse('overall_footer'); # #-----[ REPLACE WITH ]------------------------------------------ # //-- [+] MOD: Forum Information ------------------------------------------ //-- delete // //$template->pparse('overall_footer'); // //-- [-] MOD: Forum Information ------------------------------------------ # #-----[ FIND ]------------------------------------------ # echo "\x1f\x8b\x08\x00\x00\x00\x00\x00"; echo $gzip_contents; echo pack('V', $gzip_crc); echo pack('V', $gzip_size); } # #-----[ AFTER, ADD ]------------------------------------------ # //-- [+] MOD: Forum Information ------------------------------------------ //-- add // $endtime = microtime(); $endtime = explode(" ", microtime()); $endtime = $endtime[1] + $endtime[0]; $gentime = round(($endtime - $starttime), 5); $template->assign_vars(array( 'L_GENERATION_TIME' => sprintf($lang['L_GENERATION_TIME'], $gentime), 'L_NUMBER_QUERIES' => sprintf($lang['L_MYSQL_QUERIES'], $db->num_queries), 'L_GZIP_ON' => ($board_config['gzip_compress']) ? $lang['L_GZIP_ENABLED'] : $lang['L_GZIP_DISABLED'], // [+] ALEXIS 'L_DEBUG_ON' => (DEBUG == 1) ? $lang['L_DEBUG_ENABLED'] : $lang['L_DEBUG_DISABLED'], // [-] ALEXIS ) ); $template->pparse('overall_footer'); // //-- [-] MOD: Forum Information ------------------------------------------ # #-----[ OPEN ]------------------------------------------ # templates/subSilver/overall_footer.tpl # #-----[ FIND ]------------------------------------------ # {TRANSLATION_INFO} # #-----[ AFTER, ADD ]------------------------------------------ # {L_GZIP_ON} <!-- [+] ALEXIS //--> {L_DEBUG_ON} <!-- [-] ALEXIS //--> {L_NUMBER_QUERIES} {L_GENERATION_TIME} # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM | |
| | |
| Mesajiniza Tesekkur Eden Uyeler: | paris güzeli (08-06-2008) |
![]() |
| Bookmarks |
| Konu Seçenekleri | |
| Modları Göster | |
| |
Okuduğunuz Konuya Benzer Konular | ||||
| Konu | Konuyu Açan | Forum | Cevaplar | Son Mesaj |
| Forum Şarkıcısı, forum şarkıları, komik forum şarkıları | AySe NuR | Komik Yazılar | 10 | 09-25-2008 22:56 |
| Forum Paylaşmaktır-Forum Kuralları-Forum Bilgileri Komik Resimler | ebrulim88 | Komik Resimler | 12 | 08-21-2008 12:24 |
| Forum nedir?Forum hakkında,forumun tanımı | XxCANISIxX | Nedir | 0 | 12-12-2007 19:44 |
| PhpBB [MOD] Who is active in which forum / Kim Hangi Forumda ? | T@yfuN | Webmaster | 0 | 09-10-2007 16:44 |
| PhpBB [MOD]External Forum Redirect 2.0.0 | T@yfuN | Webmaster | 0 | 09-10-2007 16:39 |
Forumumuzda yazılardan dolayı doğabilecek her türlü sorumluluk yazan kullanıcılara aittir,sitemizde yasalara aykırı unsurlar bulursanız İletisimden bildirebilirsiniz, şikayetiniz incelendikten sonra en kısa sürede
gereken yapılacaktır.
Report Abuse, Harassment, Scamming, Hacking, Warez, Crack, Divx, Mp3 or any Illegal Activity to
Contact- İletişim Gizlilik Bildirimi Forum Kurallarımız