Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

Change Log

At Home Polls - 2.2.1 by Tanweth

2.2.1 - Added compatibility with ASB v2.1. If you do not use the ASB Edition, there is no reason to upgrade.

2.2

  • Globalized the $homepoll variable on the Standard Edition. Now you can add the poll to any page of your forums by placing "{$homepoll}" in any template (with some exceptions, including the header template). By default it still only displays on Index and Portal, and display on those pages can still be enabled/disabled in settings.
  • Improved the way the redirect back to the page where a poll action was taken is handled. It should now work on any page of the forums without issue. However, the redirect after editing a poll has been removed entirely. That implementation was more complex than I felt was worth to keep it around.
  • Fixed an issue where the pollbar graphic wouldn't appear on the Show Results page on the ASB Edition.
  • Cached the version number to make future upgrades easier (Standard only).


2.1
  • Now when users vote (or do any other poll action), they're redirected to the page where they voted rather than the poll's thread. The original behavior can be restored with a setting. There are two exceptions to this. ASB: The member profile pages. On these pages, the user is redirected to the forum index. Standard: Users are redirected to the forum index when editing the poll, even if they commenced the action from the Portal.
  • Added a setting to disable display of the poll if it is closed.
  • Standard: Fixed some display issues and made other improvements to the compact layout.
  • Standard: Templates are now added to the global template list when applicable, so that they aren't generating unnecessary database queries.
  • Improved the code's compliance with the MyBB Development Standards.
  • General code optimizations.


2.0.3
  • Corrected an issue on the ASB Edition where multiple poll sideboxes on the same page would display the same number of total votes.
  • Added an edit poll link visible to moderators of the poll's forum on both editions. This can be enabled and disabled with a setting on the ASB Edition (it is enabled by default).


2.0.2
  • Changed the way the total votes are displayed on the ASB Edition and compact layout, since it tended to take up two lines when the vote count reached double digits after the 2.0.1 edits.
  • Added an install routine that controls settings to the Standard Edition. This way you can deactivate it for an update without losing your custom settings.


2.0.1 - Made the ASB sidebox (or compact version on Standard) scale better to lower widths:
  • The width of the pollbars is now smaller on the compact version (Standard), and dynamically adjusts to the width of the sidebox (ASB).
  • The "Show Thread" and "Show Results" links now simply say "Thread" and "Results" so that they are more likely to fit on one line (ASB & Standard if compact layout).
  • Percentages are now represented as whole numbers with no decimal places to reduce the amount of space used (ASB & Standard if compact layout).
  • Fixed an issue where a piece of text was directly entered in the template rather than read from the language file.
  • Fixed the name of the settings group (previously called "Polls At Home") (Standard).


2.0
  • Renamed to At Home Polls (from Poll Box).
  • Added a MyBB plugin for those who prefer not to use Advanced Sidebox.
  • Fixed an issue introduced in Advanced Sidebox 2.0.5 whereby template edits would not be saved.
  • Fixed an issue where a postParser error would prevent viewing certain pages if the Poll module was enabled on those pages.
  • Rewrote most descriptions and instructions to be more helpful.
  • Other minor code revisions.
  • Minor changes to the compact layout to improve display.


1.0.2 - Added info on module and all settings to the language file, as this was previously overlooked (*smacks forehead*).

1.0.1 - Added "return true" if the sidebox has something to display, so that it will display for users who set "Show Sideboxes With No Content?" to No in Advanced Sidebox.