Search Results for 'codes'
-
Search Results
-
Hi,
I started investigating possibilities of translation bbPress to Polish. This language along with quite a few non-germanic languages has quite complex plural forms (3 forms instead of just 2). Not getting into much detail, because of the way functions.bb-core.php hardcodes seconds, hours, days… names it’s hard to do a proper translation.
To do it right I’d need a function that uses “%d month” and not just “month” or “months” as defined here:
// array of time period chunks
$chunks = array(
array(60 * 60 * 24 * 365 , __(‘year’) , __(‘years’)),
array(60 * 60 * 24 * 30 , __(‘month’) , __(‘months’)),
array(60 * 60 * 24 * 7, __(‘week’) , __(‘weeks’)),
array(60 * 60 * 24 , __(‘day’) , __(‘days’)),
array(60 * 60 , __(‘hour’) , __(‘hours’)),
array(60 , __(‘minute’) , __(‘minutes’)),
array(1 , __(‘second’) , __(‘seconds’)),
);
Any help would be very much appreciated.
Hi everyone,
I want to disable HTML codes in posts. I am using “BBcode Lite for bbPress” and I dont need html codes to edit my post. When my member want to add a HTML code that is useful to forums the code works and havent seen properly. How can I disable?
Hello!
I am looking for parnter to create together plugin for buddypress.
Script already works http://sinfulopening.com/search/
– script takes names and desriptions of all caustomers fields from buddypress and create form
– in this form you can check fields used in search and what kind of search
– script generats search form
– you can install this form on the page and search users.
With this plugin easy to create, for example, dating service with buddypress.
In future I want to create search for distance with zipcodes.
I don’t know buddypress good and don’t have expirience to create plugins.
Please, help.
Topic: WP 2.7.1 and bbPress 0.9
I tried integrating them but messed up a lot. So trying a different approach what I want to achieve in my project.
I need WP as CMS, bbPress as forum script and custom php code which will create a member’s area. I want site-wide login sync.
Tried _ck_’s plugin but can’t make it to working even after using 0.0.3 version and I dont want to use Ann’s method of downgrading cookie of what WP 2.7.1 uses. Just because this project won’t be under me for long, so will opt a method which is more future proof. So I am thinking of directing all the login requests of WP & bbPress to my custom login page which will be the only means of login & logout on the site. I want to use plugins for both WP & bbPress so as to maintain future compatibility. I can always update those custom codes or can i have a plugin for that too.
I may be running wild here but it seems quite easily feasible too.
Waiting for your suggestions!
Topic: bb Code not working
I’m having trouble getting bb codes to work, via plugin buttons or otherwise. I even hard coded a link to a podcast on one of my other blogs, and url code isn’t working. Any idea what the problem is?
Hi,
I would like to know the reason of filtering every ouput, even after being sanitized, with the following statement: return apply_filters(‘sanitized_string’, $string, $original_string, $context);
I can’t understand the purpose of this (surplus?) filtration..
And the “apply_filters” also have another sister function like “merge_filters” and “remove_filters”.
I would be glad to know the purpose of these, thanks!
Function details:
1) found in file ./bb-includes/wp-functions.php as from line 579
2) the function:
function apply_filters($tag, $string) {
global $wp_filter, $merged_filters;
if ( !isset( $merged_filters[ $tag ] ) )
merge_filters($tag);
if ( !isset($wp_filter[$tag]) )
return $string;
reset( $wp_filter[ $tag ] );
$args = func_get_args();
do{
foreach( (array) current($wp_filter[$tag]) as $the_ )
if ( !is_null($the_) ){
$args[1] = $string;
$string = call_user_func_array($the_, array_slice($args, 1, (int) $the_));
}
} while ( next($wp_filter[$tag]) !== false );
return $string;
}
Hi,
I’ve just tested an upgrade of my bbPress 0.8.2.1 forum. The upgrade goes to bbPress 0.9.0.4, but after the upgrade has finished and the upgrade/installation script has asked, and been given permission, to upgrade the database, it seems like theres some problems with special characters. The forum is in danish, and therefore æ, ø and å is very common, but after the upgrade they just show up as their respective UTF8 codes. I can’t figure out, and but the header and my browser is set to UTF8.
I can tell, that the forum was and still are in UTF8, but the collation on the database tables is latin1_swedish_ci
Anyone with an idea of the problem?
I got to thinking, maybe we’re doing it all wrong.
Rather than try to work WordPress into bbPress, why not just include the bb-config.php file inside the wp-config.php file instead.
Viola, from what I can tell, everything works like a charm. CK, your bbCode plug-in breaks some of the WordPress tags/shortcodes though, [caption] etc…
This way, bbpress can be directly referenced inside the entire website, and WordPress can use it’s functions AND the ones from bbPress to micromanage the login situation.
I really need to investigate this more, but I think that I might be on to something with this whole integration issue.
A simple plug-in could be made to include the core WordPress queries inside bbPress for pages, categories, etc… Without having to duplicate load everything inside the header, etc…
Okay, so I just did this like 20 minutes ago and I’m a little giddy about the idea, and I’m sure there’s a myriad of reasons why this won’t work, but I think it’s a neat idea…