Search Results for 'code'
-
Search Results
-
I’ve tried hacking a couple wp plugins to bbpress to get better code preservation. But it’s not working.
What is used here? It seems to actually work somehow and that’s not the default technique in the core…
Topic: UTF-8 / ISO-8859-1
Hi, I’m having problems with the character encoding on a WP/BBpress integrated site. In WP, I can tell the system to encode the page in ISO-8859-1 (which is necessary in this case), in bbpress I don’t know how. I declare the doctype and the meta-content-charset in the theme’s header, but as opposed to the WP pages, the bbpress generated ones are encoded as UTF-8. Looking at the page properties in Firefox, I can see “encoding: UTF-8” and “meta information… charset:ISO-8859-1”.
Can someone help, please? Thanks in advance!
Topic: Real Bread Crumb for BBPress
I put together some code to implement a real bread crumb trail for BBPress that should support any level of subforums. I’ll open a ticket for the change too, but until it’s in the trunk (hopefully), you can use it by doing the following.
In bb-includes/template-functions.php, just above the
// Forum Loop //line, add the following:(UGH – Why if I put code inside code tags is bbpress insisting on parsing it and tossing in backticks everywhere! To see the code, check this file: http://onthepitch.org/talk/bb-includes/template-functions.txt)
You’ll have to update your template, mainly forum.php and topic.php. Look for the line like this”
<h3 class="bbcrumb"><a>"><?php bb_option('name'); ?></a> » <?php forum_name(); ?></h3>and replace it with something like this:
<h3 class="bbcrumb"><?php forum_bread_crumb(); ?></h3>And it should work for you.
open to embrace from gaming to arts, from code to random discussion. Code, indeed, is poetry.
… It’s more like calling a great piece of markup tag-soup because of some details is a bit exaggerated, and it could even be an insult to the developers who carefully thought it, but it’s not really serious, nobody is getting angry because of that
. Maybe a “Most users ever online” or something. Personally I like to keep statistics simple and compact, but some people like to display a lot of statistics.