DCoda Widgets

September 4th, 2008

DCoda_Widgets is collection of widgets to insert content into your site. Initially starting as sidebar widgets, they have been exapanded to allow the widget to be place anywhere you want within your site, via 3 methods.

  1. Widget: Allows easy drag an drop placement into the sidebar of the widgetised theme.
  2. BBCode: Allows easy insertion of the widget into a post or page.
  3. PHP: Allows easy insertion of the widget anywhere in your theme template.

As of version 4.0.0 easy configure screens have been added the the plugins settings menu.

Installing DCoda Widgets

  • download DCoda Widgets.
  • Copy to your ‘wp-content/plugins‘ directory.
  • Log in with an administration account.
  • Select the ‘Plugins‘ tab.
  • Scroll down to DCoda Widgets and click ‘activate‘.

Screenshots

Future Developments

  • Add ability to add class or in-line style to widgets.
  • Integrate DCodas existing marker plug ins in DCoda Widgets.
  • add code to allow insertion of any widget via BBCode or PHP

Other Plug-ins

If you liked this plug-in visits our download area where you will find many more.

Bugs & Suggestions

If you have questions, have found any bugs, or you would like to see features added to DCoda Widgets please feel free to use the form at the bottom of the page to Contact us. If DCoda Widgets doesn’t fill your needs , feel free to Contact us to discuss a specially commissioned plug-in.

Show Your Appreciation

If you liked DCoda Widgets please:

You can also make a donation to Help support its development.


  1. November 16th, 2007 at 02:35 | #1

    Thanks bro for this great plugin

  2. November 17th, 2007 at 18:25 | #2

    thanks for the widget

  3. November 19th, 2007 at 18:53 | #3

    thanks

  4. Idetrorce
    December 16th, 2007 at 03:13 | #4

    very interesting, but I don’t agree with you
    Idetrorce

  5. February 24th, 2008 at 05:15 | #5

    i’m going to give this a shot on my blog, thanks

  6. March 7th, 2008 at 11:49 | #6

    How to avoid this: ?

    Catchable fatal error: Object of class dc_wp_options_1_0_0 could not be converted to string in /hsphere/local/home/yamadera-1979/blogion.ru/wp-content/plugins/dcoda-widgets/classes/widgets_config.php on line 60

    Thanks.

  7. March 7th, 2008 at 12:25 | #7

    I need a to know the context, what were you doing at the time.

  8. March 31st, 2008 at 19:44 | #8

    Yo! This looks like something I could use since its a nice out-of-the-box bundle….buuut….not working for me.

    Yes, DCoda widgets appears under the presentation tab and lists its own in a vertical list with the default WP ones below them. The only checkbox is for deactivation.

    No actual error messages, but once activated and I add the widgets on the dashboard–>design–>widgets page, they never save. I even clicked ‘change’ once they appear on the ‘current widgets’ list after the ‘add’…scroll down and ’save changes’. When the page reloads from this, they disappear from the added list and are reset on the right side in the available list with the tag again showing ADD instead of EDIT.

    I’m on WP 2.5 and its installed homelessdiver.com/blogs/wp-content/plugins/ —the theme is WP classic 1.2 and the header comment says "Based on Arabic (RTL) version of WordPress Classic theme, converted by Serdal (Serdal.com)" I have not yet begun to tweak this so it should still be the same as when I DL’d it a week ago bundled with whatever WP was out before I found WP2.5 yesterday.

    So you’ll see what I am, heres some more info…sorry if its overkill:
    dc Image link in the avail list: xxx/widgets.php?add=dc+Image&_wpnonce=e58d4902ad

    My question on this (and all the otherDCoda links) is about the "dc+Image" term. I dis activated all the working widgets and looked at their links but none of them have a space between terms. They all have a dash or underscore. I looked in the code and dc is the only one with a space between terms. I’ll test around and see if that makes a difference but so far it hasn’t in the Image script.

    in the DCoda_widgets.php file, everything has an underscore between the dc and title but in the classes folder, theres a space. Perhaps this does not matter but I only mention it because the non-dc widgets I looked at only utilize a space when setting the title in an array for their respective classes folder.

    After all this writing, I have a feeling its going to be something insanely simple that I’m not seeing.

  9. April 2nd, 2008 at 09:15 | #9

    The is a problem with DCoda_widgets and WordPress 2.5. A new version will be released soon.

  10. April 13th, 2008 at 12:33 | #10

    I’m running WP 2.5, downloaded and installed the plugin, activated it, but it does not show on my widgets page. Any ideas as to why?

  11. April 13th, 2008 at 12:53 | #11

    Downloaded again from here and the widgets now show on my widget page, but I tried using the image widget and all that appears in my sidebar is the word ‘image’, which isn’t even a link to an image. Any ideas?

  12. April 13th, 2008 at 14:26 | #12

    ethan: IMAGE is the alternate attribute. This is the attribute which is displayed when the image is loading or cannot be found. Is the URL to the image correct?

  13. Ethan
    April 24th, 2008 at 13:02 | #13

    Sorry. Forgot to post that I’d resolved this issue.

  14. April 25th, 2008 at 16:52 | #14

    I’m having the same problem as ethan - only getting the word image. I’m positive that the path is correct. I’ve dragged the image widget and have tried entering both ways:

    img url: http://www.bloggingforjesus.net/wp-content/themes/downtownjava/downtown-java-3column/images/latest%20posts.bmp

    and “http://www.bloggingforjesus.net/wp-content/themes/downtownjava/downtown-java-3column/images/latest%20posts.bmp ”
    and also

    ?? help!

  15. April 25th, 2008 at 17:03 | #15

    I’ve just tried the link as shown, in the current version of the plug-in and with works for me.
    When the page is output, if you go to view source, what do you see int the widget bar where in image widget is?

  16. May 15th, 2008 at 05:57 | #16

    thank “dcoda” great plugin

  17. May 16th, 2008 at 03:36 | #17

    I installed the latest update of the plug-in, and it caused a PHP error, and basically I had to delete the plugin to get my site back! Is this just me?

  18. May 16th, 2008 at 08:56 | #18

    Can you tell me more about the error,a also a little about your set-up.

    Maybe we can find out what’s going wrong.

  19. thecubsfan
    June 18th, 2008 at 05:09 | #19

    Since upgrading to the latest version tonight, the dc PHP widget doesn’t seem to be working right. If I save some code and open it again, it’ll just have “Array” in the PHP Code box.

  20. June 18th, 2008 at 09:18 | #20

    I’ll look into it and post a fix ASAP

  21. June 18th, 2008 at 11:27 | #21

    This was only a problem with displaying the option. It would work, but editing would be a problem.
    This is fixed in 3.4.2

  22. thecubsfan
    June 18th, 2008 at 19:32 | #22

    Thanks! The plug in is a great help.

  23. June 19th, 2008 at 11:59 | #23

    I have wordpress 2.5 installed. If I try to activate DCoda Widgets 3.4.1, the following message appears:

    Fatal error: Cannot loadClass(’wp)’ in /is/htdocs/62898/www.dh-premiumevents.de/extern/wordpress/wp-content/plugins/dcoda-widgets/library/classes/base.php on line 132″

    What is the meaning? Can I do something to activate DCoda widgets?

    Thanks a lot!
    Thomas (from Munich/GER)

  24. June 19th, 2008 at 13:18 | #24

    If it cannot find the file ‘WP’ first thing that comes to mind is that the plug there must have been a problem copying the plugin to the server. Try try reinastalling it and see what happens.

  25. June 20th, 2008 at 08:48 | #25

    Thanks a lot for your answer - and for the widget too, of course. It does good work (up to now :-)

    But it does’nt work yet. I deleted the widget in the plugin-directory, reloaded the zip-file from your Download-Site, unpacked it and copied it again to the plugin-directory. The problem persists.

    And if I look to the …/library/classes/-directory, I can’t find any wp-File there: neither in the webspace nor in the extraction of the zip-File. There is only a directory named “wp”.

    I put a snapShot of the installation here.

    Do you have any idea?

    Thanks!
    Thomas

  26. June 20th, 2008 at 09:06 | #26

    The wp folder is the class. There should be a file in the wp folder base.php.
    Can you tell me what OS you are running?
    So can I take it you where running Widgets version 3 before you upgraded to wordpress 2.5?

    There seems to be a problem with the current class loader on some systems.

  27. June 20th, 2008 at 12:28 | #27

    @Thomas- If you could install this development version of the plug in. It has more error reporting in the suspect area , that should help in finding the problem.

  28. June 21st, 2008 at 20:00 | #28

    I’m working with Mac OS 10.5.3 using Safari.

    Your Development Version 3.4.2dev tells me:

    Fatal error: Cannot loadClass(’wp’)
    searched for
    in …/wordpress/wp-content/plugins/dcoda-widgets/library/classes/base.php on line 136

    What does it mean?

    Thank you very much!

  29. June 21st, 2008 at 20:08 | #29

    I’m working on Mac OS 10.5 using Safari.

    I installed the test Version from above (3.4.2dev), but unfortunately the problem persists:

    Fatal error: Cannot loadClass(’wp’)
    searched for
    in /is/htdocs/…/wordpress/wp-content/plugins/dcoda-widgets/library/classes/base.php on line 136

    A base.php file ist included in the wp-directory. Maybe it is a problem with read/write permissions? What is the meaning of the path “is/htdocs ….”, which i can’t see in my ftp-program?

    Thanks & Greetings from Munich:
    Thomas

  30. June 21st, 2008 at 20:28 | #30

    Hi DCoda,

    I’m working on a Mac (10.5.3) using Safari or firefox 3.0.

    If I install your dev-Version (3.4.2dev), the problem seems to be the same (but now it’s line 136 instead of 132):

    Fatal error: Cannot loadClass(’wp’)
    searched for
    in /is/htdocs/…/wordpress/wp-content/plugins/dcoda-widgets/library/classes/base.php on line 136

    I looked at the file permissions: they are all set to “000″ when I copy it from my harddisk to the web destination. But nothing changes even if I set them to “777″.

    Do you have any idea?

    Thanks! Thomas

  31. June 22nd, 2008 at 09:34 | #31

    Unfortunately the dev version wasn’t designed as a fix, it was just designed as a diagnostic tool.
    It has raised a few questions.

    So there is no base.php in the wp directory, are there any files?

    These files are in the zip file, i’ve double checked , are they there when you unzip the file.

    Also , you say you are running on macOS, I mean’t what OS are you running the site on? Is this also macOS?

    As for the /is/htdocs/…/ , this looks odd to me also, this displayed path should be the path to the plugins home directory as reported by the PHP.

    Can you tell me what the path to the plugins directory is?

    If these are not the same, this could be the route of the problem.

    also another peice of info that might help if you know it.
    What version of PHP are you running on the server?

    Thanks for helping, this should , make the plugin work on more platforms :)

  32. Brooke
    November 7th, 2008 at 19:58 | #32

    Love this plugin, but im having a problem. when i add the code to a page or post, i have to do it in the html tab, which is fine, but when i switch to the visual tab, it clears the code, and ends up empty, like this;
    [dc_php code=""]
    is there any way to prevent this?

  33. November 7th, 2008 at 20:47 | #33

    @Brook:
    Sorry to here about you problems with the plugin, unfortunately there will be nothing you will be able to do with this. The problem will be looked into soon, work permitting.

  34. mike
    November 8th, 2008 at 20:15 | #34

    hi there,

    this looks like an interesting plugin indeed. i have a question. when i read “PHP: Allows easy insertion of the widget anywhere in your theme template.” i somehow this plugin had a way to let me choose where i want my widget displayed. now i have come to think this is not part of what this plugin is intended to do. please correct me if i am wrong. so is there any way with this plugin to somewhow and easily get widgets shown in a theme anywere i want them to?

    thank you for your attention!

    mike

  35. November 8th, 2008 at 20:26 | #35

    @mike:
    The plugin is designed to allow widgets its own widgets to be displayed anywhere. This does involve adding the code where you want it to appear.

  1. June 27th, 2008 at 09:15 | #1