Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Chen Zhen

2
Releases & Version Updates / Snowflakes for SMF
November 29, 2018, 09:27:14 am
SMF-Snowflakes v1.42 has been released.

This release mainly deals with updating deprecated JQuery code.

The mod includes various types of snowflakes, bats, fireworks & Xmas lights.
There are also adjustable variables for the snowflake effects.

Changes...

v1.42
+& added profile permissions to the Snowflakes admin template
+& disabling Snowflakes for actions/subactions behavior has changed (see help text in admin)
! fixed misspelled help text
! fixed member database function (missing key column for replace/insert)

v1.41
+& added permission to allow membergroups profile option of enable/disable Snowflakes
! fixed profile and permission functions
! fixed SMF 2.1 profile area hook

v1.4
+& added admin options to disable Snowflakes during specific SMF actions and/or subactions

v1.3
+ updated included JQuery library to v3.3.1
+ added admin option to select Xmas lights container height
- removed utf-8 language files (existing language files are utf-8)
- eliminated redundant flash files
! fixed css for lights
! fixed instance of window.onload changed to eventListener
! fixed instances of (window).load(function(){...}) changed to (window).on("load, function(){...})
! lights offset now "em" instead of "px" and floating value input allowing negative to positive range: -10.99 to 10.99


Available in the download section:
Download SMF-Snowflakes
3
Site Discussion / Snowflakes
November 27, 2018, 10:35:57 pm

I decided to blow the dust off of the old snowflakes mod that I made a long time ago.
In case anyone is intending to use it, keep in mind that at them moment it needs an update to work properly with the SMF 2.1 branch.
It does work for it but I can see a javascript issue that needs fixing.
4
EhPortal Support / Eh Portal v1.23 ~ Stable
November 04, 2018, 08:16:46 pm
Eh Portal v1.23

EhPortal 1.23
================================================================================
! Fixed javascript default function parameters for IE11
! Fixed missing icon for Arcade block
! Fixed shoutbox javascript for IE11
! Fixed redirect when user is logged out and forum is set to no guest access
! Fixed redirectexit() forum url
&! Fixed login template not to appear within shoutbox when forum login is timed out




The main changes are important bug fixes and minor behavioral changes.
Please report any feedback and/or bugs in this support board.

The package is available in the download section.
5
News and Announcements / SMTP limits
October 21, 2018, 10:50:05 pm
WebDev & Simple Portal will soon change their SMTP mail server.
Unfortunately Gmail SMTP service has lowered their free limits considerably which means we are forced to find a server with larger limits.

This means that users will be receiving emails from a different SMTP server for both sites.
Thus far I am likely looking at using Elastic Mail.

I will update this thread when things are finalized.
 
6
EhPortal Support / EhPortal version 1.22
September 11, 2018, 09:53:29 pm
Eh Portal v1.22

EhPortal 1.22
================================================================================
+ Adjusted css and javascript for responsive mobile
! Filtered page id query for allowed characters
! Fixed css for articles block title
! Fixed default/images url for icons
! Fixed css for body class settings




The main changes are css adjustments for the responsive layout and some minor bug fixes.
Please report any feedback and/or bugs in this support board.

The package is available in the download section.
7
SMF Arcade Support + Plugins / html5 sessions
August 11, 2018, 01:19:25 pm

HTML5 game type has a hard coded session length of time.
This needs to use the SMF server database settings.

8
SMF Arcade Support + Plugins / scoring with decimals
August 11, 2018, 01:34:46 am

Some games need to record the tenths, hundredths, etc. (ie. scores as time).
Right now the arcade does not record decimals in the database.
I must have did that in error at some point.
This needs to be fixed.
9
The newest official version of the arcade can be downloaded from here:
https://web-develop.ca/index.php?action=downloads;area=stable_smf_arcade

Please report any issues in this board.



SMF Arcade version 2.56.07 released August 2/2018

This release fixes & enhances v3arcade support, adds rar archive support (minimum PHP 5.5 required), adds a game specific scoring API and also includes various bug fixes.

Please see the changelog for details:
SMF Arcade changelog
10
EhPortal Support / Eh Portal v1.21
July 19, 2018, 09:17:17 am
Eh Portal v1.21

EhPortal 1.21
================================================================================
+ Updated copyright year to 2018
+ Added shoutbox audio
+ Added profile option to honor ignored members
+ Added profile option to mute shoutbox audio
+ Added admin option to fix number of shouts in each shoutbox
+ Member links in shoutbox now initiate private shout prefix
+ Added responsive bootstrap for mobile devices (includes mobile detection class)
! Replaced previous shoutbox code using jQuery/javascript sub-routines
! Fixed undefined errors while editing/creating blocks
! window.onload replaced with event listener
- Removed obsolete extra utf8 language files (all language files are utf8)




The main changes are a working shoutbox with audio alert and a responsive option.
The responsive layout attempts to adjust your entire forum when viewed on a mobile device including tablets.
That option may require tweaking/changes pending the next release.
Please report any feedback and/or bugs in this support board.
11
Issue:

- when a game included in a gamepack has spaces in its folder name it gets ignored.

Upcoming fix:

- rename folder when decompressed to change spaces to underscore (spaces in file/folder names considered incorrect)
- ensure ibp3.2 game types are shown in list when view is opted
12
Ban Reports Logging Control


SMF 2.0.X - Ban Reports Logging Modification for SMF forums c/o Chen Zhen @ https://web-develop.ca
Copyright 2014
This software package is distributed under the terms of its CC BY-ND 4.0 License: http://creativecommons.org/licenses/by-nd/4.0/

Version 1.0


This installation process will add an option to the General Security and Moderation template
which will allow an administrator to enable or disable log entries of banned entities.
Banned entities whom repeatedly attempt to access the forum can cause an excessive error log file.
The ability to disable this option can help make your error log more manageable and save on resources.

Version History
---------------

v1.0
+ adds checkbox to Admin section under the heading of General Security and Moderation
+ option to enable/disable logging of banned entity log-in/access attempts

DOWNLOAD MODIFICATION
13
SMF Arcade Support + Plugins / Arcade admin news
June 13, 2018, 12:57:43 am

re. Arcade v2.56.04
Arcade news still shows it needs an update when the updated version is installed.
The only changes I made for that are in the javascript file that it scrapes from my website.
I should be able to fix it on my end without an update to the Arcade.

14

Game downloads are not including sub-folders/files.
This was working in the past but I messed it up somehow with one of the changes.

15
Releases & Version Updates / Zhen Mailer v1.22
June 04, 2018, 11:00:32 pm

Zhen Mailer

Version 1.22


This installation process will add the following:

-> STARTTLS-SMTP compatibility for use of 3rd party email providers (SMF 2.0.X branch)
-> Database dumps that are forwarded to the webmaster email
-> Attachment backups to the webmaster email as they are posted
-> Options to encrypt any email attachments as compressed zip archives (requires PHP 7.2+ & ZipArchive)

Compatibility notes:
- PHP version 5.5 with the openssl PHP extension enabled is the minimum requirement for STARTTLS-SMTP compatibility
- ZipArchive extension is required for compression of any attachment backups
- PHP version 7.2+ with the ZipArchive extension is required for any archive encryption
- cURL extension is required for the scheduled database dumps option

This will allow your forum to use SMTP email using gmail, hotmail or yahoo mail.
PHP version 7.2+, ZipArchive & cURL extensions are recommended to make full use of this modification.

Updated CA certificates are required for your forum to communicate with email providers using the STARTTLS SMTP extension.
Example settings for your php.ini file may be:
openssl.cafile = /etc/ssl/cacert.pem
curl.cainfo = /etc/ssl/cacert.pem

You can download the latest cacert.pem file here:
https://curl.haxx.se/ca/cacert.pem

Notes:
Although it is not mandatory, a mail user named "members" should be created for BCC bulk emails.
SMTP port 587 is recommended.


Zhen Mailer for Simple Machines Forum
c/o Chen Zhen @ web-develop.ca
@license   http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
@copyright 2018 Chen Zhen

3rd Party Usage:
PHPMailer - PHP email creation and transport class.
@license   http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
@author    Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
@copyright 2012 - 2017 Marcus Bointon

Shuttle-Export c/o 2createStudio
PHP based MySQL dump library
@license   http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
@copyright 2015 - 2017 2createStudio


Version History
---------------

v1.22
! added extra logic for scheduled db backup flag

v1.21
- removed redundant warning from install message
+ filtered signature in admin to not allow special characters
! remove any existing email signature to allowing ZhenMailer to override
! fixed missing argument in uniqidNameZhenMailer() function

v1.20
+ using modified SMF smtp_mail function for general emails on the SMF 2.0.X branch

v1.10
+ added ability to create database dumps that are forwarded to the webmaster email address
+ added ability to schedule database dumps (using cURL)
+ added ability to forward new attachments to the webmaster email address
+ files & hooks added for various functions
+ modification renamed to Zhen Mailer
+ added options to enable/disable log actions and errors
+ added specific xml editing for SMF 2.1.X branch (STARTTLS-SMTP usage only)
& language file changes

v1.00
+ alters ../Sources/Subs-Post.php to allow the use of the STARTTLS SMTP extension
+ alters ../Sources/ManageMail.php to add STARTTLS-SMTP option to the mail type drop-down & an option
+ alters ../Sources/ScheduledTasks.php to allow the use of STARTTLS-SMTP with the mail queue
+ adds template + language files for a STARTTLS-SMTP email signature (needed due to Gmail signature not working for SMTP)
+ adds ZhenMailer Class package

Distributed under the GNU Lesser General Public License -> https://www.gnu.org/licenses/lgpl.html


CLICK HERE TO DOWNLOAD ZHEN MAILER


16

re.
"plays" in arcade list

always shows 0 & needs to be fixed
17
Releases & Version Updates / Lepido Smileys
May 31, 2018, 05:18:19 pm
SMF 2.0.X branch

Lepido Smiley Package for SMF c/o Slicer
Original smiley pack c/o STAR WARS EMOTICONS PACK v2 by brianb.deviantart.com

This Smiley Pack is intended to be used with the Lepido Star Wars theme for Simple Machines Forum.

DOWNLOAD LEPIDO SMILEY PACK
18
SMF 2.0.X branch

Lepido Theme
Dark responsive theme with a Star Wars canvas.
Uses mostly Font Awesome icons.


DOWNLOAD LEPIDO THEME
19
Releases & Version Updates / Simple Smileys
May 31, 2018, 03:20:02 pm
Simple Smileys v1.0
SMF 2.0.X Branch
copyright 2018 ~ GNU LESSER GENERAL PUBLIC LICENSE v3
c/o Chen Zhen @ web-develop.ca

Additional Smiley features:
- automatically add/remove Smileys in the database from Smiley paths
- allow forum wide usage of Smiley image paths
- fixes viewing image of Smileys in Admin

Note:
This does not add any Smiley packs.
It is a utility that is used with all Smiley Packs.

DOWNLOAD SIMPLE SMILEYS
20
Personalized BBC / Clickable phone number BBCode
May 20, 2018, 04:46:34 pm
name: phone
description: Call this number
type: [tag]{content}[/tag]
parsing: {content} only

Code Select
<script type="text/javascript">
var tel_id = Math.random().toString(36).replace(/[^a-z]+/g, '').substr(2, 10);
document.write('<div style="display: inline;" id="' + tel_id + '"></div>');
var link = document.createElement("a");
var tel_number1 = "{content}";
var tel_number2 = tel_number1;
var view_filter = /^((\+\d{1,3}(-| )?\(?\d\)?(-| )?\d{1,3})|(\(?\d{2,3}\)?))(-| )?(\d{3,4})(-| )?(\d{4})(( x| ext)\d{1,5}){0,1}$/g;
var tel_filter = /\D/g;
var tel_type = "tel://";
link.textContent = tel_number1.replace(view_filter, "");
link.href = tel_type + tel_number2.replace(tel_filter, "");
document.getElementById(tel_id).appendChild(link);
</script>

The regex in these variables can be altered:
view_filter -> what is displayed to members
tel_filter -> the number used in the clickable link

the type of call can also be altered:
tel_type -> ie. use "callto://" or "tel://"




other possible regex filter examples:

re. DISPLAY

U.S./Canada phone numbers ~ display:
Code Select
var view_filter = /^\(?(\d{3})\)?[- ]?(\d{3})[- ]?(\d{4})$/;




re. CLICKABLE LINK
International ~ link filter:
Code Select
var tel_filter = /[\s()+\-\.]|ext/gi;

Code Select
var tel_filter = /^\+[0-9]?()[0-9](\s|\S)(\d[0-9]{9})$/gm;

Code Select
var tel_filter = /^[+]?([0-9]*[\.\s\-\(\)]|[0-9]+){3,24}$/gm;




If someone can reference a single javascript file phone number filter (using a jQuery library is fine) then I will test it and possibly include it in this example.

ref support thread: https://web-develop.ca/index.php?topic=239.0