Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 4 of 4

Thread: Correcting CSS file location

  1. #1
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default Correcting CSS file location

    I modified a line of code that builds where how css file is called from @import to link (because it's a better and faster way to call css). Now is seems that CSS file locations are not correct. For example...

    http://site.com/clientscript/vbullet...a39b-00001.css

    is being rewritten to
    http://site.com/es/clientscript/vbul...a39b-00001.css

    which is resulting in a 404. How do I make it so this does not get 'translated'?
    Last edited by tavenger5; 03-03-10 at 01:30.

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Are you sure you have good .htaccess rules? It should work. It is working on our forum. Please PM me your forum URL I will check it.

  3. #3
    Senior Member
    Join Date
    Dec 2009
    Posts
    276

    Default

    I just double checked my .htaccess rules and thy are all good. Sent you a PM.

  4. #4
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quick fix solution (will be included in next release):

    1. Open file /includes/vbenterprisetranslator_functions_url_tracking.php
    2. Find:
    PHP Code:
    if (=== strpos($address'javascript:') || $address == '#' || vbet_isURLIgnored($address)) { 
    3. Replace by:
    PHP Code:
    if (false !== strpos($address'.css') || === strpos($address'javascript:') || $address == '#' || vbet_isURLIgnored($address)) { 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •