Dennis Hoppe

selbständiger Entwickler / Unternehmer / Student aus Berlin; schreibt über PHP, JavaScript, WordPress, jQuery, CodeIgniter, GTK und mehr.
Sie sind hier:  Plugins  →  Author Info Widget

Author Info Widget

Dieses Widget zeigt Informationen über den Autor des aktuellen Artikels bzw. der aktuellen Seite an. Es kann in Sidebars auf Seiten, Artikeln oder Autor-Archiven verwendet werden.

Das Widget zeigt den “Über mich” Text des aktuellen Autors an. Jeder Benutzer eines Blog kann diesen Text unter “Benutzer > Dein Profil” selbst verfassen und ändern.

Das Plugin zeigt auch den aktuellen Gravatar des Autors und, falls in den Widgeteinstellungen aktiviert, auch entsprechende Links zur eingetragenen Webseite, Jabber Profil, AOL IM und Yahoo IM.

Inzwischen unterstützt das Widget auch die Möglichkeit dass mehrere Autoren an einem Artikel arbeiten. (Co-Authors Plus)

Das Widget ist internationalisiert und “translation ready”. Deutsch (Sie) und Englisch liefere ich mit.

Mehr Informationen finden Sie hier: Author Info Widget von Dennis Hoppe.

Unterstützen

Sie mögen dieses Plugin? Warum nicht einige der folgenden Dinge tun!?

  • Verlinken Sie es damit auch andere davon erfahren.
  • Bewerten Sie es in Plugin Verzeichnissen damit andere es einfacher finden.
  • Spenden Sie eine Kleinigkeit als Wertschätzung für meine gute Arbeit  

Weitere Meinungen

Sie können der Diskussion zu diesem Beitrag über den RSS 2.0 Feed folgen.

Sie können zu diesem Artikel einen Kommentar schreiben oder einen Trackback von Ihrer eigenen Seite setzen.

Kommentare

  • Yasin Akgun
    02. Januar 2010
    I think it is awesome, but the profile information follows no paragraphs, even if the actual profile info has got paragraphs in it. So in the wordpress user profile edit a user types their bio using paragraphs, but on the widget it just comes up as a long stream of text. Could you fix this in an update?
    • 02. Januar 2010
      You are right. Fixed in Version 1.0.1.
  • selym
    10. Januar 2010
    I have my profile showing as a footer widget, and it works great with one exception. The only page it does not show up on is the home page. Anyone else experience this, or could it be theme related?
    • 10. Januar 2010
      Seems the problem is that your start page is not an author related page. So the widget does not know which author profile it should show. But there is an easy solution: Download the new version. There you can choose which author profile should the widget show. (Since 1.0.3). ;)
  • 19. Februar 2010
    I really like your plugin. Could it work as a call with php so that I can hardcode it into a template? Thank you. Joe.
    • 19. Februar 2010
      Hey Joe. Of course you can use it in your template. You can call the "widget" function in the class. ;) But this requires something more php know-how. If you are poised to spend some Euros/Dollars for it i can write a function to load the widget with parameters at any place of your template file. Let me know if you need some help.
  • 21. Februar 2010
    I'd be happy to donate to get some additional functionality. Please e-mail me so we can set something up. Best Regards, Joe.
    • 21. Februar 2010
      Okay, i've sent you an E-Mail.
  • PIP
    01. März 2010
    Hi! I`m trying to edit the css-file, but nothing is happening? I want the text to float around the image and want outline on the image... but nothung happens when i edit the css :/
    • 01. März 2010
      Hmm... can you check if the css file will be included in the header of your website please?
  • PIP
    01. März 2010
    Yes it is... http://www.rockblogg.no/
    • 01. März 2010
      Ok. There is a small bug in your theme. By default every widget has to have the class "widget"... But don't worry. Just replace the ".widget" at the start of the first two lines in css file width "widgetcontainer". So it should work for your theme. Best regards.
  • PIP
    02. März 2010
    Thank you! :D Works perfect!
  • Florian
    09. März 2010
    We're developing a blog with multiple authors. Your plugin is pretty close to what I'm looking for. But how to combine the functionality of your plugin with twitter. The aim is to show a short list of latest tweets by author. I will try to combine your plugin with code from http://xavisys.com/wordpress-plugins/wordpress-twitter-widget/ Yours, Florian
    • 10. März 2010
      Hi Florian. Just modify the Author Info Widget and make it using the twitter widget ShortCode with correct parameters. If you need help you could hire me as developer (write me a mail). I would do this for a small donation. Best regards.
  • PIP
    11. März 2010
    Is there any way to show the e-mail?
  • PIP
    12. März 2010
    With an icon... :)
  • 23. März 2010
    Guten Tag Dennis We use this great plugin on our business networking site as we have multiple posters on the blog, but the text that is called from the author info is much larger than the standard text in the individual posts, is there a way to tweak the CSS to reduce the size of the text inside the widget which would be more pleasing on the eye? Thanks
    • 23. März 2010
      The Widget doesn't contain any information about font sizes etc. If you want to change the font size you should do that in the style sheet of your theme. At first sight i can see that the font size in the "Log In" widget is the same as in the "Post Author" widget. So if you need a css developer to customize that for you feel free to send me a short mail. Best regards.
  • 26. März 2010
    I am finding that the author info does not display properly in the sidebar for the theme I am using ("Corporate"); the text "wraps" awkwardly around the gravatar, and the spacing looks wierd. I assume that this is controlled by a CSS setting, but I am not sure which CSS file controls the text formatting for the author info that your widget displays. Can you give me some ideas on how to change the "text wrap", the font size and style, etc. for the author info in the sidebar that your widget controls? Really great widget, by the way, it does EXACTLY what we are looking for (once we get the formatting fixed).
    • 26. März 2010
      Hi, the css file is in the Plugin directory and the name is 'widget-author-info.css' But you shouldn't modify this file. Better you extend your theme css to avoid loosing your changes after a plugin update.
    • 29. März 2010
      I spent some time poking around at various files in the theme I am using (based on your earlier reply) but I am not seeing where this strange spacing could be controlled by the theme. I have a screenshot of the problem I can send you, or you can connect to http:/www.easternlegalsystems.com/blog, click on a page authored by Andrea Prigot, and you will see two spacing issues: one in the bio and one toward the bottom where the "home" button is displayed with a message regarding all of Andrea's posts. I am not very experienced in PHP, so if this is something you can do for a small fee, I would be happy to send you a write-up of what I am trying to do and let you give me a price for the "fixes."
    • 29. März 2010
      Hi Jack, i think i can fix this two issues with css for a small fee. And of course you can send me your idea what you are trying to do. May i can help you. You can find my E-Mail address on the "Kontakt" page.
  • 27. März 2010
    Dennis, Is there a way to disable the widget on 'pages' and only enable it on 'posts'? Is there a simple solution I'm overseeing? Thx in advance. Regards.
    • 28. März 2010
      Hey Rik. At the moment this feature is not included in the plugin. But here is a kick-ass-workaround: Copy this code in line 71 in the widget-author-info.php: if (is_page()) return; So the widget will be invisible on pages. ;)
  • Keishon
    31. März 2010
    I love this plug in but even after updating it, it still doesn't show the text-wrap around my avatar so I've deactivated it. It used to do that before the last two updates and I don't know how to edit this on my on. Can you fix this?
    • 31. März 2010
      Did you set the right adjustment in the widget settings? Can you post a link to your page?
  • 02. April 2010
    I've reactivated it and here is my single page view: http://avidbookreader.com/2010/04/01/the-darkest-room-a-novel-johan-theorin-2/
    • 06. April 2010
      Sorry, i cannot see the widget?!
  • 08. April 2010
    We really love this widget and appreciate your work. However, author images are not appearing. Is there a different plugin required that allows for the upload of author images in their profile section... something like the pluging called "User Photos" Where is your plugin looking for the author image files?
    • 08. April 2010
      Author Info Widget supports only Gravatars at the moment. You learn more about gravatar service at gravatar.com
  • 25. April 2010
    Hi Dennis, ich nutze dein Plugin seit 2 Tagen und muss sagen, es funktioniert einwandfrei. Auf meiner Seite (z.Z. im Wartungsmodus) können mehrere Autoren via Plugin "Co-Authors Plus" an einem Artikel schreiben. Ist es möglich dein Plugin so anzupassen, dass es bei Bedarf die Infos von allen beteiligten Autoren anzeigt? Ich habe versucht, den Code anzupassen, bin aber gescheitert ;) Danke schonmal für deine Hilfe. Gruß, Matthias
    • 26. April 2010
      Denk schon dass das geht aber das ist eine sehr spezielle Individualisierung. Wenn Du ein paar Euro spendest bin ich aber bereit das zu machen.
    • 29. April 2010
      Hi Dennis, habe dir soeben etwas per PayPal gependet. Sollte durchaus für eine Kiste guten Bieres reichen :p danke schonmal für deine Hilfe Matthias
    • 30. April 2010
      Ja, super, habe ich bekommen. Die neue Version ist jetzt verfügbar. Ich werde das Geld wohl eher in zwei mittelgute Bierkisten investieren schließlich verdampft das bei dem heißen Wetter so schnell. ;)
  • 30. April 2010
    Danke für das schnelle Coden, Plugin funktioniert 1a!
  • Julius
    20. Juni 2010
    Your author-info widget is really nice. However, I am running a site with multiple authors. Meaning, some writers are really just contributors. I was hoping to limit the author-bio to selected people, more particularly the members of the site. Is there a way to do this? Could an option in the widget be placed so that this can be made possible? Just in case, how much would this cost?
    • 21. Juni 2010
      Hi Julius, i'm not sure what you are going to do exactly. The Author short biography field is visible for all registered users of your blog. But the Widget shows only the author of post author. Please give me more details about what the plugin should do.
  • 24. Juni 2010
    Like Julius, I run a site with several contributors. They each have their own columns (can be viewed by going to "columns" on the site's nav bar.) My question is, is it possible to have the bio/author information appear for each author on the sidebar of their respective columns? Thanks!
    • 24. Juni 2010
      You can set up the author whos bio should be shown in the widget. So just add the widget to every sidebar for every column and set the correct author.
  • 27. Juni 2010
    Das Widget wird nur noch im Backend angezeigt, nicht mehr im Frontend, wenn „Autoren des Artikels anzeigen“ aktiviert ist. (Aber gut, das hat hier auch vorher schon nicht funktioniert.) $ php -v PHP 5.2.6-1+lenny8 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 14 2010 09:07:33) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Wordpress 3.0 Plugin-Version: 1.2 Außerdem sieht das Widget irgendwie scheiße aus :( Zum Vergleich zwei Screenshots, der erste Zeigt das Widget in der Pluginversion 1.2 in meinem Hauptblog, der zweite Screenshot zeigt das Widget in der Plugin-Version 1.1 in meinem Zweitblog. 1.1: http://img155.imageshack.us/img155/9581/alt.png 1.2: http://img697.imageshack.us/img697/6841/neuu.png
    • 27. Juni 2010
      Hallo Dirk, das Design des Widgets musst du natürlich noch selber anpassen. Falls dein Theme kein Template für das Author Info Widget mitbringt kannst du es auch einfach selbst nachrüsten. Einige Hinweise dazu findest du auf der Plugin-Seite. Das Problem ist dass ich nicht für jedes Theme ein style sheet mitgeben kann. Deswegen enthält die neue Version schlichtweg kein CSS mehr, dafür aber ein Standard-Template welches man einfach ins eigene Theme übertragen und anpassen kann. (Für eine kleine Spende mach ich das übrigens auch. ;) ) Ach, und die Sache mit den Umbrüchen in den Kommentaren: Ich mags nicht wenn jemand anderes als ich hier was formatieren kann. (Da bin ich Kontrollfreak.) Wenn du weitere Fragen zur Individualisierung hast lass es mich wissen. Beste Grüße aus der Hauptstadt.
  • 27. Juni 2010
    Hey Dennis, Thanks for a great plugin. I have been using it for weeks and it has been great! Now though, there is a massive gap between the author's bio and "Read all of XXXXX Posts" It used to be right under it. Any idea what is going on? You can see the problem on any one of my posts on my site. Thanks
    • 27. Juni 2010
      Hi Eoin, this is a small bug in the Patagonia Theme. I can write a "workaround template" file of the widget for your theme if you send me a small donation via paypal. Just add a short notice to your transaction. Best regards.
  • 27. Juni 2010
    How come it was working perfectly before though?
    • 27. Juni 2010
      In the old version i coded the style information direct inside the widget. The new version applies all styles from the theme. So in 99% of all cases the new version of the widget appears in the same style as the whole theme. In the other percentage are themes which do not follow the guidelines of valid (X)HTML and CSS. (Patagonia is one of them.)
  • 27. Juni 2010
    Cool. Will ya email me details to send you donation. Look forward to supporting a great plugin! ;)
  • 28. Juni 2010
    Ich werde jetzt nicht auch noch anfangen, irgendwelche Templates zu schreiben, zumal man das mit CSS nicht so hinbiegen kann, dass es wieder gut aussieht. Stattdessen werde ich wohl einfach wieder downgraden :)
    • 28. Juni 2010
      Template und CSS sind separat. Aber sag mir doch mal bitte: Was genau kann man mit CSS nicht verändern? Ich bin eigentlich sehr bemüht alles mit Klassen zu versehen so dass sich alle Elemente per Selektor ansteuern lassen.
  • 28. Juni 2010
    Na ja, wenn die Struktur jetzt „Name[neue Zeile]Beschreibung[neue Zeile]Mailadresse“ ist, und vorher „Name[neue Zeile]Mailadresse[neue Zeile]Beschreibung“ war, ist das sicher mittels CSS nicht so ganz einfach, den alten Look wieder herzustellen. Oder kennst du einen Trick, wie man den Inhalt eines li-Tags vor ein p-Tag bekommen kann? Ich habe mir übrigens gerade mal den Code angeguckt :) Also unter einem Template in dem Sinne stelle ich persönlich mir ja schon ein wenig was anderes vor :)
    • 28. Juni 2010
      Ich glaube, wir reden aneinander vorbei. Das Template ist in PHP geschrieben (author-info-widget.php) und das CSS ist separat in einer anderen Datei (author-info-widget.css). Beide Dateien gehören ins Theme Verzeichnis, wie auf der Plugin-Seite beschrieben. Selbstverständlich kann man auch per CSS(3) die Reihenfolge von Elementen ändern. Ist aber nicht zu empfehlen. Was genau stellst du dir denn unter einem Template vor?
    • 28. Juni 2010
      Ich bin der Meinung, Plugin-Dateien gehören nicht ins Theme-Verzeichnis. bei ipeRSS habe ich das so gelöst, dass das auf Wunsch anwendbare CSS über das Admin-Backend auf einer extra Seite erstellt und gespeichert werden kann. Ich finde das immer besser, möglichst nichts an Plugin-Oder Theme-Dateien zu ändern (wozu meiner Meinung nach auch das hinkopieren von Dateien in Plugin- oder Theme-Verzeichnisse gehört), weil das ganz schön Probleme machen kann, wenn ein Theme oder Plugin aktualisiert wird. Ein Template ist für mich so etwas, wo statt PHP-Code („interessanten“ Stil hast du da übrigens *g*) etwas wie „%%AUTHOR%%“ oder „%%DESCRIPTION%%“ verwendet wird, was dann vom Plugin eingelesen, und durch die entsprechenden Werte ersetzt wird.
    • 28. Juni 2010
      Dass man die Templatedateien in das Themeverzeichnis kopieren kann ist ein Extra welches ich für alle Leute eingebaut haben die das Widget ins eigene Theme integrieren wollen. (Ich habe das Plugin ja ursprünglich mal für mich geschrieben.) Selbstverständlich ist es "sauberer" die Templatedatei über den von mir zur Verfügung gestellten Filter (siehe readme) zu setzen und ein eigenes Plugin dafür zu schreiben. Aber welcher Normalbenutzer kann das!? Außerdem würde ich dem Benutzer niemals die Möglichkeit geben CSS Code einzugeben. Wer CSS code schreiben will darf das in seiner Lieblings-IDE tun. ;) Was genau ist eigentlich an meinem Stil interessant? Das würde ich dann doch gern wissen. :) Wenn ich Variablen einfüge und sie dann mit PHP wieder ersetze, habe ich außer viel Aufwand eigentlich nichts gekonnt, oder? Vorteile?
    • 28. Juni 2010
      Na ja, welcher Normalbenutzer? Welcher Normalbenutzer kann denn ein PHP-Script schreiben? HTML können die meisten sich noch zusammenreimen, und da dann „%%AUTHOR%%“ zu schreiben wird den meisten sicher auch noch leichter fallen als „ get_option('show_name') && $author->display_name) : ?> display_name ?> “ zu schreiben, oder … Womit wir auch schon gleich beim Stil wären. Nicht, dass du PHP und HTML trennst, was ja ganz nett ist, aber „If“ und „Echo“? PHP ist das wahrlich egal, aber ich habe noch nie jemanden gesehen, der so was groß schreibt :) Jedenfalls bist du konsequent und schreibst auch „Function“ und „ElseIf“ *g* Aber ganz konsequent bist du nicht, „return“ schreibst du wieder klein. … Aber wieso machst du dir das mit den übersetzen eigentlich so umständlich? Ein simples „__('blah');“ und ’ne entsprechende Sprachdatei wo „blah“ als String drins teht, tun es genau so. Das recht interessante gebastel in Load_TextDomain() und t() ist eigentlich komplett überflüssig.
    • 28. Juni 2010
      Den Theme escaped übrigens nicht richtig, da stand noch viel mehr als Codebeispiel in meinem letzten Posting.
    • 28. Juni 2010
      "Normalbenutzer ist der, der normales tut." ;) Wer das Template nicht editieren kann der kann ja den Standard verwenden den ich mitliefere. Aber noch zusätzliche Variablen zu verwenden finde ich dann schon etwas übertrieben. Ein paar "Echos" hier und da kann jeder schaffen. ;) Die Groß- und Kleinschreibung rührt aus VisualBasic Vergangenheit. Da war das so mode. Die interne Übersetzungsfunktion verwende ich damit ich jederzeit in der Lage bin den Namen der Textdomain zu ändern und nicht den "Template-Author" mit meinen Domainnamen auf den Geist gehen muss. Außerdem kann ich mit meiner Funktion bei Bedarf zwischen "__()" und "_x()" unterscheiden. Mein Theme escaped das übrigens gar nicht. Das macht die WP eigene Methode. Und die ist knallhart. Die löscht Code einfach. ;) (Aber ich weiß ja was du meintest.)
    • 28. Juni 2010
      Warum sollte man seine Textdomain ändern? Konvention ist, Plugin-Basename = Textdomain. Da hält sich eigentlich auch jeder dran. Wer meint, das nicht machen zu müssen, bekommt eben Probleme :)
    • 29. Juni 2010
      Oh, es gibt eine Konvention? ;) Ich mag einfach nicht wenn Dinge fest verdrahtet sind. Deswegen erzeuge ich alle Handles (Domains, Menüs, etc) in Abhängigkeit vom aktuellen Klassennamen. Außerdem will ich alle Werte die ich mehrmals brauche zentralisiert haben um sie schnell ändern zu können. Das gibt mir einfach ein positives Gefühl von Flexibilität. ;)
    • 29. Juni 2010
      Na klar, es gibt für alles Konventionen :) „Using the basename of your plugin is always a good choice.“ (http://codex.wordpress.org/I18n_for_WordPress_Developers#Best_Practices)
    • 29. Juni 2010
      "Na klar, es gibt für alles Konventionen". Leider nicht. Meiner Meinung nach sollten alle Plugins Objekte sein. Es gibt so viele Plugin die globale Funktionen unsinnig definieren. Wie viele Kundenprojekte ich schon "retten" musste, weil auf dem Bildschirm plötzlich die Fehlermeldung "Fatal error: Cannot redeclare ..." auftauchte, kann ich gar nicht mehr zählen. Aber die Konvention, dass man die eigene Textdomain nach dem Plugin benennt, kannte ich bisher gar nicht. Wieder was gelernt. :)
  • 18. Juli 2010
    Hallo Dennis, ich wollte gerade Dein Plugin ausprobieren. Leider bekomme ich unter der Widget-Seite in der Sidebar folgende Fehlermeldung: Warning: Invalid argument supplied for foreach() in /homepages/34/d127825981/htdocs/wordpress/wp-content/plugins/author-info-widget/form.php on line 16 Was kann ich tun? Viele Grüße Rouven
    • 18. Juli 2010
      Hallo Rouven, vielen Dank für den Hinweis. Hier handelte es sich um einen kleinen Schönheitsfehler bei der Behandlung eines Sonderfalles. Sollte ab 1.2.7 behoben sein. Einfach mal auf die aktuelle Version updaten.
  • 25. Juli 2010
    Hi Dennis, great plugin and great work. Thanks so much. Until now, it's been working fine on my website but I have now received the following error and the newly registered gravatars do not show: Warning: Missing argument 2 for wp_widget() in /home2/ricjoorg/public_html/quartoefe/wp-includes/widgets.php on line 76 Any idea what it is? I'm using Wordpress 2.9.2. and (have now) deactivated you plugin version 1.2.7. Any help would be fantastic. Thanks!
    • 25. Juli 2010
      Easy solution: Change to PHP5 ;)
  • 26. Juli 2010
    Ah ha! Ok, ok. Thanks for the solution! Would be easy if that were under my control, but unfortunately it's my server provider's choice and I don't think they'll be changing soon. Thanks for your help, though!!!!
    • 26. Juli 2010
      The most WebSpace Hoster provide PHP5 and the use only has to switch it in the admin panel.

Verknüpfungen

Hinterlassen Sie eine Antwort