1
marijun
Agenda-X and Text Sanitizer
  • 2005/2/3 19:04

  • marijun

  • Just popping in

  • Posts: 53

  • Since: 2004/6/4 1


i've searched and this topic has been brought up before...but with no solution. so i'm trying again :)

when adding an event with agenda-x 2.2...you cannot use apostrophes or quotes in the title or description fields. totally annoying when yr trying to use html code and such in the description field!

has anyone come across a solution for this? anyone willing to look at it for me? any insight whatsoever? anybody know how to properly implement the text sanitizer into it? pretty please with a cherry and sugar on top? i desperately need to solve this!

2
DonXoop
Re: Agenda-X and Text Sanitizer

Our posts have crossed paths.

I replied to other posts regarding this just now: your post and another one

briefly, putting this in .htaccess fixes it:

php_flag magic_quotes_gpc 0

Suggest putting this in /modules/agendax/.htaccess so that you don't change the setting site wide.

Oh, I assume that you have admin submission approval configured just to be safe.

3
marijun
Re: Agenda-X and Text Sanitizer
  • 2005/2/3 20:55

  • marijun

  • Just popping in

  • Posts: 53

  • Since: 2004/6/4 1


and we're crossing again

I'VE SOLVED IT!

the .htaccess files didn't work, nothing but internal server errors.

BUT...a php.ini file worked like a charm.

for anyone else that has run into this problem, do this:

open up notepad or wordpad or whatever you use to make text files, and paste this into it:

magic_quotes_gpc no


save it as php.ini and upload it to yr problem module folder. enjoy apostrophes and quotes once again!

thanks much!

4
jwf79
Re: Agenda-X and Text Sanitizer
  • 2005/2/3 21:33

  • jwf79

  • Just popping in

  • Posts: 11

  • Since: 2004/9/24


You guys are saints. I've been looking for this answer forever.

Don nice choice of a car, I have a 04 White Wrx wagon.

Personally I went with the .htaccess route.

Thanks again,
Buster

5
DonXoop
Re: Agenda-X and Text Sanitizer

Glad it worked out for everyone...

Yeah Buster, we Suby drivers can be a loyal bunch. I just traded a wagon for the sedan but I miss the wagon sometimes. I see you have an XOOPS car site. Just a couple of sites I have on xoops: http://spda-online.ca & http://www.solocanada.ca/

This Sunday is our second "Slush 'n Slide" event of the winter. A subaru delight and makes up for so much winter.

6
jwf79
Re: Agenda-X and Text Sanitizer
  • 2005/2/4 0:24

  • jwf79

  • Just popping in

  • Posts: 11

  • Since: 2004/9/24


That we do Don :) I'm actually going to a Suby event on Saturday. I came across your site one day when I was searching on something, don't recall what though.

If you need any part number files (basic stock stuff) check out http://www.awdcars.com you have to register to download the files though. They come in hand sometimes though.

7
marijun
Re: Agenda-X and Text Sanitizer
  • 2005/2/9 12:24

  • marijun

  • Just popping in

  • Posts: 53

  • Since: 2004/6/4 1


in case anyone's interested, i seemed to have solved the "week view" problem of not showing all 7 days.

in weekview.inc.php, replace this:

$nbofdays = ($lastdate-$firstdate)/$ONE_DAY;


with this

$nbofdays = ($lastdate+1-$firstdate)/$ONE_DAY;

8
mjz55
Re: Agenda-X and Text Sanitizer
  • 2007/7/25 3:25

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Thanks marijun, I'm not a whiz at development, but it was easy and works perfect.

Login

Who's Online

295 user(s) are online (242 user(s) are browsing Support Forums)


Members: 0


Guests: 295


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits