Ticket #1277 (closed defect: wontfix)
Kakumei Cleanup
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | Back-end | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: |
Description
Here are some problems which should be fixed in Kakumei of bbPress 1.1:
- Proper usage of functions like wp_enqueue_script(), wp_enqueue_style() etc. and remove direct embedding of the stylesheet and scripts from the header.php of the theme.
- Remove the discussion tables, and add a function in functions.php of the theme which would handle the tables everywhere. Also add some hooks so that they could be customized by plugins. Also, edit the layout to be that of the current bbPress.org forums.
- Same goes for crumbs, I think we can add this in functions.bb-template.php file instead.
- Some more statistics in stats.php
- Some files have no spaces at all, creating problems for the developers. (editing them for WordPress-style coding)
I'll attach a patch which takes care of all of this.
Attachments
Change History
- Priority changed from high to low
- Milestone changed from 1.1 to 1.5
I would strongly strongly suggest NOT bothering with this Gautam.
Kakumei is hideously out of date, rigid and inflexable (so many things are placed with the CSS position:absolute/relative) and uses a mixtire of Tables, Lists, and Divs to achieve the same affect for forums/topics/post listing respectively.
Also, unless you want to write a pluggable walker class for breadcrumbs & forum/topic/post listing you're just confining people to have to output the HTML specified by whatever you write in functions.bb-template.php or functions.php
The realism is, the code is uncommented, poorly laid out (nothing tabbed? really?) few spaces, and whole chunks of code on singular lines. Lets get bbP1.1 out the door and then come back and make a new default theme, or even update the awful Kakumei then; but this should absoutel be considered scope creep my friend.
comment:3
GautamGupta — 20 months ago
- Keywords has-patch needs-testing added
- Priority changed from low to normal
- Milestone changed from 1.5 to 1.1
This can get into 1.1... next release would be a little too late for this. I have attached a patch which does the following:
- Adds bb_tabindex to solve tabindex problem. Note that it has not been implemented everywhere (has been implemented in kakumei).
- Adds bb_auto_crumbs which is highly customizable.
- Coding standards (only in kakumei theme and a few other places).
- Adds before and after argument in bb_get_new_topic_link
- Adds more hooks all over the theme for easier customization by plugins
- Proper usage of functions like esc_attr_e instead of echo esc_attr__. Also fixes some translation strings.
- Removes tables from everywhere and adds bb_kakumei_topics_table in theme's functions.php of the file. The tables can be highly customized by plugins. Theme authors/users can edit any bit of the table as it is in the theme itself.
- Puts views into the front page's sidebar
- More statistics
- On topic pages, the post and views count is now displayed in topic meta.
- Puts start new topic link in the heading so that it gets more attention
As this is a huge patch, more testing is suggested before putting it into the core (though I've already tested it thoroughly on my install).
Gautam's patch is 5 weeks old: is it ready to be committed or does it need an update on latest commits?
comment:7
GautamGupta — 19 months ago
- Milestone changed from 1.1 to Future Release
The patch needs a refresh. Also, I think changing the template codings in the last version of bbPress standalone isn't a good idea (as all the advice/help related to the theme on the bbPress website would be no more valid if this gets committed).
- Status changed from new to closed
- Resolution set to wontfix
Closing as wontfix, since it's Gautam's ticket, Gautam's patch, and Gautam doesn't think it's a good idea anymore. :P
comment:9
GautamGupta — 12 months ago
I would have been very happy if there were more releases of bbPress standalone. Changing template structure in the last release of bbPress doesn't sound like a good idea to me. :)
- Version 1.1-alpha deleted
- Milestone changed from Future Release to 1.1

tabindex is incorrect in anonymous posting form, making tabbing unpredictable and unusable (r2442).