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)
 Default Mode for Posting Form
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

maduko
New Member

USA
58 Posts

Posted - 02 January 2006 :  23:54:51  Show Profile  Visit maduko's Homepage
A moderator asked me if it was possible to change the default mode the post form uses. His suggestion was to change it to Prompt mode because many users find it easier to use.

I looked through the admin options but can't find any place to set this option. Does it have to be done in the code?






Places2ride.com

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 03 January 2006 :  06:32:25  Show Profile  Send ruirib a Yahoo! Message
Yeah, inc_code.js. I think it also needs some changes somewhere else, but I'm not sure about it now.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 03 January 2006 :  11:20:33  Show Profile
In inc_post_buttons.asp, find the following on line 41:
"                	<option selected value=""0"">Basic </option>" & vbNewLine & _
"                	<option value=""1"">Help </option>" & vbNewLine & _
"                	<option value=""2"">Prompt </option>" & vbNewLine & _
And replace it with the following:
"                	<option value=""0"">Basic </option>" & vbNewLine & _
"                	<option value=""1"">Help </option>" & vbNewLine & _
"                	<option selected=""selected"" value=""2"">Prompt </option>" & vbNewLine & _
Find the following on line 35 of inc_code.js:
helpstat = false;
stprompt = false;
basic = true;
And replace it with the following:
helpstat = false;
stprompt = true;
basic = false;

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 03 January 2006 :  14:38:12  Show Profile
Looks to have a bit extra for the selected there Shaggy:
quote:
Originally posted by Shaggy

And replace it with the following:
"                	<option value=""0"">Basic </option>" & vbNewLine & _
"                	<option value=""1"">Help </option>" & vbNewLine & _
"                	<option selected=""selected"" value=""2"">Prompt </option>" & vbNewLine & _


I would of thought that the following would be fine for that area:
"                	<option value=""0"">Basic </option>" & vbNewLine & _
"                	<option value=""1"">Help </option>" & vbNewLine & _
"                	<option selected value=""2"">Prompt </option>" & vbNewLine & _
Just a thought. *grin*

Cheers,

David Greening
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 04 January 2006 :  06:09:39  Show Profile
Ay, 'twould also do. But XHTML requires that boolean attributes are used in full, rather than in their minimised form.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

maduko
New Member

USA
58 Posts

Posted - 15 January 2006 :  16:39:13  Show Profile  Visit maduko's Homepage
Thanks for the input (and disregard my previous reply).

That appears to have the desired effect. But only the e-mail button actually fires the prompt window. The web and image buttons don't seem to do it.





Places2ride.com


Edited by - maduko on 20 January 2006 12:42:08
Go to Top of Page

maduko
New Member

USA
58 Posts

Posted - 21 January 2006 :  12:04:54  Show Profile  Visit maduko's Homepage
I've double-checked and all the code appears to be correct. It's strange to me that some buttons would work correctly and others would not.

Any ideas?



Places2ride.com

Go to Top of Page

TonyB7
Junior Member

USA
267 Posts

Posted - 21 January 2006 :  23:03:16  Show Profile  Send TonyB7 an AOL message  Send TonyB7 a Yahoo! Message
quote:
Any ideas?
Since you asked, my idea (and my moderators) is to forget it. While this may make it easier for some noobs, it's going to make it LOTS more difficult for your core posters.
Go to Top of Page

maduko
New Member

USA
58 Posts

Posted - 31 January 2006 :  17:00:45  Show Profile  Visit maduko's Homepage
We got it working.

There's a bit right above the <option> stuff that lists the modes with true/false. Once I changed those it worked fine.

quote:
make it easier for some noobs


You might want to remove the toolbars entirely from your forum?

Most of our visitors fall into that category. This forum is a community board and the average member is just discovering copy-n-paste. Most of them are puzzled when they click a button and "nothing" happens. They don't associate the toolbar button with the appearance of little words and square brackets.

Changing the form to default with Prompt mode was actually a moderator's suggestion. And so far it's quite a hit.



Places2ride.com

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