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.
Going further | |
---|---|
If you take a closer look to my sites' latest posts box, you'll see an enhancement of this hack. You'll get the full thread-title as soon as you hover over it with the mouse. To get this, you can die two different deaths. Either, generate the link to the thread by yourself. Or hack the moduleLink-method, so it would take an additional parameter. I did the later one, so the Eloi's short-url wouldn't be harmed. |
core/Text.php | |
---|---|
As always, please make sure to have a recent backup before trying this hack. First, we need an additional parameter: 552 function moduleLink($title, $module=NULL, $getVars=NULL, $target=NULL, ...this should do nicely. Next, we'll just paste that parameter into the generated anchor tag: 635 return $link.$linkAnchor.'"'.$linkTarget.$linkClass. That's it for the core-classes. |
phpwsbb/class/Runtime.php | |
---|---|
Back to Runtime.php. Here, we only need to call the new moduleLink method: 126 /** ...enjoy! |
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