2009-07-10, 04:43 PM
Hm no, I don't want any credit...
[Download] MyBB Statistics Signature
|
2009-07-10, 04:43 PM
Hm no, I don't want any credit...
2009-07-10, 04:50 PM
Oh, well then yeah, sure, we can work on a great free one.
2009-07-10, 05:47 PM
(This post was last modified: 2009-07-12, 02:41 PM by querschlaeger.)
Ok,
first, I replaced all language strings and db queries with mybb internal functions. so it make use of the mybb cache and it is language neutral. Also I add a special header that allows browsers to cache the file: statsig.php
now nobody needs to touch the file. just copy the the statsig.php and a statsig.png to root directory. that's all! Next idea: Create a hard linked image in ./cache/ folder and refresh it only every hour (or so)...
2009-07-10, 05:57 PM
Nice, thanks for the help, I just modified it a bit so the link is centered.
I'll update the first post with the new download.
2009-07-10, 06:02 PM
(This post was last modified: 2009-07-10, 06:03 PM by querschlaeger.)
anybody else who want's to perfect this signature mod?
2009-07-10, 06:04 PM
(2009-07-10, 06:02 PM)querschlaeger Wrote: Someone else want's to perfect this signature mod? Quote:Create a hard linked image in ./cache/ folder and refresh it only every hour (or so) Is this something you'll implement? Cheers, Gene
“The road to positivity is strewn with the abandoned vehicles of the faint-hearted.” Peter McWilliams
2009-07-10, 06:08 PM
Maybe, but I have to re-read some php function manuals. Uh, I got headache some hours before...
Quote:Create a hard linked image in ./cache/ folder and refresh it only every hour (or so)I don't get it :| What does this do?
2009-07-10, 06:29 PM
(This post was last modified: 2009-07-10, 06:30 PM by querschlaeger.)
It will create a file (the signature image) in cache folder and load it to browser directly if it exsits. This will improve the image loading time and reduces the server load severely.
I'm working on it. |
« Next Oldest | Next Newest »
|