I like the idea of this hack and have attempted to install it.
There is an error (or should say for the latest version of UBB there is an error since it is more worletized) in the install instructions.
code:
Look for:
&RadioField("Allow Reply with Quote?", "ReplyQuote", "yes",
"You can display a 'Reply with Quote'
icon beside each message. This will allow a user to quote an individual message
in a reply.", "$vars_misc (ReplyQuote}", "YES|Yes, permit this feature.%%
NO|No, do not permit this feature.");
In UBB 6.3.1.1 (or whatever latest version number is) there is no such line EXACTLY as stated since it has been converted to use wordlets.
It should say:
code:
[qb]Look for:
&RadioField($vars_wordlets_cp{vars_misc_quote}, "ReplyQuote", "yes", $vars_wordlets_cp
{vars_misc_quote_explained}, "$vars_misc{ReplyQuote}", "YES|$vars_wordlets_cp
{vars_misc_quote_yes}%%NO|$vars_wordlets_cp{vars_misc_quote_no}");
[/qb]
After doing the install, it did not work, though there was no disruption to the board.
I went to the control panel, the options were set to "yes" and "200" (default options set by the program if they are not set yet). To help determine where the problem was the settings were changed to "no" and "99". Upon reloading the misc settings page there it was back to "yes" and "200". Upon inspecting the misc settings file it was discovered that both of those settings were set to "undef" and other settings had been changed to the "no" and "200".
Upon further inspection of the install code this was noticed:
code:
Look for this:
my $FloodCheckSpan = &SmallClean3($in{FloodCheckSpan});
Underneath that add:
my $FloodCheckSpan = &SmallClean3($in{view_topic});
my $FloodCheckSpan = &SmallClean3($in{view_topic_char});
This did not seem right and using the little bit of understanding that I have I changed it to:
code:
[qb]Look for this:
my $FloodCheckSpan = &SmallClean3($in{FloodCheckSpan});
Underneath that add:
my $view_topic = &SmallClean3($in{view_topic});
my $view_topic_char = &SmallClean3($in{view_topic_char});
[/qb]
With that change it is now working on my test board.
However, with the other MODs that are installed there is an error popping up with the hits hack. I am pretty sure it has nothing to do with this mod and is simply an error I have made when I transferred some files.
***NOTE: The two code block lines have intentional line breaks added to prevent the page from spreading across three monitors. It should be one long line.