MW Comments/Trackbacks

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rafi
Forum Newbie
Posts: 19
Joined: Wed Nov 24, 2004 9:36 am

MW Comments/Trackbacks

Post 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 !
User avatar
smpdawg
Forum Contributor
Posts: 292
Joined: Thu Jan 27, 2005 3:10 pm
Location: Houston, TX
Contact:

Post 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?
rafi
Forum Newbie
Posts: 19
Joined: Wed Nov 24, 2004 9:36 am

Post by rafi »

not sure;<
User avatar
smpdawg
Forum Contributor
Posts: 292
Joined: Thu Jan 27, 2005 3:10 pm
Location: Houston, TX
Contact:

Post by smpdawg »

Did you come up with that name or did you read it somewhere?
rafi
Forum Newbie
Posts: 19
Joined: Wed Nov 24, 2004 9:36 am

Post 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..
Post Reply