miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
News miniBB Support Forums / News /  
 

Minor updates of Premium add-ons: Contact-Us, Polls

 
Author Paul
Lead Lead Developer
#1 · Posted: 11 Jun 2024 19:13Reply Quote
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',
);

Author Guest
~
#2 · Posted: 17 Jun 2024 13:29Reply Quote
Hey Paul,

In Downloads, I've noticed most recently updated add-ons are marked in yellow — great addition, btw! But amongst the add-ons for the June 11 update, I see there is Smilies add-on — but which is not mentioned in your news feed? Are there any important changes?

Thanks!

Author Paul
Lead Lead Developer
#3 · Posted: 17 Jun 2024 18:06Reply Quote
Guest:
I see there is Smilies add-on — but which is not mentioned in your news feed? Are there any important changes?
Sometimes I make very minor change which affect mostly nothing for current users. Then I won't put it in announcements.

In this case, the update was just in templates/addon_smilies_func.html — I've removed a couple of unnecessary self-closing tags.

News miniBB Support Forums / News /
 Minor updates of Premium add-ons: Contact-Us, Polls
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.