Lance - are you manually putting these in or do you run a script?
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
Quote from: adminQuote 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
I'll email it to you.
Lance
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
Quote from: OzOneQuote 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