Quote:
Originally Posted by Dankness
theres a option to do that stuff in vba...
In The Older VBA the option in the admincp was Rewrite Filenames or something, and clientscript was already picked. Just add forumdisplay.php to it and it should automaticlly rewrite the urls. I guess in the next release I'll go ahead and rewrite all the url's to formdisplay to start with its already a variable, I just didnt need it on my install so didn't feel it was worth time adding.
|
Thanks for the mod Dankness.
I have some things to tell/ask you:
1. In the zip file, in the upload\modules directory, the file treemenu already exists, but since we have to upload the .module file that recreates the treemenu.php file it generates confusion. I think you should let the .module file create the .php file in the module subdir; so remove the module/treemenu.php file from the zip.
2. Update the .module file in the zip with the updated one for vBa 3.0 RC2.
3. With the updated .module (vBA 3.0 RC2), the following code in the treemenu.php gilr does not exist:
PHP Code:
//---> Add Forum IDs to This Array if You Use Them as a Catagory and Not a Forum, It Will Remove Linking To These Forums
$forums_array = array(0);
4. I already had configured forumdisplay.php in the vBAdvanced Global Options in order to let vBA rewrite the urls of the script with the prefix of the forum's URL (/forum) but it doesn't work with your hack. I had to manually edit treemenu.php putting "/forum" before the 3 calls to forumdisplay.php.
Thank you again for this hack.