Error Log Counter (http://custom.simplemachines.org/mods/index.php?mod=2441)
It's a thing of beauty!!! Thanks!
I'd say, this is a pretty awesome mod.
Thanks for sharing. ;D
Glad you like it :)
And it cuts down my dev time in building stuff, which is no bad thing :)
Hmm, maybe I should have this as an option in my auto installer to drop in (I have a one click installer for SMF builds, so I can just refresh the entire installation back to 'factory default' in a matter of seconds, and should probably have this as an option in the 2.x builds)
Quote from: Arantor on February 15, 2010, 04:39:17 AM
Glad you like it :)
And it cuts down my dev time in building stuff, which is no bad thing :)
Hmm, maybe I should have this as an option in my auto installer to drop in (I have a one click installer for SMF builds, so I can just refresh the entire installation back to 'factory default' in a matter of seconds, and should probably have this as an option in the 2.x builds)
Interesting, mind sending that my way? I don't how many times I've had to re-install SMF on my localhost =P
The install is so ugly it isn't funny. What it does is remove the designated folder, unpack the relevant .zip file in to a newly remade version, and brute force the parameters I give it into $_POST by modifying the installer. It proceeds to modify a few other things (like setting disableTemplateEval) then just pushes into the SMF installer.
It is insanely ugly, has a known bug on the 1.x series and is hardly an example of good coding.
I couldn't care less =P
'slong as it works. ;)
Error Log Counter is helpful for tracking error numbers.
Have you thought of adding it to the header>
We hadn't, but that's not a bad idea.
On my local I have a modded version that attaches it to the 'Admin' button instead of to the error log item itself, which is also useful, but I'd personally be keen to keep it out of the header since then it gets into the realms of theme edits and support...
I looked at the code and noticed there is no call to the db_free_result function. Something to look into
It isn't actually necessary in this instance; not only will it be freed on script end anyway, the result is consumed in its entirety anyway - in fact it was of the suggestions for performance in 2.1 that the many calls to db_free_result could actually be skipped because the entire resultset is consumed and thus not being held up on the DB end (which is the normal reason you need to call it)
Quote from: live627 on February 20, 2010, 06:13:53 PM
Error Log Counter is helpful for tracking error numbers.
Have you thought of adding it to the header>
Didn't we already have on?
Your Show Number of Errors at Top of Forum Mod.
Actually I made that post before I got the mod
hello,
lt's a very good and intersting mod. thanks but :( i'ts only for smf 2
why it's not compatible with smf 1 ? :o
l think if it's compatible with smf 1 more poeple use it. because it's an important modification.
if it easy to make it for smf 1.
could you make it one time please.
Greets.
Short answer: no.
Long answer: Partly I refuse to completely rewrite the mod for SMF 1.1, and partly because every single custom theme will have to be modified separately by hand. To be honest I'd rather drop any kind of 1.1 support so I can spend more time writing new and interesting modifications instead of having to *REPEATEDLY* going over the same problems with 1.1 users. I'd rather write a new mod than answer 10 people about modifying a custom theme, and believe me that's the way it'll turn out.
Same reason SimpleDesk will not support SMF 1.1 at all.
l understand.. ok thanks for short and long answer.
life is really not fair :-[
Just to clarify, you would have to manually edit the code on your theme unless you're using the default theme (since it appears in the main menu)
Ever thought about doing this for the Moderate Posts part under MODERATE on the main menu and Moderation Center? Thought it would be a good idea for those moderators who turn notification off.
I hadn't thought about it, but it's not a bad idea at all, that.
Installed again. I had over 20,000 errors! I had not gone into the error log once since redoing whole site/forum brand new. I got it down to about 4 errors that keep re-appearing. Other than that no errors!
(Sent from my Google Notebook - cr-48 on Verizon Wireless 3g mode)
I have used that mod for as long as I can remember and never got those "20,000" errors, there must be other mods that conflict with it.
No, he had 20k errors from other stuff but never noticed before...
Quote from: Gruffen on December 31, 2010, 08:56:36 PM
No, he had 20k errors from other stuff but never noticed before...
Then it's unrelated to this mod.
he never said it was ;)
DS, kcmartz is saying that thanks to this mod, he noticed those 20,000 errors that he had before he installed it...
Working in 2.0 by emulating to RC3
http://custom.simplemachines.org/mods/index.php?mod=2441
Should install without emulation... though I'd agree the packages should be updated here as well.
Well, the SMF mod site doesn't agree, even though the package has '2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5, 2.0-2.0.99' in it and does indeed work on 2.0 final.
The package needs resubmitting, however, because it's broken.
Broken in what sense..? I'm using and it seems fine (at least from an admin standpoint, and haven't heard any complaints from my members).
Quote from: Spoogs on July 07, 2011, 06:29:41 PM
Broken in what sense..? I'm using and it seems fine (at least from an admin standpoint, and haven't heard any complaints from my members).
That there is absolutely no way it can ever be parsed on the SMF modsite because of the way it was packaged originally.
Oh so it's just a matter of the package on the modsite, not that there's any issue with the mod itself... correct?
I haven't checked the one on the mod site. The two files that are in SVN are known to be correct and work just perfectly. I can trivially build a new package and post it here for upload (and update to sm.org) if someone wants to do that.
Sure go ahead, I'll update sm.org
Here, thanks :)
Basically, it's just the same two files that were there before - only repacked as a zip, and without any of the fluff in the tgz. Works fine on final as far as I can tell.
Done... there was no version bump or anything correct (not that it matters much)?
Nope, it was to all intents and purposes the same mod - just in a zip rather than .tgz file.
Quote from: cσσкιє мσηѕтєя on January 01, 2011, 09:39:11 PM
DS, kcmartz is saying that thanks to this mod, he noticed those 20,000 errors that he had before he installed it...
Been inactive, but that's what I meant, yes.
Very old topic but just a quick tip to anyone who might read this: still works in 2.0.7 with no errors.
Yeah, the code is sufficiently unchanged since the RC days in those areas that it should work fine.