The Arcive of vBulletin Modifications Site. |
|
Graffiti Wall - Charactor fix, I hate that square. Details »»
|
|||||||||||||||||||||||||||
|
Graffiti Wall - Charactor fix, I hate that square.
Developer Last Online: Jun 2009
Here is something silly but helpful:
I notice my members like to write stuff like using symbols, for example: Frankenberrie #1 - Frankenberrie!!!! The # and ! symbol along with most other symbols come up as a little squre on the wall and looks retarded. What I did was added the following to the censored words lists in the WALL.PHP file to prevent this from happening. Code:
$string = str_replace( "$", "", $string );
$string = str_replace( "#", "", $string );
$string = str_replace( "!", "", $string );
$string = str_replace( "@", "", $string );
$string = str_replace( "%", "", $string );
$string = str_replace( "&", "", $string );
$string = str_replace( "*", "", $string );
$string = str_replace( "/", "", $string );
$string = str_replace( "<", "", $string );
$string = str_replace( "~", "", $string );
$string = str_replace( "[", "", $string );
$string = str_replace( "]", "", $string );
$string = str_replace( "{", "", $string );
$string = str_replace( "}", "", $string );
$string = str_replace( ";", "", $string );
$string = str_replace( "|", "", $string );
You can see it at: http://www.arcadecrazy.com/thearcade/wall.php No squares ![]() Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
How about a pic of the before and after? I'm not sure what this does.
|
|
#3
|
||||
|
||||
|
Good idea.
|
|
#4
|
|||
|
|||
|
I needed that. Thanks.
|
|
#5
|
||||
|
||||
|
Arent his all addons to an existing hack, i think they should be added in the original hacks thread.... just a suggestions... but oh well... this was needed.... because i have the same problem
![]() oh and by the way, the character Quote:
Quote:
|
|
#6
|
|||
|
|||
|
modifications of a hack that does not add any functionality would need to be added in the thread of the hack itself, and the coder would decide to add it as a addon... logically... no need to make a release for this... or you simply need to add to your count of releases...
|
|
#7
|
||||
|
||||
|
I have a much better fix for this. Your fix blanks out the problem characters. Mine shows them correctly.
In wall.php Find: Code:
imagettftext($myimage, $fontsize, $textangle, $start_x, $start_y, $color, $fontfile, $string); Code:
$string = utf8_encode($string); |
|
#8
|
||||
|
||||
|
Quote:
Tried that and it does not work! |
|
#9
|
||||
|
||||
|
Works fine for me here. Dunno.
|
|
#10
|
||||
|
||||
|
Strange... I will try again.
|
![]() |
|
|