Search Results for 'code'
-
Search Results
-
Topic: Forum List Alterations
Hi all

I’m embarking on a little change in appearance on my forum. I have got most of it sorted, though there is a little something I’d like to add.
In my forum, a member pointed out that a new forum should not have too much on it – well at least too much with lots of zero’s at the end. I have a lot of sub-forums, and half of them have not been utilized yet.
So I changed the front page code to only display categories, instead of a huge list. I also had hidden some irrelevant forums, for the time being.
What I need to do now is add columns that will list the total posts and topics for all the forums in that category and the last person who posted in that forum, in the same format as I have for my ‘Recent Converstations’, and an extra line in the row that would display the sub-forums that have posts in them.
For example, this is what a row’s format would look like (Category | Posts | Topics | Last Post):
Category Name – Category Description | 92 | 24 | 3 minutes ago by Michael
Sub Forum 1, Sub Forum 2, Sub Forum 3
Can anyone point me in the right direction? Even a little bit of help here would be great.

Michael
Topic: Adsense for BBpress
Looking for a plugin to put Adsense Code in between forum posts. Is the Adsense for BBpress plugin working?
Last night and this morning and the whole day, I’ve been busy trying to figure out where new users where going.
After the integration I noticed that all users where showing ‘anonymous’, I did some reading and I discovered that it was possible that it wasn’t reading the appropiate database.
But I checked and checked, and I know that it IS reading the appropiate database, since the admin account is ONLY available in the wp_users table. I have been able to login with it, in both my bbpress area and my wp area.
My existing accounts, I couldn’t login with that. I kept getting User does not exist.
I created new accounts to see where those went. I couldn’t find them.
I just realized that the new accounts, they replaced random old accounts. But just the USER_NICENAME in the forum, if I check my database, I still the original name corresponding the account ID.
To summarize it:
Integrated wp + bbpress. It was an existing bbpress website.
Integrating went kind of OK. after the integration, I noticed its not reading the users, hence the ‘user does not exist’, all users are showing anonymous.
I really really would love it, if someone could help me out

Anyone?
Topic: Parsing Torrent File Content
I had problems with the “search in forum” feature. The “select” input control is displayed, but it seems as if the value i choose isn’t used by the code.
When I press submit, this is he URL that is sent to the web server:
http://my.hostname.com/forum/search.php?search=nisse&forum-id=2
In this example, the forum restriction does not take effect.
However,
if i manually change the URL to:
http://my.hostname.com/forum/search.php?search=nisse&forum_id=2 (note the underscore; forum_id)
then it works!
I can track it down to the file:
/bb-includes/class.bb-query.php
and this code:
if ( $forum ) {
$r .= "t<div><label for="forum-id">" . __('Forum') . "</label>n";
$r .= "tt<div>" . bb_get_forum_dropdown( array( 'selected' => $q_forum_id, 'none' => __('Any'), 'id' => 'forum-id
' ) ) . "</div>n";
$r .= "t</div>nn";
}
Changing forum-id to forum_id here fixes the problem, but I would prefer not to tamper with core files.
Topic: bbPress INCLUDE in template
is there the ability to use the WP type INCLUDE in bbPress in order to include an custom php file? What I want to do is take the repeating “sidebar” code into a separate file so I don’t have to update all the files that include the sidebar code
(Facebook was my second if I coulda)
Just credit her original plugin in your spin-offs and make sure to release them under GPL.