Results 1 to 10 of 10

Edit help

This is a discussion on Edit help within the Template Modifications forums, part of the vBulletin SEO Discussion category; Please tell me how i can do the following. remove FAQ,Calender from your navbar for guests only add H1 Tags ...

  1. #1
    Senior Member Array
    Real Name
    Chad Skinner
    Join Date
    Feb 2009
    Posts
    140
    Liked
    0 times

    Edit help

    Please tell me how i can do the following.

    remove FAQ,Calender from your navbar for guests only

    add H1 Tags in your forum threads

    use vBSEO New feature (Virtual HTML Display) in your "What's going on" section

  2. #2
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    1) wrap your navbar links in contionals.

    ie, find in navbar template:

    <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>

    and replace with

    <if condition="$show['member']">
    <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
    </if>

    do the same for the calendar.

    h1's : Important SEO Tip: Essential H1 Tags Missing in vBulletin Default Templates

    virtual html: Virtual HTML Display - What is it?

  3. #3
    Senior Member Array
    Real Name
    Chad Skinner
    Join Date
    Feb 2009
    Posts
    140
    Liked
    0 times
    The font is so big.
    How can i make it smaller?

    Code:
    <if condition="THIS_SCRIPT == 'forumdisplay'">
    $foruminfo[title_clean]
    <else />
    <if condition="THIS_SCRIPT == 'showthread'">
    <h1>$thread[title]</h1>
    <else />
    <if condition="THIS_SCRIPT == 'group'">
    <h1>$custompagetitle</h1>
    <else />
    <if condition="THIS_SCRIPT == 'album'">
    <h1>$custompagetitle</h1>
    <else />
    <if condition="THIS_SCRIPT == 'tags'">
    <h1>$tag[tagtext]</h1>
    <else />
    <if condition="THIS_SCRIPT == 'blog'">
    <h1>$pagetitle</h1>
    <else />
    <if condition="THIS_SCRIPT == 'member'">
    <h1>$userinfo[username]</h1>
    <else />
    <h1>$vboptions[bbtitle]</h1>
    </if>
    </if>
    </if>
    </if>
    </if>
    </if>
    </if>

  4. #4
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    you can add style rules to the main CSS file

    h1 { font-size: 12px; }

    for example.

  5. #5
    Senior Member Array
    Real Name
    Chad Skinner
    Join Date
    Feb 2009
    Posts
    140
    Liked
    0 times
    Sorry i didn't really get that.
    Another problem is that i tried to find the code given in that thread.
    I cant find most of those for example the header one.

  6. #6
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    i have no idea what you just asked. please rephrase.

  7. #7
    Senior Member Array
    Real Name
    Chad Skinner
    Join Date
    Feb 2009
    Posts
    140
    Liked
    0 times
    Quote Originally Posted by briansol View Post
    you can add style rules to the main CSS file

    h1 { font-size: 12px; }

    for example.
    I didn't really understand that sorry.

  8. #8
    Senior Member Array
    Real Name
    Brian
    Join Date
    Apr 2006
    Posts
    6,983
    Liked
    10 times
    go to stylemanager-> edit templates select main CSS from the drop down

    scroll all the way to the bottom, and enter that rule on a new line in the last textarea

    you can do the same thing for h2

  9. #9
    Senior Member Array
    Real Name
    Chad Skinner
    Join Date
    Feb 2009
    Posts
    140
    Liked
    0 times
    Thanks brian and lastly for the virtual htm.
    This is what i did and i don't see any changes.

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

    !-- end what's going on box -->
    <!--/VBSEO_VIRTUAL_HTML-->

  10. #10
    Senior Member Array
    Real Name
    Chad Skinner
    Join Date
    Feb 2009
    Posts
    140
    Liked
    0 times
    One more thing. I would like to remove the title on forumhome?
    Could you edit the code and give me?

    Code:
    <if condition="THIS_SCRIPT == 'forumdisplay'">
    $foruminfo[title_clean]
    <else />
    <if condition="THIS_SCRIPT == 'showthread'">
    <h1>$thread[title]</h1>
    <else />
    <if condition="THIS_SCRIPT == 'group'">
    <h1>$custompagetitle</h1>
    <else />
    <if condition="THIS_SCRIPT == 'album'">
    <h1>$custompagetitle</h1>
    <else />
    <if condition="THIS_SCRIPT == 'tags'">
    <h1>$tag[tagtext]</h1>
    <else />
    <if condition="THIS_SCRIPT == 'blog'">
    <h1>$pagetitle</h1>
    <else />
    <if condition="THIS_SCRIPT == 'member'">
    <h1>$userinfo[username]</h1>
    <else />
    <h1>$vboptions[bbtitle]</h1>
    </if>
    </if>
    </if>
    </if>
    </if>
    </if>
    </if>

Similar Threads

  1. Edit SEO by vBSEO 3.3.0 RC2
    By nkblaze in forum Template Modifications
    Replies: 1
    Last Post: 03-12-2009, 06:11 PM
  2. Quick edit bug still there...
    By dutchbb in forum Bug Reporting
    Replies: 14
    Last Post: 08-21-2006, 09:57 AM

Posting Permissions

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