The updates contain:
— For the
Contacts Form version
1.2.1, added JavaSript and PHP checks for the
`contacts_info` and
`contacts_email` fields, they should have different values. From my experience I could conclude that spammers most often fill in both these fields with similar values, which becomes an «indication» that the message is spam.
Updated files:
- addon_contactus.php
- /templates/addon_contact_us.html
- /lang/contact_us_eng.php — new variable: $l_cfWrongSimilarEmails
— For the
Polls & Surveys add-on version
1.4.2, there was
`text/javascript` and/or self-closed tags clean-up in the following scripts/templates/code fragments:
- addon_polls.php
- addon_polls_js.php
- bb_plugins.code.txt
- bb_codes.encode.txt
- bb_codes.decode.txt
- /templates/addon_polls_form.html
- /templates/addon_polls_list.html
- /templates/addon_polls_message_1.html
- /templates/addon_polls_message_2.html
- /templates/addon_polls_message_3.html
- /templates/addon_polls_popup.html
- /templates/addon_polls_vote.html
Also some other changes include:
- addon_polls.php — default sorting of Poll's questions in the View mode now is equal to the original order supplied by the Poll's author (was: by the number of votes)
- addon_polls_js.php — $jsHeader added
- addon_polls_options.php — $jsHeaderCharset now is set to an empty value by default (better for security). $popUpHeight=650; by default.
Important notice: if you upgrade the Polls add-on prior to miniBB version 3.6.1 (the current on this tiding creation), edit bb_codes.php and make sure to update the code below, so it contains the value of
'<script src' (this will be included in the default upcoming miniBB release soon):
$simpleCodes=array(
'<img src',
'<embed src',
'<script type',
'<script src',
'<script>',
'<iframe',
);