Nice
Btw stubled on the BLIX theme from bbPress. It uses for each (I asked about this in some other posts) in it’s menu and could be the answer of my nr 1 problem.
Some peace of code:
foreach ($pages as $page) {
$page_id = $page->ID;
$page_title = $page->post_title;
$page_name = $page->post_name;
if ($page_name == "archives") {
(is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ' class="selected"':$selected='';
echo "<li".$selected."><a href="".get_page_link($page_id)."">Archives</a></li>n";
}
Now to confert it to this plugin, have to change ‘location’ input to: is_archive() || is_search() etc. Going to play with this
I’m getting this error in WP2.1:
WordPress database error: [Table ‘wordpress.bb_topics’ doesn’t exist]
SELECT * FROM bb_topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMIT 10
—-
The table wordpress.bb_topics doesn’t exist because my bbpress database is named bbpress. So the proper database place to look would be bbpress.bb_topics
Any way to fix this issue?
Hi
Probably me being blind, but I could find a function that returned the post authors website url.
In my theme I didn’t want the username to be a hyperlink (in post.php), I wanted to add buttons, for profile, website, & PM.
I wrote one to get my tests working.. but is there an “official” way ?
function post_author_url() {
if ( get_user_link( get_post_author_id() ) ) {
echo get_user_link( get_post_author_id() ) ;
} else {
bb_get_option('uri');
}
}
thanks Sabutay, you’re right that was missing, I was trying to avoid editing any of the php templates, but I agree this “part” is critical to the look of the theme.
I’d like to move the “Profile / admin / log out” boxes into these tabs, as I think it would make them fit nicely, but the functions output this a <p>
rather than <ul>
by default :o(
I’ve made a little modification, i add a tab-line in the header.php, just like the same as k2 theme.
You can see it here:
http://www.ahumder.org/forum
For modification, first put these lines in the style.css
/*- Main Menu in Header */
ul.menu {
margin: 0;
padding: 0;
position: absolute;
bottom: 0;
left: 20px;
width: 90%;
}
ul.menu li {
display: inline;
margin: 0;
}
ul.menu,
ul.menu li a {
padding: 5px 15px 6px;
}
ul.menu li a {
font-size: 1em;
color: white;
margin: 0;
}
ul.menu li a:hover {
background: #333;
color: #eee !important;
text-decoration: none;
}
ul.menu li.current_page_item a,
ul.menu li.current_page_item a:hover {
color: #333 !important;
background: white;
text-decoration: none;
}
.admintab {
position: absolute;
right: 0px;
}
* html .admintab { padding: 5px 15px 6px } /* IE hack */
a img,:link img,:visited img { border:none }
After that put these lines into header.php. But changes the href lines to your site.
<ul class="menu">
Ana Sayfa
Forum
Resimler
Duyuru Listesi
İletişim
Hope it’s useful for you, and linickx may be you could add this mod to your style.css
Ok I’ve been looking at rss.php code but I’m unfamiliar with it, and while I was hoping to find a nice clean SQL Query line, there isn’t any and I don’t know where to look. But, in case someone know where to find it, it should be a line like this:
sql0=”SELECT * FROM bb_topics ORDER BY topic_time DESC limit 0,35″;
now let’s say our first forum is restricted and the fifth forum is private . The way to severe them from the feed would be to change the query to:
sql0=”SELECT * FROM bb_topics where forum_id not in (5, 1) ORDER BY topic_time DESC limit 0,35″;
of course, the nice, clean way to do this would be to use the bb_press API to store the restricted or private forums id and then restrict the query internally, but I don’t know how to do this. I’m new to WP and BB altogether.
Sorry, wrong location. Search database bb_usermeta table for is_bozo and you will find your bozo information in there. If you are integrated with WordPress, it will be the wp_usermeta table (as in my case). Here is an example of one of the entries in the database for a bozo:
umeta_id user_id meta_key meta_value
696 106 is_bozo b:1;
Trent
now it works, but there is another problem while trying to edit the profile
Warning: require(profile-edit.php) [function.require]: failed to open stream: No such file or directory in /www/htdocs/w0056475/superheldenclub/videos/community/profile.php on line 20
Fatal error: require() [function.require]: Failed opening required ‘profile-edit.php’ (include_path=’.:/usr/share/php:..’) in /www/htdocs/w0056475/superheldenclub/videos/community/profile.php on line 20
thank you guys! I knew there was something wrong with my details, but I didn’t catch it – my fault, should have read everything more specificly. thank you very much!
Download the updated beta version here:
https://plugins-dev.bbpress.org/browser/posts-since-last-visit/trunk/since-last-visit.php?format=raw
Demo here:
http://la-school.com/bbpress/ (Test/test)
It requires Onlinelist 1.4 to work!!
As requested in another thread here, If you want to indicate new posts with an icon next to the topic do it this way:
<?php if ($topic->topic_time > view_since_last_visit_user()) : ?>
DISPLAY IF NEW
<?php else : ?>
DISPLAY IF NOT NEW
<?php endif; ?>
add this in front of you topic title.
At the moment the topic still stay “new” even if you’ve already seen it, till the next visit. Gonna fix this in next version.
Any Feedback?
Hi!
First off all, thank you very much for this great piece of code! 
We’re using bbpress as forum for our citizen journalism project “Bürgerzeitung Köln” at http://bz.koeln.de. Because our users prefer german language, we decide to do a translation. And of course we will make it public and available for everyone.
So, as ‘only’ 133 translations are waiting to be done, there should be a public Alpha availabe by the end of this week. It will be a “Sie”-Version, but it shouldn’t be a problems doing a “Du”-Version as well, later.
Greetz, Sven
the problem is your config.php
it should be
$bb->domain = 'http://videos.superheldenclub.de';
$bb->path = '/community/';
and not
$bb->domain = 'http://videos.superheldenclub.de/community';
$bb->path = '/';
Sorry for the double post. The first time I posted, I got a 408 Request Timeout error
:
Request Timeout
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.
https://bbpress.org/forums/bb-post.php
Mike Baptiste, maybe I don’t understand how the whole thing works, but in my database, they are stored without the href information, in the bbpress_posts table, and the <a href=
stuff is added upon display. So checking the see that they are not there in the database might not be a valid check. Mine are stored without the href and they display fine and are clickable.
Also, when entering a URL in a post, I don’t enter the href or anything else, I just put the URL in there, with a http://, and it becomes clickable automagically when it’s displayed. Without the http://, it appears that sometimes they are not identified as links by bbPress (especially when there is no www. at the beginning.)
I just registered at your forum, made a post with a link in it, just the URL, and it is clickable. Maybe you’re doing too much work trying to add the <a href=""> </a>
stuff? I never tried to know that it doesn’t work. Things that look like URLs are made clickable by bbPress.
Heh. The 2 body tags was something left over from downloading Trent’s template of this forum. I’ve cleaned up the errors now, leaving only one for target=”_blank” and one for having start=”1″ inside the
<ol>
tag which comes from bbPress. It is still occurring. I’m trying to see if there is something in common with the places that it’s happening. The odd thing is the links won’t work on a small part of the page, will on others.
OK!! I have it working, thanks a lot 
Solution: (for next users)
forums/my-plugins/display_name.php
Excuse 
The plugin is available for download here.
Плагин можно загрузить здесь.
Yeah, the alt tag missing is not causing the problem. That was a lot of the errors. Ignoring those errors, there are still others. Two <body>
tags was interesting…
I know what you want. I think doing it the css way is the easyest way at the moment!
My Plugin will be some view type, yes… but I just imagine that your idea could be added to it, too! Just gimme a bit time
I just completed the installation, looks like it were working but nothing exept for the login, the posting itself and the registration is working. so can’t read the posts – but write them. config should be ok, .htaccess for pretty permalinks doesn’t work both ways and even without pretty permalinks it doesn’t work. help, please! 
http://videos.superheldenclub.de/community/
Can you still me, or.. can you see me vaguley..?
Damn grammar mistakes.. Meant: “Can you still see me,”
I didn’t have my normal amount of pepsi then sigh..
I think it’s interesting how programming has gone to the dummies.
Hey, who you calling “dummies”?!?!
I don’t think “this” is considered programming.. but, some might think it is.. 
spencerp
Releasing 1.3 tonight. There is no table called forum_restriction_db. I am storing the variable via the bb_update_option()
function. Try v1.3 and let me know what happens.
I’m working to setup a new site with WP 2.1 and bbPress 0.75 So far the integration has worked very well and I’ve primarily been tweaking the themes.
Anyway, one weird thing I’ve noticed is if I include a link in a post (std a href=””) and submit it, the href attribute is stripped out completely. All that is left in the post when I edit it again is the link text surrounded by empty a tags (tried to use & lt ; in my post and it got converted to tags – wild)
I plan to dig through the code a bit and see what might be causing this. I’m not using any plugins beyond the standard WP integration on. It’s a fairly stock install.