Search Results for '+.+default+.+'
-
Search Results
-
Topic: Changing Topic Folder Name
I want to change the default topic/ folder to people/ for a new project I am working on, firstly I tried just renaming topic.php in the root to people.php which works when pretty urls is set to false, but using mutliviews or even modifying the rewrite-rules manually it still appears as topic/ any ideas?
New users have no role, even though I have New User Default Role set to Subscriber in WP Admin -> General.
Perhaps this is because I didn’t have the WP integration plugin, so I installed that. Then I get “Cannot redeclare bb_int_set_current_user()” 404 for any forum page.
Topic: bbPress 0.8.3.1 released
From Sam’s Post on the main bbPress blog:
Due to popular demand we have bundled a bug-fix release for bbPress. 0.8.3.1 (still called “Desmond” I believe) and it is now available for download.
This version is not the latest development release so as to remain as compatible as possible with the current version of WordPress.
The primary reason for the release is to fix some bugs in the MySQLi implementation. We anticipate that MySQLi support will be dropped in the future and to this end we have made MySQL the default extension instead of MySQLi.
A few other fixes and enhancements have also snuck in:
- Deep forum breadcrumbs with thanks to baptiste
- More consistent topic labeling methods – users of the support forum plugin will probably need to upgrade to version 2.3.3
- Some fixes to stop orphaned sub-forums from disappearing from all view
- There is now one of those fancy checkboxes to mark a user as a bozo
A couple of those changes will affect existing themes. If you have questions about adapting your theme to be compatible with the new topic labeling and forum breadcrumb features, then ask over on this forum topic.
Topic: Experimenting with bb-cache
I’ve recently enabled the hard cache, to see how it handles on a test forum with only a few users. The first problem I’ve come across has been an error with $bb_cache->get_forums() – the array it was returning when cached was 0, instead of containing the forum ids.
I fixed it by a simple reversal of the sections of code within the get_forums() function in cache.php:
$forums = (array) $bbdb->get_results("SELECT * FROM $bbdb->forums $where ORDER BY forum_order");
if ( $this->use_cache && $normal && $forums )
$this->write_cache(BBPATH . 'bb-cache/bb_forums', $forums);
$_forums = array();
foreach ( $forums as $forum )
$_forums[(int) $forum->forum_id] = $bb_forum_cache[(int) $forum->forum_id] = $forum;After reversing them (the above are their original positions), I then made sure the write cache line was using $_forums, instead of $forums.
No idea if this may have other consequences I’ve yet to unearth, but I thought it may be worth noting here.
I’ve also used the “load all options” function from wordpress as a basis for creating a global array containing all topicmeta options. By default (even with cache enabled, although maybe I’ve missed a setting), there were several calls to to topicmeta, whereas only one was really required.
Changed my config information & followed the steps at DevLounge
Now when i try to go to the install page @
http://the3rdplace.co.uk/home/bbpress/
I get this error :
Fatal error: Call to undefined function: __() in /home/the3eco/public_html/home/bbpress/bb-includes/
default-filters.php on line 81
This is line 81 :
bb_register_view( ‘no-replies’, __(‘Topics with no replies’), array( ‘post_count’ => 1 ) );
Anyone have any advice on what i should do ?
Many thanks in advance