Create a Custom page link and vBSEO-it
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
Demo:Code:'links\.php'=>'links.html'
BMWFAQ Club



