Ebay items in the forum

Started by xlar54, December 04, 2006, 04:29 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

xlar54

Lance - are you manually putting these in or do you run a script?

Blacklord

Quote from: xlar54Lance - are you manually putting these in or do you run a script?
Manual at the mo - have partially written a PHP script that'll pull items & add 'em in - however there's a couple of odd bugs that I need to stamp out as it's pulling incorrect items as well - script is around 80% working though.

cheers,

Lance

OzOne

Quote from: admin
Quote from: xlar54Lance - are you manually putting these in or do you run a script?
Manual at the mo - have partially written a PHP script that'll pull items & add 'em in - however there's a couple of odd bugs that I need to stamp out as it's pulling incorrect items as well - script is around 80% working though.

cheers,

Lance
Can you post the source, can have a look at it if you like. Where's it failing?

Oz

Blacklord


OzOne

Quote from: adminI'll email it to you.

Lance
Got it - I've emailed back an update for you. This fixes the field for "POST_TO" & seems top work on the test SQL db I have up & running. To do that though, I've moved it out of the subject line & into the body of the post. Leaving it where it was does some screwy stuff to the subject line (as you pointed out in your email).

The From: field can only contain a valid username at the moment, else PunBB throws the post away - this doesn't happen when anonymous posting is allowed, but I can see several reasons why you wouldn't allow this.

I don't want to test on the forums - can you do this ?

Oz

Blacklord

Quote from: OzOne
Quote from: adminI'll email it to you.

Lance
Got it - I've emailed back an update for you. This fixes the field for "POST_TO" & seems top work on the test SQL db I have up & running. To do that though, I've moved it out of the subject line & into the body of the post. Leaving it where it was does some screwy stuff to the subject line (as you pointed out in your email).

The From: field can only contain a valid username at the moment, else PunBB throws the post away - this doesn't happen when anonymous posting is allowed, but I can see several reasons why you wouldn't allow this.

I don't want to test on the forums - can you do this ?

Oz
Ok - will test this later today - code looks ok from here.

Lance