<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a voting system in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/444086#M23482</link>
    <description>&lt;P&gt;Thankyou for this information, I'll take a look deeper into these also.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 10:16:26 GMT</pubDate>
    <dc:creator>CEM-Andy</dc:creator>
    <dc:date>2021-06-04T10:16:26Z</dc:date>
    <item>
      <title>Creating a voting system</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443669#M23445</link>
      <description>&lt;P&gt;I'm new to hubspot and the system as a whole. We are currently running on the CMS Pro package and have been tasked to make a webpage that has a list of 'ideas/comments' which visitors will be able to click a button next to each one to 'Up Vote' the idea/comment. I need some help in how to get this started or what I need. For example, is this type of functionality even available on the CMS Pro package or do I need to upgrade to the Enterprise version?&amp;nbsp;&lt;BR /&gt;Basically what I think we need is the capability of when someone clicks on the button it will increment the up vote and add this new value to the hubdb database (as I believe the HubDB would be best to store the information). Can I do this within hubspot? Do I need to get another host that supports PHP/Node etc?&lt;BR /&gt;I really just need some pointers for the best way to progress (as I dont really want to get the Enterprise if I dont even need it).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks. (I hope that makes sense)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 10:08:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443669#M23445</guid>
      <dc:creator>CEM-Andy</dc:creator>
      <dc:date>2021-06-03T10:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a voting system</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443751#M23449</link>
      <description>&lt;P&gt;I think you are on the right track and would have a column for "votes" for each row in a HubDB. You could then use the hubdb api to get the value and incremint one and then put the new value.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://legacydocs.hubspot.com/docs/methods/hubdb/v2/update_cell" target="_blank"&gt;https://legacydocs.hubspot.com/docs/methods/hubdb/v2/update_cell&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 13:13:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443751#M23449</guid>
      <dc:creator>Jake_Lett</dc:creator>
      <dc:date>2021-06-03T13:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a voting system</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443767#M23452</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;BR /&gt;The HubDB API can be accessed with just the CMS Pro? or would I need CMS Enterprise to do this?&amp;nbsp;&lt;BR /&gt;Reading up on some of the documentation is confusing, as some say I need another server to handle the requests (via php) in order to hide the API Key etc. Or is there a way to do this through HubL?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 13:51:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443767#M23452</guid>
      <dc:creator>CEM-Andy</dc:creator>
      <dc:date>2021-06-03T13:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a voting system</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443768#M23453</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/72866"&gt;@Jake_Lett&lt;/a&gt; , I am with&amp;nbsp; you in this is a good direction.&amp;nbsp; The only problem is that you will need to auth in to work with HubDB and you do not want to expose your hapikey on the front end.&amp;nbsp; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/180974"&gt;@CEM-Andy&lt;/a&gt; , you are going to want to have some middleware to perform that transaction.&amp;nbsp; Upgrading to Enterprise for &lt;A href="https://developers.hubspot.com/docs/cms/features/serverless-functions" target="_blank" rel="noopener"&gt;serverless functions&lt;/A&gt; is an option, but for this, it might be overkill when considering the pricetag.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:01:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/443768#M23453</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-06-03T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a voting system</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/444075#M23480</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133"&gt;@stefen&lt;/a&gt;&amp;nbsp;wrote a &lt;A href="https://www.kelp.agency/blog/how-to-enable-cors-ajax-requests-for-any-hubspot-api" target="_blank" rel="noopener"&gt;helpful totorial&lt;/A&gt; on how to setup some php on a server to allow ajax calls on an API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other ideas:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Using airtable or google sheets to store/update the data&amp;nbsp;&lt;A href="https://airtable.com/api/meta" target="_blank"&gt;https://airtable.com/api/meta&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Leverage social media widgets "vote with a like" "vote with a tweet"&amp;nbsp;&lt;A href="https://developers.facebook.com/docs/plugins/like-button/" target="_blank"&gt;https://developers.facebook.com/docs/plugins/like-button/&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 04 Jun 2021 09:52:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/444075#M23480</guid>
      <dc:creator>Jake_Lett</dc:creator>
      <dc:date>2021-06-04T09:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a voting system</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/444086#M23482</link>
      <description>&lt;P&gt;Thankyou for this information, I'll take a look deeper into these also.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 10:16:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Creating-a-voting-system/m-p/444086#M23482</guid>
      <dc:creator>CEM-Andy</dc:creator>
      <dc:date>2021-06-04T10:16:26Z</dc:date>
    </item>
  </channel>
</rss>

