The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
dl php session variable in the path to album thumbnails
What is it and what for?
Ok. it is something with dateline to do as I see in in the function file: dl=$pictureinfo[thumbnail_dateline] but what is the purpose of it in the case of album picture thumbnails? Can I remove it? The problem is that it seems that the session variable appended to the end of image file path make them not displaying in some browsers. But I'm confused about the function of it. I wouldn't like to remove it not knowing the purpose of it first. What is this needed for? Thanks in advance for any ideas. |
#2
|
|||
|
|||
I believe the purpose is to provide a part of the url that will change when the image is updated. That way browsers can cache the image but still know when to reload it. Normally a browser will cache an image but send a request to check if the file has changed or not, but since those thumbnails are saved in the database it would be a lot of work to run a php script just to check the date when it last changed. That would kind of defeat the purpose.
So I guess the short answer is that you probably shouldn't remove it. |
#3
|
||||
|
||||
That makes sense. Thank you Kevin. I guess I will try to remove it then only for those certain browsers by wrapping it in browsers conditionals or I will just leave it.
Edit: LOL I've just realized it was my fault, because my custom script is serving images and not vbulletin directly, and I forgot that it already is using other variables so the & instead of second ? is needed. Arghhhh.... I need sleep. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|