vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

View RSS Feed

Danny Bembibre (dbembibre) Crawlability Inc.

Create a Custom page link and vBSEO-it

Rate this Entry
by on 10-22-2007 at 04:08 AM (3096 Views)
Create a archive in your forum root with name 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

Code:
'links\.php'=>'links.html'
Demo:
BMWFAQ Club
Attached Thumbnails Attached Files

Updated 10-26-2007 at 05:42 AM by dbembibre

Categories
BMW FAQ Club , Php

Comments

  1. ragtek -
    ragtek's Avatar
    hi
    remove
    PHP Code:
    define('NO_REGISTER_GLOBALS'1); 
    its not needed
    this is for version < 3.5 or 3.0
    • |
    • permalink
  2. Danny Bembibre -
    Danny Bembibre's Avatar
    Thanks a lot ragtek i have this standars template from the times of 3.0
    • |
    • permalink
  3. Brandon Sheley -
    Brandon Sheley's Avatar
    the demo gives a 404
    this is an example of a similar page
    vBulletin Setup SEO Tools
    • |
    • permalink

Trackbacks

Total Trackbacks 0
Trackback URL: