ok.. i made a subroutine that creates the select list of a tree of the forum structure.. which shows up at the bottom of every page (well.. going to be every page when i finish updating templates)..
i also made a show topics in X days for the boards.. you can test that out.. it also saves a cookie as your preference for future use.. i couldn't use an SQL command to that.. the UNIX_TIMESTAMP doesn't work and there is no substitute for DATETIME.. so i just put a
$lpost being the UNIX format of the last post in the thread.. (last updated time).. $show being the days times 86400..
so basically once it hits the first message older than x days.. it stops the loop..
i am 75% done with the modify feature.. i just have to create the template and a few more lines of code
jerry
i also made a show topics in X days for the boards.. you can test that out.. it also saves a cookie as your preference for future use.. i couldn't use an SQL command to that.. the UNIX_TIMESTAMP doesn't work and there is no substitute for DATETIME.. so i just put a
Code:
last if (time - $lpost) > $show;$lpost being the UNIX format of the last post in the thread.. (last updated time).. $show being the days times 86400..
so basically once it hits the first message older than x days.. it stops the loop..
i am 75% done with the modify feature.. i just have to create the template and a few more lines of code
jerry