Daily Lucky Numbers:
3
4
17
25
44
48

Recent posts

#81
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Chen Zhen - February 22, 2026, 07:43:11 PM

Here's another update.. v1.0.2

Programmatically there are no changes from the previous version.
All that has been changed is the version is incremented properly this time, titles/headings have been added and the admin settings have been reorganized.
It just makes it a bit more user friendly.

 
#82
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Chen Zhen - February 22, 2026, 06:16:26 PM
Uninstall & delete that version.

Download the attached v1.0.1 which has the added options for manually setting the starting message ID index & BBCode float index.
#83
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Chen Zhen - February 22, 2026, 05:43:51 PM
Wait, I think I misunderstood your statement.
Do you want to be able to start at a certain number that's within the BBCode itself?

I'll have to add another setting for that.
The index settings thus far are for the SMF message ID & have nothing to do with the regular expression that parses all the message bodies.
#84
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Chen Zhen - February 22, 2026, 05:36:19 PM
Uninstall & delete that version.

Download the attached v1.0.1 which has the added option for manually setting the starting message ID index.


#85
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Aaron - February 22, 2026, 03:59:58 PM
Wow, thank you for taking the time to make this. So I installed the mod and here is the config page:



How do I set it to start from 4678 or does it need to be placed in the BBCode field; "[embed]4678" ? Otherwise every post below that number will also be affected.
#86
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Chen Zhen - February 22, 2026, 01:12:36 AM
I tested out a bunch of MySQL syntax but it was taking too long to get the desired results so I decided to develop a small custom mod for you.

It will allow you to make custom adjustments which should give you the desired effect.
Please make sure to backup your database prior to using the modification in case something goes awry.
Let me know if there any bugs that I need to fix since I did not test it on 10000+ topics.

The custom mod is attached which you can install via your SMF packages manager.
#87
General Code/Script Inquiries / Re: MySQL decrement number wit...
Last post by Aaron - February 21, 2026, 01:57:17 PM


Okay so do I put 4678 where it says UNSIGNED, and thus -1 will start from there?
#88
Banner Bar / Re: SMF Banner Bar
Last post by Chen Zhen - February 21, 2026, 02:29:58 AM
Version 1.8.2 has been released which includes a small fix for an undefined error.
#89
Site Discussion / Re: Messages Read
Last post by Chen Zhen - February 19, 2026, 04:09:57 PM
It filters posts/topics content prior to saving it to the DB.
That shouldn't affect the link for flagging all posts as being read by a member.
#90
Site Discussion / Re: Messages Read
Last post by Dave - February 19, 2026, 11:43:33 AM
Quote from: Chen Zhen on February 19, 2026, 08:56:21 AMTo my knowledge, I don't have any mods installed that are altering the behavior of that SMF default feature.
The recycle bin and the link to mark all messages read are part of the SMF core.

Thanks for reporting this & I will attempt to figure out why it's behaving incorrectly.


What about your 'Spam Police modification' could that do it?