Results 1 to 6 of 6

Insert prefix into title

This is a discussion on Insert prefix into title within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello Everyone , I wonder if you could help how i can insert selected prefix name in title , for ...

  1. #1
    Zi5
    Zi5 is offline
    Member
    Real Name
    Kool
    Join Date
    Feb 2007
    Posts
    73
    Liked
    0 times

    Insert prefix into title

    Hello Everyone ,
    I wonder if you could help how i can insert selected prefix name in title , for example if we goes here
    vBulletin 3.8 Add-ons - vBulletin.org Forum and you choose a prefix you will not see it the prefix name in title .
    I try to put $vbphrase[any_prefix_meta] in the title put nothing help .

    Thanks alot ,
    Zi5

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    You can enable thread prefix support within urls by enabling the following option within config_vbseo.php

    PHP Code:
        define('VBSEO_URL_THREAD_PREFIX',      0);
        
    define('VBSEO_URL_THREAD_PREFIX_NAME'0); 
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Zi5
    Zi5 is offline
    Member
    Real Name
    Kool
    Join Date
    Feb 2007
    Posts
    73
    Liked
    0 times
    Dear Mert ,
    Thank you for you reply , i didn't want to insert it into Url's , i won't to insert the prefix name inside the title not in url.
    Thanks too much ,
    Zi5

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    I think you can't do that without code modification (or new plugin code).
    Try to modify forumdisplay.php file:
    find:
    PHP Code:
    $prefix_options fetch_prefix_html($foruminfo['forumid'], $vbulletin->GPC['prefixid']); 
    add above:
    PHP Code:
    if($vbulletin->GPC['prefixid'])
    {
    $selectedprefix $vbphrase["prefix_".$vbulletin->GPC['prefixid']."_title_plain"];

    and then in FORUMDISPLAY template add this after "<title>":
    HTML Code:
    <if condition="$selectedprefix">$selectedprefix - </if>

  5. #5
    Zi5
    Zi5 is offline
    Member
    Real Name
    Kool
    Join Date
    Feb 2007
    Posts
    73
    Liked
    0 times

    vBSEO Members is saying , Sir yes sir , for you Oleg !
    A big thanks won't not enuogh ...
    Thanks you too too much .
    Zi5

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    You are welcome

Similar Threads

  1. Thread prefix or same title?
    By Sysop in forum General Discussion
    Replies: 10
    Last Post: 10-05-2008, 01:42 PM
  2. Insert a vbSEOed URL?
    By TechGuy in forum Relevant Replacements
    Replies: 2
    Last Post: 12-29-2007, 03:14 PM
  3. Forum Title Prefix/Suffix
    By amnesia623 in forum vBSEO Features Archive
    Replies: 3
    Last Post: 10-30-2007, 11:05 PM
  4. Insert php code
    By BetaTesting in forum Pre-Sales Questions
    Replies: 1
    Last Post: 07-30-2007, 04:32 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
  •