Super Quick Reply

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
157
62%
Very Good
31
12%
Good
30
12%
Fair
10
4%
Poor
25
10%
 
Total votes: 253

Electra736
Registered User
Posts: 270
Joined: Fri Aug 11, 2006 4:25 pm

Post by Electra736 »

ZGTm wrote: To fix SQR with phpBB 2.0.22

In /includes/viewtopic_quickreply.php, line 22, after:

Code: Select all

$hidden_form_fields .= '<input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" />';
Add:

Code: Select all

$hidden_form_fields .= '<input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />';
That should take care of the "Invalid session" message.

Happy Christmas!


I think, HayK, you'll quickly have to submit the updated MOD files. :lol:
FireStorM~
Registered User
Posts: 69
Joined: Thu Jul 28, 2005 9:17 pm

Post by FireStorM~ »

Thank you Electra736 ..

I would like to Remove Subject field in the Quick Reply , how i can do this plz?

Thanks
hmmm
AFIEE
Registered User
Posts: 76
Joined: Thu Mar 24, 2005 9:06 pm

Post by AFIEE »

How come it doesn't take you back to your posted message after you reply but back to the 1st page of the topic?
Electra736
Registered User
Posts: 270
Joined: Fri Aug 11, 2006 4:25 pm

Post by Electra736 »

FireStorM~ wrote: Thank you Electra736 ..

I would like to Remove Subject field in the Quick Reply , how i can do this plz?

Thanks


Open ViewTopic_QuickReply.tpl and remove the following code:

Code: Select all

	<tr>
	  <td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
	  <td class="row2" width="78%"> <span class="gen">
		<input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
		</span> </td>
	</tr>
Amphor
Registered User
Posts: 88
Joined: Mon Dec 25, 2006 6:18 pm

Post by Amphor »

well, couldn't install it, because it does not find certain row in viewtopic_body.tpl, what IS there, checked it n+1 times
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

Amphor wrote: well, couldn't install it, because it does not find certain row in viewtopic_body.tpl, what IS there, checked it n+1 times


You are so cool in describing rpoblems. :P

As hayk asked me, links are deleted.
Last edited by Makc666 on Tue Jan 16, 2007 12:32 am, edited 1 time in total.
Amphor
Registered User
Posts: 88
Joined: Mon Dec 25, 2006 6:18 pm

Post by Amphor »

well, what done is done

Parse error: syntax error, unexpected T_STRING in /www/03/unest.pri.ee/foorum/language/lang_estonian/lang_main.php on line 1013


actually, there are only 998 lines
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

Amphor wrote: well, what done is done

Parse error: syntax error, unexpected T_STRING in /www/03/unest.pri.ee/foorum/language/lang_estonian/lang_main.php on line 1013

actually, there are only 998 lines

Check lang_main.php for new added lines.
Comment them out and check again.
These is the way to look for such errors.
baerenwurm
Registered User
Posts: 131
Joined: Wed Nov 06, 2002 2:38 pm
Location: Germany

Post by baerenwurm »

?

Code: Select all

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

#
#-----[ FIND ]------------------------------------------
#
# NOTE - the origial text is:
# <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<a href="{U_POST_NEW_TOPIC}">

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

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
U_POST_NEW_TOPIC
hayk
Registered User
Posts: 428
Joined: Tue Feb 04, 2003 10:53 am
Location: exUSSR
Contact:

Post by hayk »

baerenwurm wrote: ?

Code: Select all

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

#
#-----[ FIND ]------------------------------------------
#
# NOTE - the origial text is:
# <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<a href="{U_POST_NEW_TOPIC}">

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

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

Read this topic and you'll find the answer.
d3ux
Registered User
Posts: 38
Joined: Sun Nov 20, 2005 8:37 am

Post by d3ux »

Could not update users table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' user_profile_view_popup = '', 0, user_profile_view_popup = 0, user_sig = '[url=' at line 2

UPDATE phpbb_users SET user_email = 'd3ux@hot.ee', user_icq = '', user_website = 'http://d3ux.pri.ee', user_occ = '', user_from = 'Mother Earth', user_interests, user_profile_view_popup = '', 0, user_profile_view_popup = 0, user_sig = '[img:9d4e0b4c8c]http://d3ux.pri.ee/img/tourney.jpg[/img:9d4e0b4c8c] d3ux@tdr.ee - Isikliku suunaga k', user_sig_bbcode_uid = '9d4e0b4c8c', user_viewemail = 0, user_aim = '', user_yim = '', user_msnm = '', user_attachsig = 1, user_allowsmile = 1, user_allowhtml = 0, user_allowbbcode = 1, user_allow_viewonline = 1, user_notify = 0, user_notify_pm = 1, user_popup_pm = 1, user_timezone = 2, user_dateformat = 'd M Y H:i', user_show_quickreply = 0, user_quickreply_mode = 1, user_open_quickreply = 1, user_lang = 'estonian', user_style = 27, user_active = 1, user_actkey = '' WHERE user_id = 2354

Line : 535
File : usercp_register.php



Where is the problem? I had a packup of usercp_register.php file. So I made the code change again and checked many-many times, if I have any problems in there but no. Eberything should be working normally.
Bot no! :(

Help me out, guys.

Thanks!
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

d3ux wrote: SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' user_profile_view_popup = '', 0, user_profile_view_popup = 0, user_sig = '[url=' at line 2

This bug is not connected with this mode.

Doesn't it seemed strange to you that you have:
user_profile_view_popup = '', 0, user_profile_view_popup = 0,
twice?

Any way, there is no user_profile_view_popup in this mode.
d3ux
Registered User
Posts: 38
Joined: Sun Nov 20, 2005 8:37 am

Post by d3ux »

Makc666 wrote:
d3ux wrote:SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' user_profile_view_popup = '', 0, user_profile_view_popup = 0, user_sig = '[url=' at line 2

This bug is not connected with this mode.

Doesn't it seemed strange to you that you have:
user_profile_view_popup = '', 0, user_profile_view_popup = 0,
twice?

Any way, there is no user_profile_view_popup in this mode.

Oh, my bad. Sorry guys. :oops:
I was tired last night and did'nt watch this error message properly.
Thanks anyway.


EDIT:

Okay, now I have fixed it. BUT another problem appeared.
There is no "Quick Reply" button and no "Quick Reply" form in viewtopic.php page, unless I choose "Show QRT form: Only on last page" in my profile.
Why is it so?
User avatar
Makc666
Registered User
Posts: 358
Joined: Fri Mar 07, 2003 12:03 pm
Location: MSK-RU
Name: Maxim
Contact:

Post by Makc666 »

d3ux wrote: Okay, now I have fixed it. BUT another problem appeared.
There is no "Quick Reply" button and no "Quick Reply" form in viewtopic.php page, unless I choose "Show QRT form: Only on last page" in my profile.
Why is it so?

Go to SQR settings in ACP and search there...
d3ux
Registered User
Posts: 38
Joined: Sun Nov 20, 2005 8:37 am

Post by d3ux »

Makc666 wrote: Go to SQR settings in ACP and search there...

In the ACP, there is no settings of SQR :?
I just checked and I have made all code changes properly.
What now? 8O

EDIT:
That problem solved too!
Post Reply

Return to “[2.0.x] MOD Database Releases”