Can we limit the number of quotes in a reply?

knapplc

Active member
We seem to have a LOT of people who love to string together these epically long quote strings. Can we limit that with the IP.Board software? I've seen other boards where this can be done. Ideally I would limit it to four.

 
Yes, we can. Right now, it's set to 10. We can set it to another number - in fact, the software notes that the more quotes, the more of a hit on performance you get.

So, guys - thoughts? Limit it to less than 10? If so, what number?

 
6? To be generous. 4 to be a bit stingy. The problem is more with quoting long posts sometimes, than the quantity of posts in the quote tree. Frequently I think there's nothing wrong with 4 or even 5...but it's the times when every quoted post is five paragraphs long...

 
Sort of related, but are there any settings for the posting interface at all? Something that's really annoying is the fact that links get pasted as rich text (i.e, with the tags applied) in fast reply. Unless you have the light switch off.

 

Any way we can turn the whole WYSIWIG interface off by default, or at least make it a per-user setting?

 
Definitely agree, zoogies. That WYSIWYG interface is OK, but I vastly prefer the previous version's method. This is a little old, and it consistently screws up the formatting of whatever you put in. I've had to switch back and forth between the light switch on and off to make some posts because the stupid thing ganks up my paragraphs, my indents, etc.

While we're at it, is there any way we could change the emoticons that are in the default box below the quick reply? The ones we have now are rarely used.

 
1. WYSIWYG - There is no setting through the Control Panel that is global in nature. With the prior version of the software, there was the option to set the editor on a per-member version. But it's no longer there. I suspect that we should be able to edit the templates to change from WYSIWYG to plain text, but that's about all I can suggest.

2. Emoticons - I have no idea how the Board is deciding which ones to pull and display on the "quick" emoticon bar below the input field. I've looked at a couple of templates, and I suspect that the setting is actually in a javascript file, but I'll have to investigate more for that. Actually, I won't - it is pulling from a javascrip file. If you rest your cursor on the emoticon icon, it displays the javascript it's calling. It's weird - the sort order is not alphabetical, nor does it pull from the list of emoticons in any order I can figure out. I'll take a look at the javascript to see if I can figure out how it's pulling it. In the meantime, and assuming I can suss it out, which ones would we like there?

 
Last edited by a moderator:
It looks like it is in a bit of inline javascript code, actually, which is frustrating.

IPS also appears to be using 3rd party software for its editing interface. Not sure if that means it's optional, or it's just built in now.

The line you're looking for:

Code:
<script type="text/javascript" src="http://www.huskerboard.com/public/js/3rd_party/ckeditor/ckeditor.js"></script>
Not sure what file this is in. The template file probably doesn't have that src either, probably some variable name instead. The lines /after/ that define some variables.

There's this line:

Code:
var IPS_smiles		= {"total":104,"count":20,"emoticons":[{"src":"drunk.gif","text":""},{"src":"cu1.jpg","text":""},{"src":"ou1.gif","text":":spooners"},{"src":"ut.gif","text":""},{"src":"pancakebunny.gif","text":""},{"src":"confused.gif","text":""},{"src":"dunno.gif","text":""},{"src":"eek3dance.gif","text":""},{"src":"hmmph.gif","text":""},{"src":"isweartoallthatsholy.gif","text":""},{"src":"leghump.gif","text":""},{"src":"willy_nilly.gif","text":""},{"src":"restore.gif","text":""},{"src":"hskrpwr.gif","text":""},{"src":"disagree.gif","text":""},{"src":"yourpoint.gif","text":""},{"src":"excuseme.gif","text":""},{"src":"badidea.gif","text":""},{"src":"insertsarcasm.gif","text":""},{"src":"includeme.gif","text":""}]};
Not sure what changing the 'total' might do, but the 'count' and the following list appear to correspond to the 20 emoticons that appear below. This might be dynamically generated somewhere, it'd be really odd if that bit of text is actually sitting inline in some template file.

There's also a link to a config file:

http://www.huskerboa...r/ips_config.js

Which doesn't appear to do much, but it does have an interesting line:

Code:
config.extraPlugins = 'ipsbbcode,ipsquote,ipscode,ipsmedia,ipsautosave,ipsswitch,pastefromword,ipsemoticon';
I suspect if we remove the "pastefromword" entry, all pasted text will be pasted as plain text. The downside is that bold, italicized text won't be pasted that way.

 
Last edited by a moderator:
Thanks, Alex. Going to take a lot of digging to see how they implement each feature. There has to be something that generates the criteria the calls particular emoticons for the "quick" list and creates those variables.

I've looked at most of the javascripts for the editors, and they seem to define function (switching between WYSIWIG and plain text, for example). I'm hoping, given that, there's a template the initially sets the editor to WYSIWYG, since the javascript doesn't set the default - just the ability to toggle between them. As for the third party editors, I think those are for the Control Panel, and the ability to edit the templates and CSS files outside the Control Panel, which is an option. One reason I think that is all the JS files simply refer to features of the posting editor, and involve only the standard WYSIWYG editor and plain text. Oh, yes, another function of the third party files, I think, is to implement editors that are browser-specific. I recall one of the JS files having calls for specific browsers.

Odd way to implement these features, in my opinion.

 
Who is Alex? And are you from the Ukraine, and do you ever go by Sascha? If so, I think we worked together in San Francisco.

 
http://www.huskerboard.com/index.php?/topic/57599-i-keep-getting-errors-when-quoting/page__pid__910957&do=findComment&comment=910957

http://www.huskerboard.com/index.php?/topic/57650-the-number-of-opening-quote-tags-does-not-match-the-number-of-closing-quote-tags/

Just wondering if maybe 5 is too unforgiving?

Maybe something like 8? And try to get users to avoid quote pyramids with reminders? The error message is cryptic and confusing. Worse, it doesn't let a post go through and users may have little idea how to fix it.

 
Back
Top