SunJordan / ezstats

Automatically exported from code.google.com/p/ezstats
0 stars 0 forks source link

IMG Code for sigs, and option for more sigs #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

This would be great if it was like the BC2 EZstats, where the Sigs have the IMG 
codes already so we can embed them into forums easily. 

[img]  URL [/img]

Also instead of large Med and Small, it would be nice if we could just add more 
sigs, like 1 2 3 4 5.

Most of use have large forums, and its wont look good if everyone has the same 
sig.

If you have the edits I could do them myself,  I did it for the BC2 Ezstats and 
had great success with 15 different sigs for my forums.

This ezsats sig stuff is great,  Im so sick of everyone using other stat sites 
for sigs, they lag and are slow to load on the forums when so many members are 
using them.

Thank you, 

Original issue reported on code.google.com by davespan...@gmail.com on 28 Jun 2012 at 11:22

GoogleCodeExporter commented 9 years ago
Hi Dave!

Yes, for sure there can be more than three sigs in ezStats. How about this: You 
make sketches with your suggested sizes, background images and stats values in 
Photoshop or Paint. And I implement it then in ezStats.

Regards, Steff

Original comment by ezzem...@googlemail.com on 29 Jun 2012 at 9:34

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
What I'm thinking is you can kept the default sigs, that are Large Med Small.  

But then have an option to add more sigs, like custom1, custom2, and so on. The 
admin could then add his own image patterns in FTP, and put in there own values 
that would be best for them.

Is it that ok, thank you for your quick reply.

Original comment by davespan...@gmail.com on 29 Jun 2012 at 2:14

GoogleCodeExporter commented 9 years ago
With values, do you mean stats values or style values?

Original comment by ezzem...@googlemail.com on 29 Jun 2012 at 2:22

GoogleCodeExporter commented 9 years ago
just style values,  

The more simple the better and less work for you, just the option for an admin 
of ezstats to add more sigs.

thanks

Original comment by davespan...@gmail.com on 29 Jun 2012 at 2:33

GoogleCodeExporter commented 9 years ago
Okay, just more different bgimages, and not different sizes and stats values. I 
have to see which is the easiest solution

Original comment by ezzem...@googlemail.com on 29 Jun 2012 at 2:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ya the admin can add the sizes and stats values as needed.  

so you would have 

large

Med 

Small

then the ability to add more sigs,

custom 1

custom 2

and so on.  

About the URL being warped in IMG code, is that something you can do.

Thanks,

Original comment by davespan...@gmail.com on 30 Jun 2012 at 1:09

GoogleCodeExporter commented 9 years ago
Yes, the BB-Code will come :)

Original comment by ezzem...@googlemail.com on 30 Jun 2012 at 1:10

GoogleCodeExporter commented 9 years ago
great, thank you.

Original comment by davespan...@gmail.com on 30 Jun 2012 at 10:56

GoogleCodeExporter commented 9 years ago
Hi!

I implemented your suggestions in the new version 0.81 :)
Regards

Original comment by ezzem...@googlemail.com on 7 Jul 2012 at 3:17

GoogleCodeExporter commented 9 years ago
Thanks allot, thats great news!  I've sent in a donation, thanks again! 

Original comment by davespan...@gmail.com on 9 Jul 2012 at 10:02

GoogleCodeExporter commented 9 years ago
Thanks :))

If you upgrade ezStats to a future version, after creating custom signatures, 
just delete the files "classes/signatures.php" and 
"admin/templates/signatures.html" from install package. And let the file 
"tmp/defaults.js" in the package. 

Regards, Steff

Original comment by ezzem...@googlemail.com on 10 Jul 2012 at 6:38

GoogleCodeExporter commented 9 years ago
sounds good, thanks!

Original comment by davespan...@gmail.com on 10 Jul 2012 at 4:23

GoogleCodeExporter commented 9 years ago
One thing that I noticed, is that when the sigs are updated they wont show in 
the forums with the updated stat info unless I refresh the browser.

Is there anything I can do so the stat Sig is not cached, because the browser 
will just keep displaying the old stats on the sig even though its been 
updated.  

Original comment by davespan...@gmail.com on 11 Jul 2012 at 10:53

GoogleCodeExporter commented 9 years ago
Maybe something in this thread could help you, I have no idea. Thanks

http://circlecube.com/2010/12/cache-woes-how-to-force-an-image-to-refresh-or-loa
d-fresh/

Original comment by davespan...@gmail.com on 11 Jul 2012 at 10:59

GoogleCodeExporter commented 9 years ago
No, because the caching of images is completely client side.

The alternative solution, not using a pregenerated image but a live generated 
image would avoid this. But not all boards allows a URL to a PHP-file as a 
signature, and for every impression of the signature your webserver has a lot 
to do for generating. So I think this is the more worse solution.

Original comment by ezzem...@googlemail.com on 11 Jul 2012 at 11:00

GoogleCodeExporter commented 9 years ago
So there's no way to be able to force an image to refresh or load fresh like in 
the link I posted. 

If the stat sigs don't update, it kinda defeats the entire purpose of having 
them :(

I'll keep looking around and see if there is anything I can do. thx

Original comment by davespan...@gmail.com on 11 Jul 2012 at 11:09

GoogleCodeExporter commented 9 years ago
I think the problem is not as huge as it appear. Everyday if I go the my forum, 
the signature has the data of the last evening or the evening before. It is no 
live stats viewer, but actual enough in my opinion.

Original comment by ezzem...@googlemail.com on 11 Jul 2012 at 12:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I've sorted it out by using a htacess file in the ezstats directory to disallow 
the browsers caching the sigs.  Also got it working now with 35 sigs :)   
thanks again for everything.  

Original comment by davespan...@gmail.com on 12 Jul 2012 at 9:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Here is a link, if you wanted to add it to the Gallery. 

http://www.europe-clan.com/modules.php?name=ezstats_bf3

* Got a quick question,  how do you change the font of the "Add yourself to the 
leaderboard!"   And is it possible to move it to the bottom. If you give me a 
general idea, I can figure it out :)

thank you!

Original comment by davespan...@gmail.com on 12 Jul 2012 at 9:45

GoogleCodeExporter commented 9 years ago
I really forgot that htaccess could adress this problem! ;)
Could you give me the content of your htaccess-file?

You can change the font type in the file "stylesheets/standalone.css" if you 
run ezStats in the standalone mode, or in the file "stylesheets/plugin.css" if 
you use the plugin mode.

Search for "selfadd" (at the end of the files. And then modify "font-family: 
SegoeScript;" in the way you want :)

Regards :)

Original comment by ezzem...@googlemail.com on 12 Jul 2012 at 11:42

GoogleCodeExporter commented 9 years ago
Hi,

Just to be clear, I really have no idea what I'm doing, I just troubleshoot 
things until it works and use google to search for answers.  So if you can 
clean up what I did or find a better way, that's totally cool :)

What I did was create a htaccess file and added it to the main directory of 
ezStats2, and the sub folder signatures.  
I could have done more testing to see if I only needed to use one htaccess in 
one or the other directories above, but honestly, I spent so much time on this, 
I'm just not going to mess with it now that its working.  All my other png's 
images on my site are being cached correctly from their directives from my main 
htaccess file in my root for the site.

So my sigs refresh now every time in google chrome and firefox when a user 
views them in a thread. Its quick, just a quick reload. Very fast compared to 
those offsite sigs that my guys were using before. 

My server running FYI: Apache version 2.2.17

Inside the htaccess file i used this:

ExpiresActive on
ExpiresDefault "access plus 0 seconds"

<FilesMatch "\.(gif|png|jpg|jpeg)$">
FileETag None
<IfModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</IfModule>
</FilesMatch>

Thanks again,  

Original comment by davespan...@gmail.com on 12 Jul 2012 at 5:58

GoogleCodeExporter commented 9 years ago
Yes, this code is correct, and must be in the signatures folder.
Great, thanks!

Original comment by ezzem...@googlemail.com on 13 Jul 2012 at 9:44

GoogleCodeExporter commented 9 years ago
Good stuff, cheers :)

Original comment by davespan...@gmail.com on 15 Jul 2012 at 11:36

GoogleCodeExporter commented 9 years ago

Original comment by ezzem...@googlemail.com on 31 Aug 2012 at 6:14