SloppyGoat
04-15-2003, 11:23 AM
I have one of my forums excluded from default autoparsing. Can anyone tell me how I can also apply this exclusion to the quickreply box? It seems to ignore my hack, which is this.
Replace this in newthread.php and newreply.php
if (!isset($parseurl)) {
$parseurlchecked="CHECKED";
}
With this:
if ((!isset($parseurl)) && ($foruminfo[forumid]!=22)) {
$parseurlchecked="CHECKED";
} else {
$parseurlchecked = '';
}
It's pretty slick, except for the quickreply. I assume it's because of this line?
<input type="hidden" name="parseurl" value="yes">
[edit] If I remove that line, it stops parsing globally...which is not quite the effect I'm after.
All I want to do, is make the quickreply not autoparse in one forum. This must be possible, wouldn't ya think?
Any advise would be much appreciated.
Replace this in newthread.php and newreply.php
if (!isset($parseurl)) {
$parseurlchecked="CHECKED";
}
With this:
if ((!isset($parseurl)) && ($foruminfo[forumid]!=22)) {
$parseurlchecked="CHECKED";
} else {
$parseurlchecked = '';
}
It's pretty slick, except for the quickreply. I assume it's because of this line?
<input type="hidden" name="parseurl" value="yes">
[edit] If I remove that line, it stops parsing globally...which is not quite the effect I'm after.
All I want to do, is make the quickreply not autoparse in one forum. This must be possible, wouldn't ya think?
Any advise would be much appreciated.