TURNING OFF THE CAPS PROMPT [SOLVED]

Support for IntegraMOD 141

Moderator: Integra Moderator

TURNING OFF THE CAPS PROMPT [SOLVED]

PostAuthor: XHIBIT » Sun Mar 02, 2008 9:27 pm

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 ?
Last edited by XHIBIT on Tue Mar 11, 2008 11:07 pm, edited 1 time in total.
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/LP-ani.gif[/img][/url]
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/ALBUM%203/rabbitbanner.jpg[/img][/url]
[url=http][img=center]http://5thshiftradio.top-site-list.com/images/banners/5thshiftradio.jpg[/img][/url]
User avatar
XHIBIT
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 25, 2007 11:44 am
Cash on hand: 0.00

Re: TURNING OFF THE CAPS PROMPT

PostAuthor: meijin » Sun Mar 09, 2008 12:52 pm

I would like to turn this off as well and cannot find how.
Last edited by meijin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Michael
User avatar
meijin
Members
Members
 
Posts: 62
Likes: 0 post
Liked in: 0 post
Joined: Fri Feb 22, 2008 2:16 am
Cash on hand: 0.00

PostAuthor: Fallen » Mon Mar 10, 2008 11:06 am

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
Last edited by Fallen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Fallen
Members
Members
 
Posts: 39
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 8:54 pm
Cash on hand: 0.00

Re: TURNING OFF THE CAPS PROMPT

PostAuthor: XHIBIT » Tue Mar 11, 2008 11:06 pm

OK Thanx bro that worked, thats was drivin me crazy
Last edited by XHIBIT on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/LP-ani.gif[/img][/url]
[url=http][img=center]http://i206.photobucket.com/albums/bb186/XTVMOVIES/ALBUM%203/rabbitbanner.jpg[/img][/url]
[url=http][img=center]http://5thshiftradio.top-site-list.com/images/banners/5thshiftradio.jpg[/img][/url]
User avatar
XHIBIT
Integra Member
Integra Member
 
Posts: 113
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 25, 2007 11:44 am
Cash on hand: 0.00

Re: TURNING OFF THE CAPS PROMPT [SOLVED]

PostAuthor: Helter » Tue Mar 11, 2008 11:53 pm

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>-->
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]