Jump to content

(M34) Sidebar Poll


Michael.J

Recommended Posts

(M34) Sidebar Poll


Adds the poll contents from a topic into your forums sidebar. Topic selected from the admin cp. Includes permissions for who can view the sidebar poll. More information on copyright removal can be found here.

Find IP.Board 4 version here.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


  • Submitter
  • Submitted
    07/19/2011
  • Category
  • Discussion URL
  • Support Info
    <p>Get support from discussion topic.</p>
  • Supported Versions
    IP.Board 3.3.x,IP.Board 3.4.x
Link to comment
Share on other sites

  • Replies 106
  • Created
  • Last Reply

This is a great idea, and I've just added your 3.1 version to my board and I love it! I was just curious if you were going to make a version where it pulls randomly from a forum, not just a thread. :D



Great mod by the way!!




Do you happen to have the link to the 3.1 sidebar poll Timberwolf? Thanks in advance. %7Boption%7D
Link to comment
Share on other sites


This is a great idea, and I've just added your 3.1 version to my board and I love it! I was just curious if you were going to make a version where it pulls randomly from a forum, not just a thread. :D



Great mod by the way!!




I do still have the suggestion saved for future use but for the IPB 3.2 upgrade, I'm just updating for IPB 3.2 compatibility without any major changes. I don't want to get bogged down testing new features, once all the upgrades are out of the way, I will revisit upgraded mods.


Do you happen to have the link to the 3.1 sidebar poll Timberwolf? Thanks in advance. %7Boption%7D




http://community.invisionpower.com/files/file/3170-m31-sidebar-poll-101/
Link to comment
Share on other sites

  • 1 month later...

Get this when activating it:

Fatal error: Uncaught exception 'Exception' with message 'topics is not an object' in /home/xxxxx/public_html/admin/sources/base/ipsRegistry.php:1039 Stack trace: #0 /home/xxxxx/public_html/admin/applications/forums/modules_public/forums/topics.php(690): ipsRegistry::getClass('topics') #1 /home/xxxxx/public_html/hooks/sidebarPollHook_ae17de73c362e91d47f7169182f1243a.php(91): public_forums_forums_topics->_generatePollOutput() #2 /home/xxxxx/public_html/admin/sources/classes/output/publicOutput.php(3336): sidebarPollHook->getOutput() #3 /home/xxxxx/public_html/admin/sources/classes/output/publicOutput.php(2639): output->templateHooks('<!DOCTYPE html>...') #4 /home/xxxxx/public_html/admin/applications/forums/modules_public/forums/boards.php(127): output->sendOutput() #5 /home/xxxxx/public_html/admin/sources/base/ipsController.php(302): public_forums_forums_boards->doExecute(Object(ipsRegistry)) #6 /home/xxxxx/public_html/admin/sources/base/ipsController.php(120): ipsCommand->execute(Object(ipsRegistry)) #7 /home/xxxxx/public_html/adm in /home/xxxxx/public_html/admin/sources/base/ipsRegistry.php on line 1039

Poll URL is added too. Hope this can be fixed :smile: Thanks.

EDIT: Removing topic from the URL stops the board from throwing the error but no poll is shown.

Link to comment
Share on other sites

  • 1 month later...

how can i post a poll ? i can't seem to find any thing inside the hook to post a new poll.




Have you tried following step 3 of the hook's read me file?


Step 3: Using Hook



Open the Admin CP > System Tab > System Settings > DevFuse tab > (M32) Sidebar Poll. From there you can setup the settings for this hook.

Link to comment
Share on other sites


yes i have read that. I only see these things inside that installed hook.





How am i suppose to enter the questions and the options to be displayed in the community?




We're not using 3.2+ just yet, but we were using this hook for 3.1.4, but I'm assuming the settings are the same. So from my understanding of how to set up this hook is, first you start a topic that will include a poll with your desired question/s and its options. Once you're done creating the topic/poll, copy and paste the link to that topic/poll you just created in the field marked: "Topic URL".
Link to comment
Share on other sites


But I believe IPB doesn't allow guests to vote anyway?




You're right, IPB doesn't. I could be wrong, but I think I read somewhere that the reason for that was because guests would tend to abuse the voting in the polls and some other resource reason I can't remember. That's a shame though. It would be nice to allow guests to vote, but also include a way to somehow control the abuse of the voting. Sometimes it's interesting to know what people (who are not members) think about a certain topic using a poll hook like this without necessarily forcing them to register.
Link to comment
Share on other sites

  • 1 month later...

I have a dark skin and the sidebar poll title color is too dark, how do I change this to show the same color as all other (Main) text?

Text on all other skins are fine, the poll text is also fine on the dark skin (see examples bellow):

Dark skin text (as you can see the other text is fine):

%7Boption%7D

All other skins are fine:

Example 1 (IP.Board Skin):

%7Boption%7D

Another dark skin:

%7Boption%7D

Same dark skin with wrong color text in sidebar poll, but you can see all other sidebar text is fine:

%7Boption%7D

Any suggestions?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...