Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Fix Missing vBulletin Images In Custom Styles
Carnage
Join Date: Jan 2005
Posts: 760

uk
by Carnage Carnage is offline 10 Aug 2008

This was a problem we were having on our forums, we have several different styles, each have their own image sets. When a new version of vBulletin came out that added a new icon or we installed an addon such as the blog we found that there were missing images all over the place.

The solution:
First, all alternative images were moved to a directory named skins, the images for each skin were put into appropriately named directories inside the skins directory.

Then the following code was placed into a .htaccess file in the skins directory.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Essentially what this does, is if a file is not found within the sub-directories it rewrites it to look instead in the default vBulletin images directory.

This will work with all versions of vBulletin provided your host supports mod_rewrite directives in .htaccess files.

Last edited by Dismounted; 11 Aug 2008 at 08:21..
Views: 6675
Reply With Quote
Comments
  #2  
Old 16 Aug 2008, 20:49
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Wow, great idea Carnage-. You have a new personal message.
Italian translation for this article at vB-Italy.org - Italian vBulletin Suppport Forum: http://www.vb-italy.org/showthread.php?p=379#post379. Thanks to Carnage- for given permissions.
__________________
I'm italian, I am learning english.. so, please, if you see any errors in my grammar or spelling, let me know via PM. Danke!

Last edited by Triky; 16 Sep 2008 at 10:08.
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Missing Generic Images from Some Custom Styles Fungsten Miscellaneous Images 7 26 Dec 2007 20:50



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:27.

Layout Options | Width: Wide Color: