MyLiveSignature at the bottom of every post Version: 0.4 Author: miCRoSCoPiC^eaRthLinG Author URI: http://chaos-laboratory.com License: GPL Last modified: 2008-05-24 11:45pm */ // Database Version $livesig_db_version = "1.0"; // Settings array $livesig_general_settings = array( "signature-placement" => "front" ); // Database: Table installation function livesig_install () { global $wpdb; global $livesig_db_version; global $livesig_general_settings; $table_name = $wpdb->prefix . "livesig"; if( $wpdb->get_var( "show tables like '$table_name'" ) != $table_name ) { $sql = "CREATE TABLE " . $table_name . " ( id bigint(20) NOT NULL, livesig_code text NOT NULL, UNIQUE KEY id (id) );"; require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); dbDelta( $sql ); // Add database version add_option( "livesig_db_version", $livesig_db_version ); // Add default signature placement add_option( "livesig-general-settings", serialize( $livesig_general_settings ) ); } // if } // livesig_install // Admin Panel function livesig_add_pages() { add_options_page( 'LiveSig Options', 'LiveSig', 8, __FILE__, 'livesig_options_page' ); } // livesig_add_pages // Options Page function livesig_options_page() { // Form submitted if( isset( $_POST[ 'livesig-general-update' ] ) ) { $livesig_general_settings[ 'signature-placement' ] = $_POST[ 'signature-placement' ]; update_option( 'livesig-general-settings', serialize( $livesig_general_settings ) ); _e( '
LiveSig General Settings updated.
Instructions: This section defines general settings for the LiveSig plug-in. If you change any of the settings here, you\'re required to save them using the Save button on this screen.
Warning: Don\'t confuse this with the Save button in the Signatures section. That is meant for saving the user-specific signatures only.
Usage: Select the Role and User from the list on the left and paste the signature code snippet provided by MyLiveSignature in the space below and hit Save. If you don\'t have your Live Signature yet, please head over to the MyLiveSignature site and get yourself one for free.
Disabling: If you wish to stop displaying your Signature, simply delete the code here for the respective user and press Save. Alternatively, disabling this plug-in should also do the trick - but this will disable the signature for all users.
Paste the MyLiveSignature code here exactly as provided - without any alteration, unless you\'re an an advanced user and know what you are doing.