Different values in signatures

A signature and avatar generator addon

Moderator: zanix

Different values in signatures

Postby m80falcon » Thu Jul 13, 2006 11:39 am

Hi,

Due to a safe_mode error I discussed in another thread already, I have to use the following link to use the signature in forums

Code: Select all
http://wow.mighty-force.de/addons/siggen/sig.php/esaria.png


This displays the following signature :

Image

But it doesn't show the actual values. If I look at the signature with the following link it displays different values (the true ones for EP) :

Code: Select all
http://wow.mighty-force.de/addons/siggen/siggen.php?name=Esaria&mode=signature


Image

How do I get the right values in the first version ?
Last edited by m80falcon on Thu Jul 13, 2006 11:41 am, edited 1 time in total.
m80falcon
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Fri Jul 07, 2006 8:23 pm

Different values in signatures

Postby PleegWat » Thu Jul 13, 2006 1:39 pm

They look identical to me. Maybe your browser is caching the first one, since it thinks it's a (static) image?
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Different values in signatures

Postby m80falcon » Thu Jul 13, 2006 6:10 pm

Hmm, now they are indentical. I think you are right wit the cache. I will observe it :)
m80falcon
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Fri Jul 07, 2006 8:23 pm

Different values in signatures

Postby zanix » Fri Jul 14, 2006 1:03 am

safe_mode doesn't effect this in any way
safe_mode only affects uploading of custom user images, that's it

As for images being cached
SigGen uses what is called e-taging to tell the browser that it can cache the results of this php script
You can turn this action off in SigGen Config so it will always fetch a fresh image (This is what the preview window in SigGen config does as well, it adds "&etag=0" to the end of the image to turn etag off)

You browser sees these as separate images
Code: Select all
http://wow.mighty-force.de/addons/siggen/sig.php/esaria.png
http://wow.mighty-force.de/addons/siggen/siggen.php?name=Esaria&mode=signature

Both of which are still accessing siggen.php (sig.php is just a front end for siggen.php)

The top line is still accessing a php script, it just tricks certain forum software into thinking its an image (because of the .jpg at the end)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Different values in signatures

Postby seleleth » Thu Jul 20, 2006 11:09 pm

Heh, I just barely "solved" this one by myself. Too bad I didn't just read zanix' explanation first.

Ya know, you may want to change the default config of SigGen to turn e-tag off. Might help eliminate future posts of problems like this.
User avatar
seleleth
Gimpy Developer
Gimpy Developer
 
Posts: 59
Joined: Thu Jul 06, 2006 10:26 pm
Location: Salt Lake City, UT

Different values in signatures

Postby zanix » Fri Jul 21, 2006 4:00 am

As soon as the user updates their data, the etag is reset and a new image is fetched anyway
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Different values in signatures

Postby seleleth » Tue Jul 25, 2006 7:00 am

zanix wrote:As soon as the user updates their data, the etag is reset and a new image is fetched anyway

Isn't this only the case if you update via the site, and not the UniUploader? (And of course, have that option turned on in SigGen.)

I'm anxious to get to where I can turn etag caching back on yet still have character images update with changes. I've noticed since I turned it off that images will occasionally "hang" in a perpetual loading state. It's kind of obnoxious when you're viewing a series of posts and everyone has an image in their signature. Seems at least one hangs each page load.
User avatar
seleleth
Gimpy Developer
Gimpy Developer
 
Posts: 59
Joined: Thu Jul 06, 2006 10:26 pm
Location: Salt Lake City, UT


Return to SigGen

Who is online

Users browsing this forum: No registered users and 1 guest