Archive

Posts Tagged ‘plugin’

Contact Form for wordpress

February 23rd, 2010 admin No comments

For a client of mine, i’ve been using the PEAR-package HTML_QuickForm which is ’superseded’ by now and isn’t compatible to php 5.2, whereas the followup package HTML_Quickform2 is still in alpha state. Since the client switched his server and that is running php 5.2, i had to come up with a new solution. I tried out many wordpress contact-form-plugins but they all did not satisfy me fully.

The only form-plugin that i truly would recommend is cForms II. It is flexible, can handle more than one form template. Forms can be inserted via template files or via tags inside posts or pages. I think this is the only plugin that supports individual Fieldsets (this can be very handy for designing complex layouts). The verification of the user input is done with very individual regular expressions. The admin can set Form field name, tooltip and default value and even let the default value be auto-cleared once the form field is activated. cForms II supports multi-page forms (which i didn’t use, though) and it can autoconfirm emails to the user (which i didn’t use either). Spam detection is done not only with the individual regular expressions, but also with a captcha-plugin or alternativey with a simple Q&A-field (like, ‘what color is snow?’). The possible questions for the Q&A field can be set manually. You can even backup and restore the form settings! Furthermore the admin can chose from a dozen css-layouts and manually change them.

Here are the other plugins, that i tried out:

  • Contact Form 7: It didn’t seem to have a template tag, that i could use in the theme files.
  • Form Builder: Very bad design. It features div-tags that are floated. If your design uses floating objects, it will break it or be broken itself!
  • Scaleable Contact Form plugin: Nearly no option to verify the user input. Supports Captcha, but it uses the plugin “simple captcha” for that, which doesn’t seem to support wordpress 2.9.
  • Spam-Free Contact Form: simply crap. don’t use that.
  • Visitor Contact: only interesting, if you like using external web applications on your own blog.
Categories: Programming, php, wordpress Tags: , ,

Gengo und Wordpress 2.7

November 17th, 2008 admin 1 comment

Ich hatte Probleme damit, Gengo und Wordpress 2.7 gemeinsam zum Laufen zu bringen und die Option zum Anhängen von Sprachkürzeln in Gengo zu aktivieren (Gengo should append language codes to permalinks automatically.), da Gengo in eine Endlos-Weiterleitungsschleife ging. Ich dachte schon, das wäre eine grundsätzliche unverträglichkeit zwischen den beiden und schaltete deswegen diese Option aus, was dazu führte, dass sämtliche Links nicht mehr funktionierten. Joshreisner schlägt dagegen im Forum auf wordpress.org vor, die Permalink-Strukturen neu zu speichern.

Und tatsächlich geht man auf Einstellungen>Permalinks und speichert einfach die bereits gespeicherte Permalink-Struktur neu, dann geht das Problem der Endlosschleifen weg! Es hat wahrscheinlich damit zu tun, dass Gengo beim Speichern der Permalinks selbst eine Aktion durchführt.

Categories: Programming, wordpress Tags: , ,

Gengo and Wordpress 2.7

November 17th, 2008 admin 3 comments

I had an issue with gengo getting into an endless redirect loop once i activate the option “Gengo should append language codes to permalinks automatically.”. I thought this was an issue of gengo-compatibility and deactivated the option making many links unusable. Now i just found this thread over at wordpress.org where joshreisner suggests simply saving the permalink structure again:

i just upgraded to 2.6.1 using the automatic updater and it caused a redirect loop on my site. whenever i would visit it it would be like “the address /en/en/en/en/en/en/en etc was in a repeat loop that would never be resolved”

i pulled my hair out for a minute but then figured it out. just go to the permalinks settings page (in wp, not gengo) and hit save. no change, just save. that fixed the problem!

Thanks. This works. It seems gengo uses some action that is being pulled once the permalink structure is saved..

Categories: Programming, php, wordpress Tags: , ,

Gengo and woopra plugin

October 18th, 2008 admin 2 comments

I just found out, that there is a problem with running the woopra wordpress plugin together with gengo. Gengo is the multilingual plugin running in the background of this blog. Woopra is an external statistics program that has a nice wordpress plugin (which by the way is looking for some translation work itself).

Anyway, when i activate the woopra-plugin it says

Fatal error: Call to a member function wp_rewrite_rules() on a non-object in /var/www/oan/htdocs/wp-includes/classes.php on line 145

First, i thought it’s a compatibility thing with wordpress 2.7 (right now: “2.7-almost-beta), but it seems to work when i deactivate gengo. I found this quote on the gengo-blog which i am quoting since the site has some database problems:

If that happens, the plugin you just activated has been written incorrectly. It is trying to set its language too early, before Gengo has loaded. The solution is an easy one – the call to load_plugin_textdomain() in the plugin must be moved so that it is run on the ‘init’ hook. Do your plugin author a favour – drop them an email letting them know the problem and see if they’ll fix it – many authors don’t know that this is even a problem! Make sure you’re polite when you do, though. From personal experience, I can tell you it’s not pleasant to receive an angry email from a stranger, demanding that you fix something that you’ve released for free.

Hope, someone from over at woopra can change the code accordingly. Meanwhile i’m relying on the stattraq-plugin..

Setting up custom menu lists as widget

August 28th, 2008 admin No comments

The Wordpress Navigation Tool (NAVT) enables the creation of highly customized and easy to adjust menus. This is some nice coding by Atalaya Studio!

Categories: wordpress Tags: ,

Woopra plugin 1.2 integrates into wordpress

August 20th, 2008 admin No comments

The guys over at woopra have been working hard and have released version 1.2 of their wordpress-plugin, which allows the administrator to see general statistics in the dashboard. Check out the new features:

  • Immediate access to analytics, traffic statistics and user visits from within the standard WordPress interface.
  • Zero footprint on the local WordPress server speeds up your Web page loads without cluttering your database.
  • Users can customize the statistics interface with simple CSS modifications.
  • Users can modify the WordPress Plugin and contribute back to the community with changes and new ways to display the data.
  • It’s light, Ajax enabled, and sexy!

Yes it is! I’ve written more in the German translation, so if you speak German, you should definitely check out the translation of this article (see below). Also, have a look at the wordpress-plugin wp-stattraq, which i have taken over and which saves it’s statistics-data in the wordpress-database directly..

Categories: wordpress Tags: ,

Woopra in Wordpress integriert

August 20th, 2008 admin No comments

Woopra-Oberfläche

Woopra-Oberfläche

Woopra ist ein Online-Statistikdienst, der in die eigene Seite als Javascript implementiert ist. Für Statistik-Fetischisten bietet es außer der Ansicht der derzeit online aktiven Besucher natürlich auch eine Übersicht über die Besucherzahlen der letzten Tage, ihre Aktivitäten (vor allem Referrer), Suchmaschineneinträge, die sie benutzt haben und die Länder, in denen sie sich aufhielten. Außerdem gibt es verschiedene Analyse-Ansichten, eine Suche nach Besuchern, die einem bestimmten Muster entsprachen. Einzelne Benutzer kann man ‘taggen’ oder automatisch (bei Login oder Kommentar-Cookie) taggen lassen. Für die Ansicht der Statistik lässt sich entweder die Online-Oberfläche benutzen oder aber eine java-basierte Applikation, die für Windows, Linux und Mac OSX verfügbar ist.

Ganz besonders interessant für jeden Big-Brother-Liebhaber bleibt aber die Live-Ansicht: Darin kann man nicht nur die Aktionen der Besucher in Realtime sehen (auch die externen Links, die sie anklicken), sondern auch direkten Kontakt mit den Besuchern aufnehmen. Initiiert der Administrator eine solche Konversation – wogegen in den meisten Fällen abzuraten ist – erscheint beim Benutzer ein Fenster ähnlich der Ankündigungen gängiger Chat-Applikationen, das ihm die Möglichkeit gibt, auf den Administrator zu antworten. Die Unterhaltung findet dann auch in einem chat-ähnlichen System statt. In den meisten Fällen wird der Benutzer allerdings glauben, dass es Spam wäre.

Woopra betreibt ein Wordpress-plugin, das in der Version 1.1 lediglich die Eintragung des Javascript-Codes vornahm. Mit dem Release der Version 1.2 haben die Entwickler eine grundsätzliche Neuerung in einen Versionsübergang in den Nachkommastellen gelegt: Nun kann man sich innerhalb der Wordpress-Administration die Statistiken anschauen. Das ersetzt die eigenständige Woopra-Applikation keineswegs (kein Live-Tracking!), allerdings ist es für die schnelle Statistik-Kost nicht schlecht!

Größtes Manko von woopra sind datenschutztechnische Bedenken. Diese schwingen in jeder Statistik-Applikation mit, allerdings ist es immer leichter zu ertragen, wenn die Daten auf dem selben Server verbleiben, wie bei wp-stattraq. In diesem Fall werden die Daten der Besucher sehr detailliert an woopra übertragen und dort scheinbar für immer gespeichert. Je mehr Leute den Dienst benutzen, um so gefährlicher wird es dadurch..

Categories: wordpress Tags: ,

Erste Version von wp-stattraq veröffentlicht

August 11th, 2008 admin No comments

Eben gerade habe ich die erste neue Version von wp-stattraq auf wordpress.org freigegeben. Ich habe das Plugin nur insoweit verändert, als ich es für wordpress 2.6 lauffähig gemacht habe und dabei die Ausgabe des Plugins in die normale Administrationsobefläche integriert habe.

Später möchte ich noch einige Mankos des Plugins (die ich als langzeitiger Nutzer gut kenne) beseitigen. Aber vorerst müssen einige Integrationsprobleme (wie die automatische Installation bereinigt werden).

Wer Änderungswünsche und -vorschläge hat, sollte diese bitte direkt im trac-system als ticket eintragen:

http://trac.toomuchcookies.net/trac/wiki

Auch in Planung (code ist eigentlich schon fertig) ist ein plugin, das bei der seo-optimierung helfen soll und das soll die Daten von wp-stattraq nutzen. Dazu später mehr..

First version of wp-stattraq is released

August 11th, 2008 admin 2 comments

Some seconds ago i’ve uploaded the first new version of wp-stattraq to the wordpress plugin directory. I’ve changed the plugin to be incooperated into the administration panel and work with version 2.6 of wordpress (which it didn’t up until now).

I’m planning to put more features into the plugin and squash more bugs, but right now, i’m concentrating on releasing a stable version (as in 2.6-stable) as fast as possiblem, that can be easily installed. This first version is mainly meant for those, who were running wordpress already and need this update to be able to work with wordpress 2.6.

You can follow the updates and file tickets by visiting the trac-system i set up:

http://trac.toomuchcookies.net/trac/wiki

Also, i’m planning on releasing more plugins related to wp-stattraq that contribute to seo-work.. Look forward for more to come..