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 / Classic ASP versions(v3.4.XX)
 how to change format mode
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GhettoDalaiLama
Junior Member

212 Posts

Posted - 18 August 2002 :  04:36:24  Show Profile  Visit GhettoDalaiLama's Homepage  Send GhettoDalaiLama an ICQ Message
How can I change the default Format Mode? Like I want to change it from Basic to Prompt.

Thanks.

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 18 August 2002 :  04:39:02  Show Profile
In inc_code.asp change


<SCRIPT LANGUAGE="JavaScript">

helpstat = false;
stprompt = false;
basic = true;


function thelp(swtch){


To


<SCRIPT LANGUAGE="JavaScript">

helpstat = false;
stprompt = true;
basic = false;


function thelp(swtch){


And post.asp line EDIT - 966 apporx more like line 861, somewhere round there

this


<select name="font" onChange="thelp(this.options[this.selectedIndex].value)">
<option value="1">Help </option>
<option value="2">Prompt </option>
<option selected value="0">Basic </option>
</select>


To this


<select name="font" onChange="thelp(this.options[this.selectedIndex].value)">
<option value="1">Help </option>
<option selected value="2">Prompt </option>
<option value="0">Basic </option>
</select>


Thats it i think

Edited by - Hamlin on 18 August 2002 04:44:09
Go to Top of Page

GhettoDalaiLama
Junior Member

212 Posts

Posted - 18 August 2002 :  04:47:53  Show Profile  Visit GhettoDalaiLama's Homepage  Send GhettoDalaiLama an ICQ Message
Thanks for the quick reply.

Works great.
Go to Top of Page

MicScoTho
Starting Member

10 Posts

Posted - 21 August 2002 :  18:54:44  Show Profile
How do I do this in the newest version? I was able to do the inc_code.asp change, but this code:

<select name="font" onChange="thelp(this.options[this.selectedIndex].value)">
<option value="1">Help </option>
<option value="2">Prompt </option>
<option selected value="0">Basic </option>
</select>

was not in post.asp. I found it in inc_post_buttons.asp and I changed it there, but the default mode seems to still be Basic, even though stprompt is set to true and the Prompt option is selected.
Go to Top of Page

MicScoTho
Starting Member

10 Posts

Posted - 21 August 2002 :  19:07:34  Show Profile
Just found my error. For anyone who is interested, inc_code.asp has been replaced by inc_code.js. This is a message at the top of inc_code.asp:
quote:
'## Replaced by inc_code.js
'## Leaving for use by MODS that may still be using it.


So basically, I had to change
helpstat = false;
stprompt = false;
basic = true;

to

helpstat = false;
stprompt = true;
basic = false;

in inc_code.js, NOT inc_code.asp. (This applies to version 3.4)
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 1.86 seconds. Powered By: Snitz Forums 2000 Version 3.4.07