Thanks kierownik
2 2008-03-14 19:21
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
And a hook before "@natcasesort($url_schemes);" in admin/options.php to add new method of URL Rewriting Scheme ?
For example :
$url_schemes[] = 'Method.php';
Maybe aop_add_url_scheme ?
3 2008-03-08 15:24
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
I need a hook at the top of generate_navlinks function to add links before default links.
4 2008-03-08 14:39
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
It works Thank you very much Smartys
5 2008-03-08 14:26
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
When I install an extension with URL rewriting sheme is File_Based, $pun_url['index'] = index.php instead of index.html
6 2008-03-08 14:21
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
I know, I want to modify pun_rewrite_rules too
I have a problem with an extension, when the URL rewriting sheme is File_Based, I can't modify $pun_url['index'] var. Here is my code :
<hook id="co_common"><![CDATA[
if ($pun_config['o_sef'] == 'Default')
$pun_url['index'] = 'index.php';
elseif ($pun_config['o_sef'] == 'File_Based' || $pun_config['o_sef'] == 'File_based_(fancy)')
$pun_url['index'] = 'index.html';
elseif ($pun_config['o_sef'] == 'Folder_Based' || $pun_config['o_sef'] == 'Folder_Based_(fancy)')
$pun_url['index'] = 'index/';
else
$pun_url['index'] = 'index.php';
]]></hook>
I hope you understand my question, I'm not very good at english
7 2008-03-08 13:53
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
Sorry, the hook I was searching is in rewrite.php ^^
8 2008-03-08 13:41
Re: Hook requests (151 replies, posted in PunBB 1.3 extensions)
Hook after URL rewriting scheme (include/common.php) to modify $pun_url var.
9 2008-03-08 13:01
Re: Adding to query (question) (7 replies, posted in PunBB 1.3 troubleshooting)
Thanks Smartys
10 2008-03-08 10:50
Re: Adding to query (question) (7 replies, posted in PunBB 1.3 troubleshooting)
I want to add an other table in INNER JOIN. How can I do that ?