Warning: Expiry date cannot have a year greater then 9999 in /home/kilandor/seditioforge.com/system/common.php on line 244
Automaticly Installs SQL required for plugin upon install - Developers - SQL Auto-Installer - Seditio Forge
Automaticly Installs SQL required for plugin upon install
Author: Kilandor
Submitted by: Kilandor
Date: 2007-07-01 12:27
Comments: (0)
Ratings:
 
Average members rating (out of 10) : Not yet rated   
Votes: 0
This is Intended for Plugin Developers only.

This allows the Developer to Input the SQL required for the plugin, And it will automatically run one time. It will then remove itself from the SQL, and delete its own file.

Configuration :
PHP Code:

//the Code used to access the plugin
$plug_code ="test";

PHP Code:

//Only use this if your plugin code is not the same as your path to the files
$plug_path ="plugins/test/";

PHP Code:

//The section to place all your SQL required for the plugin to be installed when it is ran, If you have more than one Query they MUST end with a ;
$sql_new= "";


Those should be pretty self explanatory.
Also you should know to change the file/code/ etc in the block.

But DO NOT CHANGE THE FOLLOWING LINES

  • Part=sql_autoinstaller

  • File=sql_autoinstaller

  • Hooks=header.first



If you have any questions and or problems please post a message here.
http://www.seditioforge.com/forums/plug-ins-and-modifications-s5.html

If you use this please Include a link back in the plugin notes. Thankyou
Code:
<a href="http://www.seditioforge.com/">Sql Auto-Installer - © Kilandor & Seditio Forge</a>

Replace copy symbol with & copy (remove the space between & and copy)



Download : Developers - SQL Auto-Installer
Size: 1KB, downloaded 327 times
Copyright © 2008 Domain.Com. All Rights Reserved.
Page created in 0.144 seconds