Use custom tables from DB?

[ad_1]

So instead of comments, I store the comment data in a custom table and fields. For example, in the custom_comment table, whevenever a user comments it gets stored in the field user_id (so user 78 makes three comments, then three ’78’ appear in user_id). Is there any way to get this plugin to work so that instead of counting the ‘comments’ it would be able to count the ‘custom comments’? Basically, I am trying to set up ranks where users achieve certain ranks by the number of custom_comments. Need to hook into that somehow. Any ideas? Thanks.

Edit: Nevermind, the comments are also in the wp_comments table.

Edit #2: Can’t get the ‘comment on a post’ function to work.

Edit #3: Figured it out. Had to import the comments via Tool –> Recount Activity as wasn’t imported on install.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer