Results 1 to 12 of 12

Virtual HTML Display on vb 4.0.4

This is a discussion on Virtual HTML Display on vb 4.0.4 within the General Discussion forums, part of the vBSEO SEO Plugin category; i tried implementing Virtual HTML Display on my forum and tried to see site for changes , but its not ...

  1. #1
    Member
    Real Name
    bhanu
    Join Date
    Jan 2007
    Posts
    51
    Liked
    0 times

    Smile Virtual HTML Display on vb 4.0.4

    i tried implementing Virtual HTML Display on my forum and tried to see site for changes , but its not working , what maybe the reason is ?i dont even see Virtual HTML code in page source i even tried clearing cache, but still nothing , also i would like to know beside whats going on box what other places this should be used ?

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    In order to use it, you physically need to place the tags around the block of code you wish to virtualize.
    (How To) Add Virtual HTML Display In Your Forum Template - Blogs - vBulletin SEO Forums

  3. #3
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    You can really use Virtual HTML display in many areas in your forum not only WGO box, I've just thinking now what's the other places that can used on it, You can use it also with "Posting Permissions" and many other areas but I don't remember them, I sure if you think more about Virtual HTML areas you will make a great work with it

  4. #4
    Member
    Real Name
    Matthew
    Join Date
    Mar 2009
    Posts
    60
    Liked
    0 times
    I've setup a Welcome notice (as seen here) and it contains javascript for the ad so I cannot use the virtual HTML...

    Is there a way (if not, a feature request!) to use the <!--VBSEO_VIRTUAL_HTML--> tags WITHOUT having to turn virtual HTML on for notices? This way I could wrap the notice HTML in the VH, but still have the google ad displaying.

  5. #5
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    virtual html is for static html only. javascript, etc will cause errors.

  6. #6
    Member
    Real Name
    Matthew
    Join Date
    Mar 2009
    Posts
    60
    Liked
    0 times
    I understand this, and I can by pass this if in my notice I put the <!--VBSEO_VIRTUAL_HTML--> tags around my the html within my notice (not the javascript), but they only work if it's turned on for notices as a whole?

    Look at the source of my notice on my site (mentioned above) and you will see what I mean.

  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    AS you have a JS driven ad in there, you can't put that into the virtual html. The fact that it's in a notice template or not really has nothing to do with it.

  8. #8
    Member
    Real Name
    Matthew
    Join Date
    Mar 2009
    Posts
    60
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    AS you have a JS driven ad in there, you can't put that into the virtual html. The fact that it's in a notice template or not really has nothing to do with it.
    Yeah what I'm saying is that the current docs specify:

    Additionally, any template code placed between the following tags will also be rendered with Javascript and removed, allowing the flexibility to replace any part of the page (with low quality content or links) with a JS version to minimize SEO impact.
    Whereas if you have chosen to put javascript in your notices it will crash as it is always applied to notices and not just <!--VBSEO_VIRTUAL_HTML--> tags which I have elsewhere.

  9. #9
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    I'm not sure I understand what you are trying to say.


    Virtual html cannot contain JS. be it in a footer template, a postbit template, or in notices.

  10. #10
    Member
    Real Name
    Matthew
    Join Date
    Mar 2009
    Posts
    60
    Liked
    0 times
    Ok ...

    This is my notice:
    HTML Code:
    <div id="welcome-pane">
    <div id="left-pane">
    <script type="text/javascript">
    GA_googleFillSlot("MyDellMini_MPU_Welcome");
    </script>
    </div>
    <!--VBSEO_VIRTUAL_HTML-->
    <div id="right-pane">
    <p class="title">Welcome to MyDellMini!</p>
    <p>The largest dedicated Dell Mini and Dell Streak forum.</p>
    <ul>
    <li>Discussion for newbies and experienced users alike on the <a href="http://www.mydellmini.com/forum/dell-mini-9-forums/">Dell Mini 9</a>, <a href="http://www.mydellmini.com/forum/dell-mini-10-forums/">Dell Mini 10</a> and many other <a href="http://www.mydellmini.com/forum/other-dell-products/">Dell Products</a>.</li>
    <li>Do you yearn for a <a href="http://www.mydellmini.com/forum/dell-streak/">Dell Streak</a>? Or do you have one yourself? Check out our <a href="http://www.mydellmini.com/forum/dell-streak/">Dell Streak forum</a>.</li>
    <li>Get the latest updates from the MyDellMini community by following <a href="http://www.twitter.com/mydellmini">@MyDellMini</a>.</li>
    <li>Not a Twitterer? You can still keep upto date with our <a href="http://feeds.feedburner.com/mydellmini">news feed</a>.</li>
    <li>Looking to hackintosh you Dell Mini? Get the tools and the know-how at our <a href="http://www.mydellmini.com/forum/mac-os-x/">Mac OS X section</a>.</li>
    <li>Check out our <a href="http://www.mydellmini.com/forum/articles.php">guides</a> for help topics on upgrading and configuring your Dell Mini.</li>
    <li><a href="http://www.mydellmini.com/forum/register.php"><strong>Sign up</strong> for free to reduce ads and remove this notice!</a></li>
    </ul>
    <p style="text-align:center; font-size: 20px"><a href="http://www.mydellmini.com/forum/register.php">Join our fast growing community for free now!</a></p>
    
    </div>
    <!--/VBSEO_VIRTUAL_HTML-->
    </div>
    My problem is that the <!--/VBSEO_VIRTUAL_HTML--> tags wont work unless the virtual HTML feature is turned on. But if I turn it on... voila it screws up everything as there is javascript in my notice. I think the issue is that it always parses notices for virtual HTML when it is turned on, there needs to be an option to turn it on for notices, and for the tags separately.
    Last edited by Dunhamzzz; 08-09-2010 at 01:33 PM. Reason: It works, my bad,

  11. #11
    Member
    Real Name
    Matthew
    Join Date
    Mar 2009
    Posts
    60
    Liked
    0 times
    Ok apologies it now works, I recently locked my config file and didn't notice the warning :/

  12. #12
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Glad you got it sorted

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 in notices
    By Zagis in forum General Discussion
    Replies: 5
    Last Post: 07-07-2009, 12:33 PM
  3. 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
  •