I am using vldpersonals for my site, i have one problem In members_sections_card.tpl, I want to add a link to the field 'state'. The state field has special chars as 'Québec', so I wrote a function , thats not very good, but works for quebec.... function vldext_rmacc($str) { $table = array( 'Å '=>'S', 'Å¡'=>'s', 'Ã'=>'Dj', 'd'=>'dj', 'Ž'=>'Z', 'ž'=>'z', 'C'=>'C', 'c'=>'c', 'C'=>'C', 'c'=>'c', 'À'=>'A', 'Ã'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A', 'Ã…'=>'A', 'Æ'=>'A', 'Ç'=>'C', 'È'=>'E', 'É'=>'E', 'Ê'=>'E', 'Ë'=>'E', 'ÃŒ'=>'I', 'Ã'=>'I', 'ÃŽ'=>'I', 'Ã'=>'I', 'Ñ'=>'N', 'Ã’'=>'O', 'Ó'=>'O', 'Ô'=>'O', 'Õ'=>'O', 'Ö'=>'O', 'Ø'=>'O', 'Ù'=>'U', 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'U', 'Ã'=>'Y', 'Þ'=>'B', 'ß'=>'Ss', 'à '=>'a', 'á'=>'a', 'â'=>'a', 'ã'=>'a', 'ä'=>'a', 'Ã¥'=>'a', 'æ'=>'a', 'ç'=>'c', 'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'ì'=>'i', 'Ã'=>'i', 'î'=>'i', 'ï'=>'i', 'ð'=>'o', 'ñ'=>'n', 'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o', 'ö'=>'o', 'ø'=>'o', 'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ý'=>'y', 'ý'=>'y', 'þ'=>'b', 'ÿ'=>'y', 'R'=>'R', 'r'=>'r',' '=>'_'); $string=htmlentities($str,ENT-QUOTES,"UTF-8"); if(strpos($str,'é')) $str="Quebec";*/ return $str; } I wanted to call it in the member_sections_card.tpl as <a href="/state/dating_{rmaccrofile_field_state_value}_singles/" style="color:#D52525">{profile_field_state_value}</a> but its not working. I checked the corresponding file generated in the tmp/ directory, this "{rmaccrofile_field_state_value}" is replaced by the following statement : <?php echo vldext_rmacc(array('profile_field_state_value',$_obj[''])); ?> Please help asap. Thanks.
check this link :- For dating script :- http://www.infocuswebdesigning.com/Web_Development/dating_script.php Pm me Regards, Sahil
I don't want a dating script. I already have a live site. If you have used the vldpersonals script you can understand the problem.
why are you marketing your product ? i have asked a technical question if you know the answer then post that otherwise don't waste time