Fork me on GitHub

PN forum  Bottom

  • Is there any way to have a poll at the top of a certain thread post or topic. Somthing where the members have to use the pole.

    Like say I wanted to do a BBQ at my house, but there were 3 dates available. How can I have a poll in the thread where the members can put their choice on a poll.
  • Hi,

    sorry, there is no poll integration for pnForum available yet.
    But pnForum has been designed in order to fit into the PostNuke environment nicely. Therefore it can be enhanced and customized with the help of hooks or Smarty plugins. So there are powerful means present, only the realisation is missing.

    There are several approaches possible:

    The nice solution would be to enrich the Advanced_Polls (or any other Polls) module with a create hook. This is the way I am including the current development version of pnUpper into pnForum (demo). This way one can create new uploads during writing a new post at once. This is no easy task though.

    Another option is to use the needle functionality offered by the MultiHook module. Any module can register new needles which can than be used to describe complex contents with only a simple string. So you could write something like LINK_NEWS_45 and the result is a link pointing to a particular article. In the same manner one could replace POLL_123 by a template output fetched from the Polls module.

    Adding needle functionality to a Polls module is probably less effort than the hook based integration, paying the price that there is no real assignment. Hooks know for themselves where their contents is included, while the needle is just a string.

    A compromise would be to use simply the default display hook functionality. Then you have to add the poll after you wrote the article, but you can easily place this specific hook to a desired place into your template.

    See also this feature request.

    HTH!

    --
    Guite | ModuleStudio
  • hmmm all of those options seem pretty tricky seeing as I am a newbie to some of this stuff. lol

This list is based on users active over the last 60 minutes.