Quote:
Originally Posted by Old-Git
I have 'archive' forums which are set as not active so they don't show up on the main forum page. I am attempting to use forum.php?f=xx to display those forums on their own page. xx is the forum ID of the top category forum under which all my archive sub-forums reside.
Obviously if I do this with forum.php I get to see my archive forums but the highlight remains on the forums tab because that is what forum.php is coded to do. So I have 'cloned' forum.php and renamed it archives.php and then called it from the new Archive tab, as I would forum.php, (only difference is I edited the THIS_SCRIPT setting in my cloned file so that it says 'archives' rather than 'index'). All this is correct and if I call archives.php without passing any parameters to it it works fine and highlights the Archives tab I created (but it does not show my archive forums only the main forum page...I need to hand it the forumid of my 'archives' in order to see them). However, if I call archives.php and hand it ?f=xx (where xx is the forumid) then it refuses to highlight the Archives tab. Calling archives.php and the highlight stays on the Archives tab. Calling archives.php?f=xx and it does not highlight the archive tab but reverts to the forum tab. Doesn't matter which tab I was on before clicking the Archives tab it always reverts to the forum tab. Any ideas?
|
I can see what you are trying to do, and it is not doable with the Lite version of this hack. However, it is with the full version..... you can see a demo of it in action on my site (link in the first post) by clicking on the
Forum Tab Demo tab (the type will work with both visible and invisible forums) and no need to replicate and rename files etc,.
If you have more questions regarding the full version, register on my site and ask them there please.