Skip to content


Wordpress plugin: Banner Generator 0.6.3

New version of Banner Generator plugin is out.

Wordpress plugin page.

The idea of the plugin is very simple. It generates banner with your blog name and last posts title.

Default style

Default style

Style is completely customizable. You can change text font, size, color and position, background color, border and round corners or use your own background image(bg.png). Now you can even use your own logo instead of a blog title.

My banner

My banner

New: More options. New default style. A bit nicer source code.


Installation:

  • Make sure there is “gd” plugin for php on your server
  • Download Banner Generator
  • Extract the zipped file to your plugins directory
  • Make shure your upload folder is set and writable
  • Load your plugins page from the WordPress admin section and click “Activate” to enable the bGen plugin
  • Edit bGen settings under “Settings” menu
  • Enjoy
Reblog this post [with Zemanta]

Posted in digital world.

Tagged with , , , , , , .


67 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. testko says

    c c c

  2. Russer says

    Why make a plugin the fail to install …..

  3. hamax says

    Russer :

    Why make a plugin the fail to install …..

    It looks like it doesnt work in older versions of wordpress. I hope i’ll be able to fix it soon.

  4. hamax says

    I think it’s fixed :D

  5. pluszaczek.com says

    Warning: imagepng() [function.imagepng]: Unable to access wp-content/banner.png in /home/dtc/sites/xxxxx/xxxxyyyy.com/subdomains/www/html/wp-content/plugins/bgen/banner-generator.php on line 120

    Warning: imagepng() [function.imagepng]: Invalid filename in /home/dtc/sites/xxxxx/xxxxyyyyy.com/subdomains/www/html/wp-content/plugins/bgen/banner-generator.php on line 120
    bGen Options

    not working for me. wp 2.7.0

    Best regards

  6. hamax says

    Please check if you have upload folder set under Miscellaneous menu and if your upload folder is writable.
    (if you can upload things trough wordpress, everything should be ok).
    Please report :)

    If everything is like it should be, then there is something strange in wordpress 2.7.0. I’ll check.

  7. Ashok Koparday says

    Hi,
    I hope this one helps.
    I am about to install it.
    Regards from India,
    Ashok Koparday

  8. Deborah Leary says

    How do I work this

  9. mrbrdo says

    Guys read the readme file. However note that currently the background image support is broken but i’m sure the author will fix it today.
    If you wanna fix it yourself change in banner-generator.php the line 29 from:
    $bg_name = “bg.png”;
    to:
    $bg_name = “/bg.png”;

  10. hamax says

    Fixed :D

  11. Bob says

    Hey,

    I just wanted to tell you that the idea is really good. I’m not going to use it because i love my own banner.. lol :) haha.

    Just wanna tell you do a good job!

    Peace!

  12. Nicholas Pyers says

    I love this idea and can see a number of uses for it.

    Would love to see a feature where I can incorporate a logo into the banner as well ;)

    And perhaps the ability to configure if it appears to the Left or Right of the other text ;)

  13. hamax says

    Well, you can create your own background with logo.
    I’ll think about your idea (it’s not the easiest thing to do :D )

    Thanks for comments.

  14. AR Hermawan says

    Thats a great plugin I already install at my site and Its cool…Thanks

    Regards
    http://laptopscomputers.us

  15. paul says

    Which plug in do I need and is it free?

    GD Pages Navigator
    GD Star Rating
    GD LinkedIn Badge
    GD Plugin Core
    GD Simple Widgets
    GD Press Tools

  16. paul says

    re: the above-I meant which one do I need for installing on my php server per your post above:
    Installation:

    * Make sure there is “gd” plugin for php on your server
    ????

  17. covalic says

    * Make sure there is “gd” plugin for php on your server

    What is gd plugin?

  18. RekzPC says

    I installed this plugin.But i cant see the last post stats in the banner.What can i do for this problem?

  19. hamax says

    check the rss feed

  20. RekzPC says

    I checked the RSS feed,Yet i cant see the last post in the banner.What is the problem?

  21. hamax says

    Can you pleas give me link to the feed and tell me the version of your wordpress. tnx

  22. RekzPC says

    i use wordpress 2.7.1.My RSS Link is http://rekzpc.co.cc/?feed=rss2.Please help thankx.

  23. RekzPC says

    My RSS link is http://rekzpc.co.cc/?feed=rss2

  24. paul says

    Hamax-the page you sent me to for:

    This one:
    http://si2.php.net/manual/en/image.installation.php

    Is not very clear about where to access the download for the gd plugin on this page…again I need the particular plug in for the bgen (for the PHP server requirement) to post the blog banner on my home page of my other non-wordpress site.

    Please help-thanks much…

    Paul

    Can

  25. hamax says

    If you don’t have your own server, there is nothing you can do. Well you can contact your provider, but this is it.

    But very most php hosts have php-gd.

    Installation for some systems:
    Ununtu and debian : (as root) “apt-get install php5-gd”
    Fedora: “yum install php-gd”
    Windows and manual linux installation: http://www.libgd.org/FAQ_PHP

  26. hamax says

    @ RezkPC, i really don’t know, why the plugin has problems with your feed.
    New update for the plugin will be out in couple of days and it won’t use rss anymore.

  27. hamax says

    @ RekzPC: I hope it will work now :)

    @ Nicholas Pyers: Done :D

  28. Syntronica says

    Hello!
    Since version 0.6 I have got the following problem:
    The title of the actual / recent post does not appear any more.
    Can you publish the link to download version 0.5?

    CU
    Syn

  29. hamax says

    Huh, that is strange…
    I added rss reading if database fails. Pleas try last version from trunk.

    Thanks for reporting.

    ps. what is your wordpress version and language?

  30. Syntronica says

    My WP-Version is 2.7.1, german edition.
    With trunk you mean the trunk at wordpress repo? don’t you?
    I will try it.

  31. Syntronica says

    Thanx a lot, now it is okay.

  32. elyO²m says

    I’m very interested by your plugin but I have this error on the settings page and plugin not working :

    Warning: Wrong parameter count for imagepng() in /mnt/167/free.fr/0/0/elyom.is/wp-content/plugins/bgen/banner-generator.php on line 146

  33. hamax says

    Try this version:
    http://downloads.wordpress.org/plugin/banner-generator.zip

  34. elyO²m says

    hamax :
    Try this version:
    http://downloads.wordpress.org/plugin/banner-generator.zip

    Thx but now, when I want to activate bgen, I have this error : Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /mnt/167/free.fr/0/0/elyom.is/wp-content/plugins/bgen/banner-generator.php on line 171

  35. hamax says

    Oh, php 4 doesn’t support chaining. I’ll try to fix it, but I don’t have php 4 server to test it.
    Pleas check the link in my previous post in about an hour.

  36. elyO²m says

    I think I find the problem –> http://adnanrafe.wordpress.com/2008/01/08/parse-error-syntax-error-unexpected-t_object_operator-rss/

    It seems to be an error with PHP4 and parsing RSS…

    Thx in advance for a fix.

  37. elyO²m says

    hamax :
    Oh, php 4 doesn’t support chaining. I’ll try to fix it, but I don’t have php 4 server to test it.
    Pleas check the link in my previous post in about an hour.

    Ok, I’ll wait for a fix. Thx U very much.

  38. hamax says

    Yeah, i fond the error. The fix is on.
    http://svn.wp-plugins.org/banner-generator/trunk/

    I hope it’ll work now :)

  39. elyO²m says

    Yeah, it rocks ! Now it works.

    Thank you very much for your support. You should release this fix for others who are still under PHP4.

    Sorry for my bad english. ;-)

  40. fikret says

    looks interesting, thx… i ll try this plugin:)

  41. elyO²m says

    I have a new question about your fantastic plugin : How to add new fonts ?

    I have uploaded new fonts (*.TTF) into the fonts directory but there aren’t listed in the settings page…

    Thx in advance for your answer.

  42. hamax says

    You must add them manually.
    Find “$fonts = array(”
    in source code and add your font.
    ‘Name’ => ‘FileName’

    I’ll add this feature in the future :)

  43. elyO²m says

    hamax :
    You must add them manually.
    Find “$fonts = array(”
    in source code and add your font.
    ‘Name’ => ‘FileName’
    I’ll add this feature in the future

    Ok, it will be a very pretty cool feature for the future !

    Thank you for the answer.

  44. hamax says

    > Ok, it will be a very pretty cool feature for the future !

    Try new version :) It’s added.

  45. V.C says

    That what I’m looking for.

  46. Syntronica says

    Hello!
    Is there a version history or a change log?
    Where can I find it?

    CU
    Syn

  47. hamax says

    No, there isn’t one. If you really want it, i can try to write it for you :)

    What do you want to know?
    Here are all versions i still have:
    http://wordpress.org/extend/plugins/banner-generator/download/

  48. Dk says

    so, the last post shows as “Shopping Cart”…and I can’t get it update…obviously my last post was not about a shopping cart…truly sad…

  49. hamax says

    Did you ever write a post about shopping cart and didn’t publish it?
    If not, this is true mystery…

    What is your wordpress version?

    Edit: I change something :)
    Please try development version:
    http://downloads.wordpress.org/plugin/banner-generator.zip

    Edit2: Please check blog settings. Maybe url or database settings are wrong.
    If nothing else helps, you can try removing

    $post_title = $wpdb->get_results(“SELECT post_title FROM $wpdb->posts WHERE post_date =
    (SELECT max(post_date) FROM $wpdb->posts WHERE post_status = ‘publish’ AND post_type=’post’)”);
    // $post_title = $wpdb->get_results(“SELECT post_title FROM $wpdb->where id = (select id from $pwdb->posts having max(post_date) group by post_date)”);
    $title = $post_title[0]->post_title;

    from banner-generator.php file.

1 2



Some HTML is OK

or, reply to this post via trackback.