Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#577 Re: User Discussion & Help » sha1 function » 2005-11-27 21:55:15

A small bug, if you m change your default error_reporting PHP setting to ignore warnings it will help.  Otherwise, on that line change "is_null" to "isset".

I'll ticket this so ImageManager is tested sometime with warnings enabled.

#578 Re: User Discussion & Help » sha1 function » 2005-11-27 01:00:48

It's a PHP builtin see the PHP manual.

#579 Re: User Discussion & Help » Xinha corrupts backslashes » 2005-11-27 00:58:20

You should use mysql_real_escape_string instead of addslashes becase who knows if mysql will change in the future to need something else quoted.

You have magic_quotes_gpc turned on.  This means that anything in $_GET/REQUEST/POST will already have slashes added to it, invisibly and automatically.

I strongly suspect it's a problem in your PHP, not us.  Can you duplicate using the example code.

#580 Re: User Discussion & Help » Xinha corrupts backslashes » 2005-11-26 10:12:08

First, why are you using stripslashes, addslashes escapes (roughly, you should really be using mysql_real_escape_string()) special characters, mysql doesn't store the slashes, ergo, you don't stripslashes on the way out because there are none (if there are, you probably had magic_quotes_gpc turned on in the first place, the wisdom of that is left for another day).

Second, you havn't given anywhere near enough information to help you.

#581 Re: User Discussion & Help » Prevent xinha browsing to new page » 2005-11-21 23:59:27

This is a known and long standing bug in mozilla. 

Nothing we can do about it - https://bugzilla.mozilla.org/show_bug.cgi?id=148794

#582 Re: User Discussion & Help » miniumum files to upload and still have a working editor! » 2005-11-21 08:43:42

Just remove all plugins you do not require (you probably do require Enter-Paragraphs and FullScreen even if you're not specifying them), leave the rest which is of negligable size anyway.

#583 Re: User Discussion & Help » Allowing escaped quotes within HTML tag attributes » 2005-11-21 08:39:16

Your example is completely incorrec html, of course the browser screws it up for you, it doesn't know what to do with it.

Firstly, you should be using double quotes.  Secondly you do not escape by using backslashes anywhere in HTML or XML for that matter.

Use ' as the proper HTML entity "escape sequence" for ' if you must use single quotes to quote attributes.

#584 Re: User Discussion & Help » I`d like to use the Plugin InsertSmiley » 2005-11-21 08:35:50

Read the newbie guide, it tells you how to add plugins.

#585 Re: User Discussion & Help » Preliminary feature request..... can this be done? » 2005-11-21 08:33:47

I don't think it would be possible.  If it were, it would be

1. very difficult to implement
2. very slow
3. very unreliable

new plugins are always welcome however, knock yourself out ;-)

#586 Re: User Discussion & Help » How to remove unwanted <p> tags without going to text editor » 2005-11-17 04:17:31

Do it server side in your language of choice.  Eg in PHP $cleanContent = preg_replace('/<\\/?p>/i', '', $dirtyContent);

#587 Re: User Discussion & Help » Xinha is not working with Internet Explorer 6?! » 2005-11-13 20:35:04

Please post a ticket in the bug system and state which plugins you have selected and any errors you get, I see there was a recent change to the GetHtml plugin.

#588 Re: User Discussion & Help » Apostrophes » 2005-11-13 20:31:40

There is that windows character set that gets used quite often... ummm....Windows-1252, could be that?

#589 Re: User Discussion & Help » Newbie Guide » 2005-11-13 20:30:21

Xinha is only a "widget" how you put it to use is up to the developer.  Xinha in and of itself does not provide any useful function out of the box, you must write the other stuff to use it however you wish.

#590 Re: User Discussion & Help » ASP, php tags in edited page? » 2005-11-13 20:28:21

Xinha is an HTML editor, not a php, or asp, or jsp or whatever editor.

There is currently no built in way to do this, all HTML edited by xinha must be well formed valid html.

For example, this is not...

<table>
<? ... ?>
<tr>
</tr>
<? ... ?>
</table>

for two reasons, firstly <? ... ?> isn't valid HTML (the browser *might* let you away with it because <? is a processing instruction in XML, but I doubt it), and secondly because you can only put thead, tbody, tfoot and tr inside a table tag.

There has been talk in the past about making something like the dreamweaver "shielded" code, but it's not clear how that would work with keeping the HTML code valid for Xinha.

#591 Re: User Discussion & Help » Stylist work, but dont show styles in style-bar » 2005-11-08 05:31:52

Your styles don't specify any classes, there is nothing for the user to select from.

#592 Re: User Discussion & Help » Xinha tested by fastmail.fm » 2005-11-04 07:39:12

I think it's just more the fact that we don't have any developers who use RTL languages so we're not at all familiar with how these things are normally done :-)

If there are any developers out there who use some rtl language on a computer please chime in, even better if you know Javascript :-)

#593 Re: User Discussion & Help » Xinha tested by fastmail.fm » 2005-11-03 11:15:58

Interesting, looks like Xinha might be winning against FCK over there.  The RTL problem hasn't been reported before that I am aware of, looking at the code it's obvious that it would be a problem (because the rtl/ltr button only changes the direction of the parent block element).  I don't know if EnterParagraphs (or IE) would maintain that directionality in new paragraphs created by hitting enter in the changed one, I doubt it.

#594 Re: User Discussion & Help » hide and unhide xinha textarea » 2005-11-03 02:14:27

When you change style related to Xinha in Gecko (eg set display:none on some ancestor, change position, visibility etc) you should deactivateEditor() before doing it, this works around bugs in gecko.

#595 Re: User Discussion & Help » #ff0000 becomes rgb(255,0,0) » 2005-10-29 07:20:55

It's done by the browser, not Xinha.  Either is a valid CSS colour specification.

#596 Re: User Discussion & Help » how do i get xinha to display the right size on the screen? %wise » 2005-10-25 23:53:53

Could be many reasons, what browser for a start.  My advice.. live with it, the web isn't supposed to be pixel perfect.

Other than that, try setting pixel based fixed widths.

#597 Re: User Discussion & Help » Apostrophes » 2005-10-25 23:52:03

You have a character set mismatch I expect.  The second URL you give is served as UTF-8, that's good.  Check that the page you have Xinha running on is also served as UTF-8.

#598 Re: User Discussion & Help » I absolutely cannot customize the editors » 2005-10-25 23:46:00

You must add it to the toolbar

xinha_config.toolbar.append(['AddContent']);

#599 Re: User Discussion & Help » Xinha Broken in Firefox Nightly » 2005-09-09 12:15:14

Also, I can't run DeerPark A2 because it has a nastily regular habit of causing XFree to totally lock up (my guess is it's throwing the old unexpected async reply) so no input works, can't even switch out to the console or ctrl-alt-backspace, forcing me to do a hard reset of the machine, which really ticks me off.  I'm not keen to see if FF1.5 still does that, 1.0.6 doesn't at all.

#600 Re: User Discussion & Help » Xinha Broken in Firefox Nightly » 2005-09-09 12:05:11

There has been a bug reported against DPA2 for quite some time: https://bugzilla.mozilla.org/show_bug.cgi?id=301869
Nobody at moz seems to be interested though.

I'll look when I get a chance, but not any time soon.  I look forward to your fix, or bug report to moz (as it seems likely a bug in moz, not xinha) smile

Board footer

Powered by FluxBB