Results 1 to 3 of 3

Virtual HTML Display and Cyb - Visitors in Last X Hours

This is a discussion on Virtual HTML Display and Cyb - Visitors in Last X Hours within the Template Modifications forums, part of the vBulletin SEO Discussion category; Hello, I would like to use "Virtual HTML Display" on my community, but i have a problem because on my ...

  1. #1
    Senior Member
    Real Name
    Alex
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    508
    Liked
    0 times

    Virtual HTML Display and Cyb - Visitors in Last X Hours

    Hello,

    I would like to use "Virtual HTML Display" on my community, but i have a problem because on my community i use the "Cyb - Visitors in Last X Hours" mod and this function seem to have some conflits with Virtual HTML Display.
    Maybe someone of you use it and can help me to fix it?

    marco1 suggest me to put the only one template of this mod between the tags:

    <!--VBSEO_VIRTUAL_HTML-->
    <tbody>
    <tr>
    <td class="thead" colspan="2">
    <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('vilxh_switch')"><img id="collapseimg_vilxh_switch" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_vilxh_switch].gif" alt="" border="0" /></a>
    $vilxh_stats
    </td>
    </tr>
    </tbody>
    <tbody id="collapseobj_vilxh_switch" style="$vbcollapse[collapseobj_vilxh_switch]">
    <tr>
    <td class="alt2" align="center">
    <img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" alt="$vilxh_stats" />
    <script language="JavaScript" type="text/javascript">
    <!--
    function Vilxh_getUsers()
    {
    document.getElementById("vilxh_users_more").style. display = "none";
    document.getElementById("vilxh_users_loading").sty le.display = "inline";
    vilxh_users = new vB_AJAX_Handler(true);
    vilxh_users.onreadystatechange(Vilxh_updateUsers);
    vilxh_users.send('misc.php?show=vilxh_users');
    }

    function Vilxh_updateUsers()
    {
    if (vilxh_users)
    {
    if (vilxh_users.handler.readyState == 4 && vilxh_users.handler.status == 200 && vilxh_users.handler.responseText)
    {
    vilxh_usersDiv = fetch_object('vilxh_users_area');
    vilxh_usersDiv.innerHTML = vilxh_users.handler.responseText;
    }
    }
    }
    -->
    </script>
    </td>
    <td class="alt1" width="100%">
    <div id="vilxh_users_area" class="smallfont">
    $vilxh_userlist_init
    <if condition="(($vboptions[cyb_visitorslastx_cutoff]>0) AND ($vilxh_total_members > $vboptions[cyb_visitorslastx_cutoff]))">
    <div id="vilxh_users_more" style="display:inline;float:$stylevar[right];">
    <phrase 1="$vboptions[cyb_visitorslastx_cutoff]" 2="$vilxh_total_members" 3="$vboptions[cyb_visitorslastx_xhours]">$vbphrase[cybvilxh_showing_x]</phrase> | <a href="javascript:void(0);" onclick="Vilxh_getUsers();" style="text-decoration:none;">$vbphrase[cybvilxh_show_all]</a>
    </div>
    <div id="vilxh_users_loading" style="display:none;float:$stylevar[right];">
    $vbphrase[cybvilxh_loading]
    </div>
    </if>
    </div>
    </td>
    </tr>
    <if condition="$vboptions['cyb_visitorslastx_showgroups'] AND $vilxh_legend">
    <tr>
    <td class="alt2" colspan="2" align="center">
    <span class="smallfont">$vilxh_legend</span>
    </td>
    </tr>
    </if>
    </tbody>
    <!--/VBSEO_VIRTUAL_HTML-->
    but i still have the same problem.

    Thanks

  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 Alex,

    virtual HTML feature works with clean html embedded only, it doesn't work in this case since there is javascript code inside.

  3. #3
    Senior Member
    Real Name
    Alex
    Join Date
    Mar 2007
    Location
    Italy
    Posts
    508
    Liked
    0 times
    Oh ok thanks Oleg

Similar Threads

  1. Virtual HTML Display - What is it?
    By woostar in forum General Discussion
    Replies: 65
    Last Post: 07-13-2009, 11:06 PM
  2. Virtual HTML Display and Welcome Headers
    By t-rent in forum General Discussion
    Replies: 4
    Last Post: 04-06-2009, 11:37 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
  •