Read RSS Reed
search...

XAJAX Autocompleter V2

September 11th, 2009

rarecore autocompleterIt 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.

Here you could download the second version of my autocompleter.

Changes:
– Using the arrow keys to choose the correct value
– Performance Tuning

Demo
http://blog.rarecore.eu/wp-content/plugins/downloads-manager/img/icons/default.gif download: Autocompleter v2 (119.55KB)
added: 08/11/2009
clicks: 1305




We aRe oNe Profile v2.0

June 10th, 2009

Last week I released the new profile on the We aRe oNe pages. Several hours have elapsed since starting this project. We talked about many concepts, features and ideas. Chuky10 has done a good job by designing the layout. I got a really good feedback from the community. Only a few people were not happy with that change…

Now you have a nice overview about your settings. On the first frame you can change your password, read the terms again or delete the account by yourself. On the second frame you can change your profile information, edit your details or modify the description. Otherwise you can insert your contact settings (MSN, MySpace, ICQ and website), accept open buddy requests, upload a profile picture, sort your charts or setup when you want to get E-Mails.


It is possible to get E-Mails on buddy requests or new guestbook entries and it is possible to get the We aRe oNe Newsletter.

If you would like to show your relationship status on your profile, you can choose between “In Love”, “Single”, “In Relationship”, “Married”, … Every selection have an own symbol. Let the community know about you and write an additional text about your current relationship.


On another post we informed you about the new tracklist. This was needed to allow the user to add the currently played track simply to the user’s charts. You can add the tracks from the releases and from the charts of another user, too.


Last but not least is the buddy list. Feel free to add some other users to your buddy list, send them messages or sign the guestbook. Normally each We aRe oNe member would be very happy about a friend request.

The webmaster team is hoping that the community likes the new features. That is not the last update. I promise it! Dodge is releasing a new feature soon… Be patient ;-)


Tracklist v2 released!

May 22nd, 2009

It’s done.

The new Tracklist is online. Yesterday evening Remo released the Tracklist v². The new version links to releases and shows the cover. But it is planned to add a new TOP Secret feature next week. ;-)

Tracklist v2


PHP 5 memcache extension on Debian Etch as session handler

May 13th, 2009

Have you ever thought about a method of saving sessions without getting a lot of session files or using a selfmade session handler?
The answer for this question is memcache. A module giving you the ability to store variables in memory for a defined time. You can install the module on a Linux and a Windows Server. I only want to explain you how to set it up on Linux Debian Etch.

At first you have to do is to install the server module.

apt-get install memcached

If the application is already started, we have to kill the process to setup what we want.

memcached -d -u www-data -m 2048 -l 127.0.0.1 -p 11211

Explain this command:
memcached (command)
-d (the parameter to run it in background)
-u www-data (to run it under the standard apache2 user www-data)
-m (Sets the space of the memcached server (in Mega Byte) (in this example 2048 MB (Mega Byte))
-l (Sets the IP the memcached server listens to)
-p (Sets the Port the memcached server listens to)

Now the memcache server runs as www-data with a space of 2024 MB RAM which is listen to localhost:11211. The next step is to involve PHP. For that we have to enable the module memcache.

You could get the latest version here. Please use the wget command to download the file. (Note: replace X.X.X. with the current version)

cd /usr/local/src
wget http://pecl.php.net/get/memcache-X.X.X.tgz
tar zxvf memcache-X.X.X.tgz
cd memcache-X.X.X
apt-get install php5-dev
phpize
./configure
make && make install

Okay we have compiled the files. Now you have to move the memcache.so to your extension folder of PHP5. In my case I found the memcache.so in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so, but maybe your location is different.

Now copy the file to /usr/lib/php5/20060613+lfs

The next step is to get the latest version of the memcache php5 extension in our extension directory. All we have to do now is to configure the php.ini by adding the following line.

extension=memcache.so

Before you could restart the apache2 server you need to set up the memcache that it will be used as session handler. The standard will look like this:

session.save_handler = files
session.save_path = "N;MODE;/path"
session.gc_probability = 0

You have to change it to:

session.save_handler = memcache
session.save_path="tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
session.gc_probability = 1

Save the ini file and restart your apache2 server.

/etc/init.d/apache2 restart

When you take now a look into your phpinfo it should look like this:

(the white spaces are private settings)
Congratulations! If you create now a session it will be stored into the memory instead of creating a file.


Google News – We aRe comming!

April 30th, 2009

As I checked my emails this morning, I was suprised as well as happy. I got an email from google that they have added TechnoBase.FM to their news search.

I’m really glad about that because hopefully more people get to know our radio. Now more readers are attracted to our page and so the participation of our news posters will be honored.

You can have a look by yourself: http://news.google.de/news?pz=1&ned=de&hl=de&q=site%3Atechnobase.fm

Google News


Fiddler2 – The Web Debugging Proxy

April 8th, 2009

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!


We aRe oNe RSS Feeds updated

March 22nd, 2009

As I descripted in that post, we have updated the news system. Now it is possible to post news at one special page or at all pages. To avoid any problems and allow you to choose your favourite radio news, you can now subscribe radio special rss feeds.

http://feeds2.feedburner.com/technobase/news/only
http://feeds2.feedburner.com/housetime/news/only
http://feeds2.feedburner.com/hardbase/news/only
http://feeds2.feedburner.com/trancebase/news/only
http://feeds2.feedburner.com/coretime/news/only

Enjoy it! ;-)


OFS – Offline filesystem

March 18th, 2009

Toby, a friend of mine, and Professor Trommler presentated the offline filesystem at “Chemnitzer Linux Tage (Germany)“.

The OFS (offline filesystem) is a offline-layer which is (or should be) able to extend every filesystem with offline capabilities. This means, that the user is able to work on his network documents, event when he is disconnected from the server. When connecten is restored, the filesystem automatically synchronizes the files.


News updated

March 12th, 2009

It is just a small update for us, but a big for SEO.

Now on the We aRe oNe Pages the news have a new link and the page title changed, too. For exampe the new release of Phunkless is linked on http://www.technobase.fm/news/9029-phunkless-i-wont-let-you-down.

Enjoy it!


Releases v2

February 19th, 2009

As descripted in this news we released the new releases system on the We aRe oNe pages. Now you could search for releases, have a nice overview about all the releases and an interesting detail page. This system was created by Remolus, a member of the rarecore project!

But, that was only the first step. New features are coming soon:
- Artist overview with all releases grouped by an artist
- Many links to different online shops for buying the tracks (don’t search a long time)
- Link the tracklist to the releases
- Create your own charts by clicking on a track of the tracklist
- Comments and vote releases