|
||||||
Views:
12,745,794 |
![]() ![]() ![]() ![]() |
05-12-25 05:48 PM |
||||
Guest: Register | Login |
0 users currently in AcmlmBoard Developer Zone | 2 bots |
Main - AcmlmBoard Developer Zone - More functions for stuff (like error messages) |
Scrydan |
| ||
Normal User
Scryforce - A place that still exists. Neat. Level: 87 ![]() ![]() ![]() ![]() Posts: 43/2020 EXP: 6211898 Next: 180876 Since: 07-18-12 From: USA Last post: 1154 days Last view: 1136 days |
I've noticed long ago in an early AB2 version I have that most of the error messages we see are just by print outs. There's also some other examples I have that could turn certain code into functions so we don't have to rewrite code over and over again.
I looked at current code and some of my examples still hold true as does error messages. In addition, we could also have error messages that instead of "{error table} die" we could also redirect to a form and have a error message in red that states all the problems with the form. We could also work on a permissioncheck/existing one and make it automatically use this new error message function. If we (still) have a userlog or use it the way I do, we could make it log attempted access if deemed necessary. I felt like bringing this thread up since some more functions still need to be created. Heck, could use this thread to list a todo of functions needed? However, lots of improvements can be seen so good work everyone. Functions are so fun. If this has been discussed before (I checked but I didn't really see much) then feel free to ignore but I felt like bringing this up. I'll edit this with some more of the examples I mean. Can't seem to find my list of things related to here. hehe |
Emuz |
| ||
Site Administrator
![]() 11 Hit Combo: Mother's Rosario Level: 109 ![]() ![]() ![]() ![]() Posts: 859/3393 EXP: 13809267 Next: 150378 Since: 12-30-11 From: Akron, Ohio; USA Last post: 286 days Last view: 6 hours |
I won't be able to comment fully but here are my inital thoughts:
We don't have any error handler what so ever. Eventually we will need one. Looks like you've discovered just that ![]() The log system is present but, it's not really used it anything other than a few places for moderation. A newer system is a good idea since we've changed a few things around. My feelings are it should probably give you the choice to use a separate database (or prefix as you talked about in #abdev) to keep the board's DB clean. Also I agree. The board started out a linear code, and it shows. I think we all would agree in converting repeated code into functions is a good thing. ![]() The Dynamic Profile Administratorâ„¢"Never Knows Best" Note: if you can see this my layout broke. ALL THE CREDITS WILL BE REVEALED!! 'Victory Noriko' by @thatsheepagain. 'Chibi Dance Noriko' by @Haru__Kitsu. 'Deity's Night Out (Featuring Gabbie)' by @thatsheepagain Noriko Emotes by @Haru__Kitsu. Side Bar Noriko by @thatsheepagain 'Noriko's Nature Walk' by @projectTiGER_ Emotive Noriko by @thatsheepagain. "Space Candy Noriko" by BerryVerrine. "Super Sharp Noriko" by Xionfes. A gift illustration from the wonderful EverKinzPony! "Magical Girl Noriko" by @cute_hospital! "Patient Chibi Noriko" by @Ruii_ki! 'Dapper '60s Noriko' by @thatsheepagain. 'Shiny Chibi Noriko' by @inioli. 'Flower Veil Noriko' by @Sushiee_. 'Noriko in Realism' by @_Sarybuu. 'Noriko's Midnight Adventure' by @projectTiGER_ 'Yukata Noriko' by @yunyunmaru_ 'Birthday Wishes Noriko' by @thatsheepagain |
Scrydan |
| ||
Normal User
Scryforce - A place that still exists. Neat. Level: 87 ![]() ![]() ![]() ![]() Posts: 427/2020 EXP: 6211898 Next: 180876 Since: 07-18-12 From: USA Last post: 1154 days Last view: 1136 days |
I mentioned this to ![]() Oh and errors should act mostly like the instant redirects now too eventually. If the user set it that way, that is. With my future changes in 2.6 (Major RPG Update), we should see this everywhere in not before this as I am sure I am also making earning coins a function too so it is easier to control and such. It will be like earncoins($type, $coins=0, $postcontent=""). It would check the type and it could be used anywhere that deals with coins. Only an example but it should give an idea. Edit: I also noticed lack of use of a pagination function. I'll resolve this issue soon too. |
Main - AcmlmBoard Developer Zone - More functions for stuff (like error messages) |
Acmlmboard v2.5.6 (06/11/2024) © 2005-2025 Acmlm, Emuz, et al. |
MySQL - queries: 80, rows: 523/555, time: 0.037 seconds. |