Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 PM Mod - Resize privatesend window
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 01 May 2008 :  16:11:11  Show Profile
Trying to tidy the forum up and have some commonality, I have noticed the privatesend.asp page when viewing in ?topic or ?reply the table which hold the input box is a lot smaller that the PM Buttons above. Can anyone suggest how we can stretch the table out to bring the right and left table extremities inline with the button edges above. ie 100%
SEE image



thank you in advance
andy
<

leatherlips
Senior Member

USA
1838 Posts

Posted - 01 May 2008 :  16:18:06  Show Profile  Visit leatherlips's Homepage
In privatesend.asp:

Line 173, add the part in red:

Response.Write "<table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" align=center>" & vbNewLine & _

Line 182, add the part in red:

" <table border=""0"" width=""100%"" cellspacing=""1"" cellpadding=""1"">" & vbNewLine

Your line numbers may be slightly differnt than mine. If you can't figure out exactly where then let me know and I'll let you know the code around those spots.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 01 May 2008 :  16:22:40  Show Profile
Look at line 162 and 169 in pm.view.asp. These are the two instances of width=50%, make them 100%. You can do a search by 50% and replace them to 100%.<
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 01 May 2008 :  16:25:12  Show Profile
aah leatherlips is right.
But it doesn't increase the message area proportionately.<

Edited by - texanman on 01 May 2008 16:33:01
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 01 May 2008 :  16:41:38  Show Profile  Visit leatherlips's Homepage
quote:
Originally posted by texanman

But it doesn't increase the message area proportionately.

Around line 247 look for:

cols=""70"" name=""Message"" rows=""10""

Change the number in red to adjust your message area.

(The number 70 is what I have. I'm not certain if that was the default number in the original mod.)

The number 10 controls the height. You can change that too if you'd like to make it higher or shorter.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 01 May 2008 16:46:20
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 01 May 2008 :  16:51:26  Show Profile
Thanks for the input, I did initially try texanmans suggestion prior to my request and it did not make a change. Leatherlips is spot on and I thank you..

Even more tidying up to stretch the Send to:, Subject: and Message input areas out to new 100% table area:
1. line 196 find:
" <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""sendto"" value=""" & Request.Querystring("mname") & """ size=""50"">
change to
" <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""sendto"" value=""" & Request.Querystring("mname") & """ size=""100%"">

2. line 213 find:
" <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"display")) & """ size=""50""></td>" & vbNewLine & _

change to
" <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"display")) & """ size=""100%""></td>" & vbNewLine & _

3. line 247 find:
" <td bgColor=""" & strPopUpTableColor & """><textarea id=""ta1"" class=""textarea""cols=""45"" name=""Message""

change to

" <td bgColor=""" & strPopUpTableColor & """><textarea id=""ta1"" class=""textarea""cols=""98%"" name=""Message""

I have chosen 98% as it keeps a slight border between the message area and the table edge.


Thats started me thinking about the Screensize options that appear on post.asp, where we can change the input box according to screen size and the input box resizes to suit.
With this in mind, I have found the option code for the screen size and wonder if this sort of option facility could be incorporated into privatesend.asp

Taken from post.asp line 538
"                <select name=""SelectSize"" size=""1"" tabindex=""-1"" onchange=""resizeTextarea('" & strUniqueID & "')"">" & vbNewLine & _
			"                	<option value=""1"""
	if strSelectSize = "1" then Response.Write(" selected")
	Response.Write	">640  x 480</option>" & vbNewLine & _
			"                	<option value=""2"""
	if strSelectSize = "2" or strSelectSize = "" then Response.Write(" selected")
	Response.Write	">800  x 600</option>" & vbNewLine & _
			"                	<option value=""3"""
	if strSelectSize = "3" then Response.Write(" selected")
	Response.Write	">1024 x 768</option>" & vbNewLine & _
			"                	<option value=""4"""
	if strSelectSize = "4" then Response.Write(" selected")
	Response.Write	">1280 x 1024</option>" & vbNewLine & _
			"                </select>" & vbNewLine & _
			"                </font></td>" & vbNewLine & _
			"              </tr>" & vbNewLine
end if 
<
Go to Top of Page

texanman
Junior Member

United States
410 Posts

Posted - 01 May 2008 :  19:17:44  Show Profile
quote:
Originally posted by Andy Humm
With this in mind, I have found the option code for the screen size and wonder if this sort of option facility could be incorporated into privatesend.asp




You sure can.

start the block in post.asp around 717 in my modded version from the line:
if strRqMethod = "Edit" or strRqMethod = "EditTopic" or strRqMethod = "Forum" or strRqMethod = "EditForum" or _

all the way to: end if

and place it right after the block that starts at line 209-214 in privatesend.asp<

Edited by - texanman on 01 May 2008 19:33:19
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07