For me, phpWebSites phpwsbb forum module has a lot of potential which is largely unused. One step in the right direction would be the display of
in the phpwsbb last forum posts block. It would also be nice to have the latest post label (instead of the thread label) and the editor of the post (if there is one) instead of that of the owner. Well, I hacked phpwsbb again to do just that.
phpwsbb/class/Runtime.php | |
---|---|
This is where all the magic of the show latest threads block happens. Don Seiler used a simple sqlSelect call to fetch the latest non-hidden posts and gave the result to a new instance of PHPWSBB_Forum. First, we generate a nice SQL statement that does a bit more than Don's simple sqlSelect: 104 function genLatestThreadsSQL($limit) { ...it doesn't really matter where in Runtime.php you put this. Then, we'll enhance (or shall I write: completely redo) the original Latest Threads Block method by showing the information gained through the new SQL statement: 126 /** |
Download | |
---|---|
Runtime.diff(6452) |
Comments - Make a comment |
The comments are owned by the poster. We are not responsible for its content. |
AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki
Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread
Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread
Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread