automatically updatable widget

  • Author
    Posts
  • #97442

    rtiarea7
    Member

    This blog is for a group of close to 300 members. I have a database of the members birthdays and anniversaries. In the blog, I update daily the members who are celebrating their birthday or anniversary in 2 different text widgets. Would it be possible to have a widget that would automate this process based on today’s date.

    #97842

    katm
    Member

    If you’re on WordPress.com, I’m going to say most likely no. It would take some sort of scripting to pull stuff out of a database and show it. And scripts get stripped here for security concerns.

    On a self hosted wordpress blog, I don’t see why not. It seems like it would be a fairly simple MySQL (or whatever database you have) lookup (select where type syntax) and some PHP to present it. Not that I could code my way out of a paper bag…

    #97895

    drmike
    Member

    If you are hosted elsewhere, I would take a second and look over the plugin list at the codex to see if something is available already:

    http://codex.wordpress.org/Plugins

    #97913

    rtiarea7
    Member

    I am very much hosted on wordpress and the blog is under construction

    #97914

    raincoaster
    Member

    You could do it as automatic posts (changing the datestamp when you write them up to set the correct day), but it would appear in the blog itself on the day in question instead of in the sidebar.

    #97925

    rtiarea7
    Member

    Thanks raincoaster for the reply. Like I said, I am very new to blogging. I have this text widget on the side bar and need to update daily based on if any of the group member is celebrating their birthday or anniversary. I can generate the html code for the text widget on my machine on a daily basis and can name it appropriately. Is there any way for this html code to automatically get into the text widget. May be I am asking for a whole lot.

    #97931

    katm
    Member

    There’s no way I know of to pull information automagically from your local machine to the text widgets. But maybe drmike does.

    #97939

    drmike
    Member

    Not with what we have here. Please note that hosted on wordpress and hosted on wordpress.com are two different things. That’s why we were asking you where you were actually hosted as our answers would be different for each situation.

    You could do it if you were using the wordpress software from http://wordpress.org and were hosted elsewhere. May require some coding though.

    You can not do it here with the WordPress Multiuser software and being hosted here at http://wordpress.com You would have to add in code and, since we’re on a shared enviornment, that would be a secuirty risk.

    #97947

    rtiarea7
    Member

    Sorry about not being clear in my earlier posts. I am hosted on wordpress.com. I think it will be easier to update the text widget on daily basis manually.

    #97950

    drmike
    Member

    Not a problem :)

The topic ‘automatically updatable widget’ is closed to new replies.