Search found 17 matches

by galerio
Sun Jul 04, 2010 11:44 am
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

Re: WYSIWYG editor also in Add FAQ page for non logged users

Ok, so I have only to modify save.php and use instead of line 41 $content = PMF_Filter::filterInput(INPUT_POST, 'content', FILTER_SANITIZE_SPECIAL_CHARS); and the admin/record.add.php should remain the same, so the line 50 is $content = PMF_Filter::filterInput(INPUT_POST, 'content', FILTER_SANITIZE_...
by galerio
Sun Jul 04, 2010 11:23 am
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

Re: WYSIWYG editor also in Add FAQ page for non logged users

The code above is the original code, so it doesn't work.
by galerio
Sun Jul 04, 2010 11:00 am
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

Re: WYSIWYG editor also in Add FAQ page for non logged users

I have already tried to comment out that line or to use FILTER_VALIDATE_INT or other type of filter but no success.
by galerio
Sun Jul 04, 2010 10:08 am
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

Re: WYSIWYG editor also in Add FAQ page for non logged users

Hi,
I tried several times, but I'm not able to find the right way to modify record.add.php. Can you help me, please?

Anyway, a suggestion for future release can be a filter that enable only certain html tags like b, ul, li, s... just like in a forum.
by galerio
Tue Jun 29, 2010 3:58 pm
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

Re: WYSIWYG editor also in Add FAQ page for non logged users

I have modifyed it but nothing changed, the text is saved without any html tag.
And also now, even if I have checked the Active button of a new faq, it doesn't appear on the site, I must modify that faq and click on save to see it in the public website.

The site is 1e2.it/faq
by galerio
Tue Jun 29, 2010 10:34 am
Forum: Bug reports
Topic: MySQL crashes after update 2.6.6
Replies: 8
Views: 5649

Re: MySQL crashes after update 2.6.6

I use PHP v5.2.6-1+lenny4 with Suhosin-Patch and MYSQL v5.0.51a-24+lenny2.

Now I try to investigate with my server admin.
by galerio
Tue Jun 29, 2010 10:24 am
Forum: Bug reports
Topic: MySQL crashes after update 2.6.6
Replies: 8
Views: 5649

Re: MySQL crashes after update 2.6.6

and another crash occurs. Unfortunatly I have no logs for the database, I cannot active them, but another time the crash is when I use phpmyfaq. Just a think: when I use a wysiwyg editor in the ADD Faq form for unregistered user, the html tags are removed and then only the simple text is sent to the...
by galerio
Tue Jun 29, 2010 10:06 am
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

Re: WYSIWYG editor also in Add FAQ page for non logged users

I enabled TinyMCE, but the html tags are removed when I submit a new FAQ as non logged user.
How can I mantain the html code and also only permit certain code (example only allowed code are br, b, u, ul, li, img and so on)?

Thanks
by galerio
Tue Jun 29, 2010 9:50 am
Forum: Bug reports
Topic: MySQL crashes after update 2.6.6
Replies: 8
Views: 5649

Re: MySQL crashes after update 2.6.6

Ya, it was a problem of my server. Sorry. Delete this topic.
by galerio
Mon Jun 28, 2010 8:09 am
Forum: Bug reports
Topic: MySQL crashes after update 2.6.6
Replies: 8
Views: 5649

Re: MySQL crashes after update 2.6.6

Yesterday I have implemented a WYSIWIG editor (CKeditor) in the ADD Faq module, and maybe this is the problem. To enable the editor I have to add these lines after the <textarea> field with name=content: <script type="text/javascript"> CKEDITOR.replace( 'content'); </script> But doing this...
by galerio
Sun Jun 27, 2010 9:46 pm
Forum: Bug reports
Topic: MySQL crashes after update 2.6.6
Replies: 8
Views: 5649

MySQL crashes after update 2.6.6

I have updated succesfully my phpmyfaq from 2.6.5 to 2.6.6. Everythings goes fine, but time by time, it makes crashes on my MySQL server. It is happened on posting a new faq (by non logged user) but maybe also when I've done some other operation. I can't have any log, my server is still down :cry: A...
by galerio
Sun Jun 27, 2010 12:00 pm
Forum: Proposals
Topic: Automatically enable new user with default rights
Replies: 3
Views: 6366

Re: Automatically enable new user with default rights

Yes, but in any way I have to check every new FAQ before to make them active.
by galerio
Sun Jun 27, 2010 11:09 am
Forum: General discussions
Topic: WYSIWYG editor also in Add FAQ page for non logged users
Replies: 28
Views: 22459

WYSIWYG editor also in Add FAQ page for non logged users

Is there a way to enable WYSIWYG editor also for non logged users in the Add Faq page?
FAQ posted by users are just plain text, without nothing and an admin must do all the job to transform it in a decent way with link, paragraph and all other things.
by galerio
Sun Jun 27, 2010 11:05 am
Forum: Proposals
Topic: Automatically enable new user with default rights
Replies: 3
Views: 6366

Automatically enable new user with default rights

I would like that new user will automatically receive the registration email with the password without having to manually activate them. And then, new users will automatically have some choosen rights, or they automatically enter in a default group like "NewUserGroup" that has only some ri...