|
Random Signatures For Admins, Mods
This modification is in the archives.
#################################################################
## MOD Title: Random Signature ## ## PNP Version: 1.0.0 ## ## MOD Author: DementedMindz ## ## MOD Description: Allows you to have a random sigs displayed on your site ## ## Installation Level: Easy ## Installation Time: 1 minute ## Files To Edit (#): .htaccess ## ## Lines To Add: 4 ## ############################################################## ## Included Files: sig.php ## ############################################################## ## Author Notes: ## ## ## Any suggestions, issues, changes, ideas, comments, etc please post them in the thread ## ## Features: ## ## Randomly displays jpg, gif, png sigs or images. ## ## ## Additional: ## ## This currently will only work with jpgs, gifs, and pngs. ## ## This will also only work with Apache sites that allow you to edit the .htaccess file ## ## You must have at least 2 valid image files in the directory ## ## In theory this should work with any site that allows signatures or images ## ## ## ############################################################## ## History: ## ## 2006-03-17 - Version 1.0.0 ## - Created ## ############################################################## ## Before Adding This MOD To Your Site, You Should Back Up All Files Related To This MOD ############################################################## # # Here starts the Installation, follow the steps very close and be sure that you have found the # correct lines # # STEP NUMBER I: Copy Files # Copy sig.php to the root of your site Create a /sigs folder Copy all the sigs you want to be displayed in that folder (DO NOT UPLOAD thumbs.db or anything else invalid) # # STEP NUMBER II: Modifying existing Files # # #-----[ OPEN ]------------------------------------------ # This should be on the root of your public_html or www and is the first file .htaccess # #-----[ AT THE END ADD ]-------------------------------- # Code:
RewriteEngine on #Index RewriteRule ^sig.gif sig.php [L] #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------------------ # #-----[ NOTES ]----------------------------------------- # http://www.yoursite.com/sig.gif will work any where actually so feel free to play with it # #-----[ NOTES ]----------------------------------------- # If you want to use this for anything else like avatars Simply change the sig.php to whatever.php Open whatever.php and change $dir = "./sigs/"; To: $dir = "./whatever/"; Then follow the above steps again changing sig to whatever # #------------------------------------------------------- Download This modification is archived and cannot be downloaded. |
|||||||||