*

neilc

  • *
  • 2
  • Thanks to all that help each other
    • JV Meeting Place
Re: 'RN' in Text
« Reply #15 on: September 17, 2013, 05:44:44 PM »
Thanks for this advice,
I'm having the same problem  ;)
neilc (Neil) - A Newbie that will help where he can
Please direct me if my protocols are not polite. I appreciate help!
osdate: 2.5.4
php: 5.2.17
MySQL: 5.5.30
Apache: 2.2.23
Centos: CentOS release 6.4 (Final)
Perl: 5.8.8

*

whitepeoplemeet

  • *
  • 7
  • http://www.whitepeoplemeet.us
    • WhitePeopleMeet
Re: 'RN' in Text
« Reply #16 on: April 27, 2014, 10:06:16 AM »
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;
}
*/
}

Thank you very much. I was having trouble editing the banner/advertisements with it adding 'rn' in the script.
osDate 2.65    |    PHP 5.2.17  |    MySQL 5.5.37

Re: 'RN' in Text
« Reply #17 on: June 16, 2014, 03:56:54 PM »
Another option was work for me.

Go to your database 'phpMyAdmin' and find table 'osdate_pages' find your page and edit your text. Afther that you have not on rn

Every text whit one <p> tag and </p>

example dutch

<p>Bij je inschrijving heb je een gratis profiel, als je berichten wilt versturen en ontvangen kun je ook Silver of Gold member worden waarbij alle mogelijkheden beschikbaar zijn, en de limieten voor de functionaliteiten binnen veel ruimer staan.</p>

<p>2. Wat kost Silver of Goldmember?</p>
 ;)

*

CBG

  • *****
  • 673
    • osDate Forum
Re: 'RN' in Text
« Reply #18 on: June 17, 2014, 09:35:40 AM »
The only problem with doing that is, when you edit via the admin it adds them back in, if I remember right.
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