Daily Lucky Numbers:
7
9
14
34
40
47

Recent posts

#11
Releases & Version Updates / Re: SMF Banner Bar
Last post by Chen Zhen - October 16, 2022, 03:24:03 PM

I made a small mistake within the regex for filtering that input where the range quantifier has to be escaped when not using it for a range  :-[  inside square brackets.

Thanks for the report!



Version 1.5 is now available.

Changes:
+   Changed:   unique function to determine if enabled
+   Changed:    buffer not parsed when disabled
!   Fixed:      regex meta-character (hyphen) inside square brackets escaped
#12
Releases & Version Updates / Re: SMF Banner Bar
Last post by Chen Zhen - October 16, 2022, 02:54:31 PM
Quote from: Dave on October 16, 2022, 11:48:24 AMSorry to bother you but how do I change the size of the text in the bar?

You had '.quizbanner { fontsize: 1.1rem; }' I upped that to 1.2rem and larger but it makes no difference

You forgot the hyphen.

quizbanner { font-size: 1.1rem; }

#13
Releases & Version Updates / Re: SMF Banner Bar
Last post by Dave - October 16, 2022, 11:48:24 AM
Sorry to bother you but how do I change the size of the text in the bar?

You had '.quizbanner { fontsize: 1.1rem; }' I upped that to 1.2rem and larger but it makes no difference
#14
Releases & Version Updates / Re: SMF Banner Bar
Last post by Dave - October 16, 2022, 06:33:08 AM
Thanks Chen
#15
Releases & Version Updates / Re: SMF Banner Bar
Last post by Chen Zhen - October 16, 2022, 03:35:52 AM

Version 1.4 is now available.

Changes:
+*&   Added: option to disable for specific actions
+*&   Added: help text for some admin options
+    Added: limited regex filter for BannerBar CSS input
!   Fixed: output no longer executed during XML output
!   Fixed: Banner Bar can now be displayed in Admin
!   Fixed: recommended values are now applied for admin links
#16
Releases & Version Updates / Re: Zhen Mailer version 1.3
Last post by Chen Zhen - October 16, 2022, 12:17:47 AM
@weezel:

Please note the PR for SMF 2.1 regarding mail & carriage returns in the header:
https://github.com/SimpleMachines/SMF/pull/7560/files/a1ed0497bfec22db968bef24ea0e3080c83f4921

SMF 2.0.19 has the same issue therefore PHP emails may fail when using PHP 8+.
ZhenMailer already uses the appropriate CR that is needed for PHP8+ although it might explain any issues people have with older PHP versions.

I know you decided to go with SMTP email but I'm curious to know if you were referring to ZhenMailer having an issue with DB dumps or was SMF not sending any emails at all?
Those don't use the same SMF function to send emails as ZhenMailer has its own for sending DB dumps.

If you were only having problems with sending regular SMF emails with php mail(), SMF 2019 & PHP 8+ then an edit will likely fix it.

file: ../Sources/Subs-Post.php

find:
$line_break = $context['server']['is_windows'] || !$use_sendmail ? "\r\n" : "\n";

replace with:
$line_break = ($context['server']['is_windows'] || !$use_sendmail || version_compare(PHP_VERSION, '8.0.0', '>=')) ? "\r\n" : "\n";



Keep in mind if the SMF devs release a SMF 2.0.20 patch then you may need to revert the edit prior to applying the patch or perhaps ignoring the parsing error you'll get when it attempts to make this very same edit.
#17
Releases & Version Updates / Re: SMF Banner Bar
Last post by Chen Zhen - October 09, 2022, 12:30:35 PM

Version 1.3 is now available.

Changes:
!    Fixed: hidden div added to the end of the body element (buffer hook)
!*&   Fixed: added admin option to center Banner Bar horizontally
#18
EhPortal Support / Re: Top Poster Block showing d...
Last post by Chen Zhen - October 06, 2022, 06:11:46 PM



The download section has been updated with EhPortal version 1.39 to reflect the changes discussed in this thread.

I'll mark the topic as solved.
#19
EhPortal Support / Re: Top Poster Block showing d...
Last post by Gus A - October 06, 2022, 08:59:49 AM
That worked!

Chen, if you are ever in the Hamilton area, drop me a line – beers are on me!

#20
EhPortal Support / Re: Top Poster Block showing d...
Last post by Chen Zhen - October 05, 2022, 10:40:11 PM
I see what the problem is..

Please try the attachment & let me know if I fixed it this time.