Panonun tam adresi: http://www.bizimpencere.com
Dil paketini indirdiğiniz adres: http://www.phpbbturkiye.net
Eklentiler / Temalar: Liste asagida...
- [01] Coklu Alt Forum Gösterimi Beta 0.2.0
- [02] Advanced bbcode box 3 Dev 1.0.9
- [03] Simple hide bbcode mod Beta 0.3.0
- [04] Prime links 1.0.6
- [05] Display user's age in viewtopic 1.0.0
- [06] Who was here? 6.0.6
- [07] Poster dhtml menu Beta 0.0.2
- [08] Who posted? 1.0.0 a
- [09] Phpbb3 title seo 1.0.3 b
- [10] Üye iletilerini viewtopic'den listele (Fix)
- [11] Advanced last topic titles RC 1.2.4
- [12] Group Legend Positioning 1.0.2
- [13] Profile views list Beta 0.1.0
- [14] New posts count since last visit Beta 0.4.0 B
- [15] Signature into frame 0.1.1
- [16] Upcoming birthdays list 1.0.0 a
- [17] Categorize announces and stickies Beta 0.1.0
- [18] Genders 1.0.1
- [19] Xs dropdown menu (CitLemBiK Style) 1.5.2
- [20] Prime Birthdate - Require on Registration RC 1.0.9 c
- [21] Country flags RC 1.0.0
- [22] Multiple descriptions Beta 1.0.3
- [23] Contact board administration Beta 0.1.4
- [24] Full Syndication Suite (Rss & Atom) Rc1 1.0
- [25] Javascript Logout Confirmation 1.0.1
- [26] Phpbb arcade Beta 0.6.0
- [27] Search log Alpha 0.2.0
- [28] Visual warning mod 1.0.0
- [29] Universal no avatar Beta 0.1.0
- [30] Gönderirken bekleyin RC 0.4.0
Eklentilerin indirme adresi: Burasi
İşletim sistemi, php ve mysql sürümünüz: Windows vista Ultimate , PHP Version 5.2.6 , 5.0.51a
Sorun çıkan sayfa URL adresi:
http://www.bizimpencere.com/ucp.php?i=pm&mode=compose
Soru/hata tanımlamaları:
Hide bbcode'yi kurdugum zaman sorun yoktu Admins & Moderators Read Hidden Content add-on'unu kurduktan sonra , özel mesaj yazma panelinde su hata olusuyor (cache ve debug acikken)
- Kod: Tümünü seç
[phpBB Debug] PHP Notice: in file /includes/ucp/ucp_pm_compose.php on line 347: Undefined variable: post
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3663: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3665: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3666: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3667: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2961)
Tabiiki fonksiyon olarak hicbir sorun yok , sadece kod eksikliginden bahsediyor... Admins & Moderators Read Hidden Content add-on'unda includes/ucp/ucp_pm_compose.php dosyasi degisikliginden bir kod dikkatimi cekti...
- Kod: Tümünü seç
if ($auth->acl_get('m_', $post['forum_id']))
Özel mesaj bölümünde forum_id cagirmamizi istemis , sanirsamki bu bir hata , hatayi asmak icinse aklima hicbir fikir gelmiyor...
Soru/hatadan önce ne değişiklik yaptınız:
Simple Hide BBcode MOD Add-on - Admins & Moderators Read Hidden Content eklentisini kurdum
Soru/hatayı gidermek için hangi yollara başvurdunuz, neler yaptınız:
Hicbirsey...
Phpbb.com'da BURADAKI sayfada yarim bucuk ingilizcemle derdimi anlatmaya calistim az önce , ya ordan , ya burdan yardim eden cikar diye düsünüyorum...
Bu add-on'un komple versiyonu asagida belki karsilastirma yapmak isterseniz...
- Kod: Tümünü seç
########################################################
## MOD Title: [phpBB3] Simple Hide BBcode MOD Add-on - Admins & Moderators Read Hidden Content
## MOD Author: ycl6 < ycl6@users.sourceforge.net > (Y.C. LIN) http://macphpbbmod.sourceforge.net/
## MOD Description: MOD tutorial for allowing Admins and Moderators to view hidden content without reply
## MOD Version: 0.0.1
##
## Installation Level: Easy
## Installation Time: 3 Minutes
##
## Files To Edit: 3
## posting.php
## viewtopic.php
## includes/ucp/ucp_pm_compose.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:
## Tested on phpBB 3.0.0 RC3.
##
##############################################################
## MOD History:
##
## 2007-07-28 - Version 0.0.1
## - Initial Release for BETA testing
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND poster_id = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$unhide = $db->sql_affectedrows($result) ? true : false;
$db->sql_freeresult($result);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// If moderator or admin, skip reply check, auto unhide
if ($auth->acl_get('m_', $forum_id))
{
$unhide = true;
}
else
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
}
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND poster_id = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$unhide = $db->sql_affectedrows($result) ? true : false;
$db->sql_freeresult($result);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// If moderator or admin, skip reply check, auto unhide
if ($auth->acl_get('m_', $forum_id))
{
$unhide = true;
}
else
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
}
#
#-----[ OPEN ]------------------------------------------
#
includes/ucp/ucp_pm_compose.php
#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT poster_id, topic_id
FROM " . POSTS_TABLE . "
WHERE post_id = $msg_id
AND poster_id = " . $user->data['user_id'];
$result = $db->sql_query($sql);
$unhide = $db->sql_affectedrows($result) ? true : false;
$db->sql_freeresult($result);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// If moderator or admin, skip reply check, auto unhide
if ($auth->acl_get('m_', $post['forum_id']))
{
$unhide = true;
}
else
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Yardimlariniz icin simdiden tesekkürler...
Saygi ve Sevgiler...
CitLemBiK




