Add to Technorati Favorites


Those Were The Days ~ Plugin

Version 0.2 of the plugin is now available - this version is compatible with version 2.3 of wordpress.

This is a featured posts plugin that uses the Wordpress cron (scheduled task) functionality to allow your featured posts to change over time without your intervention. Set it up and watch it go!

You can download it and get more details from here.

I’m always looking for suggestions on how I can improve things, any feedback on testing or suggestions for amendments to Those Were The Days will be gratefully received.

Please post any comments below…..

Posted in Wordpress |

19 Responses to “Those Were The Days ~ Plugin”

  1. Tony Says:

    Extra nice plugin. Thanks.

    The font of the links in my Featured Post… section on the sidebar is a bit oversized compared to all other sidebar widget text… (see spart7.info/7blog)

    If you know of a way to modify that font in the TWTD widget content I’d be grateful to hear it?

    Thanks again, and will do a PayPal on my way out!

  2. bochgoch Says:

    Really pleased you like it and thanks for the paypal Tony.

    Easiest way to change the font size is to edit the style sheet - login as admin then select Presentation | Theme Editor | Style Sheet / style.css), scroll to the bottom of the stylesheet and add the styles below:

    #thosewerethedays .widgettitle
    {
    font-size:0.9em;
    }
    #thosewerethedays p
    {
    font-size:0.9em;
    }

    …play around with the 0.9em making it smaller (0.8em) or larger (1em) to suit. The first entry (#thosewerethedays .widgettitle) is for the title, the second (#thosewerethedays p) for the link paragraphs.

    Let me know if you need further help.

  3. Tony Says:

    Thanks for the kick in the right direction!

    Cheers…

  4. lina Says:

    Hello,

    I installed “Those Were The Days ~ Plugin” onto my server and followed every step to activate it and
    drag the widgets sidebar. When I returned to my blog, no featured posts showed up. Did I miss anything?

    My blog is www.thesbeauty.com/blog

    Lina

  5. bochgoch Says:

    lina, did you refresh the site a couple of times to allow the plugin to kick-in?

  6. Jon Says:

    Hi, Thanks for making the plug-in. I am having one major issue.

    When I am on the plugin options screen, some of my posts are listed only once, others are listed 3 or 4 times. For the ones that are listed 3 or 4 times, even if I check them only once, when I hit “update options” it defaults to checking them ALL off…wouldn’t be a big deal, except it means that post is in the featured posts rotation 4 times…so my featured posts list has the same post listed 3 times.

    Anyway I can avoid this?

  7. bochgoch Says:

    By email>>

    Hello Martin,
    how can we install the plugin into page.php….. just like http://www.problogger.net/
    regards,
    Carlos

    Sorry Carlos widgets only at the moment ~ try If You Liked That for featured posts in the page body.

  8. paulo Says:

    Hey, I just installed the widget, but it’s not working with WP 2.3 :(
    I guess they’ve changed the database structure. I can activate it, but i get these messages when I try to configure the plugin:

    Your Posts

    WordPress database error: [Table ‘narua_wordpress.wp_post2cat’ doesn’t exist]
    SELECT t1.ID, t1.post_title, t1.post_date, t1.post_content, t3.display_name, t2.category_id FROM wp_posts t1, wp_post2cat t2, wp_users t3 WHERE t1.ID=t2.post_id AND t1.post_status = ‘publish’ AND t1.post_author = t3.ID ORDER BY t1.ID LIMIT 9999

    Your Blog Categories

    WordPress database error: [Table ‘narua_wordpress.wp_categories’ doesn’t exist]
    SELECT t1.cat_id, t1.cat_name FROM wp_categories t1

    Has WP simply got rid of categories? I appreciate if you have any answer to that issue.
    Thanks.
    Paulo.

  9. Ian Says:

    I’m getting duplicates on all the posts. They show up when selecting the posts, and duplicate again in the actual display. It looks like it might be giving each post an entry for every category it’s in. I can just select one of the duplicated posts, but when I update it automatically checks them all. Any ideas?

  10. bochgoch Says:

    Jon / Paulo / Ian,

    Sorry for any hassle guys, but a new version of the plugin that is 2.3 compatible and should sort out any duplicate post issues is now available … enjoy

  11. Super Dave Says:

    This isn’t quite 2.3 Compatible see:

    I’m getting the error:

    WordPress database error: [Table ‘XXX.wp_post2cat’ doesn’t exist]

    This happens when I try to select categories. The following support topic describes the problem. It appears as though SQL database changes have been made in 2.3 which break some plugins.

    http://wordpress.org/support/topic/134771

  12. alexa Says:

    Hi - I’m trying to add the Those Were The Days widget to my WP blog but when I add it to the sidebar, I get: TWTD error occurred!
    It installed fine, I set up the options and can add the widget seamlessly, so I’m not quite sure what I might be doing. any help would be appreciated - thanks!

  13. bochgoch Says:

    Dave - sounds like you’re using an old version of the plugin (probably 0.1) download the current version 0.2 from here

    Alexa, you get that error when you’ve not selected which posts to feature - choose some posts to feature and let me know if that works!

  14. Graham Smith Says:

    HI ya,
    Been using your plugin for some time, and it’s been totally great. I need to ask some advice in relation to styling. I have seen the post above about changing the CSS, but what I would like to do is for this plug-in to take the default styles for the WP theme I use.

    Some 3rd party plug-ins do this, so the titles, the links, the lists all are styled according the the theme CSS. If you check my site out you will see that the Twitter Tools for example uses the theme CSS.

    I have been playing around for some hours comparing your code to that of plug-ins, but I just cannot work out what’s what.

    If you are able to explain how I can ensure this plug-in take the default CSS that would be really really useful.

    Many thanks
    Graham

  15. Graham Smith Says:

    JUst to add, when I use the Web Developer plug-in, the other plugins show a DIV class of .bottombar, incasing the whole widget… but yours and some others do not. I was trying to work out how to apply this DIV to your code… Hope that makes sense.

    It is a really good plug-in, if I can just get the sttyling right then I will be one happy chappy. :)

    For example, links generally don’t have an underline but do have a grey seperator line, slightly indented. As you can see from the Twitter Tools.

    Thanks again,

  16. Graham Smith Says:

    Me again, so sorry about all these posts. Please feel free to delete them if you feel they are too much.

    I have sort of worked out how to change the title. This is the default CSS for the .bottombar, links and lists:
    /* SIDEBAR LISTS */
    .bottombar {
    }

    .bottombar h2 {
    font-size: 1em;
    font-weight: bold;
    line-height: 1em;
    margin: 1em 0 1em;
    }

    .bottombar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    }

    .bottombar ul li {
    list-style-image: url(images/li.png);
    background-repeat: no-repeat;
    border-top: 1px solid #e5e5e5;
    line-height: 1.5em;
    margin: 0 0 0 1em;
    }

    .bottombar ul li a:hover {
    background: #333;
    color: #0099cc;
    text-decoration: none;
    }

    I am at a loss though on how to ensure the actual shown posts are styled according to the above CSS, is this possible?

    Sorry again for my posts, I am trying to work it out myself, but my knowledge of PHP is just awful. :)

  17. Naved Says:

    i am also getting the same erorr “TWTD Error Occured” just like alexa. i have selected which post to feature , but still getting the same error.

  18. Alexa Says:

    Hi Dave - I checked and I do have version 0.2 installed and tried with and without selected posts - could it be my theme? using sandbox - and I do have some HTML and some sidebar widgets in my sidebar (others work just fine). thanks for your help -

  19. bochgoch Says:

    Sorry Graham - only just getting around to my backlog of comments…

    The styling on this plugin isn’t the best - the links are in HTML paragraphs

    rather than lists as they should be and as your examples use. This is one for the new version.

    Sorry for any inconvenience and thanks for the feedback.

Have your say