du meinst also ich kann anhand des canter hacks einfach den shadow und glow hack einbauen indem ich mich an dem center hack orientiere und einfach nur die werte erhöhe? das was sind in dem fall die richtigen werte/bezeichnungen?
sorry, ich bin aber kein ass was php angeht.
hier mal der ganze text den der hack beinhaltet
Code: Alles auswählen
#################################################################
## Hack Title: Glow and Shadow effects BBcode Hack
## Hack Version: 2.0.0
## Author: David Smith davidls14@yahoo.com.au - http://www27.brinkster.com/bb2c
## Description: adds a glow and shadow bbcode tags to your forum
##
## Installation Level: easy
## Installation Time: 1 minute
## Files To Edit: bbcode.tpl bbcode.php
## Included Files: n/a
#################################################################
##
## Author Note:
## This hack is ©2002 David Smith, All Rights Reserved
## Be sure to edit all templates you have loaded
##
#################################################################
## Before Adding This hack To Your Forum, You Should Back Up All Files Related To This hack
#################################################################
#
#-----[ Open includes/bbcode.phpex ]------------------------------------------
#
#
#-----[ Find ]------------------------------------------
#
$bbcode_tpl['color_open'] = str_replace('{COLOR}', '\\1', $bbcode_tpl['color_open']);
#
#-----[ Add after ]------------------------------------------
#
//Begin Glow Shadow Mod Copyright David Smith 2002
$bbcode_tpl['glow_open'] = str_replace('{GLOWCOLOR}', '\\1', $bbcode_tpl['glow_open']);
$bbcode_tpl['shadow_open'] = str_replace('{SHADOWCOLOR}', '\\1', $bbcode_tpl['shadow_open']);
#
#-----[ Find ]------------------------------------------
#
// [i] and [/i] for italicizing text.
$text = str_replace("[i:$uid]", $bbcode_tpl['i_open'], $text);
$text = str_replace("[/i:$uid]", $bbcode_tpl['i_close'], $text);
#
#-----[ Add after ]------------------------------------------
#
// [glow=red] and [/glow] for glowing text.
$text = preg_replace("/\[glow=(\#[0-9A-F]{6}|[a-z]+):$uid\]/si", $bbcode_tpl['glow_open'], $text);
$text = str_replace("[/glow:$uid]", $bbcode_tpl['glow_close'], $text);
// [shadow=red] and [/shadow] for glowing text.
$text = preg_replace("/\[shadow=(\#[0-9A-F]{6}|[a-z]+):$uid\]/si", $bbcode_tpl['shadow_open'], $text);
$text = str_replace("[/shadow:$uid]", $bbcode_tpl['shadow_close'], $text);
#
#-----[ Find ]------------------------------------------
#
// [i] and [/i] for italicizing text.
$text = preg_replace("#\[i\](.*?)\[/i\]#si", "[i:$uid]\\1[/i:$uid]", $text);
#
#-----[ Add after ]------------------------------------------
#
// [glow=red] and [/glow] for glowing text.
$text = preg_replace("#\[glow=(\#[0-9A-F]{6}|[a-z\-]+)\](.*?)\[/glow\]#si", "[glow=\\1:$uid]\\2[/glow:$uid]", $text);
// [shadow=red] and [/shadow] for glowing text.
$text = preg_replace("#\[shadow=(\#[0-9A-F]{6}|[a-z\-]+)\](.*?)\[/shadow\]#si", "[shadow=\\1:$uid]\\2[/shadow:$uid]", $text);
#
#-----[ Open templates/your template/bbcode.tpl ]------------------------------------------
#
#
#-----[ Find ]------------------------------------------
#
<!-- BEGIN email --><a href="mailto:{EMAIL}">{EMAIL}</A><!-- END email -->
#
#-----[ Add after ]------------------------------------------
#
<!-- BEGIN glow_open --><span style="filter: glow(color={GLOWCOLOR}); height:20"><!-- END glow_open -->
<!-- BEGIN glow_close --></span><!-- END glow_close -->
<!-- BEGIN shadow_open --><span style="filter: shadow(color={SHADOWCOLOR}); height:20"><!-- END shadow_open -->
<!-- BEGIN shadow_close --></span><!-- END shadow_close -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
fehlt da nicht so einiges?