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: General / Previous versions
 email topic
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 03 June 2005 :  19:52:33  Show Profile
Hi,

I have version v3.3.05 or something like that and I want to change the senders email and name field so its only displays and is not editable like the current version.

I believe the change lies in the following code.
==
<td bgColor=<% =strPopUpTableColor %> align="right" nowrap><b><font face="<% =strDefaultFontFace %>" size=<% =strDefaultFontSize %>>Your Name:</font></b></td>
<td bgColor=<% =strPopUpTableColor %>><input name=YName type=<% if YName <> "" then Response.Write("hidden") else Response.Write("text") end if %> value="<% = YName %>" size=25><font face="<% =strDefaultFontFace %>" size=<% =strDefaultFontSize %>> <% if YName <> "" then Response.Write(YName) end if %></font></td>
==

Can someone advise what I need to change.

Thanks in advance.

Phil

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 10 June 2005 :  23:11:35  Show Profile
39 People have read this but no replies :(

Phil
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 10 June 2005 :  23:27:34  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
I think you just have to put in a disabled value in the input tag (untested as I don't have v3.3.05

e.g.

==
<td bgColor=<% =strPopUpTableColor %> align="right" nowrap><b><font face="<% =strDefaultFontFace %>" size=<% =strDefaultFontSize %>>Your Name:</font></b></td>
<td bgColor=<% =strPopUpTableColor %>><input name=YName disabled type=<% if YName <> "" then Response.Write("hidden") else Response.Write("text") end if %> value="<% = YName %>" size=25><font face="<% =strDefaultFontFace %>" size=<% =strDefaultFontSize %>> <% if YName <> "" then Response.Write(YName) end if %></font></td>
==

Couldn't see the email field above. How are you going to get the names in if the fields are not editable?

I have a feeling that it may cause other problems though....

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 19 June 2005 :  08:50:02  Show Profile
Hi,

Thanks for your help i've also now amended pop_mail and pop_send_to_a_friend so all my outgoing mail has a disclaimer.

= code below =

strMessage = strMessage & strForumURL & vbNewline & vbNewline & vbNewline
strMessage = strMessage & "Disclaimer" & vbNewline
strMessage = strMessage & "This message and any attachments are intended for the above named only, and may be privileged or confidential." & vbNewLine
strMessage = strMessage & "This email has been sent via a PhilsBBS (UK) Limited mail server and does not reflect our views, but the views of the sender." & vbNewLine
strMessage = strMessage & "PhilsBBS (UK) Limited will never share, sell, or rent individual personal information with anyone without your advance permission or unless ordered by a court of law. " & vbNewLine
strMessage = strMessage & "We do not guarantee that this material is free from viruses or any other defects although extreme care has been taken to minimize the risk." & vbNewLine
= end of code =

I thought it was a good idea to cover us for any email a user sends via the mail server.
What do you think.


Personally I think it may be worth adding this to a future version, but them decided.
Would be nice to see i've given something back to snitz.


Phil
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 22 June 2005 :  21:27:42  Show Profile
quote:
I have version v3.3.05 or something like that and I want to change the senders email and name field so its only displays and is not editable like the current version.



Now resolved :)

Phil
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.52 seconds. Powered By: Snitz Forums 2000 Version 3.4.07