Search Results for 'code'
-
Search Results
-
One the search page:
The dropdownlist of forums does not remember the last ‘selected’ forum_id
In the code ln943 of class.bb_query.php
Code:$r .= “tt<div>” . bb_get_forum_dropdown(array(‘selected’ => $q_forum_id, ‘none’ => __(‘Any’), ‘id’ => ‘forum-id’)) . “</div>n”;the forum_dropdown function is called with (‘selected’ => $q_forum_id) as one of the args however $q_forum_id never seems to have a value at this point.
Perhaps this is true for the first call to the search page (ie. when using the search box) but not on subsequent calls using the search form when the forum_id may have been selected.
Is this a bug or is it deliberate?
NB: by hard coding the (‘selected’ => 2) the page performs as expected – but obviously that is no better than the present state.
So I deduce that $q_forum_id is not being set !
NB: I have tried $q but that too has no value!
Any help appreciated
Topic: Login op Forum
I am looking for a plugin (or code) to make a login to the page so only the persons who have this login can see the forum..? like a “Registration to the bbpress folder”. I tried some folder-registrations but then bbpress does not work at all.
Thankx for any tips.
Topic: Latest Topics in Sidebar
I’m trying to show the latest topics across the entire board in a sidebar. I foolishly tried creating a standard loop (
if ($topics) : foreach ($topics as $topic) : ?>), but of course if you’re on a forum you only see topics within that forum, not across the entire board. I can’t puzzle out how to make the right query. Should I usebb_query?$bbdb_get_results()? Something else?Thanks.
All BBcode-lite users should upgrade to 1.0.5 IMMEDIATELY
(regardless if you allow images or not)
http://bbpress.org/plugins/topic/bbcode-lite/
http://plugins-svn.bbpress.org/bbcode-lite/trunk/
This is an important security update.
.