Results 1 to 12 of 12

Uncached templates: vbseo_ls_icon (1)

This is a discussion on Uncached templates: vbseo_ls_icon (1) within the Bug Reporting forums, part of the vBSEO SEO Plugin category; Uncached templates: vbseo_ls_icon (1) it appears on the every misc.php?do=XXX site. For example http://www.2-wheel-planet.de/misc.php?do=cybtpimx...

  1. #1
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times

    Uncached templates: vbseo_ls_icon (1)

    Uncached templates: vbseo_ls_icon (1) it appears on the every misc.php?do=XXX site. For example http://www.2-wheel-planet.de/misc.php?do=cybtpimx

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    this is related to Livestats add-on, not to vBSEO. We will check and correct this issue.

  3. #3
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Are you running the latest version of Livestats? It should work correctly.

  4. #4
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    If LiveStats for Google Analytics 1.0 RC1 is the latest version?

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    you should modify cache_templates LiveStats's plugin to correct that, find:
    PHP Code:
    $globaltemplates[] = 'vbseo_ls_script'
    add above:
    PHP Code:
    $globaltemplates[] = 'vbseo_ls_icon'

  6. #6
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Folgendes steht dort drinnen:
    Code:
    if(THIS_SCRIPT == 'misc')
    {
    $globaltemplates[] = 'vbseo_ls_script';
    $globaltemplates[] = 'vbseo_ls_load';
    }
    else
    $globaltemplates[] = 'vbseo_ls_icon';

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Ok, is the modification working correctly for you?

  8. #8
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Sorry, you understood me wrong


    if(THIS_SCRIPT == 'misc')
    {
    $globaltemplates[] = 'vbseo_ls_script';
    $globaltemplates[] = 'vbseo_ls_load';
    }
    else
    $globaltemplates[] = 'vbseo_ls_icon';

    This code was in the plugin before your modification.

    After adding your correction it is working, well.

    I only think this should be like this:
    if(THIS_SCRIPT == 'misc')
    {
    $globaltemplates[] = 'vbseo_ls_icon';
    $globaltemplates[] = 'vbseo_ls_script';
    $globaltemplates[] = 'vbseo_ls_load';
    }
    ???

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Yes, that's right.

  10. #10
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Okay, than I delete the else conditon.
    Thank you.

  11. #11
    Senior Member
    Real Name
    Matthias
    Join Date
    Mar 2009
    Posts
    376
    Liked
    19 times
    Okay, the second version doesn´t work.
    With that version this template is at the forumhome uncached

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You should not remove else condition, just add a new line, as described above.
    Complete code would be:
    PHP Code:
    if(THIS_SCRIPT == 'misc')
    {
    $globaltemplates[] = 'vbseo_ls_icon';
    $globaltemplates[] = 'vbseo_ls_script';
    $globaltemplates[] = 'vbseo_ls_load';
    }
    else
    $globaltemplates[] = 'vbseo_ls_icon'

Similar Threads

  1. Uncached templates v 3.3.0.RC1
    By xpfUK in forum Bug Reporting
    Replies: 11
    Last Post: 04-02-2009, 07:36 AM
  2. Uncached templates
    By mhc1576 in forum Bug Reporting
    Replies: 4
    Last Post: 04-13-2007, 07:04 PM
  3. 2 uncached templates
    By Eros in forum Bug Reporting
    Replies: 1
    Last Post: 01-17-2007, 01:33 PM

Posting Permissions

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