Page 1 of 1

MW Comments/Trackbacks

Posted: Fri Feb 25, 2005 1:23 am
by rafi
Hello.
I'm trying to add comments to my site..
using this script..

http://www.meyerweb.com/eric/tools/word ... backs.html

And I've been getting this error:

Fatal error: Call to undefined function: trackback_url() in F:\Webspace\disk20\oktober.co.il\oktober.co.il\www\rafi\test\hello.php on line 13

this code i've entered in the php file was :

<a href=”<?php trackback_url() ?>”>Trackbacks (<?php mw_trackbacks(’count’) ?>)</a>
Pings (< ?php mw_trackbacks('count') ?>)

I guess that I need to set a refer for mw_trackbacks to mw_trackbacks.php..but I don't know how to do it...
Can anyone please give me a SQL code for phpmyadmin so I could just write it and it'll be add ?
Thanks alot !

Posted: Fri Feb 25, 2005 1:31 am
by smpdawg
What is trackback_url()? I don't see it in the script at MW. To use the script you need to do this

Code: Select all

include('mw_trackbacks.php');
But I am not sure what the point is because it doesn't have a function called trackback_url() in it. Where did that come from?

Posted: Fri Feb 25, 2005 1:40 am
by rafi
not sure;<

Posted: Fri Feb 25, 2005 2:10 am
by smpdawg
Did you come up with that name or did you read it somewhere?

Posted: Fri Feb 25, 2005 2:33 am
by rafi
That script seem too difficult..
I've been trying to work out this script..
And I think I've made it..
http://www.oktober.co.il/rafi/test/new/songs.php

from here:

http://www.adnan.org/phpcomments/origcode.html

only problem is that it doesn't seem to be adding the comments..
or that I can't seem to read them..
there's nothing in the comments dir..