phpBB fixleri - Sürüm Farketmez

Yeni sürümler, phpBB duyuruları.

phpBB fixleri - Sürüm Farketmez

İleti sabri ünal 29.07.2006, 11:26

Bundan önce phpBB fixlerini mod duyuruları bölümünde yayınlıyorduk, bu ise aramayı ve bulmayı çok zorlaştırıyor...

bu alanda verilecek phpBB fixleri tamamen kendi açımızdan hata kabul ettiğimiz şeylerin yine kendi açımızdan bir düzeltmesidir, bunlar resmi birer fix olmayıp phpbb sistemi için küçük detaylardır... Şu an için yeni bir forum / bölüm açmayı gereksiz görüyoruz


lüften bu başlık altında soru sormayınız, silinecektir
En son sabri ünal tarafından, 29.07.2006, 11:34 tarihinde değiştirildi, toplamda 2 değişiklik yapıldı.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 11:28

sitede gizli bir forumda olan bir yazı okunmak istendiğinde üyenin siteye giriş için yönlendirilmesini kaldırır.

mesala biri bizim çöpe taşıdığımız bir başlığı okumak istediğinde, çöp forumu gizli ise kişi griş yapmaya yönlendirilir, sonra giriş yaptıktan sonra, böyle bir forum veya başlık yok hatası verirdi..

bu düzeltmeyle sistem direk olarak başlık yok diyecektir...

Kod: Tümünü seç
##############################################################
## MOD Title: Fix hidden Topics
## MOD Author: eviL3 < evil@ut4e.com > (Igor Wiedler) http://evil.ut4e.com/
## MOD Description: Users won't be redirected to the login when
##                  viewing a hidden topic (no auth permissions)
##
## MOD Version:      0.1.0
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit:
##         viewtopic.php
##
## Included Files:   (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Nothing to say yet.
##
##############################################################
## MOD History:
##
##   2006-07-04 - Version 0.1.0
##      - First release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------------
#
redirect(append_sid("login.$phpEx?redirect=viewtopic.$phpEx&$redirect", true));

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

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------------
#
//

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 11:43

firefox ve mozilla ailesi kullananlar için iki fix, bu tür tarayıcı kullananların belirttiğine göre, üyeye yönetim panelinden yeniden şifre vermek istendiğinde, yönetici şifresini yazabiliyormuş... vs...

siz şunu yapın

Kod: Tümünü seç


templates/subsilver/admin/user_edit_body.tpl

BUL

<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post">

BUNUNLA DEĞİŞTİR

<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" autocomplete="off">

KAYDET VE KAPAT
En son sabri ünal tarafından, 29.07.2006, 11:51 tarihinde değiştirildi, toplamda 1 değişiklik yapıldı.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 11:46

error_body.tpl dosyası için canver kaynaklı bir düzenleme

http://www.canver.net/fix-subsilver-err ... hlight=fix
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 11:56

Some browsers will display the above error when going back and forth between the search results and the found forum post!

artık nasıl türkçeleştirirsek :)

Kod: Tümünü seç
##############################################################
## MOD Title: Fix to eliminate "This page cannot be displayed" error when doing a search
## MOD Author: P Fuller < pfuller@gmail.com > (N/A) N/A
## MOD Description: Some browsers will display the above error when going back and forth
##                  between the search results and the found forum post
## MOD Version: 1.0.1
##
## Installation Level: easy
## Installation Time: 1 Minute
## Files To Edit: search.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## This MOD has been tested on phpBB 2.0.13
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

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

search.php

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

      $sql = "UPDATE " . SEARCH_TABLE . "
         SET search_id = $search_id, search_array = '" . str_replace("\'", "''", $result_array) . "'
         WHERE session_id = '" . $userdata['session_id'] . "'";
      if ( !($result = $db->sql_query($sql)) || !$db->sql_affectedrows() )
      {
         $sql = "INSERT INTO " . SEARCH_TABLE . " (search_id, session_id, search_array)
            VALUES($search_id, '" . $userdata['session_id'] . "', '" . str_replace("\'", "''", $result_array) . "')";
         if ( !($result = $db->sql_query($sql)) )
         {
            message_die(GENERAL_ERROR, 'Could not insert search results', '', __LINE__, __FILE__, $sql);
         }
      }


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

       redirect(append_sid("search.$phpEx?search_id=$search_id", true));


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 11:58

Fix message_die for multiple errors

bir sayfa yüklenirken hata olursa message_die fonksiyonu çalışır ve hata verir, peki ya birden çok hata varsa!

bu, geliştiricilere yönelik bir fix, bununla sayfada birden çok hata mesajı çalışıyorsa hepsi birden ekrana basılır...

Kod: Tümünü seç
##############################################################
## MOD Title: Fix message_die for multiple errors MOD
## MOD Author: markus_petrux < phpbb.mods@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD replaces the "message_die() was called multiple times" message
##     with something more useful. It reports a list of all "those" error messages with all
##     relevant information. So that may help board administrators to identify the problem.
## MOD Version: 1.0.3
##
## Installation Level: (Easy)
## Installation Time: 3 Minutes
## Files To Edit: 1
##    includes/functions.php
## Included Files: 0
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## - Technical comments:
##   Actually, the "message_die() was called multiple times" message is unlike to happen on a
##   fresh phpBB board, but it might happen related to MODs, depending on how they are coded.
##
##
## - MOD related comments:
##   Tested with phpBB 2.0.10
##   This MOD is EasyMOD friendly.
##
##############################################################
## MOD History:
##
## 2004/10/17 - 1.0.3
## - Added a mailto: link to the "Please, contact the webmaster" message.
##   This will be only available if the CONFIG table has been read, though.
##   Thanks again to Ptirhiik for the idea. :-)
##   Certainly it sounds wiser than using "smoke signals" to contact the webmaster.
##
## 2004/10/17 - 1.0.2
## - Added a "Please, contact the webmaster" message at the end of the report.
## - Fixed define(HAS_DIED, 1); typo. Thanks to Ptirhiik for letting me know this.
##
## 2004/10/17 - 1.0.0
## - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
   if(defined('HAS_DIED'))
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//+MOD: Fix message_die for multiple errors MOD
   static $msg_history;
   if( !isset($msg_history) )
   {
      $msg_history = array();
   }
   $msg_history[] = array(
      'msg_code'   => $msg_code,
      'msg_text'   => $msg_text,
      'msg_title'   => $msg_title,
      'err_line'   => $err_line,
      'err_file'   => $err_file,
      'sql'      => $sql
   );
//-MOD: Fix message_die for multiple errors MOD

#
#-----[ FIND ]------------------------------------------------
#
      die("message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?");
#
#-----[ REPLACE WITH ]----------------------------------------
#
//+MOD: Fix message_die for multiple errors MOD

      //
      // This message is printed at the end of the report.
      // Of course, you can change it to suit your own needs. ;-)
      //
      $custom_error_message = 'Please, contact the %swebmaster%s. Thank you.';
      if ( !empty($board_config) && !empty($board_config['board_email']) )
      {
         $custom_error_message = sprintf($custom_error_message, '<a href="mailto:' . $board_config['board_email'] . '">', '</a>');
      }
      else
      {
         $custom_error_message = sprintf($custom_error_message, '', '');
      }
      echo "<html>\n<body>\n<b>Critical Error!</b><br />\nmessage_die() was called multiple times.<br />&nbsp;<hr />";
      for( $i = 0; $i < count($msg_history); $i++ )
      {
         echo '<b>Error #' . ($i+1) . "</b>\n<br />\n";
         if( !empty($msg_history[$i]['msg_title']) )
         {
            echo '<b>' . $msg_history[$i]['msg_title'] . "</b>\n<br />\n";
         }
         echo $msg_history[$i]['msg_text'] . "\n<br /><br />\n";
         if( !empty($msg_history[$i]['err_line']) )
         {
            echo '<b>Line :</b> ' . $msg_history[$i]['err_line'] . '<br /><b>File :</b> ' . $msg_history[$i]['err_file'] . "</b>\n<br />\n";
         }
         if( !empty($msg_history[$i]['sql']) )
         {
            echo '<b>SQL :</b> ' . $msg_history[$i]['sql'] . "\n<br />\n";
         }
         echo "&nbsp;<hr />\n";
      }
      echo $custom_error_message . '<hr /><br clear="all">';
      die("</body>\n</html>");
//-MOD: Fix message_die for multiple errors MOD
#
#-----[ FIND ]------------------------------------------------
#
   define(HAS_DIED, 1);
#
#-----[ REPLACE WITH ]----------------------------------------
#
   define('HAS_DIED', 1);
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 12:02

bu değişikliğin daha önce canverde yayınlanmış olması lazım, yinede tekrar verelim..

bu fix, mesaj düzenleme işlemini flood kontrolü sisteminden kaldırır, zaten niye böyle bir şey olsun ki, mesaj düzenlemek için 1 dk bekleyin :P

Kod: Tümünü seç
##############################################################
## MOD Title: No flood control on edit
## MOD Author: Graham < phpbb@grahameames.co.uk > (Graham Eames) http://www.grahameames.co.uk/phpbb/
## MOD Description: This MOD removes the flood control when
## editing posts, allowing you to have a high flood limit to
## prevent spamming whilst not restricting the ability to edit
## posts.
##
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: includes/functions_post.php
## Included Files: N/A
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## MOD History:
## Oct 03, 2003 - Version 1.0.0
##  - Initial Release
##############################################################
## Author Notes:
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

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

#
#-----[ FIND ]------------------------------------------
#
   if ($mode == 'newtopic' || $mode == 'reply' || $mode == 'editpost')

#
#-----[ IN-LINE FIND ]------------------------------------------
#
|| $mode == 'editpost')

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

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 12:07

Applying this MOD will change the topic tracking behavior in phpBB2. When reading page 1 in a thread...

çoklu sayfalarda mesajları okunmuş say özelliği hata verebiliyormuş, onun için bir fix...

Kod: Tümünü seç
##############################################################
## MOD Title:          Unread topic fix
## MOD Author:         alcaeus < mods@alcaeus.org > (N/A) http://www.alcae.us.tt
## MOD Description:    Fixes the problem phpBB has with unread posts spread over more pages in a thread.
##    Applying this MOD will change the topic tracking behavior in phpBB2. When reading page 1 in a thread
##    with 2 Pages of unread posts, only page 1 will be marked as read, page 2 will still be unread. This
##    also lets you jump to the newest post in a thread when you've already read the thread.
## MOD Version:        1.0.1
##
## Installation Level: Easy
## Installation Time:  ~2 Minute (1mn by EasyMOD of Nuttzy)
## Files To Edit:      1
##      viewtopic.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## 1. MOD Compatibility
## -----------
## This MOD has been successfully tested on phpBB 2.0.17. However, it
## should work on all versions starting with 2.0.5. If that is not
## the case, please let me know about it.
##
## 2. MOD Installation
## -----------
## There are two ways to install MODs into your phpBB:
##
## 2.1. Installation with EasyMOD (EM)
## -----------
## NOTES GO HERE
##
## 2.2. Manual Installation
## -----------
## EM might fail on very heavily modded boards. Therefore it's possible
## that you have to do the install manually. Also, if you don't
## like using EM for whatever reason, you'll have to perform the
## update instructions yourself. If you're unfamiliar with the
## process of installing a MOD, please use this document:
## http://www.phpbb.com/kb/article.php?article_id=150
##
## 3. MOD Support
## -----------
## Ok, general rule of thumb: ask for support on the site where you
## got the MOD. This is either on my site, on phpbb.com, phpbb.de or
## phpbb2.de (Note that a MOD may not have been released on all of the
## listed sites, but those are the ones I trust). If you have downloaded
## the MOD from any other location, please contact
## me via eMail and I'll take care of it.
##
## 4. Contact
## -----------
## First: do not contact me via PM or eMail asking for support. Be ready
## to be ignored in that case. If you need support, see chapter 2. There
## is only reason for you to contact me via eMail or PM: you want to
## build a MOD based on the code of one of my MODs and redistribute it.
## In that case, I request you ask for my permission for re-usage and
## re-release of my code.
##
## 5. Official last version link
## -----------
## The latest version of this MOD and other MODs can also be found at my site:
## http://www.alcaeus.org/forums.php?f=6
##
##############################################################
## MOD History:
##
##   2005-08-04 - Version 1.0.1
##      - Fixed tiny bug when using nice formatting
##      - Fixed bug with read topic being marked as unread
##
##   2005-06-13 - Version 1.0.0
##      - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------------
#
         if ( $session_id )
         {


#
#-----[ AFTER, ADD ]------------------------------------------
#
            $tracking_topics = ( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) ) ? unserialize($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_t']) : array();
            $last_read = (!empty($tracking_topics[$topic_id])) ? 'AND p.post_time > ' . $tracking_topics[$topic_id] : 'AND p.post_time >= u.user_lastvisit';
            

#
#-----[ FIND ]------------------------------------------------
#
                  AND p.post_time >= u.user_lastvisit


#
#-----[ REPLACE WITH ]----------------------------------------
#
                  $last_read


#
#-----[ FIND ]------------------------------------------------
#
if ($row = $db->sql_fetchrow($result))
{
   do
   {
      $postrow[] = $row;
   }
   while ($row = $db->sql_fetchrow($result));
   $db->sql_freeresult($result);

   $total_posts = count($postrow);


#
#-----[ AFTER, ADD ]------------------------------------------
#
   $mark_time = intval($postrow[$total_posts-1]['post_time']);


#
#-----[ FIND ]------------------------------------------------
#
   $tracking_topics[$topic_id] = time();


#
#-----[ REPLACE WITH ]----------------------------------------
#
   $tracking_topics[$topic_id] = max($mark_time, $tracking_topics[$topic_id]);


#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 12:11

bölüm yetkililerinin gizli üyeleri görmelerini sağlar, açıkcası bölüm yetkililerinden de gizleneceklerse neden adamları yetkili yaptık ki?

Kod: Tümünü seç
###############################################################
## MOD Title: Allow Moderators to See Invisible
## MOD Author: gfmorrs < gfmorris@gfmorris.com > (Geof F. Morris) http://gfmorris.com/
## MOD Description: Allows all moderators to see invisible users.
## MOD Version: 1.0.0
##
## Installation Level: (Easy)
## Installation Time: 1 Minute
## Files To Edit: includes/page_header.php
## Included Files: (n/a)
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:  Many thanks for morpheus2matrix to pointing out where to make a modification.
##                This might be the simplest MOD ever for phpBB.  :)  Feel free to give him all
##                credit, for I am just simply writing this up.
##
##############################################################
## MOD History:
##
##   2003-12-06 - Version 1.0.0
##      - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

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

#
#-----[ FIND ]------------------------------------------
#
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )

#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN || $userdata['user_level'] == MOD )

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
En son sabri ünal tarafından, 10.08.2006, 11:54 tarihinde değiştirildi, toplamda 1 değişiklik yapıldı.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

Cvp: phpBB fixleri - Sürüm Farketmez

İleti sabri ünal 29.07.2006, 12:12

üye ismiyle aynı şifre mi olur! bunun için bir düzeltme...

Kod: Tümünü seç
##############################################################
## MOD Title: Disallow password same as username
## MOD Author: cYbercOsmOnauT < cosmo@cybercosmonaut.de > (Tekin B.) http://www.cybercosmonaut.de
## MOD Description: This short mod disallows users to set a password which
##                  is the same as their username on registration and editing
##                  their profile.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 2min
## Files To Edit: 2
##                includes/usercp_register.php
##                language/lang_english/lang_main.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## If you install it, send a mail to me with the modname and I will inform you on upcoming
## bugfixes or new versions.
##
##############################################################
## MOD History:
##
##   2005-06-20  -  Version 1.0.0
##      - First version of the mod
## 
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

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

includes/usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
      if ( $new_password != $password_confirm )
      {
         $error = TRUE;
         $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Password_mismatch'];
      }

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

      else if ( strcmp($new_password, $username) )
      {
         $error = TRUE;
         $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . $lang['Pass_uname_match'];
      }

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

language/lang_english/lang_main.php


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

$lang['Password_long'] = 'Your password must be no more than 32 characters.';

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

$lang['Pass_uname_match'] = 'The password you entered matches your username.';

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
#
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 12:14

düşünün ki yeni bir mod yüklediğiniz ve onunla birlikte yeni bir tablo geliyor, peki phpBB o tabloları görüyor mu? hayır... peki ya bir de sitemiz ve onun db si varsa!

bu fix veya mod ile VERİTABANINDAKİ tüm veriler yedekleniyor...

eğer siteniz ve forumunuz tek alandaysa, tek noktadan yedeklemeye yarıyor...


Kod: Tümünü seç
###############################################
##   Hack Title:   db_utils
##   Hack Version:   1.0.0
##   Author:      Garold W. Robinson  setheep@hotmail.com
##   Description:   modification of the admin_db_utils.php to back-up your entire database
##   Compatibility:   2.0.0 - 2.0.4
##
##   Installation Level: Easy
##   Installation Time: 5 minutes
##   Files To Edit: 1
##      admin/admin_db_utilities.php
##       
##
##   Included Files: NA
##     
##   History:
##       
##      Version 1.0.0:    This initial version
##       
##
##   Author Notes:
##      None
##
##   Support:      http://www.phpbbhacks.com/forums
##   Copyright:      ©2003 <title> <version> - Garold W. Robinson
##
###############################################
##   You downloaded this hack from phpBBHacks.com, the #1 source for phpBB related downloads.
##   Please visit http://www.phpbbhacks.com/forums for support.
###############################################
##
###############################################
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the hack author(s) listed above.
###############################################

#
#-----[ OPEN ]------------------------------------------
#
     admin/admin_db_utilities.php
#
#-----[ FIND ]------------------------------------------
#
   $tables = array('auth_access', 'banlist', 'categories', 'config', 'disallow', 'forums', 'forum_prune', 'groups', 'posts', 'posts_text', 'privmsgs', 'privmsgs_text', 'ranks', 'search_results', 'search_wordlist', 'search_wordmatch', 'sessions', 'smilies', 'themes', 'themes_name', 'topics', 'topics_watch', 'user_group', 'users', 'vote_desc', 'vote_results', 'vote_voters', 'words');

#
#-----[ REPLACE WITH ]------------------------------------------
#
   $result = mysql_list_tables($dbname);
   $i = 0;
   while ($i < mysql_num_rows ($result)) {
   $tables[$i] = mysql_tablename ($result, $i);
   $i++;
   }
#
#-----[ FIND ]------------------------------------------
#
if($backup_type != 'data')
            {
               echo "#\n# TABLE: " . $table_prefix . $table_name . "\n#\n";
               echo $table_def_function($table_prefix . $table_name, "\n") . "\n";
            }

            if($backup_type != 'structure')
            {
               $table_content_function($table_prefix . $table_name, "output_table_content");
            }
         }
#
#-----[ REPLACE WITH ]------------------------------------------
#
if($backup_type != 'data')
            {
               echo "#\n# TABLE: $table_name \n#\n";
               echo $table_def_function($table_name, "\n") . "\n";
            }

            if($backup_type != 'structure')
            {
               $table_content_function($table_name, "output_table_content");
            }
         }
#
#-----[ SAVE & CLOSE ALL FILES ]--------------------------
#
#End
En son sabri ünal tarafından, 10.08.2006, 13:16 tarihinde değiştirildi, toplamda 2 değişiklik yapıldı.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 29.07.2006, 12:17

mesaj gönderilirken spam olarak algılanmasına sebep olan kimi hatalar düzeltiliyor

Kod: Tümünü seç
###############################################################
## MOD Title: Change Email Sender
## MOD Version: 1.0.3
##
## MOD Author: N/A - < mewsite@comcast.net > - (Michael Warkander) - http://www.mew.ssxh.net (do not contact for support)
##   MOD Author, Secondary:  Plastikaa - < mmckenna@gmail.com > - (N/A) - httP://www.plastikaa.com
##
## MOD Description:        When Emails are sent from within phpBB, such as the confirm registration email
## these Emails come from your servers default email (usually something
## such as: nobody@your_hosts_server.com) - Due to some hosts starting to disable
## sending emails from this Email address to reduce spam phpBB is unable
## to send these Emails. These two small changes will make all the emails phpBB sends come from
## the board's email adddress rather than the servers default address.
##
## Please note: although the email address the emails come from in phpBB before applying this change
##  say they come from the boards email, they don't! This is a simple php mail function to make it 
## appear as if they do. This change won't make any visual difference to most people but its an
## important change.
##                     
##   Installation Level:     Easy
##   Installation Time:      1 minute
##
##   Files To Edit:          includes/emailer.php
##   Included Files:         None
##
##################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
###################################################
## Author Notes: This MOD is for download from http://www.plastikaa.com , http://www.phpbb.com , http://www.phpbbhacks.com
## only. If you downloaded this hack from any other location it might not be the latest version and so should be reported
## to http://www.plastikaa.com as soon as possible, thankyou.
##
##   Compatibility:       2.0.5 - 2.0.10
##   Support:             http://www.forum.plastikaa.com
##   Copyright:           Copyright © 2004 Plastikaa
##
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the hack author(s) listed above.
####################################################

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


#
#-----[ FIND ]----------------------------------------------
#
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);


#
#-----[ REPLACE WITH ]--------------------------------------
#
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers, "-f{$board_config['board_email']}");


#
#-----[ FIND ]----------------------------------------------
#
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);


#
#-----[ REPLACE WITH ]--------------------------------------
#
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers, "-f{$board_config['board_email']}");


#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
En son sabri ünal tarafından, 10.08.2006, 12:17 tarihinde değiştirildi, toplamda 1 değişiklik yapıldı.
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

Cvp: phpBB fixleri - Sürüm Farketmez

İleti sabri ünal 29.07.2006, 12:32

mesaj taşırken gölge oluşturma seçeneği otomatik olarak seçili gelmiyor

Kod: Tümünü seç
##############################################################
## MOD Title: Default Shadow Topics Off
## MOD Author: drathbun < N/A > (Dave Rathbun) http://www.phpBBDoctor.com
## MOD Description: This MOD changes the default for the shadow topic
##    setting during "move" operations from ON to OFF
## MOD Version: 1.0.0
##
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit: templates/subSilver/modcp_move.tpl
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
######################################################3


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

templates/subSilver/modcp_move.tpl

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

checked="checked" />

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

checked="checked" />

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#

/>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 01.08.2006, 01:08

özellikle duyurularda çıkan go to: ??? yani yanlış sayfalandırma hatasını düzeltir... phpBB niye bunu düzeltmedi bir türlü anlamadım...
Kod: Tümünü seç
##############################################################
## MOD Title: Fix Wrong Pagination Number
## MOD Author: pentapenguin < pentapenguin@bluebottle.com > (Jeremy Conley) http://www.pentapenguin.com
## MOD Description: If a forum has only announcement topics and the total announcements are less than topics per page setting in the board
## configuration, "Goto page" text will be displayed even though it's not needed. This MOD will fix that.
## MOD Version: 0.1.0
##
## Installation Level: Easy
## Installation Time: 2 Minutes
##
## Files To Edit: 1
## includes/functions.php
##
## Included Files: n/a
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## Optional step: if you have CyberAlien's eXtreme Styles MOD (http://www.phpbb.com/phpBB/viewtopic.php?t=125251),
## you can copy the file in contrib/admin/xs_fix_wrong_pagination_number.cfg to admin/xs_fix_wrong_pagination_number.cfg and you will
## be automatically notified if there's an update available when you use the "check for updates" function.
##
## This MOD is EasyMOD friendly! (http://area51.phpbb.com/phpBB/viewforum.php?sid=&f=17)
##
## For additional language and style downloads, please visit http://www.pentapenguin.com/forum/viewtopic.php?t=1490
##############################################################
## MOD History:
##   2005-11-14 - Version 0.1.0
##      - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################


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


#
#-----[ FIND ]------------------------------------------
#
   if ( $total_pages == 1 )
   {
      return '';
   }


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

   // Start Fix Wrong Pagination Number MOD
   if ( !( $num_items > 0 ) )
   {
      return '';
   }
   // End Fix Wrong Pagination Number MOD

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

Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

Cvp: phpBB fixleri - Sürüm Farketmez

İleti sabri ünal 10.08.2006, 11:34

mesaj yazdıktan sonra ve ankete oy verdikten sonra direk mesajın aslına döner...

attach mod ile uyumludur...


Kod: Tümünü seç
##############################################################
## MOD Title: Instant Post Redirect
## MOD Author: eviL3 < evil@phpbbmodders.com > (Igor Wiedler) http://phpbbmodders.com/
## MOD Author: Afterlife(69) < afterlife_69.hotmail.com > (Dean Newman) http://www.ugboards.com/
## MOD Description: Removes the redirect after posting a message or voting.
## MOD Version: 1.2.1
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit: posting.php
## Included Files: N/A
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: Faster :)
##
##
##############################################################
## MOD History:
##
##   2006-04-23 - Version 1.0.0
##      -   Released modification.
##
##   2006-05-14 - Version 1.1.0
##      -   Fixed template and resubmitted.
##
##   2006-08-17 - Version 1.2.0
##      -   MOD overtaken by eviL3
##    - Fixed, so it actually works...
##
##   2006-08-17 - Version 1.2.1
##    - Fixed, deleting posts/topics. Thanks kber.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
posting.php

#
#-----[ FIND ]------------------------------------------
#
   if ( !empty($HTTP_POST_VARS['vote_id']) )

#
#-----[ FIND ]------------------------------------------
#
      $template->assign_vars(array(

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$template

#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
/*

#
#-----[ FIND ]------------------------------------------
#
      message_die(GENERAL_MESSAGE, $message);

#
#-----[ IN-LINE FIND ]------------------------------------------
#
$message);

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

#
#-----[ AFTER, ADD ]------------------------------------------
#
      // MOD: Instant Post Redirect
      redirect(append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id", true));

#
#-----[ FIND ]------------------------------------------
#
      if ( $mode != 'editpost' )

#
#-----[ FIND ]------------------------------------------
#
         setcookie($board_config['cookie_name']

#
#-----[ AFTER, ADD ]------------------------------------------
#
      // MOD: Instant Post Redirect
      redirect(append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=$post_id", true) . '#' . $post_id);

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti sabri ünal 10.08.2006, 12:04

http://www.canver.net/kayittan-sonra-ot ... light=upon

aslında bu modda bir fix... kayıttan sonra eğer sitede kayıt doğrulama yoksa direk siteye dönüyor...
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul


Duyurular



Kimler çevrimiçi

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

cron