Results 1 to 4 of 4

Create a Custom page links and vBSEO-it

This is a discussion on Create a Custom page links and vBSEO-it within the Member Articles forums, part of the Focus on Members category; Create a file within your forum root which you call links.php Copy the following content PHP Code: <?php // ####################### SET PHP ENVIRONMENT ########################### error_reporting ...

  1. #1
    vBSEO.com SysAdmin Danny Bembibre's Avatar
    Real Name
    Daniel Bembibre Gude @dbembibre
    Join Date
    Mar 2007
    Location
    Madrid (Spain)
    Posts
    646
    Liked
    13 times
    Blog Entries
    20

    Create a Custom page links and vBSEO-it

    Create a file within your forum root which you call links.php

    Copy the following content

    PHP Code:
    <?php
    // ####################### SET PHP ENVIRONMENT ###########################
    error_reporting(E_ALL & ~E_NOTICE);
    // #################### DEFINE IMPORTANT CONSTANTS #######################
    define('THIS_SCRIPT''links'); // change this depending on your filename
    // ################### PRE-CACHE TEMPLATES AND DATA ######################
    // get special phrase groups
    $phrasegroups = array();
    // get special data templates from the datastore
    $specialtemplates = array();
    // pre-cache templates used by all actions
    $globaltemplates = array('mylinks');
    // pre-cache templates used by specific actions
    $actiontemplates = array();
    // ######################### REQUIRE BACK-END ############################
    require_once('./global.php');
    // #######################################################################
    // ######################## START MAIN SCRIPT ############################
    // #######################################################################
    $navbits = array();
    $navbits[$parent] = 'Links en YOUR SITE NAME';
    $navbits construct_navbits($navbits);
    eval(
    '$navbar = "' fetch_template('navbar') . '";');
    eval(
    'print_output("' fetch_template('mylinks') . '");');
    ?>
    Go to AdminCP->Styles & Templates->your style name->Create New template


    Title: mylinks
    Content:
    Download and copy the content of attachment template

    Go to vBSEO CP and surf to Custom Rewrite Rules (CRR) and put this on it

    HTML Code:
    'links\.php'=>'links.html'
    Demo:
    BMWFAQ Club
    Attached Files
    Last edited by Danny Bembibre; 10-26-2007 at 06:43 AM.
    vBSEO Success Story: bmwfaq.com 95% indexed in yahoo, 85% indexed in google and straight up and 10% indexed in bing

  2. #2
    Senior Member
    Real Name
    thompson
    Join Date
    Jul 2007
    Posts
    198
    Liked
    0 times
    thanks.

  3. #3
    Senior Member
    Real Name
    Philipp Herbers
    Join Date
    Sep 2005
    Location
    Meppen, Germany
    Posts
    8,436
    Liked
    0 times
    Great work

  4. #4
    Member mdvaldosta's Avatar
    Real Name
    Joe Hayes
    Join Date
    Aug 2006
    Posts
    86
    Liked
    0 times
    Works great on 3.6.8, thanks : )
    Submit you're vBSEO'd forum to these quality web directories: Azook, a Paid Directory, Linkature Directory, Free Website Directory, and GoGlance.

Posting Permissions

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