If you are trying to use <b> instead of “strong” it won’t work because it’s not the “leet” xhtml standard that bbpress wants to enforce. But you can trick bbpress to allow it with this tweak:
function allow_extra_tags( $tags ) {
$tags['del'] = array();
$tags['strike'] = array();
$tags['s'] = array();
$tags['b'] = array();
$tags['i'] = array();
$tags['u'] = array();
$tags['bq'] = array();
$tags['blockquote'] = array();
$tags['pre'] = array();
$tags['hr'] = array();
return $tags;
}
add_filter( 'bb_allowed_tags', 'allow_extra_tags' );
note as you can see I allow other tags too
If you mean so topics in sub-forums do not show up on “latest discussions” I whipped this up to solve that:
function filter_front_page_topics($where){
// $exclude_forums=array ("8"); // enable this to manually specify specific forums by id #
$forums = get_forums(); foreach ($forums as $forum) {if ($forum->forum_parent) {$exclude_forums[]=$forum->forum_id;}} // exclude ALL sub-forums
if ( is_front()) {foreach($exclude_forums as $forum) { $where.=" AND forum_id != ".$forum." "; }}
return $where;
}
add_filter( 'get_latest_topics_where', 'filter_front_page_topics');
add_filter( 'get_latest_posts_where', 'filter_front_page_topics');
this is nice. good job. keep working 
Dont have any suggestion sorry
No-one knows anything about writing plugins when they start writing them.
You said you were learning PHP, this is your chance to put it into practice/get better. This might not work but it’s the basic way you’d go about it I think.
add_action('register_user', 'myfunctiontochangeuserstatuswhentheyregisterheh');
function myfunctiontochangeuserstatuswhentheyregisterheh( $user_id ) {
//I suspect somethin' like this:
$user = get_user( $user_id );
$user->set_role('inactive');
}
Listen!
i know the way of bbpress minimalistic design and minimalistic develop so
we need attachment feature for our support to wp users sometimes they need to upload their file to show and share them it comes form my experience now lets gather to make attachment plugin
something like wp attachment any ideas?
ha ha i agree with _ck_ i also trasnlated favorite to subscribe (peygiri – پیگیری)
it is much better
$topic->topic_last_poster is the ID of the last poster to the topic. user_profile_link( $user_id ) echoes the url of the user’s profile. You’d do something like this I think:
<a href="<?php user_profile_link( $topic->topic_last_poster ); ?>"><?php echo $topic->topic_last_poster_name; ?></a>
“or there is a large demand.”
well, I’m not large but I do demand
“It’s very easy to apply filters to the signature just like the post text, smiles, auto-close tags and a whole bunch of other tweaks and security could be easily added.”
and all these too
You’re spot on – the flag approach it must be…
Topic Count (and probably Post Count) is driven by a hard coded sql value that is incremented each time a topic is added a decremented when one is deleted…
See that’s the thing, you won’t be able to pre-guess everywhere it will show up. Any future plugins will not know to obey your time logic.
However most code should know to check for topic_status==0
If you set it higher and then set it back when the time is right, then you should be able to get around all functions. Just don’t use 1 or 2 as a marker.
Then every few minutes do a mysql check for any topics that have that unique number set in topic_status and if their time has past, set topic_status to zero.
That reminds me, bbpress will need a pseudo-cron that can be hooked with a real cron job if so desired.
Thanks _ck_
After a day of hacking around (my php handicap is 27 afterall), it has been done :o)
To cut a long story short…
I added time and date fields to the post form (visible to moderators only)
Told functions php to carry on as usual unless it sees a year value – otherwise it uses the value it’s given.
The sql query that spits out the posts now only returns a row if the topic_start_time is lower than the time the request was made.
I can supply (very fugly) code if anyone wants to do the same thing.
The reason I wanted this is so I could start a topic or topics – and walk away. As you can with future posts in WP.
>For a lark I pointed the plugin to the WordPress Plugin SVN. It got about 1/4 of the way through retrieving the list of plugins and died (script timeout).
With many people accessing it, yeah it will necessary to pre-compile a default list of a full revision weekly.
Or to be sneaky for now you can set a flag in options after each curl fetch and restart bbpress if you calculate approaching 30 seconds.
Both ways sound like headaches.
I wonder if the trac cache is faster/more efficent?
ie.
https://plugins-svn.bbpress.org/plugin-browser-for-bbpress/trunk/plugin-browser.php
vs.
https://plugins-dev.bbpress.org/browser/plugin-browser-for-bbpress/trunk/plugin-browser.php?format=raw
I wonder if trac can be tricked to pre-gzip it all to download beforehand as a bundled revision? It’s got to compress wonderfully as it’s entirely plain text and repeating php functions.
ps. be sure to take advantage of gzip support in curl / fsockopen – I have some code I wrote somewhere to do this if you need ideas
Did you get anywhere with this either oledole? I can’t figure it, and it doesn’t look like we’re going to get any help!
i hear what you’re saying but believe me, i tried my damndest to figure it out myself before i posted (as i do before all my questions). the problem is i don’t really understand the syntax of php code just yet so i don’t know how to use the get_user_profile_link(); function in this particular example (getting the profile link of the last poster from the entire messageboard onto the front page, it’s a little confusing). if you can give me some help on this one, i’d appreciate it.
I don’t know off the top of my head. What I’d do in this case, as for pretty much every question that’s asked, is open my copy of bbPress and look around in the files. So that sort of thing sounds like a template tag, so I’d look at bb-includes/template-functions.php, then search for “profile_link” or a couple other similar terms if I couldn’t find it.
This time I tested it and searching for “profile_link” will pretty quickly get you the function you want. But finding out what you need is something you can pretty easily do yourself most of the time. 
(Not that there’s a problem with you asking anything, this is just teach-a-man-to-fish thinkin’.)
No! it is not nessecary to merge all files into one file!
just we need to name the mo files into our main mo file for example fa_IR
and put each mo file into plugin or template folder and it will be work
oh
this is bad news for me but i will try it
i think it was much better that each plugin and template had separate and independent language like joomla components
Actually, forget that way.
I just checked the source and it’s right there for us:
<? if (bb_is_user_logged_in()) { echo '<a href="'.get_profile_tab_link(bb_get_current_user_info( 'id' ), 'favorites' ).'">favorites</a>'; } ?>
much better
one quick & dirty way:
<? if (bb_is_user_logged_in()) { ?><a href="<? echo $bb->uri.'profile.php?id='.bb_get_current_user_info( 'id' ); ?>&tab=favorites">favorites</a><? } ?>
every one knows that tags are important but we know that writing tags for users are not easy sometimes so we need auto complete tags features
to show and suggest tags when user type letters it would be 4 advantages
1) fast taginig
2) user friendly gui
3) saving user time
4) waiting for number 4.. no more finished
wow! it worked! really thanks 
so it would be excellent add to fav automatically if each user reply the post
and also give an option to user to add/remove this setting as default each time he or she wants
is it posible for you?
other forums has this function by deafult
i translate some plugins and have mo files but i don’t know how to define them to work?!
i translate 22 bbpress plugins 
should i insert them in to the include/language folder?
with which name or i must create one file and merge whole of them to he one file
and euhm.. “not even tried” .. That ‘s not true at all.. see my subject 
, but ok thanks anyway
Here below is the workable method for the purpose of trying bbpress. To hide the mail() function code and then add a echo() to show the password on-screen. Like below…
(registration-functions.php)
echo (‘Your Password:’ . “$pass”);
/*
mail( bb_get_user_email( $user->ID ), bb_get_option(‘name’) . ‘: ‘ . __(‘Password’),
sprintf( $message, “$user->user_login”, “$pass”, bb_get_option(‘uri’) ),
‘From: ‘ . bb_get_option(‘admin_email’)
*/
There appears to be a problem with the SVN for plugins.
I’ve had a user who downloaded the latest version of Avatar Upload, only to find the contents of sub-folders to be empty — even though the files are present in the repository when I browsed source in Trac (in both the Trunk AND latest Tag). Somehow they are missing in the automated ZIP download.
The file structure is:
trunk/ (and also 'tags/0.7/')
additional-files/
avatars/ (contents missing in the ZIP)
my-templates/ (ditto)
.
Is this a one-off blip or is it a bug? Either way, can it be fixed?