*

TheXSgroup

'RN' in Text
« on: April 19, 2013, 06:53:06 PM »
Hi,

we have just updated  and when we view this on the site the following appears:

Quote
This online personals service is a way for adults to meet eachrnother (the "Service"). The Service is provided by the ownerrnof this web domain.
rn

This legal agreement is made between You and Us ("Agreement").rnThis Agreement applies to all of Our sites that are offering thernService. Please read this Agreement carefully before registering forrnthe Service. By registering for the Service, You become a rnmember (a "Member"), and You agree to be bound by the termsrnand conditions of this Agreement for as long as You continue to be arnMember. IF YOU DO NOT AGREE WITH THE TERMS AND CONDITIONS OF THISrnAGREEMENT, PLEASE DO NOT REGISTER FOR THE SERVICE. THE TERMS ANDrnCONDITIONS OF THIS AGREEMENT ARE SUBJECT TO CHANGES MADE BY US, ATrnANY TIME, EFFECTIVE UPON NOTICE TO YOU, WHICH NOTICE SHALL BE DEEMEDrnTO HAVE BEEN PROVIDED UPON OUR POSTING OF THE CURRENT VERSION OF THISrnAGREEEMENT ON THE SERVICE.
rn

In this Agreement the following words have the following meaningsrnunless the context requires otherwise:
rn

Does anybody know why it is adding rn within the text?

*

Vink

  • *****
  • 329
    • NedDate.nl
Re: 'RN' in Text
« Reply #1 on: April 19, 2013, 09:24:19 PM »
Why do you not have the decency to reply on your last topic where people deal with your last problem without hearing from you if it was succesfull?
No fun off helping you i say
http://www.osdateforum.com/4/blocked-words/
Regards
Vink
osDate 2.19a | PHP 5.3.8 | MySQL  5.0.91

*

TheXSgroup

Re: 'RN' in Text
« Reply #2 on: April 19, 2013, 10:56:13 PM »
Vink,

Sorry, we still haven't got round to implementing it yet, as we have over 500 words to format.

We will reply to it now.

*

CBG

  • *****
  • 673
    • osDate Forum
Re: 'RN' in Text
« Reply #3 on: April 20, 2013, 10:32:02 AM »
What version of osDate?
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

TheXSgroup

Re: 'RN' in Text
« Reply #4 on: April 20, 2013, 03:10:24 PM »
2.6

*

CBG

  • *****
  • 673
    • osDate Forum
Re: 'RN' in Text
« Reply #5 on: April 20, 2013, 04:26:43 PM »
If I remember right you need to edit the init.php file.
Try this.

Open init.php
Find:
Code: [Select]
function checkRequestData() {
$conn = mysql_connect(DB_HOST, DB_USER, DB_PASS);
foreach ($_GET as $k => $val) {
if (!is_array($val)){$val = mysql_real_escape_string($val, $conn); }
$_GET[$k] = $val;
}
foreach ($_POST as $k => $val) {
if (!is_array($val)){$val = mysql_real_escape_string($val, $conn); }
$_POST[$k] = $val;
}
}

Change to
Code: [Select]
function checkRequestData() {
$conn = mysql_connect(DB_HOST, DB_USER, DB_PASS);
/*
foreach ($_GET as $k => $val) {
if (!is_array($val)){$val = mysql_real_escape_string($val, $conn); }
$_GET[$k] = $val;
}
foreach ($_POST as $k => $val) {
if (!is_array($val)){$val = mysql_real_escape_string($val, $conn); }
$_POST[$k] = $val;
}
*/
}
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

CBG

  • *****
  • 673
    • osDate Forum
Re: 'RN' in Text
« Reply #6 on: April 20, 2013, 04:29:39 PM »
2.6
You may want to add your osDate, PHP and MySQL to your signature on the forum, so members know when you ask questions.

To do that
1. Put your mouse over Profile (Do Not click)
2. Click on Forum Profile
3. Scroll down to the Signature box and put in the following for example: osDate 2.6 | PHP: 5.3.17 | MySQL: 5.5.27-cll - But with your information
4. Click on Change Profile
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

marcam

  • ****
  • 267
Re: 'RN' in Text
« Reply #7 on: April 20, 2013, 04:51:00 PM »
when you edite page in admin panel ??

Hi,

we have just updated  and when we view this on the site the following appears:

Quote
This online personals service is a way for adults to meet eachrnother (the "Service"). The Service is provided by the ownerrnof this web domain.
rn

This legal agreement is made between You and Us ("Agreement").rnThis Agreement applies to all of Our sites that are offering thernService. Please read this Agreement carefully before registering forrnthe Service. By registering for the Service, You become a rnmember (a "Member"), and You agree to be bound by the termsrnand conditions of this Agreement for as long as You continue to be arnMember. IF YOU DO NOT AGREE WITH THE TERMS AND CONDITIONS OF THISrnAGREEMENT, PLEASE DO NOT REGISTER FOR THE SERVICE. THE TERMS ANDrnCONDITIONS OF THIS AGREEMENT ARE SUBJECT TO CHANGES MADE BY US, ATrnANY TIME, EFFECTIVE UPON NOTICE TO YOU, WHICH NOTICE SHALL BE DEEMEDrnTO HAVE BEEN PROVIDED UPON OUR POSTING OF THE CURRENT VERSION OF THISrnAGREEEMENT ON THE SERVICE.
rn

In this Agreement the following words have the following meaningsrnunless the context requires otherwise:
rn

Does anybody know why it is adding rn within the text?
osdate 2.5.4
Flashchat 4.7
php 5.2.7

*

TheXSgroup

Re: 'RN' in Text
« Reply #8 on: April 21, 2013, 12:23:36 AM »
No, it happens when I copy and past any text from notepad into any text box i.e. News ect.

*

marcam

  • ****
  • 267
Re: 'RN' in Text
« Reply #9 on: April 21, 2013, 12:50:37 AM »
okay !!
open the text with html you can view why !


No, it happens when I copy and past any text from notepad into any text box i.e. News ect.
osdate 2.5.4
Flashchat 4.7
php 5.2.7

*

TheXSgroup

Re: 'RN' in Text
« Reply #10 on: April 21, 2013, 01:08:25 PM »
That is easy, it is because the '<p>&nbsp;</p>' (html for return) is in the html. So why can't osd detect this?

*

CBG

  • *****
  • 673
    • osDate Forum
Re: 'RN' in Text
« Reply #11 on: April 21, 2013, 01:45:36 PM »
Have you tried what I said?
You may need to re-edit
« Last Edit: April 21, 2013, 01:52:54 PM by CBG »
Regards,
CBG (Garry)
osDate: 2.6.5, 2.7 & Evo
PHP: 5.5.x/5.6.x (5.3.x to 5.6.x) | MySQL: 5.5.34-cll

*

marcam

  • ****
  • 267
Re: 'RN' in Text
« Reply #12 on: April 21, 2013, 02:54:43 PM »
i think is my memory is good , try to past the text directly in open html !

Marc

That is easy, it is because the '<p>&nbsp;</p>' (html for return) is in the html. So why can't osd detect this?
osdate 2.5.4
Flashchat 4.7
php 5.2.7

*

TheXSgroup

Re: 'RN' in Text
« Reply #13 on: April 21, 2013, 06:02:07 PM »
Gary,

It looks like it worked 2nd time.

Thanks ;)

*

TheXSgroup

Re: 'RN' in Text
« Reply #14 on: April 21, 2013, 06:03:25 PM »
Marc,

If we get this again we will try that.