fixed posting sql
replace slashes in post id with hyphens
thread_id in url no longer needs to be int
changed everything, kinda working