Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 01-07-2008, 02:34 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
Weird I wonder why mine is different than yours is :) I will add your file and see what happens

Send a few test announcements :)
Reply With Quote
  #22 (permalink)  
Old 01-07-2008, 02:51 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
hmmmmm still trying to make this not mess up

Last edited by bbrian017; 01-09-2008 at 11:47 AM..
Reply With Quote
  #23 (permalink)  
Old 01-08-2008, 04:13 AM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Thanks: 14
Thanked 77 Times in 48 Posts
Resolved the weird characters on goboz by adding these 2 lines AS THE FIRST ONES in the remove_error_creating_characters function:
Code:
function remove_error_creating_chars($chars) { 
    $replace=array( 
    '—' => '--', // Steef2k8-01 - remove really weird characters
  '’' => '\'', // Steef2k8-01 - remove really weird characters  
I said as the first 2 lines of all the replaces, because below it some characters from these strings are getting replaced, so the function won't find — and ’ anymore.
i.e.:
Code:
    'â' => 'a',
__________________
Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com

Last edited by beatniak; 01-08-2008 at 04:18 AM..
Reply With Quote
The Following 2 Users Say Thank You to beatniak For This Useful Post:
  #24 (permalink)  
Old 01-08-2008, 06:41 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
Thanks beatniak.

Geoserv
Reply With Quote
  #25 (permalink)  
Old 01-09-2008, 11:43 AM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 914
Thanks: 169
Thanked 17 Times in 17 Posts
Quote:
Originally Posted by beatniak View Post
Resolved the weird characters on goboz by adding these 2 lines AS THE FIRST ONES in the remove_error_creating_characters function:
Code:
function remove_error_creating_chars($chars) { 
    $replace=array( 
    '—' => '--', // Steef2k8-01 - remove really weird characters
  '’' => '\'', // Steef2k8-01 - remove really weird characters  
I said as the first 2 lines of all the replaces, because below it some characters from these strings are getting replaced, so the function won't find — and ’ anymore.
i.e.:
Code:
    'â' => 'a',
ok sorry I didn't get this, could you please tell me what file and line y ou added this code to :)

Sorry about not understanding...

unless you added it here somewhere,

Code:
function remove_error_creating_chars($chars) { 
	$replace=array( 
	'?' => 'A',
	'?' => 'A', 
	'?' => 'a',
	'?' => 'a2',
	'?' => 'a3',
	'?' => 'a4',
	'?' => 'a5',
	'?' => 'a',
	'?' => 'a',
	'?' => 'ae',
	'?' => 'ae',
	'?' => 'e',
	'?' => 'E',
	'?' => 'E',
	'?' => 'I', 
	'?' => 'i', 
	'?' => 'I',
	'?' => 'i',
	'?' => '',
	'?' => '',
	'?' => '',
	'?' => 'n',
	'?' => 'N',
	'?' => 'O',
	'?' => 'o',
	'?' => 'O',
	'?' => 'O',
	'?' => 'O',
	'?' => 'o',
	'?' => 'o',
	'?' => 'o',
	'?' => 'o',
	'?' => 's',
	'?' => 's',
	'?' => 'U',
	'?' => 'U',
	'?' => 'U',
	'?' => 'u',
	'?' => 'u',
	'?' => 'u',
	'?' => 'Y',
	'?' => 'y',
	'?' => 'Z', 
	'?' => 'z', 
	'?' => ''
	);
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Text encoding - which should i be using? revolver General Help 1 01-07-2008 02:58 PM
9.6 error xbizsky Bug Report 28 07-04-2007 03:54 AM
Need help setting text in header dinki Template Support 0 06-30-2007 05:32 PM
Safari underlining all of the text... kevinD General Help 2 05-29-2007 12:51 PM
Installation - Tables never created julientarta Installation and Upgrade Help 28 02-02-2007 11:04 PM


Search Engine Friendly URLs by vBSEO 3.2.0