MyBB Community Forums
[How To?] Remove question mark from avatar url - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Remove question mark from avatar url (/thread-102948.html)



Remove question mark from avatar url - sunjava1 - 2011-09-01

How to remove question mark from avatar urls?
how to make them like this:

Default urls are like:
http://example.com/uploads/avatars/avatar_46.gif?dateline=1928539264

I want them to be: [/u]
http://example.com/uploads/avatars/avatar_46.gif



RE: Remove question mark from avatar url - vodka - 2011-09-02

Why u want to do this ? I dont think that the question mark is doing anything bad here. Also i dont hear about a plugin for that.

I think mycode can help on this.


RE: Remove question mark from avatar url - Nathan Malcolm - 2011-09-02

They're there so when a user changes their avatar, the browser caches the new version instead of showing the old one. I wouldn't recommend removing it.


RE: Remove question mark from avatar url - sunjava1 - 2011-09-02

(2011-09-02, 12:59 AM)Malcolm. Wrote: They're there so when a user changes their avatar, the browser caches the new version instead of showing the old one. I wouldn't recommend removing it.

I want to make them cache. But IMO adding expire header will search for new version if we only use expire header, as I've check it with my css file.

I also want to make javascripts (prototype.js, general.js. )cache, they never change and adding expire header of a month will be better but the question marks are restricting me to do so.