Schlagwort-Archive: Plugin

WordPress plugin: Display SQL Stats

Displaying SQL result data as graphical chart on the dashboard with use of Google Chart Tools.

Showing chart in dashboard
Showing chart in dashboard
Settings
Settings

Download from WordPress repository.

Changelog

0.7 (2014/02/05)

  • adding/removing SQL statements more stylish

0.6.5 (2013/12/27)

  • fix bug on automatic detection of column types
  • better formatting of debug information

0.6.4 (2013/11/08)

  • only enrich header when on dashboard

0.6.3.1 (2013/10/17)

  • fixing small bug on min/max values when using more than one barcharts

0.6.3 (2013/10/15)

  • placing automatic max/min values on barcharts for better visualisation

0.6.2 (2013/09/14)

  • bug fix on emtpy results
  • switch charts on/off

0.6.1 (2013/09/14)

  • bug fix on wrong date display

0.6 (2013/09/14)

  • Check on WordPress 3.6.1
  • New chart types: Bar Chart
  • auto detecting of column types: date, number, string

0.5 (2013/09/10)

  • Use different chart types (Pie Chart, Scatter Chart, Bubble Chart)

0.4 (2013/08/21)

  • Use multiple SQL statments and charts

 0.3 (2013/08/17)

  • Tested with WP 3.6
  • New default demo SQL to demonstrate how to insert additional columns

0.2 (2013/04/25)

  • NEW: Notepad function to store different SQL statement, ideas or whatever

0.1 (2013/04/16)

  • first test version

WordPress plugin: 404-to-start send every page not found error to start page

WordPress 3.9.1 ok

„404-to-start“ plugin will send every 404 page not found error directly to start page or any other custom page/site you like to overcome problems with search engines. With optional email alert. This will help you solve problems with external bad links which are not under your influence. Chose between 301 – Moved permanently (default) and 302 – Moved temporarily. screenshot-1

Download from WordPress repository.

Changelog

1.5.7.4 (07.06.2014)

1.5.7.3 (04.12.2013)

  • New search engines

1.5.7.2 (24.11.2013)

  • New search engines

1.5.7.1 (11.11.2013)

  • small bug fix where you could get too many mails

1.5.7 (11.11.2013)

  • Now even sends mail alerts if redirect is turned off

1.5.6 (11.11.2013)

  • New search engines

1.5.5 (10.11.2013)

  • New search engines

1.5.4 (28.09.2013)

  • New search engines

1.5.3 (26.09.2013)

  • New search engines

1.5.2 (23.07.2013)

  • New search engines

1.5.1 (13.05.2013)

  • Better search engine detection

1.5 (30.03.2013)

  • Bug fixing
  • Better search engine detection

1.4.3 (25.03.2013)

  • Translation

1.4.2 (24.03.2013)

  • Exclude logged in users from triggering email alert
  • Exclude search engine agents from triggering email alert

1.4.1 (18.03.2013)

  • Putting more information into alert mail

1.4 (17.03.2013) =

  • Email alert

1.3.2 (27.02.2013)

  • Replacing deprecated function

1.3.1 (10.01.2013)

1.3 (03.03.2011)

  • Set custom target Url (any page or site you like)

1.2 (24.02.2011)

  • tested with WordPress 3.1

1.1 (10.02.2010)

  • new settings menu
  • chose between 301 and 302 redirect
  • tested with WordPress 3.0.5

1.0 (02.01.2010)

  • first Version

WP-CleanUmlauts2-Plugin – WordPress Permalinks Umlaute automatisch konvertieren

WordPress 3.3.1 ok!

Jeder, der sich mit WordPress beschäftigt und Permalinks nutzt, wird früher oder später bemerken, dass WordPress Umlaute verschluckt bei der generierung von Permalinks. Aus „Überraschungsei“ wird dann „Uberraschungsei“ oder aus „Anleitung: Verzeichnisse löschen“ ein „anleitung-verzeichnisse-loschen“. Das sieht alles andere als schön aus und ist außerdem falsch.

Wer also nicht ständig die URL von Hand korrigieren möchte, kann hier mein Plugin verwenden. Es nimmt automatisch folgende Umwandlungen vor:

ä -> ae, ö -> oe, ü -> ue

Ä -> Ae, Ö -> Oe, Ü -> Ue

und ß -> ss

Auf Wunsch werden auch Umlaute in Kommentaren, Feeds oder Postings automatisch umgewandelt.

Download wp-cleanumlauts2 from WordPress repository

Ich habe das WP-CleanUmlauts-Plugin von Carsten Albrecht dahingehend angepasst, dass – dem Duden entsprechend – aus ‚ß‘ ein ’ss‘ gemacht wird.

Carsten Albrecht selbst hat als Vorlage das o42-clean-umlauts-Plugin von Michael Renzmann genommen.

Bei Problemen oder Fehlern kann man sich jederzeit bei mir melden. Kommentare sind herzlich willkommen.

Versionen:

1.5.1 (13.02.2012)

  • Getting rid of notices when debug mode is set to true. Thanks to Johannes Freudendahl.

1.3.2 (01.03.2011)

  • Overcome unnecessary warning message

1.3.1 (25.02.2011)

  • Make sure it still works with WordPress < 3.1

1.3 (25.02.2011)

  • checked and fixed bug for WordPress 3.1 – ok

1.2

  • checked for WordPress 3.0 – ok

1.1

  • wrong coding of letter Ö corrected

1.0

  • first version

PDF-Buch zum Blättern in WordPress

Schritt 1

Ein PDF muss erstmal in einzelne Bilder umgewandelt werden. Das sollte man automatisiert machen. Ich benutze dazu die Software PDF-XChange Viewer – eine Software, die dem fetten Adobe Reader IMMER vorzuziehen ist und auch sehr viel mehr Funktionen hat: Notizen, Markierungen, Stempel, Text.

File|Export|Export to Image – die Einstellungen entnehmen Sie meinen Screenshots.

Wenn alles geklappt hat, dann haben wie jetzt das PDF seitenweise in Bilder umgewandelt. Bitte kontrollieren, ob alles geklappt hat und ob auch die Reihenfolge stimmt. Man sollte auch ein leeres weißes Blatt als letztes noch hinten anfügen, das dann als Buchrückseite dient.

Wer die Software zum Extrahieren der Bilder nicht besitzt oder nicht nutzen will, der kann auch auf Online-Dienste im  Internet zurückgreifen:

Es geht auch mit dem virtuellen Druckertreiber Virtual Image Printer driver.

Schritt 2

Nun müssen wir diese Bilder zusammen mit einer speziellen Flash-Datei so in WordPress einbinden, dass ein blätterbares Buch herauskommt.

Wir haben die Wahl zwischen folgenden 2 WordPress Plugins, die uns diese Arbeit zum Glück abnehmen.

Beide Plugins fügen einen Werbe-Hinweis ein (siehe oben auf dieser Seite). Wer möchte kann gegen 30 bzw. 40 Euro die jeweiligen Vollversionen erwerben.

Ich kann beide empfehlen. Der eine (Page Flip Image Gallery) hat mehr Funktionen und ist komfortabler zu handhaben, ist dafür aber in der Vollversion etwas teurer. Am besten probiert es jeder für sich aus. Beide Plugins verrichten bisher anstandslos ihren Dienst.

Beide Plugins funktionieren im Prinzip ähnlich.

  1. man legt ein virtuelles Buch an
  2. diesem Buch fügt man beliebige viel Bilder (die extrahierten) als Seiten hinzu
  3. man kann – wenn gewünscht – die Reihenfolge der Seiten/Bilder noch beeinflussen
  4. das Buch selbst wird konfiguriert: Toolbar, Größe, Rahmenfarbe etc.
  5. Einfügen des Buches mit einem Short tag in WordPress

Ergänzung: Mit den oben dargestellten Plugins kann man nicht nur Bilder zum Blättern einbinden, sondern auch Shockwave Flash Dateien (swf) mit allen aktiven Gimmicks: Videos, Sound, Links, Transparenz, Formularen etc. pp.

WordPress Quick: Only show excerpt on homepage

You don’t want to show the complete post on you homepage? Then why not show visitors only an excerpt and let them click for the whole post?

Open your template file , eg.g index.php and search for term „the_content“ then replace it with „the_excerpt

<?php
if (is_search()) {
 the_excerpt();
} else {
 //the_content(__('Read the rest of this entry &raquo;', 'kubrick')); // old way
 the_excerpt(); // new way
}
?>

If you want a better control over „the_excerpt“ then you should use Advanced Excerpt plugin. It will leave HTML untouched and give let you edit the more-caption as well.

WordPress: Create unique content with Old Post Spinner

WordPress 3.2 ok!

NOW WITH ABILITY TO CREATE UNIQUE CONTENT

Create a complete unique new post on a random old one and promote it to the top of your blog.

It is really easy to handle and self-explanatory.

Compared to other plugins which do pretty much the same my plugin uses the build in functionality of WordPress‘ own „cronjob“. This makes the whole part much more stable and (what is even more important) bypasses workload away from the server.

Every promotion is registered in a log file.

Download

Download directly from WordPress.org repository.

FAQ

Is there anything I should be aware of? Any limitations?

Yes! This plugin should no be used with permalink structures that include dates.

Please explain me the settings‘ values

Old Post Spinner (OPS) checks if a certain amount of time has passed. If so it promotes (or duplicates, depending on the settings) a random post to any position you like.

E.G. take this values:

  • Minimum interval between old post promotions: 2000 minutes
  • Random maximum interval (added to minimum interval): 500 minutes

Now OPS will every 200 0+ X minutes (where X lies somewhere random between 0 and 500) pick up one old post and promote (or duplicate) it to the defined position.

OPS will take into account which posting categories you never want to promote

You can also specify an minimum age for a post to be considered.

What will happen? Let’s take 10 posts ordered by age with No. 1 the as the youngest one. OPS picks the, let’s say, sixth post and give it the current date to promote it to position number one.

If you want a post to be promoted to position 3 OPS will place it, regarding the date, exactly in the middle between number 2 and (the old) number 3, which now will drop to position 4.

What is the difference between duplicating and promoting?

Promoting will move the post to a new position, whereas duplicating will copy a post to the new position, so the latter generates a new post.

What are the best practice values?

They are installed as default values. Minimum interval: 2000 minutes, Random interval: 500 minutes, Post age: 14 days. But maybe you should experiment with your own values. It’s up to you.

What do you mean with spinning?

Spinning means the creation of a new „spinned“ content. That will create a new and unique post every time it gets promoted (or duplicated).

How do I spin the title and the content?

That requires a bit of handwork. You can manually add multiple synonym versions of any sentence and any word you want. That is done by using the characters |, { and }. I give you an example:

[sourcecode gutter=“true“ language=“plain“ light=“true“]

Hello, my name is {Jack|Jim} and I love {Tennis|Golf}.

[/sourcecode]

Using this spinning instructions sentence will generate this four different result sentences every time your article is promoted:

  • Hello, my name is Jack and I love Tennis.
  • Hello, my name is Jack and I love Golf.
  • Hello, my name is Jim and I love Tennis.
  • Hello, my name is Jim and I love Golf.

So, with a little bit of extra afford you are able to create a complete unique post every time.

Just add as many synonym sentences as you like between the curly brackets ”{“, “}” and separate each synonym sentence by Pipe “|”.

You can nest your sentences as well:

[sourcecode gutter=“true“ language=“plain“ light=“true“]

Hello, my name is {Jim|{Handsome|Ugly}Joe}.

[/sourcecode]

Will result in:

  • Hello, my name is Jim.
  • Hello, my name is Handsome Joe.
  • Hello, my name is Ugly Joe.

IMPORTANT: Please post this spinning instruction sentences in the extra Old-Post-Spinner meta box of WordPress (see the screenshot) and NOT into the normal text and content form fields

What will happen if I only want to spin the title or the content?

No problem. If you only fill in spinning instructions on the title, then only the title will be spinned. The content won’t change. Same with the content, if you only want the content to be spinned, than leave the spinning instructions on the title empty.

What date will the promoted posts get?

Posts promoted to first position will get the current date. Posts below first position will be placed right in the middle of the enclosing posts.

Why should I use a category to ignore from promotion?

Some posts are simply not meant to be spinned. Especially if they are date-related. E.g. you should place posts with news into an omitted category.

But how do I hide the category from my blog?

If you don’t want this category to appear in you blog you can use the „AVH Extended Categories“ plugin.

How can I recover the original dates?

All original dates are stored as custom fields. The name is „ops_original_pub_date“.

How can I support you?

That is nice of you. You can donate via Paypal.

How can I promote my newly dated posts to twitter now?

I think you should consider to use a service like twitterfeed.com. It will pickup your promoted posts and send status messages to twitter.

Do you have other plugins?

Check out my other WordPress Plugins.

Where do I post my feedback?

Here

Changelog

2.4.0 (06.07.2011)

  • testing with WordPress 3.2 -> OK
  • small security bugfix

2.3.3 (10.06.2011)

  • testing with WordPress 3.1.3 -> OK
  • removing schedule cron value when deactivating as well

2.3.2 (12.04.2011)

  • small security bugfix

2.3.1 (25.03.2011)

  • bugs fixed on test routine, when entering wrong values

2.3.0 (15.03.2011)

  • using minutes instead of hours

2.2.1 (26.02.2011)

  • testing with WordPress 3.1 -> ok

2.2 (19.02.2011)

  • tested with 3.0.5
  • more FAQs
  • new screenshots
  • more log entries to check for
  • more translations

2.15 (04.12.2010)

  • tested with WordPress 3.02

2.14 (11.08.2010)

  • tested with 3.01
  • new screenshots

2.13 (11.07.2010)

  • Fresher design of meta boxes
  • new wording
  • correcting typo errors

2.12 (11.07.2010)

  • creating a brand new permalink when duplicating
  • fixing a bug where not unique permalinks could get deleted

2.11 (10.07.2010)

  • now detects an existing „Google XML Sitemaps Generator for WordPress“-Plugin and starts creating the sitemap on request

2.10 (09.07.2010)

  • tuning the visual design

2.02 (08.07.2010)

  • small bugfix where on rare occasions (special PHP/server configuration) OPS creates an error

2.01 (07.07.2010)

  • adding more logging messages

2.00 (06.07.2010)

  • Now you can even duplicate a unique post instead of only promoting it

1.21 (05.07.2010)

  • delete spinning instructions as well when removing of plugin

1.20 (25.06.2010)

  • NOW WITH ABILITY TO CREATE UNIQUE CONTENT (Read FAQs on that, please)
  • fixed little date bug

1.10 (18.06.2010)

  • first multi language version
  • German added

1.09 (18.06.2010)

  • tested for WordPress 3.0 – ok
  • log folder error message now appears inside admin header

1.08 (17.06.2010)

  • fixed unnecessary warning messages on development systems

1.07 (16.06.2010)

  • moving log folder to wp-content path to face some problems when updating

1.06 (15.06.2010)

  • fixing problems some might have with the creation of log folder

1.05 (12.06.2010)

  • new FAQs
  • checking of implausible values
  • new screenshots

1.04 (08.06.2010)

  • better logview (check for still not existing log file)

1.03 (07.06.2010)

  • small bugfixes

1.02 (06.06.2010)

  • using build in WordPress Cronjob
  • better logfile view

1.01 (05.06.2010)

  • little bugfixes, wording
  • including of deinstalation routine to delete all data
  • implementing a better log file viewer

1.00 (04.06.2010)

  • first Version

WordPress: Empty Plugin Template – A plugin template to start with

S T I L L   B E T A

As it says, an empty plugin considering all the advices given in

http://codex.wordpress.org/Writing_a_Pluginhttp://codex.wordpress.org/Creating_Options_Pages and http://planetozh.com/blog/2009/09/top-10-most-common-coding-mistakes-in-wordpress-plugins/

Including:

  • multi language ability
  • uninstall routine
  • data delete routine (avoid orphaned data)
  • coding advices
  • security aspects (validating user inputs, nonces)
  • external third party stuff (Ajax, CSS, Javascript)
  • shortcode
  • WordPress scheduler („cronjob“)

Download from WordPress repository

Changelog

0.1 (17.02.2011)

  • first Version