Page 1 of 1

TURNING OFF THE CAPS PROMPT [SOLVED]

PostPosted: Sun Mar 02, 2008 9:27 pm
Author: XHIBIT
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://loaded.x-tvmovies.com

PHP Version:
MySQL Version:


What was done before the problem appeared?
Nada


What was done to try to solve the problem?
Searching this site for an answer



De.scription and Message

I know its a way, I just cant find it, but how can I disable that Caps prompt you get if you are typing in Uppercase with more than 7 characters ?
I always have my forum topics in caps to make it easier to find specific threads. and its hella annoying having that prompt constantly.


Also, I see that some forums are running pay per click ads (keywords}. I know you can run them in the portal by inserting the java code. But is it possible to run them in the forums threads as well ?

Re: TURNING OFF THE CAPS PROMPT

PostPosted: Sun Mar 09, 2008 12:52 pm
Author: meijin
I would like to turn this off as well and cannot find how.

PostPosted: Mon Mar 10, 2008 11:06 am
Author: Fallen
Its in the java .script I think. I have changed it before. I will look and see if I still have my notes.


Ok found it.

/templates/post_message.js

// Maximum caps in a row (after stripping all non-alphabetical characters)
// Setting this too low may cause it to be triggered by uppercase BBCode/HTML tags
// or acronyms and the like
var TQ_MAX_CAPS = 8;

// Maximum size of text range to sample (should be >= TQ_MAX_CAPS)
var TQ_SAMPLE_SIZE = 16;

// Cutoff point; disable Type Quietly if the message gets long
var TQ_CUT_OFF_POINT = 8192;

// Message to display when user is shouting
var TQ_MESSAGE =
'You seem to be typing in 'all capitals'.nn' +
'This is not usually a good idea: it can maken' +
'your message harder to read or might indicate n' +
'you are 'shouting'.nn' +
'Please make sure Caps Lock is off, and type inn' +
'mixed or small letters. Thanks!'


Should be on line 9. Just change the number for maximum caps to whatever you want. I changed the message to "Hey, you don't need to shout. We get the point!"

Also if you go a little lower in the page.
// Initialisation: Leave these lines as is
var tqIsActive = true;
var tqPrevEndChars = '';
var tqPrevLength = 0;
var tqPrevElement = '';


You should be able to change the true to false

Re: TURNING OFF THE CAPS PROMPT

PostPosted: Tue Mar 11, 2008 11:06 pm
Author: XHIBIT
OK Thanx bro that worked, thats was drivin me crazy

Re: TURNING OFF THE CAPS PROMPT [SOLVED]

PostPosted: Tue Mar 11, 2008 11:53 pm
Author: Helter
or you could open forum root/templates/your template/posting_body.tpl


find this

Code: Select all
<script></script>


and replace with this

Code: Select all
<!--<script></script>-->