This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

ID and Custom ID
#1

Hi, everything works great, but...
in one page my ID is 36, commentics ID is 2 and the same comments are under page where is my ID 2... and this page doesnt exist in commentics database.

Can I solve it somehow without future similar problems?

btw.:
Why commentics use ID and Custom ID, its much easy make the same ID for both i guess
Reply
#2

Hi,

There are two types of ID because of backwards compatibility with earlier versions of Commentics. This thread explains it a little.

I see the problem you have. In the next version I'll remove how it uses the ID if a custom ID is not found.

In the meantime you could remove it yourself:

1. Open comments/includes/functions/page.php

2. Remove the following lines (174 to 176):
PHP Code:
<?php 
} else if (mysql_num_rows(mysql_query("SELECT * FROM `".$mysql_table_prefix."pages` WHERE id = '$page_id'"))) { //if ID is found and is not custom

return $page_id;

Have you completed the interview?
Reply
#3

It works, thank you so much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)