********************************************************************************* * MOD NAME: Signature Preview * ********************************************************************************* * DESCRIPTION: Allows you to preview your signature within your profile * ********************************************************************************* * BY: Allen Ayres * *ORIGINAL AUTHOR: Mastermind * * DATE: 05-17-2003 * * VERSION: 6.5 * ********************************************************************************* ********************************************************************************* * REQUIREMENTS: Any 6.5 * * COMPATABILITY: All 6.5 (should work on 6.3+) * * TESTED: 6.5.0 * ********************************************************************************* * FILES MODIFIED: (Templates) public_edit_profile.pl * * (cgi-bin) ubb_profile.cgi * * (variables) vars_wordlets_mods.cgi * ********************************************************************************* * DISCLAIMER: By using this modification, the user implicitly agrees * * that they are willingly modifying any and all files at * * their own risk. Should any errors occur either as a * * direct or indirect result of said modifications the user * * agrees not to hold Infopop Corporation or any of the * * individuals listed accountable. * * * * * * IN OTHER WORDS: PLEASE MAKE BACKUP COPIES OF EVERY FILE YOU PLAN TO * * MODIFY PRIOR TO MODIFICATION!! * * * * * * FOR MORE TIPS AND TRICKS FOR USE WITH THE ULTIMATE BULLETIN BOARD * * PLEASE US AT VISIT: * * * * http://www.ubbdev.com/ * * * ********************************************************************************* ********************************************************************************* ########### ### ubb_profile.cgi ########### ## ## FIND: ## # convert signature $Signature = &prep_for_edit($user_profile[12], 'is', $vars_display{AllowSignatureImage}); ## ## REPLACE WITH: ## # convert signature $user_profile[12] =~ s/(.+?)/$1$vars_config{NonCGIURL}\/$2$3/isg; $user_profile[12] =~ s/(.+?)/$1$vars_config{NonCGIURL}\/$2$3/isg; $Signature = &prep_for_edit($user_profile[12], 'is', $vars_display{AllowSignatureImage}); ########### ### public_edit_profile.pl ########### ## ## FIND: ## find: THISFIELD } # end field ## ## BELOW ADD: ## print < $vars_wordlets_mods{sig_prev}
$user_profile[12] SIGPREV ########### ### vars_wordlets_mods.cgi ########### ## ## FIND: ## details => "Details", ## ## BELOW ADD: ## sig_prev => "Signature Preview:",