A friend told me something about a tool called fiddler2. It is a web debugging proxy. You only have to start this program and surf in the internet. You can see which pages / files are opened by each application, you can check the status (HTTP Status) and the used protocol, too.
It helps a lot by searching for errors!

Tags: debugging, fiddler2, proxy, rarecore, technobase, tools, we are one
Posted in development, JavaScript, PHP, rarecore, technobase, we are one | 2 Comments »
It is often helpful to use an autocompleter on your website. Perhaps in search dialogs? An example is google on an extra search page.
I tested some free tools, but I had always the problem that there was no possibility to use two or more autocompleter on one page and to organize the dependency. E.g. insert a name of a country in the first textbox and in the second textbox insert a name of a city. On the city textbox you only want to see cities belonging to the inserted country – no other cities.
This problem was the reason why I developed my own autocompleter using xajax. This framework allows me to respond on the key events and select the values from the database. I could write my own functions and use any parameters.
I generated a textbox with a hidden div below which is calling a function on the onkeyup event by using xajax. In this test I mark the searched string with a span and on CSS I colored it blue. Additional I added a mouseover using CSS.
Demo *** NEW VERSION ***
That’s all!
Tags: ajax, autocomplete, autocompleter, JavaScript, PHP, rarecore, xajax
Posted in ajax, development, JavaScript, PHP, rarecore, technobase, we are one, xajax | 15 Comments »
TinyMCE is a nice WYSIWYG Editor for a Webapplication. In my application I’m very interested in allowing the users to use BB Code to optimize the visualisation of the texts (guestbooks, news comments, …). Before I released the TinyMCE Editor on my Webradio website, I did some tests.
1. At first, I entered the following text into my textarea:

2. After submit the form, I get this text displayed:

Now you can see that the text which is between the <strong> tag is now displayed as bold. But, it shouldn’t be! If I choose the BB code plugin I think the html tag should be disabled…
3. After submit the form again, I get this text displayed:

Well, now my HTML Tag is rendered as a bb code tag. That’s wrong. I want to display the html tag and not a formatted bb code text.
I searched for support, but nobody on the TinyMCE board helps me…
After some tests, I think, I fixed the bug.
Please change the _tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js file and add the following lines to line 47 (before replacing the old tags).
rep(/&lt;/gi,"&amp;lt;");
rep(/&gt;/gi,"&amp;gt;");
Download bugfix
Tags: rarecore, TinyMCE, tinymce bbcode, tinymce bbcode bug, tinymce bug
Posted in development, JavaScript, PHP, rarecore, TinyMCE, we are one | 2 Comments »