Can i know how would you do to translate this url (a portal URL) to the SEO url ?
viewtopic.php?f={$post['forum_id']}&t={$post['topic_id']}&p={$pid}#p{$pid}
Its a php string as u can see, variables are
$post['forum_id']
$post['topic_id']
$pid (post id) taken before with a query on the database.
I cant really sort it out,looked a little bit on the code but the portal just gets data from the posts table so i dont know how to do the seo url there.
I will post example code from mkportal get_last_posts function.
http://pastebin.com/m4f9c9b3d
Thanks in advance

English |
French
