vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=187785

Fix Missing vBulletin Images In Custom Styles
by Carnage
11 Aug 2008 00:51

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.

Triky 16 Aug 2008 21:49

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.


All times are GMT. The time now is 20:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.