Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Mod: Replace Quick Reply with Full Reply Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mod: Replace Quick Reply with Full Reply Form

 Post Reply Post Reply Page  12>
Author
 Rating: Topic Rating: 1 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Topic: Mod: Replace Quick Reply with Full Reply Form
    Posted: 04 August 2007 at 5:00pm

I hope that someone will benefit from this:

Replace the quick reply form with a full reply Rich Text Editor:
 
For those using 9.60+ follow these steps (older versions scroll down for instructions)
 
1- Open the file forum_posts.asp file
2- Add this dimension variable with the rest of Dims on top:

Dim strPostPage        'Replace the Quick Reply RTE with Full Reply RTE

3- Next, find the following code (usually around line 1443 (or around line 1203 if you are using an older forum version)):

 %>
 <!--#include file="includes/quick_reply_form_inc.asp" -->
 <%
End If

 
 
4- Place the following code right below the code above:

'full reply text editor 
%>
<br /><table cellspacing="1" cellpadding="3" class="tableBorder" align="center" style="width:600px;"> <tr class="tableLedger">  <td align="left">
<% = strTxtPostReply %>
</td> </tr> <tr class="tableRow">  <td align="left">
<!--#include file="includes/message_form_inc.asp" -->  </td> </tr></table>
<%
End If
 
 
that's it!
--------------------
 
For those using older versions than 9.60.
1- Open the file forum_posts.asp file
2- Add this dimension variable with the rest of Dims on top:

Dim strPostPage        'Replace the Quick Reply RTE with Full Reply RTE

3- Find the following code (usually around line 1203):

'Quick Reply !!!!
If blnBannedIP = false AND blnActiveMember AND blnBanned = False AND blnForumLocked = false AND blnReply AND blnTopicLocked = false AND blnPollNoReply = false AND intRecordPositionPageNum = intTotalRecordsPages Then

 %><!--#include file="includes/quick_reply_form_inc.asp" --><%
End If


4- If you are using versions 9.0 - 9.50 then Replace the code above with the code below:


'Quick Reply !!!!
'Modified to FULL Reply

If blnBannedIP = false AND blnActiveMember AND blnBanned = False AND blnForumLocked = false AND blnReply AND blnTopicLocked = false AND blnPollNoReply = false AND intRecordPositionPageNum = intTotalRecordsPages Then

 %><br />
<table cellspacing="1" cellpadding="3" class="tableBorder" align="center" style="width:600px;">
 <tr class="tableLedger">
  <td align="left"><% = strTxtPostReply %></td>
 </tr>
 <tr class="tableRow">
  <td align="left">
  <!--#include file="includes/message_form_inc.asp" -->
  </td>
 </tr>
</table><%
End If


______________________________________________________

5- If you are using version 9.51, then replace the code in step 3, with the following:


'Quick Reply !!!!
'Modified to FULL Reply
If blnBannedIP = false AND blnActiveMember AND blnBanned = False AND blnForumLocked = false AND blnReply AND blnTopicLocked = false AND blnPollNoReply = false AND intRecordPositionPageNum = lngTotalRecordsPages Then

 %><br />
<table cellspacing="1" cellpadding="3" class="tableBorder" align="center" style="width:600px;">
 <tr class="tableLedger">
  <td align="left"><% = strTxtPostReply %></td>
 </tr>
 <tr class="tableRow">
  <td align="left">
  <!--#include file="includes/message_form_inc.asp" -->
  </td>
 </tr>
</table><%
End If


__________________________________________________


6- If you are using version
9.53 - 9.56a then replace the code in step 3 with the following:

'Quick Reply !!!!
'Modified to Full Reply

If blnBannedIP = false AND blnActiveMember AND blnBanned = False AND blnForumLocked = false AND blnReply AND blnTopicLocked = false AND blnPollNoReply = false AND intRecordPositionPageNum = lngTotalRecordsPages Then

 %><br />
<table cellspacing="1" cellpadding="3" class="tableBorder" align="center" style="width:600px;">
 <tr class="tableLedger">
  <td align="left"><% = strTxtPostReply %></td>
 </tr>
 <tr class="tableRow">
  <td align="left">
  <!--#include file="includes/message_form_inc.asp" -->
  </td>
 </tr>
</table><%
End If


Edited by iSec - 20 October 2009 at 6:46pm
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
-vm- View Drop Down
Newbie
Newbie


Joined: 03 January 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote -vm- Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2008 at 3:29pm
Thanks for the post info_tech but I just need to increase the size of the original post editor.

Keep coding
-V-
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2008 at 12:03am

I'll take a look at that once I get home tonight Smile

"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2008 at 6:44pm
Ok to expand the quick reply and not replace it with a full reply editor, do the following:
  1. Open the file: quick_reply_form_inc.asp (found in the includes directory)
  2. At line 123, find this code:
     vbCrLf & "      document.write ('<iframe id=""WebWizRTE"" src=""RTE_textarea.asp?mode=reply&ID=" & CInt(RND * 2000) & strQsSID2 & """ width=""610"" height=""150"" style=""border: #A5ACB2 1px solid"" onLoad=""initialiseWebWizRTE();"" tabindex=""2""></iframe>');" & _

  3. Note the values for width and height, change those to suit your requirements. For example, change them to a width of 650 and a height of 200.
  4. That's it!
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
sparkweb View Drop Down
Newbie
Newbie


Joined: 09 February 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote sparkweb Quote  Post ReplyReply Direct Link To This Post Posted: 09 February 2008 at 5:44am
Thank you. This is exactly what I was looking for.
Back to Top
-vm- View Drop Down
Newbie
Newbie


Joined: 03 January 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote -vm- Quote  Post ReplyReply Direct Link To This Post Posted: 01 May 2008 at 3:10pm
Could someone please tell my how to expand the dimensions of RTE Post editor.

Many thanks
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 02 May 2008 at 2:12am
Originally posted by -vm- -vm- wrote:

Could someone please tell my how to expand the dimensions of RTE Post editor.

Many thanks
 

-vm- you have already asked this question and I have responded to it. Check out this post which is two posts above yours: http://forums.webwiz.net/forum_posts.asp?TID=24066&PID=131000#131000

"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
sales@dontyers.com View Drop Down
Newbie
Newbie


Joined: 18 August 2008
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote sales@dontyers.com Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2013 at 4:19pm
Is this Replace Quick Relpy editor available for Version 10.14?

Curious if it will work there or does it need further coding for 10.14?

DonSmile
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.


Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2021 Web Wiz Ltd. All rights reserved.