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

Show Rating in another Page
#1

Reply
#2


Have you completed the interview?
Reply
#3

Thank you for answering.

I added the code and uploaded.

It is showing -Access Denied.-

May have to Change some permissios per FTP? Wich ones?

May be importand to know I just upgradet to the Version 2.5.
Reply
#4

permissions on connect.php is 644.

Is that OK?
Reply
#5

I did the following.

I changed this part of the Code:
$cmtx_identifier = '1'; // Change this for each of your pages.
define('IN_COMMENTICS', 'true');

to:
$cmtx_identifier = '1'; // Change this for each of your pages.
$cmtx_path = 'comments/';
define('IN_COMMENTICS', 'true');


And Jet the "access denied" is gone.
But it does Show only a "0" . No Stars. It should Show 3 Stars for $cmtx_identifier = '1' .

I would be so happy if you coud help me again Steven .
Reply
#6

Hi,

If you're using v2.5 then you need to change the MySQL functions to MySQLi.

I can reply again tomorrow with the code but if you want to do it yourself in the meantime then download the 'Recent Comments' add-on from the add-ons page (it uses MySQLi) and the code there should give you an idea of what you need to do.

Have you completed the interview?
Reply
#7

OK thanks.

My PHP knowledge is not very good, but I will download the add-on and install it.
Then I will try to look at the code and try to do it myself.

I will post tomorow, what I have done.
Reply
#8

Reply
#9


Have you completed the interview?
Reply
#10

Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Seven Thunders
21-Aug-2018, 04:05 AM
Last Post by cecilia
15-Jun-2014, 01:08 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)