Topic: extensions and rewrite rule

hi

in enabled the fancy file based url rewriting.

but now i want some of my extensions to use rewriting to, how can i do this?
what hooks can i use?

at the moment i use one hook to modify the url schema of the forum

<hook id="co_modify_url_scheme"><![CDATA[
                        $forum_url['linkdb'] = 'extensions/'.$ext_info['id'].'/linkdb.php';
                        $forum_url['linkdb_grp'] = 'extensions/'.$ext_info['id'].'/linkdb.php?currentgrp=$1';
                        $forum_url['linkdb_add'] = 'extensions/'.$ext_info['id'].'/linkdb.php?add=1';
                        $forum_url['admin_linkdb'] = 'extensions/'.$ext_info['id'].'/admin.php';
                ]]></hook>

how do i add rewriting?

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: extensions and rewrite rule

nevermind in rewrite.php there was the correct hook .....

~Cereal
I've finally learned what "upward compatible" means. It means we get to keep all our old mistakes.
The limits of language are the limits of one's world.

Re: extensions and rewrite rule

pun_pm supports URL rewriting. You can look how it's made: http://punbb.informer.com/trac/browser/ … t.xml#L535