versato
04-14-2007, 02:41 PM
For those that our looking for a link exchange i have made this
Example
http://www.warez-portalz.com/exchange.php
You need first the free link exchange script
Download it (http://rapidshare.com/files/25970401/cjoverkill.zip)
instructions to install this
Extract the GZIP file with the path names intact. (If using WinZIP, make sure
'Use Folder Names' is checked).
Upload all of the files to your home directory keeping the path names
intact. (Upload with all files in the proper directories)
- Be sure to upload all .php and .css files in ASCII mode (Most FTP clients
do that by default when detecting an ASCII file).
Chmod "toplist" directory to 777.
Chmod "toplist" directory contents (toplist templates) to 666 or 777
Chmod "cj-conf.inc.php" to 666 or 777.
Go to cjoverkill-install.php and follow the instructions on the page.
After you have finished the installation delete cjoverkill-install.php,
cjoverkill-update.php and the directory cjoverkill_filter_base and toplist and all it's
contents.
Now include this to your vbulletin
Make a php file and change exchange to the name you want
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'exchange'); // 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(
'exchange',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Exchange';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('exchange') . '");');
?>
save this in the root off your vbulletin
Now go into your admin panel and make a new template and insert this code
Part 1
<?php
include ("/in.php");
?>
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">WAREZ PORTALZ LINK EXCHANGE</td>
</tr>
</table>
<table width=\"$tablewidth\" border="0" align="center" cellpadding="0" cellspacing="0">
Insert here the code from a html file inside the directory TOPLIST
Part 2
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">OUR LINK CODE!</td>
</tr>
</table>
<center>
Add our text link<br>
<a href="http://www.warez-portalz.com">Warez Portalz</a>
<br>
<textarea rows="1" name="S2" cols="55"><a href="http://www.warez-portalz.com">Warez Portalz</a></textarea>
<br><br>
Add our Button link<br>
<a href="http://www.warez-portalz.com" target="_blank"><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="http://warez-portalz.com/images/warez.gif" border="0"></a>
<br>
<textarea rows="3" name="S3" cols="102"><a href="http://www.warez-portalz.com" target="_blank"><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="http://warez-portalz.com/images/warez.gif" border="0"></a>
</textarea>
<center>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">VISIT OUR FRIEND SITES! THEY HAVE MORE COOL STUFF!</td>
</tr>
</table>
$footer
</body>
</html>
save this and add your link into your navbar
I have include a txt example off the new template (look for demo)
Example
http://www.warez-portalz.com/exchange.php
You need first the free link exchange script
Download it (http://rapidshare.com/files/25970401/cjoverkill.zip)
instructions to install this
Extract the GZIP file with the path names intact. (If using WinZIP, make sure
'Use Folder Names' is checked).
Upload all of the files to your home directory keeping the path names
intact. (Upload with all files in the proper directories)
- Be sure to upload all .php and .css files in ASCII mode (Most FTP clients
do that by default when detecting an ASCII file).
Chmod "toplist" directory to 777.
Chmod "toplist" directory contents (toplist templates) to 666 or 777
Chmod "cj-conf.inc.php" to 666 or 777.
Go to cjoverkill-install.php and follow the instructions on the page.
After you have finished the installation delete cjoverkill-install.php,
cjoverkill-update.php and the directory cjoverkill_filter_base and toplist and all it's
contents.
Now include this to your vbulletin
Make a php file and change exchange to the name you want
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'exchange'); // 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(
'exchange',
);
// pre-cache templates used by specific actions
$actiontemplates = array(
);
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
$navbits = array();
$navbits[$parent] = 'Exchange';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('exchange') . '");');
?>
save this in the root off your vbulletin
Now go into your admin panel and make a new template and insert this code
Part 1
<?php
include ("/in.php");
?>
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">WAREZ PORTALZ LINK EXCHANGE</td>
</tr>
</table>
<table width=\"$tablewidth\" border="0" align="center" cellpadding="0" cellspacing="0">
Insert here the code from a html file inside the directory TOPLIST
Part 2
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">OUR LINK CODE!</td>
</tr>
</table>
<center>
Add our text link<br>
<a href="http://www.warez-portalz.com">Warez Portalz</a>
<br>
<textarea rows="1" name="S2" cols="55"><a href="http://www.warez-portalz.com">Warez Portalz</a></textarea>
<br><br>
Add our Button link<br>
<a href="http://www.warez-portalz.com" target="_blank"><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="http://warez-portalz.com/images/warez.gif" border="0"></a>
<br>
<textarea rows="3" name="S3" cols="102"><a href="http://www.warez-portalz.com" target="_blank"><img class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'" alt="" src="http://warez-portalz.com/images/warez.gif" border="0"></a>
</textarea>
<center>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">VISIT OUR FRIEND SITES! THEY HAVE MORE COOL STUFF!</td>
</tr>
</table>
$footer
</body>
</html>
save this and add your link into your navbar
I have include a txt example off the new template (look for demo)