Results 1 to 5 of 5

How do I remove forum title from archive

This is a discussion on How do I remove forum title from archive within the Template Modifications forums, part of the vBulletin SEO Discussion category; How do I remove forum title part ( - vBulletin SEO Forums) from <title> </title> of the archive. http://www.vbseo.com/sitemap/f-20.html Step ...

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    2
    Liked
    0 times

    How do I remove forum title from archive

    How do I remove forum title part ( - vBulletin SEO Forums) from <title> </title> of the archive.

    http://www.vbseo.com/sitemap/f-20.html

    Step by Step on how to remove it, please.

  2. #2
    Senior Member
    Real Name
    Holger
    Join Date
    Oct 2005
    Location
    Frankfurt / Germany
    Posts
    611
    Liked
    1 times
    search in ../archive/index.php
    Code:
        echo "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"" . $vbulletin->options['bburl'] . "/forumdisplay.php?f=$foruminfo[forumid]\">$foruminfo[title_clean]</a></p>\n<hr />\n";
    and remove it thats all

    regards

  3. #3
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    I think this should do it:

    Open the index.php in your archive directory.

    Look for this:
    Code:
    $title = "$threadinfo[title] [$vbphrase[archive]] " . ($p > 1 ? ' - ' . construct_phrase($vbphrase['page_x'], $p) : '') . " - $title";
    Change to this:
    Code:
    $title = "$threadinfo[title] [$vbphrase[archive]] ";

    Then a few lines down look for this:
    Code:
    $title = "$foruminfo[title_clean] [$vbphrase[archive]]" . ($p > 1 ? ' - ' . construct_phrase($vbphrase['page_x'], $p) : '') . " - $title";
    Change to this:
    Code:
    $title = "$foruminfo[title_clean] [$vbphrase[archive]]";
    Last edited by Keith Cohen; 12-19-2005 at 03:19 PM.

  4. #4
    Junior Member
    Join Date
    Dec 2005
    Posts
    2
    Liked
    0 times
    Thank you ConqSoft

  5. #5
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    I updated my post. You probably should leave the "[Site Map]" in the title. That's what the "[$vbphrase[archive]]" part does.

Similar Threads

  1. Forum Title
    By stroke in forum Bug Reporting
    Replies: 1
    Last Post: 04-01-2006, 03:40 PM
  2. Forum Subscriptions
    By Keith Cohen in forum Bug Reporting
    Replies: 7
    Last Post: 04-01-2006, 05:08 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
  •