View RSS Feed

marco1

(How To) Add Virtual HTML Display In Your Forum Template

Rating: 2 votes, 3.00 average.
by , 03-15-2009 at 06:08 PM (14974 Views)
How to Add Virtual HTML Display In Your Forum Template

I want today to talk about adding Virtual HTML Display in any of your vBulletin Template in your forum many of vBSEO Users didn't know how to use it

Simply this is Virtual HTML Display
HTML Code:
<!--VBSEO_VIRTUAL_HTML-->        
 Template Code here
  <!--/VBSEO_VIRTUAL_HTML-->
you can use it in any template in your forum by put the code in Virtual HTML Display

For Example i will use it in What's going on box


  • Open Your Admincp
  • Expand Style & Template
  • Click On Search in Templates
  • Type FORUMHOME

Find
HTML Code:
<!-- whats going on box -->  
Copy the code until this word
HTML Code:
<!-- end whats going on box -->
and put them in Virtual HTML Display Tags
This the final code after add what's going on box with Virtual HTML Display

HTML Code:
<!--VBSEO_VIRTUAL_HTML-->       
<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
    </tr>
</thead>
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
            <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
    <tr>
        <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
        <td class="alt1" width="100%">
            <div class="smallfont">
                <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                <div>$activeusers</div>
            </div>
        </td>
    </tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
            <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
        <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
        <td class="alt1" width="100%">
        <div class="smallfont">
            <div>
                $vbphrase[threads]: $totalthreads,
                $vbphrase[posts]: $totalposts,
                $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                    <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                </if>
            </div>
            <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
            $template_hook[forumhome_wgo_stats]
        </div>
        </td>
    </tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
            $vbphrase[todays_birthdays]
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
    <tr>
        <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
        <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
    </tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
    <tr>
        <td class="thead" colspan="2">
            <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
            <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
        </td>
    </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
    <tr>
        <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
        <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
    </tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
</table>
<br />
<!-- end what's going on box -->
<!--/VBSEO_VIRTUAL_HTML-->
And you can follow this tutorial with any other vBulletin Template with the same steps

New Update : For Validate Virtual HTML Display You should Make This Change : How to validate with vBseo Virtual HTML?

Updated 05-13-2009 at 06:44 AM by marco1

Categories
Uncategorized

Comments

  1. NLP's Avatar
    • |
    • permalink
    Woow

    this make me understand this new feature
  2. marco1's Avatar
    • |
    • permalink
    Great NLP Hope you try it
  3. foxarab's Avatar
    • |
    • permalink
    great marco1
    thanks alot ,,,
    But when i search on FORUMHOME
    i can't found
    <!-- what's going on box -->


    <!-- end what's going on box -->
  4. marco1's Avatar
    • |
    • permalink
    Please Try to search with this
    PHP Code:
    <!-- what's going on box --> 
    you should found it
  5. foxarab's Avatar
    • |
    • permalink
    Again can't found

    this is the FORUMHOME

    PHP Code:
    $stylevar[htmldoctype]
    <
    html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
    <
    head>
        <!-- 
    no cache headers -->
        <
    meta http-equiv="Pragma" content="no-cache" />
        <
    meta http-equiv="Expires" content="-1" />
        <
    meta http-equiv="Cache-Control" content="no-cache" />
        <!-- 
    end no cache headers -->
        
    $headinclude
        
    <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
    </
    head>
    <
    body>
    $header
    $navbar

    <if condition="$show['guest']">
    <!-- 
    guest welcome message -->
    <
    table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
    <
    tr>
        <
    td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </
    tr>
    <
    tr>
        <
    td class="alt1">
            <
    phrase 1="faq.php$session[sessionurl_q]2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </
    td>
    </
    tr>
    </
    table>
    <!-- / 
    guest welcome message -->
    <
    br />
    </if>

    <!-- 
    main -->
    <
    table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
    <
    thead>
        <
    tr align="center">
          <
    td class="thead">&nbsp;</td>
          <
    td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <
    td class="thead">$vbphrase[last_post]</td>
          <
    td class="thead">$vbphrase[threads]</td>
          <
    td class="thead">$vbphrase[posts]</td>
          <if 
    condition="$vboptions['showmoderatorcolumn']">
          <
    td class="thead">$vbphrase[moderator]</td>
          </if>
        </
    tr>
    </
    thead>
    $forumbits
    <tbody>
        <
    tr>
            <
    td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                <
    a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
                <if 
    condition="$vboptions['forumleaders']">&nbsp; &nbsp;
                <
    a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
            </
    strong></div></td>
        </
    tr>
    </
    tbody>
    </
    table>
    $forumhome_markread_script
    <!-- /main -->

    <
    br />
    $ad_location[ad_forumhome_afterforums]
    <
    br />

    <!-- 
    what's going on box -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
        <tr>
            <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        </tr>
    </thead>
    $template_hook[forumhome_wgo_pos1]
    <if condition="$show['
    loggedinusers']">
    <!-- logged-in users -->
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
    forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
            <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
            <td class="alt1" width="100%">
                <div class="smallfont">
                    <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                    <div>$activeusers</div>
                </div>
            </td>
        </tr>
    </tbody>
    <!-- end logged-in users -->
    </if>
    $template_hook[forumhome_wgo_pos2]
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
    forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
                <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
            <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
            <td class="alt1" width="100%">
            <div class="smallfont">
                <div>
                    $vbphrase[threads]: $totalthreads,
                    $vbphrase[posts]: $totalposts,
                    $vbphrase[members]: $numbermembers<if condition="$show['
    activemembers']">,
                        <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                    </if>
                </div>
                <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                $template_hook[forumhome_wgo_stats]
            </div>
            </td>
        </tr>
    </tbody>
    $template_hook[forumhome_wgo_pos3]
    <if condition="$show['
    birthdays']">
    <!-- today'
    s birthdays -->
    <
    tbody>
        <
    tr>
            <
    td class="thead" colspan="2">
                <
    a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                
    $vbphrase[todays_birthdays]
            </
    td>
        </
    tr>
    </
    tbody>
    <
    tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <
    tr>
            <
    td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]border="0" /></a></td>
            <
    td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </
    tr>
    </
    tbody>
    <!-- 
    end today's birthdays -->
    </if>
    $template_hook[forumhome_wgo_pos4]
    <if condition="$show['
    upcomingevents']">
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('
    forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                <if condition="$show['
    todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
            <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
            <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
    </tbody>
    </if>
    $template_hook[forumhome_wgo_pos5]
    </table>
    <br />
    <!-- end what'
    s going on box -->

    <!-- 
    icons and login code -->
    <
    table cellpadding="0" cellspacing="2" border="0" width="100%">
    <
    tr valign="bottom">
        <
    td>
            <
    table cellpadding="2" cellspacing="0" border="0">
            <
    tr>
                <
    td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]border="0" /></td>
                <
    td class="smallfont">&nbsp$vbphrase[forum_contains_new_posts]</td>
            </
    tr>
            <
    tr>
                <
    td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]border="0" /></td>
                <
    td class="smallfont">&nbsp$vbphrase[forum_contains_no_new_posts]</td>
            </
    tr>
            <if 
    condition="$vboptions['showlocks']">
            <
    tr>
                <
    td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]border="0" /></td>
                <
    td class="smallfont">&nbsp$vbphrase[forum_is_closed_for_posting]</td>
            </
    tr>
            </if>
            </
    table>
        </
    td>
        <if 
    condition="!$show['guest']">
            <!-- 
    member logout -->
            <
    td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
            <!-- 
    end member logout -->
        </if>
    </
    tr>
    </
    table>
    <!-- / 
    icons and login code -->

    $footer
    </body>
    </
    html
  6. marco1's Avatar
    • |
    • permalink
    Hah , where you search Ahmed ?
    there is in your template
    Look in the red part
    Code:
    $stylevar[htmldoctype]
    <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <!-- end no cache headers -->
        $headinclude
        <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
    </head>
    <body>
    $header
    $navbar
    
    <if condition="$show['guest']">
    <!-- guest welcome message -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    </tr>
    <tr>
        <td class="alt1">
            <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    </tr>
    </table>
    <!-- / guest welcome message -->
    <br />
    </if>
    
    <!-- main -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
        <tr align="center">
          <td class="thead">&nbsp;</td>
          <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
          <td class="thead">$vbphrase[posts]</td>
          <if condition="$vboptions['showmoderatorcolumn']">
          <td class="thead">$vbphrase[moderator]</td>
          </if>
        </tr>
    </thead>
    $forumbits
    <tbody>
        <tr>
            <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
                <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
                <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
                <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
            </strong></div></td>
        </tr>
    </tbody>
    </table>
    $forumhome_markread_script
    <!-- /main -->
    
    <br />
    $ad_location[ad_forumhome_afterforums]
    <br />
    
    <!-- what's going on box -->
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <thead>
        <tr>
            <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
        </tr>
    </thead>
    $template_hook[forumhome_wgo_pos1]
    <if condition="$show['loggedinusers']">
    <!-- logged-in users -->
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
                <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
            <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
            <td class="alt1" width="100%">
                <div class="smallfont">
                    <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
                    <div>$activeusers</div>
                </div>
            </td>
        </tr>
    </tbody>
    <!-- end logged-in users -->
    </if>
    $template_hook[forumhome_wgo_pos2]
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
                <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
        <tr>
            <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
            <td class="alt1" width="100%">
            <div class="smallfont">
                <div>
                    $vbphrase[threads]: $totalthreads,
                    $vbphrase[posts]: $totalposts,
                    $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
                        <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                    </if>
                </div>
                <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
                $template_hook[forumhome_wgo_stats]
            </div>
            </td>
        </tr>
    </tbody>
    $template_hook[forumhome_wgo_pos3]
    <if condition="$show['birthdays']">
    <!-- today's birthdays -->
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
                $vbphrase[todays_birthdays]
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
        <tr>
            <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
            <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
        </tr>
    </tbody>
    <!-- end today's birthdays -->
    </if>
    $template_hook[forumhome_wgo_pos4]
    <if condition="$show['upcomingevents']">
    <tbody>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
                <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
            </td>
        </tr>
    </tbody>
    <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
        <tr>
            <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
            <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
        </tr>
    </tbody>
    </if>
    $template_hook[forumhome_wgo_pos5]
    </table>
    <br />
    <!-- end what's going on box -->
    
    <!-- icons and login code -->
    <table cellpadding="0" cellspacing="2" border="0" width="100%">
    <tr valign="bottom">
        <td>
            <table cellpadding="2" cellspacing="0" border="0">
            <tr>
                <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
            </tr>
            <tr>
                <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
            </tr>
            <if condition="$vboptions['showlocks']">
            <tr>
                <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
            </tr>
            </if>
            </table>
        </td>
        <if condition="!$show['guest']">
            <!-- member logout -->
            <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
            <!-- end member logout -->
        </if>
    </tr>
    </table>
    <!-- / icons and login code -->
    
    $footer
    </body>
    </html>
  7. foxarab's Avatar
    • |
    • permalink
    ohhh ,,,, i see it but i really can't found :$

    can be from my pc or browser when i search

    thanks marco i will do it now
  8. marco1's Avatar
    • |
    • permalink
    Not a problem Ahmed
  9. Romchik®'s Avatar
    • |
    • permalink
    Very sad :(
    But this not works with this hack:
    Cyb - Visitors in Last X Hours
  10. KURTZ's Avatar
    • |
    • permalink
    hi Marco, i think the 3.8.2 template is a bit different so we aren't able to find out the what's up box ...

    however i manually find it ... and put the virtual tags before and after like you told us ...

    anyway i've a question: we need to put these tags only in this template? others?

    TIA
  11. foxarab's Avatar
    • |
    • permalink
    Quote Originally Posted by Romchik®
    Very sad :(
    But this not works with this hack:
    Cyb - Visitors in Last X Hours
    yes it's really not works with cyb but only with mozzila firefox and opera ,, with Internet Explorer and Google Chrome work good ,,,

    hi marco i but it with
    FORUMHOME ,, but i need to know the other Templates useful for seo to make Virtual HTML Display
  12. marco1's Avatar
    • |
    • permalink
    Sorry Guys for my late reply
    Very sad :(
    But this not works with this hack:
    Cyb - Visitors in Last X Hours
    Cyb - Visitors in Last X Hours have more than 2 or 3 template i didn't remember the but are you sure you edit in all of them ?

    hi Marco, i think the 3.8.2 template is a bit different so we aren't able to find out the what's up box ...

    however i manually find it ... and put the virtual tags before and after like you told us ...

    anyway i've a question: we need to put these tags only in this template? others?

    TIA
    yes it's really not works with cyb but only with mozzila firefox and opera ,, with Internet Explorer and Google Chrome work good ,,,

    hi marco i but it with
    FORUMHOME ,, but i need to know the other Templates useful for seo to make Virtual HTML Display
    Yes
    • The "myaccount" login area at the top of the page.
    • The "Display Options" block.
    • The thread icon descriptions.
    • The "Posting Rules" box.
  13. MaRµ's Avatar
    • |
    • permalink
    Hi Marco!

    I didn´t understand how it works and I cant find any tamplate name like: "myaccount" or "Display Options", etc.

    Im using default style.

    Thanks
  14. marco1's Avatar
    • |
    • permalink
    No there is no Template has this name
    but this is box's looks like what's going on box there is no template has what's going on box but it located in ForumHome
  15. meonet's Avatar
    • |
    • permalink
    Hi marco how to edit cyb templates sorry?
  16. marco1's Avatar
    • |
    • permalink
    Which Product ? Forum Statistics ? Cyb have lots Mods
  17. meonet's Avatar
    • |
    • permalink
  18. marco1's Avatar
    • |
    • permalink
    There is one Template you should Edit it "cyb_lastxhoursvisitors"

    HTML Code:
    <!--VBSEO_VIRTUAL_HTML-->        
     Template Code here
      <!--/VBSEO_VIRTUAL_HTML-->
    Enjoy
  19. meonet's Avatar
    • |
    • permalink
    It doesn't work marco
  20. marco1's Avatar
    • |
    • permalink
    Are You Sure you put the code in these Tags ?
    HTML Code:
    <!--VBSEO_VIRTUAL_HTML-->        
     
      <!--/VBSEO_VIRTUAL_HTML-->
    This in the Top
    HTML Code:
    <!--VBSEO_VIRTUAL_HTML-->
    And this in the bottom ?
    HTML Code:
    <!--VBSEO_VIRTUAL_HTML-->
  21. f4vn's Avatar
    • |
    • permalink
    I think we can use Virtual HTML Display with Notices. Of course you can do if you use them.
  22. meonet's Avatar
    • |
    • permalink
    Hello marco,

    Oleg says that virtual HTML feature can't work with javascript code inside...

    http://www.vbseo.com/f28/virtual-htm...x-hours-33089/
  23. f4vn's Avatar
    • |
    • permalink
    yes, It only works with HTML.
  24. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by meonet
    Hello marco,

    Oleg says that virtual HTML feature can't work with javascript code inside...

    http://www.vbseo.com/f28/virtual-htm...x-hours-33089/
    Correct
  25. partyon's Avatar
    • |
    • permalink
    Is it okay using this around copyrights in your footers? I have noticed when I wrap this around the copyrights it wont display them as words on the page when doing keyword density checks etc they simply dont appear, does this mean they also dont appear to the SE's?
  26. zems's Avatar
    • |
    • permalink
    I still don't understand what does it doing. Why should we do this?
  27. marco1's Avatar
    • |
    • permalink
    Guys this these are images after Applying Virtual HTML Display
    http://www.vbseo.com/f2/virtual-html...tml#post201911
  28. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by zems
    I still don't understand what does it doing. Why should we do this?
    Check these posts
    http://www.vbseo.com/f2/virtual-html...ay-what-31381/
  29. f4vn's Avatar
    • |
    • permalink
    You can disable JavaScript on your browser to check Virtual HTML Display .
  30. marco1's Avatar
    • |
    • permalink
    Yes because it didn't work with JavaScript

    Quote Originally Posted by f4vn
    You can disable JavaScript on your browser to check Virtual HTML Display .
  31. Riccardo79's Avatar
    • |
    • permalink
    Hi Marco no there's possibility to use virtual HTML with CYB User Active in the last X hours, and with CYB Advanced statistics ?
  32. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by Riccardo79
    Hi Marco no there's possibility to use virtual HTML with CYB User Active in the last X hours, and with CYB Advanced statistics ?
    Check This Post
    (How To) Add Virtual HTML Display In Your Forum Template - vBulletin SEO Forums
  33. Riccardo79's Avatar
    • |
    • permalink
    Ok, but this is for the cyb_lastxhoursvisitors and for cyb_advanced_forum_statistics?

    Two question,
    i must add the two tags
    Code:
    <!--VBSEO_VIRTUAL_HTML-->        
    
      <!--/VBSEO_VIRTUAL_HTML-->
    At the top and the bottom of the cyb_lastxhoursvisitors template, is correct?

    And for the Advanced Forum statistic, what is the template that i must edit?

    Thanks again.
  34. marco1's Avatar
    • |
    • permalink
    At the top and the bottom of the cyb_lastxhoursvisitors template, is correct?
    Yes Correct
    And for the Advanced Forum statistic, what is the template that i must edit?
    This Mod use Lots of Templates
    Open your Admincp And search for template and type
    Code:
    cyb_topstats
    you will see the Templates in Advanced Forum statistic
    Edit all of these Templates with Virtual HTML Display Tags
  35. f4vn's Avatar
    • |
    • permalink
    I had a small problem like that:
    HTML Code:
    <!--VBSEO_VIRTUAL_HTML-->
    <!-- commnent -->
    html code
    <!-- / commnent -->
    <!--/VBSEO_VIRTUAL_HTML-->
    When I checked my page on W3C and saw some error about it. And I removed that comment. Evething is Oki now.

    Someone has the problem like me ?
  36. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by f4vn
    I had a small problem like that:
    HTML Code:
    <!--VBSEO_VIRTUAL_HTML-->
    <!-- commnent -->
    html code
    <!-- / commnent -->
    <!--/VBSEO_VIRTUAL_HTML-->
    When I checked my page on W3C and saw some error about it. And I removed that comment. Evething is Oki now.

    Someone has the problem like me ?
    Check This thread
    http://www.vbseo.com/f77/how-validat...al-html-33683/
  37. f4vn's Avatar
    • |
    • permalink
    oki, Thank Marco !
  38. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by f4vn
    oki, Thank Marco !
    You are Welcome AJ
  39. jupiter5's Avatar
    • |
    • permalink
    Hi Marco,
    I tried to use Virtual html code cover my Whats going on box. When I add virtual html like that:

    <!--VBSEO_VIRTUAL_HTML-->
    Template Code here
    <!--/VBSEO_VIRTUAL_HTML-->
    My footer is mixing. I am using below hack.
    Members who have visited today. - vBulletin.org Forum

    How can I solve the problem? Thank you.
  40. marco1's Avatar
    • |
    • permalink
    If you disable Visited today Mod does it working ?
    Can you post your site URL So i can check the problem
  41. karma's Avatar
    • |
    • permalink
    hi Iam using VBSEO and uisng default vbulltein theme bit iam not able to see the below code in FORUMHOME

    <!-- what's going on box -->


    <!-- end what's going on box -->
  42. marco1's Avatar
    • |
    • permalink
    Simply Search for what's going on box
    And you will found it
  43. Martyn's Avatar
    • |
    • permalink
    marco you should edit your blog to include a brief description of what this function does!?
  44. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by Martyn
    marco you should edit your blog to include a brief description of what this function does!?
    That's already Discussed here in vbseo.com
    http://www.vbseo.com/f2/virtual-html...ay-what-31381/
  45. mecho's Avatar
    • |
    • permalink
    Quote Originally Posted by jupiter5
    Hi Marco,
    I tried to use Virtual html code cover my Whats going on box. When I add virtual html like that:

    <!--VBSEO_VIRTUAL_HTML-->
    Template Code here
    <!--/VBSEO_VIRTUAL_HTML-->
    My footer is mixing. I am using below hack.
    Members who have visited today. - vBulletin.org Forum

    How can I solve the problem? Thank you.
    have u found the solution ?
  46. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by mecho
    have u found the solution ?
    Check this post : (How To) Add Virtual HTML Display In Your Forum Template - vBulletin SEO Forums
  47. mecho's Avatar
    • |
    • permalink
    Quote Originally Posted by marco1
    If you disable Visited today Mod does it working ?
    Can you post your site URL So i can check the problem
    yes , it is working when i disable that mod.i just dunno how to find which template(s) that mod has been created to add those tags to them too.
  48. marco1's Avatar
    • |
    • permalink
    Please add Virtual HTML Display in all visited today Mod and it should work
  49. mecho's Avatar
    • |
    • permalink
    Quote Originally Posted by marco1
    Please add Virtual HTML Display in all visited today Mod and it should work
    Marco1 , would u tell me how can i find which template(s) that mod is using?
  50. marco1's Avatar
    • |
    • permalink
    I Will download the mod tomorrow and I Will add the templates names
  51. mecho's Avatar
    • |
    • permalink
    ok Thanks
  52. systemsfortraders's Avatar
    • |
    • permalink
    Hi,

    Put simply are you saying that before the text "<!-- what's going on box -->" I need to add the line "<!--VBSEO_VIRTUAL_HTML--> " and after the text "<!-- end what's going on box -->" I need to add the line "<!--VBSEO_VIRTUAL_HTML--> " ?

    Also, in my critique it advised me to make this change which is why I am doing it. It doesn't make reference to this "New Update : For Validate Virtual HTML Display You should Make This Change : http://www.vbseo.com/f77/how-validat...83/#post213632" but am I supposed to do this too ?


    Thanks in advance.
  53. systemsfortraders's Avatar
    • |
    • permalink
    Anyone having a chance to answer this - it would be appreciated.

    Cheers
  54. systemsfortraders's Avatar
    • |
    • permalink
    Still trying to find out if this is the correct change and is exactly the same as the above as I find it easier to follow:

    Log into the vBulletin Control Panel.

    Go to "Styles & Templates" > "Style Manager" and select "Edit Templates".

    Select "Forum Home Templates" and then "FORUMHOME" and make the following Find & Replace changes:

    Find:
    • "<!-- what's going on box -->"
    Replace With:
    • "<!--VBSEO_VIRTUAL_HTML-->"
    • "<!-- what's going on box -->"

    Find:
    • "<!-- end what's going on box -->"
    Replace With:
    • "<!-- end what's going on box -->"
    • "<!--/VBSEO_VIRTUAL_HTML-->"

    Remember to "Save" your changes.


    Thanks for any help.
  55. marco1's Avatar
    • |
    • permalink
    What's your problem ? are you can't found the code ?
  56. systemsfortraders's Avatar
    • |
    • permalink
    No - I found the code - I just interpreted what you said and tried to make it simpler so I could understand it - is the above not correct in terms of the changes required ?
  57. marco1's Avatar
    • |
    • permalink
    Quote Originally Posted by systemsfortraders
    No - I found the code - I just interpreted what you said and tried to make it simpler so I could understand it - is the above not correct in terms of the changes required ?
    Yes, that's correct
    also I think your post easy to follow than my original blog
  58. systemsfortraders's Avatar
    • |
    • permalink
    Thanks for your help.
  59. nikosb's Avatar
    • |
    • permalink
    I used VBSEO_VIRTUAL_HTML in forumhome template and Markup Validation Service = Result: Passed
    [Valid] Markup Validation of http://www.supa.gr/forums/ - W3C Markup Validator


    thanks
    Nikos

Trackbacks

Total Trackbacks 0
Trackback URL: