Notifications
Clear all

Script [Closed] How to add votes on other pages of site

2 Posts
2 Users
0 Likes
902 Views
Posts: 1
Topic starter
(@mshartz)
New Member
Joined: 2 years ago

We are building a new site similar to something like Kickstarter where prototypes are featured on the homepage and other places. There are core topic posts featured in the WPForo section of the site where we have voting. Is it possible to pull the vote data for a specific topic? What table and what is the name of the data column I am looking for in the Database?

According to the forums, there is nothing about shortcodes that do this, but we can query the database table directly using PHP since we have the skillset. Just seeing if it is possible, and if so, what data should we be attempting to query?

1 Reply
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @mshartz,

wp_ is the prefix, it may be different for you.

The column is in wp_wpforo_posts.