summaryrefslogtreecommitdiff
path: root/modules/forum.module
Commit message (Collapse)AuthorAge
...
* - Patch #5347 by JonBob:Dries Buytaert2004-07-30
| | | | | | | | | | | | | | | | | | | | | Here's a new patch that unifies the node/52 and book/view/52 paths for nodes. It involves a small change to hook_view(), which is discussed first: Currently hook_view() expects node modules to return a themed node. However, each module does this the same way; they modify $node as necessary, then call theme('node', $node) and return the result. We can refactor this so that the calling function node_view() calls theme('node') instead. By doing this, it becomes possible for hook_nodeapi('view') to be called after hook_view() where the node contents are filtered, and before theme('node') where the body is enclosed in other HTML. This way the book module can insert its navigation into the body right before the theming. Advantages of this refactoring: - I can use it for book.module to remove the extra viewing path. - The function of hook_nodeapi('view') becomes more like hook_view(), as neither will expect a return value. - We more closely follow the flow of other nodeapi calls, which usually directly follow their corresponding specific node type hooks (instead of preceding them). - The attachment.module people could use it to append their attachments in a list after the node. - Gabor could use it instead of his filter perversion for his "articles in a series" module. - A little less code in each view hook. - The content hook is no longer needed, so that means even less code. Disadvantages: - Any modules written to use nodeapi('view') could be affected (but these would all be post-4.4 modules). - Implementations of hook_view() would need to be updated (but return values would be ignored, so most would work without updates anyway). Now the patch takes advantage of this API shift to inject its navigation at the end of all book nodes, regardless of the viewing path. In fact, since the paths become identical, I've removed the book/view handler entirely. We should probably provide an .htaccess rewrite for this (one is still needed for node/view/nn anyway). At the same time, there is a check in book_block() that shows the block appropriately on these pages.
* - Renamed '... your ...' to '... my ...' (cfr. 'my account).Dries Buytaert2004-07-08
|
* - Moving the title.module from core to contrib as discussed on the mailing list.Dries Buytaert2004-07-07
|
* - Patch by Steven and me: refactored the form handling of nodes. The node ↵Dries Buytaert2004-07-04
| | | | | | | | system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly: * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error(). * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
* - Bug #8898 by Morbus: fixed incorrect date being displayed in the forum ↵Dries Buytaert2004-06-29
| | | | overview when a topic has no comments yet.
* - Tweak for sticky patch: ANSI SQL does not allow ordering on a column which ↵Steven Wittens2004-06-27
| | | | is not part of the selected fields.
* - Patch #8603 by TDobes: added support for sticky forum topics to the blogDries Buytaert2004-06-27
| | | | and forum module.
* - Patch #8785 by Morbus Iff (modified): with the acceptance of ↵Dries Buytaert2004-06-24
| | | | "anonymous-but-named" comments, anonymous users can leave behind their names as opposed to the 'anonymous' setting. These names are shown as "$name (not verified)" on regular nodes. This change provides the same display for forums (assuming anonymous commenting on forums is allowed).
* - Patch #8670 by asimmonds: more spelling fixes.Dries Buytaert2004-06-21
|
* - Patch #8681 by asimmonds: more help text updatesDries Buytaert2004-06-21
|
* - Patch #8617 by TDobes: changes all gifs to pngs for better consistency (andDries Buytaert2004-06-20
| | | | | | to get of proprietary formats). - Added forum-sticky.png. Made by Steven.
* - Patch #8681 by stefan: fixed some broken URLs and help texts.Dries Buytaert2004-06-20
|
* Tabs patch!Dries Buytaert2004-06-18
| | | | | | | | | | | | | | | | | | CHANGES ------- + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page. + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'. + Grouped settings. All settings have been grouped under 'administer > settings'. TODO ---- + Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help. + Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
* - Code improvements by JonBob. Thanks.Dries Buytaert2004-05-17
|
* - Patch #7577 by JonBob: code improvements to the book, forum, page and poll ↵Dries Buytaert2004-05-09
| | | | module.
* - Added support for 403 handling. Patch by JonBob. As a side benefit,Dries Buytaert2004-04-21
| | | | | | | | administrators will be able to define a custom 403 page, just as they can define 404 pages now. This needs to be documented in the "Changes since / migrating to ..." pages.
* - Tracker and forum module improvements!Dries Buytaert2004-03-20
| | | | | Note: the CSS of the tracker page has changed. Some CSS files still have to be updated.
* - Patch #3786 by Gerhard: removed last instance of <none>Dries Buytaert2004-03-09
|
* - Fixed forum module typo.Dries Buytaert2004-02-16
|
* - Bugfix: the forum block was showing posts that are not 'published' yet.Dries Buytaert2004-02-16
|
* - Fixed a problem editing nodes. Spotted by Steven.Dries Buytaert2004-02-15
|
* - Patch by Steven: removed redundant permission checks. These are no longerDries Buytaert2004-02-15
| | | | required thanks to the new 404 handling.
* - Patch 5592 by Goba: let drupal_map_assoc() rule. :-)Dries Buytaert2004-02-15
| | | | - Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
* - Fixed bug #5831: added validation for posting to forum containers. PatchDries Buytaert2004-02-12
| | | | by UnConeD.
* - Patch 4902 by Goba:Dries Buytaert2004-02-11
| | | | | | | | | | | | | + only adds an optional parameter to url() and l(), so individual links can be set to be absolute + modifies drupal_goto() to accept the parameters of url() without the $absolute parameter, so cleaner invocations can be used + rework of some code in node_feed, making it much better to look at (the current code uses foreach with an immediate brake to get the first key of the associative array, geeeeez) + added xml:base to the rss tag generated by node_feed() + set all user mail URLs to be absolute + fix a small fragmented URL in user.module
* - Usability improvement: print a message if you are (not) allowed to printDries Buytaert2004-02-10
| | | | forum topics.
* - Replaced a bunch of double quotes by single quotes.Dries Buytaert2004-02-01
|
* - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,Dries Buytaert2004-02-01
| | | | fixed translation issues in taxonomy module, etc.
* - Patch by Goba: added form descriptions where appropriate and removed someDries Buytaert2004-01-31
| | | | duplicated code from the comment module.
* - Modified node and comments to not be marked as new when they are 30 days old.Kjartan Mannes2004-01-29
|
* - Replaced the 'active post' and 'recent post' by better integrated andDries Buytaert2004-01-28
| | | | | | easier to understand 'new' links. The 'new' links are clickable both at the forum overview (to get to the new forum topics) and at the topic overview (to get to the new comments).
* - Patch 5049 by JonBob: allow a module to define multiple node types.Dries Buytaert2004-01-27
|
* - Made it possible to assing taxonomy terms to forum nodes. Tidied up theDries Buytaert2004-01-25
| | | | forum module code a bit.
* Patch 5287 by Stefan: multiline help texts should become inside a single ↵Dries Buytaert2004-01-23
| | | | $output.
* - Forum module improvements.Dries Buytaert2004-01-21
|
* - Removed the $help parameter from the _form hook. The help, typicallyDries Buytaert2004-01-17
| | | | submission guidelines, should be emmitted using the _help hook.
* - Patch #5021: clean up URLs in _help texts. Patch by UnConeD.Dries Buytaert2004-01-11
|
* - Applied patch #4949: node_prepare() wastes resources. Patch by Goba.Dries Buytaert2004-01-11
|
* - Patch 4916: improved preparation of $node->teaser and $node->body. Patch byDries Buytaert2004-01-02
| | | | Goba.
* - XHTML improvements: <b> -> <strong>. Patch by Stefan.Dries Buytaert2003-12-29
|
* - Tidied up some inconsistencies in the code: scripts/code-style.sh is your ↵Dries Buytaert2003-12-28
| | | | friend.
* - Fixed the breadcrumb trail of nested forums. Patch by Goba.Dries Buytaert2003-12-24
|
* - Updated the calls to menu() to use MENU_HIDE instead of 1Dries Buytaert2003-12-17
|
* - Reworked 404 (page not found) handling. Patch by walkah. You can specify aDries Buytaert2003-12-16
| | | | | custom 404 page in the administration page. As a result, error.php could be removed.
* - Bugfix: don't show any links in case of a container. Patch by Bart.Dries Buytaert2003-12-09
|
* - Improvements by Goba:Dries Buytaert2003-12-08
| | | | | | + removes the lots of pagers and indirect pager themeing + add the theme_pager() function, which should be called as theme("pager", ...) to get a pager.
* - Tidied up the DoxyGen comments. Patch by Kjartan.Dries Buytaert2003-12-08
|
* - Made it possible to auto-throttle blocks. That is, blocks can beDries Buytaert2003-11-28
| | | | configured to be disabled when under excessive load. Patch by Jeremy.
* - Fixed broken link.Dries Buytaert2003-11-27
|
* - Reorganized the forum module's configuration page for better usability.Dries Buytaert2003-11-27
|