Super quick reply.. yardım

phpBB 2.0.x sürümleri için MODlar hakkında ihtiyacınız olan desteği buradan sorarak alabilirsiniz.
Kilitli
Kullanıcı avatarı
Iceman
Kayıtlı Kullanıcı
Mesajlar: 75
Kayıt: 25.11.2005, 20:29
Konum: İstanbul
İletişim:

Super quick reply.. yardım

Mesaj gönderen Iceman »

selamlar .. gene başım bela daa

Super quick reply cabuk yanıt modu indirdim ve dosyaları duzenlı bır sekılde yerleştirdim eklenecek dosyalarıda ekledım en son kısmnında da phpmyadminden sql sorgu yapılması gerekıyodu sorgulamayı yaptığımda bu yanıtı aldım neden olabılır.. anlamadım cunku ilk defa yaptığım birşey :) .. yardımlar için şimdiden tşk ler


Kod: Tümünü seç

Veritabanı mysql -- çalıştığı ortam --) localhost
Hata

SQL-sorgusu : 

ALTER TABLE phpbb_users ADD user_quickreply TINYINT(1) DEFAULT '1' NOT NULL 

MySQL çıktısı:

Table 'mysql.phpbb_users' doesn't exist

Geri


aldığım mod da aşağıdakı

Kod: Tümünü seç

##############################################################
## MOD Title: Super Quick Reply
## MOD Author: hayk <hayk@mail.ru> (Hayk Chamyan) http://hayk.a13n.org
## MOD Description: The mod allows those who have Reply access to use
##                  the same quick reply form as the one accessible upon
##                  pressing Reply. In turn, the Admin can enable or disable
##                  the quick reply form globally, which each user is capable
##                  of setting whether or not to display it.
##
## MOD Version: 1.0.2
##
## Installation Level: Intermediate
## Installation Time: 10-15 Minutes
## Files To Edit (10): admin/admin_board.php,
##                     admin/admin_users.php,
##                     includes/usercp_register.php,
##                     language/lang_english/lang_admin.php,
##                     language/lang_english/lang_main.php,

##                     templates/subSilver/admin/board_config_body.tpl,
##                     templates/subSilver/admin/user_edit_body.tpl,
##                     templates/subSilver/profile_add_body.tpl,
##                     templates/subSilver/viewtopic_body.tpl,
##                     viewtopic.php
##
## Included Files: viewtopic_quickreply.php, viewtopic_quickreply.tpl
##
##############################################################
## 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: Personally, I did not like any of the modes I've
##               come across so far, so I decided to make my own.
##
## This MOD is released under the GPL License.
##############################################################
## MOD History:
##
##   2004-10-08 - Version 1.0.2
##      - make the necessary changes to correct the denied MOD
##
##   2004-09-07 - Version 1.0.1
##      - make the necessary changes to correct the denied MOD
##
##   2004-04-13 - Version 1.0.0
##      - initial public version
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ COPY ]------------------------------------------
#
copy viewtopic_quickreply.php to includes/viewtopic_quickreply.php
copy viewtopic_quickreply.tpl to templates/subSilver/viewtopic_quickreply.tpl

#
#-----[ OPEN ]------------------------------------------
#
admin/admin_board.php

#
#-----[ FIND ]------------------------------------------
# around line 121
$avatars_local_yes = ( $new['allow_avatar_local'] ) ? "checked=\"checked\"" : "";

#
#-----[ BEFORE, ADD ]--------------------------------------
#
$quickreply_yes = ( $new['allow_quickreply'] ) ? "checked=\"checked\"" : "";
$quickreply_no = ( !$new['allow_quickreply'] ) ? "checked=\"checked\"" : "";


#
#-----[ FIND ]------------------------------------------
# around line 208
   "L_ALLOW_NAME_CHANGE" => $lang['Allow_name_change'],

#
#-----[ AFTER, ADD ]--------------------------------------
#
   "L_ALLOW_QUICK_REPLY" => $lang['Allow_quick_reply'],

#
#-----[ FIND ]------------------------------------------
# around line 297
   "NAMECHANGE_NO" => $namechange_no,

#
#-----[ AFTER, ADD ]--------------------------------------
#
   "QUICKREPLY_YES" => $quickreply_yes,
   "QUICKREPLY_NO" => $quickreply_no,

#
#-----[ OPEN ]------------------------------------------
#
admin/admin_users.php

#
#-----[ FIND ]------------------------------------------
# around line 248
      $allowsmilies = ( isset( $HTTP_POST_VARS['allowsmilies']) ) ? intval( $HTTP_POST_VARS['allowsmilies'] ) : $board_config['allow_smilies'];

#
#-----[ AFTER, ADD ]--------------------------------------
#
      $showquickreply = ( isset($HTTP_POST_VARS['showquickreply']) ) ? ( ($HTTP_POST_VARS['showquickreply']) ? TRUE : 0 ) : $board_config['allow_quickreply'];


#
#-----[ FIND ]------------------------------------------
# around line 658
            SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "

#
#-----[ IN-LINE FIND ]------------------------------------------
#
user_allowsmile = $allowsmilies,

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 user_quickreply = $showquickreply,

#
#-----[ FIND ]------------------------------------------
# around line 779
      $allowsmilies = $this_userdata['user_allowsmile'];

#
#-----[ AFTER, ADD ]--------------------------------------
#
      $showquickreply = $this_userdata['user_quickreply'];

#
#-----[ FIND ]------------------------------------------
# around line 904
         $s_hidden_fields .= '<input type="hidden" name="allowsmilies" value="' . $allowsmilies . '" />';

#
#-----[ AFTER, ADD ]--------------------------------------
#
         $s_hidden_fields .= '<input type="hidden" name="showquickreply" value="' . $showquickreply . '" />';

#
#-----[ FIND ]------------------------------------------
# around line 1021
         'ALWAYS_ALLOW_SMILIES_NO' => (!$allowsmilies) ? 'checked="checked"' : '',

#
#-----[ AFTER, ADD ]--------------------------------------
#
         'SHOW_QUICK_REPLY_YES' => ( $showquickreply) ? 'checked="checked"' : '',
         'SHOW_QUICK_REPLY_NO' => ( !$showquickreply) ? 'checked="checked"' : '',

#
#-----[ FIND ]------------------------------------------
# around line 1061
         'L_ALWAYS_ALLOW_SMILIES' => $lang['Always_smile'],

#
#-----[ AFTER, ADD ]--------------------------------------
#
         'L_SHOW_QUICK_REPLY' => $lang['Show_quick_reply'],

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

#
#-----[ FIND ]------------------------------------------
# around line 137
      $allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $board_config['allow_smilies'];

#
#-----[ AFTER, ADD ]--------------------------------------
#
      $showquickreply = ( isset($HTTP_POST_VARS['showquickreply']) ) ? ( ($HTTP_POST_VARS['showquickreply']) ? TRUE : 0 ) : $board_config['allow_quickreply'];

#
#-----[ FIND ]------------------------------------------
# around line 146
      $allowsmilies = ( isset($HTTP_POST_VARS['allowsmilies']) ) ? ( ($HTTP_POST_VARS['allowsmilies']) ? TRUE : 0 ) : $userdata['user_allowsmile'];

#
#-----[ AFTER, ADD ]--------------------------------------
#
      $showquickreply = ( isset($HTTP_POST_VARS['showquickreply']) ) ? ( ($HTTP_POST_VARS['showquickreply']) ? TRUE : 0 ) : $userdata['user_quickreply'];

#
#-----[ FIND ]------------------------------------------
# around line 457
            SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "

#
#-----[ IN-LINE FIND ]------------------------------------------
#
user_allowsmile = $allowsmilies,

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
 user_quickreply = $showquickreply,

#
#-----[ FIND ]------------------------------------------
# around line 718
   $allowsmilies = $userdata['user_allowsmile'];

#
#-----[ AFTER, ADD ]--------------------------------------
#
   $showquickreply = $userdata['user_quickreply'];

#
#-----[ FIND ]------------------------------------------
# around line 880
      'ALWAYS_ALLOW_SMILIES_NO' => ( !$allowsmilies ) ? 'checked="checked"' : '',

#
#-----[ AFTER, ADD ]--------------------------------------
#
      'SHOW_QUICK_REPLY_YES' => ( $showquickreply) ? 'checked="checked"' : '',
      'SHOW_QUICK_REPLY_NO' => ( !$showquickreply) ? 'checked="checked"' : '',

#
#-----[ FIND ]------------------------------------------
# around line 917
      'L_ALWAYS_ALLOW_SMILIES' => $lang['Always_smile'],

#
#-----[ AFTER, ADD ]--------------------------------------
#
      'L_SHOW_QUICK_REPLY' => $lang['Show_quick_reply'],

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php

#
#-----[ FIND ]------------------------------------------
# around line 287
$lang['Allow_name_change'] = 'Allow Username changes';

#
#-----[ AFTER, ADD ]--------------------------------------
#
$lang['Allow_quick_reply'] = 'Allow Quick Reply';

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]------------------------------------------
# around line 1019
$lang['A_critical_error'] = 'A Critical Error Occurred';

#
#-----[ AFTER, ADD ]--------------------------------------
#
$lang['Quick_Reply'] = 'Quick Reply';
$lang['Show_quick_reply'] = 'Show Quick Reply Form';

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/board_config_body.tpl

#
#-----[ FIND ]------------------------------------------
# around line 170
   <tr>
     <th class="thHead" colspan="2">{L_AVATAR_SETTINGS}</th>

#
#-----[ BEFORE, ADD ]--------------------------------------
#
   <tr>
      <td class="row1">{L_ALLOW_QUICK_REPLY}</td>
      <td class="row2"><input type="radio" name="allow_quickreply" value="1" {QUICKREPLY_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_quickreply" value="0" {QUICKREPLY_NO} /> {L_NO}</td>
   </tr>

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl

#
#-----[ FIND ]------------------------------------------
# around line 187
   <tr>
     <td class="row1"><span class="gen">{L_BOARD_LANGUAGE}</span></td>

#
#-----[ BEFORE, ADD ]--------------------------------------
#
   <tr>
     <td class="row1"><span class="gen">{L_SHOW_QUICK_REPLY}</span></td>
     <td class="row2">
      <input type="radio" name="showquickreply" value="1" {SHOW_QUICK_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="showquickreply" value="0" {SHOW_QUICK_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
# around line 210
   <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE}:</span></td>

#
#-----[ BEFORE, ADD ]--------------------------------------
#
   <tr>
     <td class="row1"><span class="gen">{L_SHOW_QUICK_REPLY}:</span></td>
     <td class="row2">
      <input type="radio" name="showquickreply" value="1" {SHOW_QUICK_REPLY_YES} />
      <span class="gen">{L_YES}</span>&nbsp;&nbsp;
      <input type="radio" name="showquickreply" value="0" {SHOW_QUICK_REPLY_NO} />
      <span class="gen">{L_NO}</span></td>
   </tr>

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl

#
#-----[ FIND ]------------------------------------------
# around line 84
<table width="100%" cellspacing="2" border="0" align="center">

#
#-----[ BEFORE, ADD ]--------------------------------------
#
<!-- BEGIN switch_quick_reply -->
   {QRBODY}
<!-- END switch_quick_reply -->


#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
# around line 27
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);

#
#-----[ AFTER, ADD ]--------------------------------------
#
include($phpbb_root_path . 'includes/functions_post.'.$phpEx);

#
#-----[ FIND ]------------------------------------------
# around line 563
   'body' => 'viewtopic_body.tpl')

#
#-----[ REPLACE WITH ]------------------------------------------
#
   'body' => 'viewtopic_body.tpl',
   'qrbody' => 'viewtopic_quickreply.tpl')

#
#-----[ FIND ]------------------------------------------
# around line 826
//
// Okay, let's do the loop, yeah come on baby let's do the loop
// and it goes like this ...

#
#-----[ BEFORE, ADD ]--------------------------------------
#
//
// Quick Reply
//
if ($board_config['allow_quickreply'] && $userdata['user_quickreply'] && $is_auth['auth_reply'] && ($forum_topic_data['forum_status'] != FORUM_LOCKED) && ($forum_topic_data['topic_status'] != TOPIC_LOCKED) )
{
   $show_qr_form =   true;
}
else
{
   $show_qr_form =   false;
}


#
#-----[ FIND ]------------------------------------------
# around line 1166
   //
   // Again this will be handled by the templating
   // code at some point

#
#-----[ BEFORE, ADD ]--------------------------------------
#
   //
   // Quick Reply
   //
   if ( $show_qr_form )
   {
      $poster = '<a href="javascript:pn(\''.$poster.'\');">'.$poster.'</a>';
   }


#
#-----[ FIND ]------------------------------------------
# around line 1233
$template->pparse('body');

#
#-----[ BEFORE, ADD ]--------------------------------------
#
if ( $show_qr_form )
{
   $template->assign_block_vars('switch_quick_reply', array());
   include($phpbb_root_path . 'includes/viewtopic_quickreply.'.$phpEx);
}

#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_users ADD user_quickreply TINYINT(1) DEFAULT '1' NOT NULL ;
UPDATE phpbb_users SET user_quickreply=0 WHERE user_id=-1;
INSERT INTO phpbb_config (config_name, config_value) VALUES ('allow_quickreply', '1');

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Kullanıcı avatarı
ESQARE
Web Sitesi Yöneticisi
Web Sitesi Yöneticisi
Mesajlar: 7015
Kayıt: 18.09.2005, 20:51
İletişim:

Mesaj gönderen ESQARE »

mysql kullandığın tabloların ön adları phpbb_ değil sanırım? Çünkü öyle bir tablo bulunamıyor diyor.
Kilitli

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

Kimler çevrimiçi

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