PDA

View Full Version : how to create a plugin of this code


wanno
01-17-2008, 07:15 AM
I have the next code:


global $filenames;
$filenames = $_SERVER['SCRIPT_URI'];


and this code:
<?php include ($_SERVER['DOCUMENT_ROOT'] . '/_d/s/inc/logo.php');?>


How can I create 2 plugins of this?
I tried everything without success.

Dismounted
01-17-2008, 08:21 AM
<a href="http://www.vbulletin.com/docs/html/main/templates_externalfiles" target="_blank">http://www.vbulletin.com/docs/html/m..._externalfiles</a>