no show of clear.gif in announcements Issue Tools
issueid=22021 Sat 12th May '07 11:50am
Senior Member
no show of clear.gif in announcements

If you goto as follows :-

vBulletin Options > Style & Language Settings

change location of clear.gif
from ==> clear.gif to ==> images/clear.gif

Then goto :-

Announcements > Post New Announcement

Then if you click any of the 2 boxes at the right of the "Start Date" or "End Date" you should see a small image "x" that thinks the "clear.gif" is still in the default location instead of "images/clear.gif" as you stated it to be in the "vBulletin Options > Style & Language Settings"
Issue Details
Project vBulletin
Category Admin Control Panel
Status Fixed (Closed)
Priority 1 - Highest
Affected Version 3.6.6
Fixed Version 3.6.7
Users able to reproduce bug 4
Users unable to reproduce bug 1
Assigned Users Kier
Tags (none)

Sat 12th May '07 8:28pm
Member
 
This is also the case for calendar_popup.png... doesn't respect the "Miscellaneous Images Folder" setting, still looks in the default images/misc/.
Reply
Sun 13th May '07 8:49pm
Member
 
BTW I patched this by changing line 214 of vbulletin_date_picker.js from:

img.src = (IMGDIR_MISC == "../images/misc" ? "../" : "") + "clear.gif";

to:

img.src = (IMGDIR_MISC == "../images/misc" ? "../images/misc/" : "") + "clear.gif";

I'm not skilled enough to fix this issue properly but this works for now.
Reply
Tue 15th May '07 8:08am
Former Lead Developer, vBulletin
 
I've fixed these issues now:
  • There is now a clear.gif sitting directly in the admincp directory
  • A copy of calendar_popup.png now exists in each cpstyles/xyz directory, and the date picker code now uses that when in the admincp instead of looking for the images/misc directory
Reply
Reply