View Single Post
  #5 (permalink)  
Old 05-10-2007, 02:18 PM
911 911 is offline
Casual Pligger
 
Join Date: May 2007
Posts: 33
Big Thanks! Works great.

I have extended the makeFriendly_main.php with the german special characters so it looks like this know:
PHP Code:
<?php
    
function utils_makeUrlFriendly($output){
    
        
// http://www.php.net/manual/en/function.utf8-decode.php#31815
            
$output html_entity_decode(htmlentities($outputENT_COMPAT'UTF-8'));
        
$replace=array( 
            
'à' => 'a',
            
'â' => 'a',
            
'é' => 'e',
            
'ê' => 'e',
            
'ù' => 'u',
            
'ä' => 'ae',
            
'ö' => 'oe',
            
'ü' => 'ue',
            
'ß' => 'ss'
        
);
    
        foreach (
$replace as $key => $value) {
            
$output str_replace($key$value$output);
        }
            
            return 
$output;
    }

?>
I noticed the "blank page" problem was related on the Admin>>Configure>>OutGoing>>Outgoing links:true Setting (I had to change to false) like it is posted a few times in the Forum.

@bichopro
Thank you for suggestion. I tried it with Ashs Modul first and it works great (exactly what I was serching for).

So for know everything is fine.

@Ash
Just an aditional question. Is it possible to change rewrite style from underlines "_" in dashes "-"?

And btw. Where is the thank you button in this vBulletin Forum? I see the position "Thanks:" in the User Stats but no Botton where I can say Thank you?

Cheers

Last edited by 911; 05-10-2007 at 02:48 PM.
Reply With Quote