Search Results for '+.+default+.+'
-
AuthorSearch Results
-
crowspeaker
MemberIt’s not finding any error logs.
I did get it to post something in the forum from WP, but it used the default forum id rather than the one I put in during the posting process. Going back and leaving it blank on the options page causes the post not to appear in the forum.
Also, once I posted, a new row was created in wp_user_meta for the post with my user id, the meta-key of capabilities (rather than wp_ or bb_capabilites) nad a capability set to “member”.
July 23, 2007 at 6:15 pm #58687In reply to: I want to change bbPress’ default text
outchy
Memberyeah, login with this info:
Your username is: supercoolman
Your password is: 1c46c2
You can now log in: http://www.manonfire.cc/sk6ers/
then click here:
http://www.manonfire.cc/sk6ers/topic.php?id=4&page&replies=3
it appears above the textarea box
July 23, 2007 at 5:59 pm #58686In reply to: I want to change bbPress’ default text
M
MemberMost peculiar. I’ll look into it later.
Do you have a live example?
July 23, 2007 at 5:44 pm #58685In reply to: I want to change bbPress’ default text
outchy
Memberone thing though, i just noticed. above all of my forms, the following text is appearing:
Project-Id-Version: POT-Creation-Date: PO-Revision-Date: 2007-07-23 13:42-0500 Last-Translator: NJO Language-Team: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit
is there a way to get rid of that?
July 23, 2007 at 4:30 pm #58905In reply to: Why “favorites” ? Bad terminology choice?
M
Member@_ck_ – “Hack” core files = baaad. Try localization… it works for bbPress and WordPress. Easy to do as well.
If you don’t like the “favorites” text, you can change it without losing the changes on an update. Not updating because of some little changes you made is bad news indeed. Might as well wear a sign that says “hack me.”
July 23, 2007 at 4:29 pm #58684In reply to: I want to change bbPress’ default text
outchy
Memberworked like a CHARM. thank you so much.
July 23, 2007 at 3:58 pm #52445In reply to: blockquote?
fel64
Memberverbatim in my bb-admin/style.css file does no good
because there are no blockquotes in bb-Admin. Apply them to your theme, which should be in my-templates/themename/style.css. I agree, kakumei needs default blockquote support. I’ll add a trac ticket or sumthin’.
July 23, 2007 at 3:44 pm #58683In reply to: I want to change bbPress’ default text
M
MemberFunny you mention this… I’m doing some work for a client at the moment using WordPress and I wanted to change some of the admin backend text without modifying core files. Localization using an
en.mo
file turned out to be the way to go.I believe bbPress supports localization as well. It’s probably going to be the route you’ll want to take. (edit: it does, BBLANG in config.php, drop the .mo file in
/bb-includes/languages/
I would assume)The file you’ll need to edit is a compiled binary, so you’ll have to get the bbpress.pot file, probably from the bbPress site somewhere. (edit: http://svn.automattic.com/bbpress-i18n/pot/tags/)
Once you’ve got the file, check out poEdit (http://sourceforge.net/projects/poedit/). It’s an open-source cross-platform mo/po/pot editor. Create a
New catalog from .pot file
, make sure the option to compile to .mo is checked in the preferences, and you should be good to go.The top-left box contains the text to be translated, the bottom-left contains the “translation.” Ctrl-F, find the string, and you’re good from there.
Note: I haven’t tried this with bbPress but it works great with WordPress. Hope it helps.
July 23, 2007 at 3:43 pm #56724In reply to: Plugin: Avatar Upload
LMD
ParticipantThanks Sam! That’s awsome. I’ve downloaded and reviewed the code and I’ve made a couple of small modifications – added an option to the admin page and a tiny bit of validating (so that you can’t have a non-numerical or zero max_width etc — actually setting the sizes to zero will now reset the options to their “factory defaults”).
@Plugin Users: I’m adding an unsharp mask routine to the reszing code before I commit the updates, so it might not be ready until tomorrow. If you’ve downloaded Sam’s update, you will have to do another update later.
July 23, 2007 at 3:41 pm #52444In reply to: blockquote?
azizpoonawalla
MemberI just installed bbpress yetserday on a new domain and have integrated it with wordpress using the plugin, etc. I also have found that the default template has no blockquote support. Even by including the blockquote definition given above by Trent verbatim in my bb-admin/style.css file does no good, here is a view source excerpt of the source file:
<blockquote><p>[Shakir 5:57] O you who believe! do not take for guardians those who take your religion for a mockery and a joke...</p></blockquote>
as a test…
testing blockquote here in bbpress support
nope. above line doesnt render in blockquoted indent either.
i think the problem is the insertion of <p></p> tags around every paragraph. Since blockquote is an inline style, the p tags override it. we could get around this by using a div class=blockquote kind of construction instead but wouldt it be nicer if blockquote just worked out of the box?
July 23, 2007 at 3:10 pm #58682In reply to: I want to change bbPress’ default text
outchy
Memberwhere can i change this default text for these links at the bottom of topic.php:
<?php topic_delete_link(); ?> <?php topic_close_link(); ?> <?php topic_sticky_link(); ?>
i can’t find it except in template-functions.php, which i won’t ever touch again
July 23, 2007 at 10:31 am #56719In reply to: Plugin: Avatar Upload
LMD
ParticipantWell, yes, the plugin includes a file that must be placed into the bbPress root as well as another file that must be moved into the templates folder (either
bb-templates/kakumei
ormy-templates/template-name
). Not to mention the creation of theavatars
folder and uploading of thedefault
avatar.I can not see any way around this other than uploading all files to the
my-plugins/avatar-upload
folder and then using the script to move them to the right locations. Although, the file that remains in themy-plugins
would still need to be manually edited to set the plugin’s options. Likewise, the folder creation could be done with a script rather than the current manual creation (as SamBauers suggested on the Plugin Browser thread).Is there a hook for when a plugin is activated? Looking around bbPulp I found the following…
bb_deactivate_pluginXXX
bb_activate_plugin_XXX… but no information on how they are used.
July 22, 2007 at 1:38 pm #57313In reply to: Plugin: bb-Topic-Views
_ck_
ParticipantHere’s a plugin to extend the topic-views plugin and add a “most-views” view page (ie. view.php?view=most-views)
It does it with a minimum number of mysql calls, just 10 to display an entire page on my setup. You have to hack your views.php template to add the views column, use $topic->views for the view count to use the cached data in memory instead of an extra mysql query for each topic.
function most_views_views( $views ) {
global $views;
$views['most-views'] = 'Topics with the most views';
return $views;
}
add_filter('bb_views', 'most_views_views');
function most_views( $view ) {
global $bbdb, $topics, $view_count;
switch ( $view ) :
case 'most-views' :
$limit = bb_get_option('page_topics');
$where = apply_filters('get_latest_topics_where','');
$most_views = $bbdb->get_results("SELECT topic_id FROM $bbdb->topicmeta WHERE meta_key='views' ORDER BY cast(meta_value as UNSIGNED) DESC LIMIT $limit");
foreach (array_keys($most_views) as $i) {$trans[$most_views[$i]->topic_id] =& $most_views[$i];} $ids = join(',', array_keys($trans));
$topics ="SELECT * FROM $bbdb->topics WHERE topic_id IN ($ids) $where ORDER BY FIELD(topic_id, $ids)";
$topics = $bbdb->get_results($topics);
$view_count = count($topics);
$topics = bb_append_meta( $topics, 'topic' );
break;
default :
do_action( 'bb_custom_view', $view );
endswitch;
}
add_action( 'bb_custom_view', 'most_views' );July 21, 2007 at 12:21 pm #59317In reply to: Strange (?) (404) report i Firebug
oledole
MemberSome more info:
If I set permalinks in WP to default the 404-message in firebug goes away, and I can chech the forum pages with http://www.websiteoptimization.com/ without problem …
July 20, 2007 at 3:21 pm #59309In reply to: Noobish CSS Question
fel64
MemberThere’s no direct solution. You can do one of these:
- Change
<?php tag_heat_map(); ?>
to<?php tag_heat_map('limit=30'); ?>
. The default limit is 40 I think, if you set it to 30 or any appropriate number they won’t go so far down. But you’d want to change that again later. - Put the
footer
inside thewrapper
. I’m not sure how your templates are arranged, but in kakumei you’d just have to openfooter.php
and move the codeblock that produces the divfooter
up a few lines, just above the previous</div>
. Permanent change, now the footer is on the white, but the white will always stretch down sufficiently. - Wait it out – eventually there’ll be enough topics to stretch the page
I think there are a few other things you could do, but that second point is probably the best if you need it changed now.
July 20, 2007 at 6:49 am #2136Topic: front page takes 50 mysql queries
in forum Troubleshooting_ck_
ParticipantCan anyone tell me what the standard number of queries for the front page are on a default install of bbpress?
I think mine are high because of my template hack for the latest reply link. (added: nope, tried removing it and no query reduction)
There has to be a way to cache that and reduce the number of calls by pre-fetching all the links for all the topics to be listed, instead of doing one call at a time…
July 19, 2007 at 12:55 pm #59049tisme
Member+1 for wider (800px) template.
also, default “Reply” input textarea is too small (get scrolled) and
‘background: url(images/bg.png) #ccc fixed center top;’ makes it somewhat slow.
so far, wp.com forums layout by the Matt Thomas is the best layout of all bb forums I had a chance to see.
nice addition would be to have a link to the “Latest Post” on the front page/forum posts index table — it’s a matter of just a couple of lines to be added to the front-page.php/forum.php — makes a big deal to quickly get on a last post of multi-page posts w/o having to redundantly load a 1st page of the thread.
July 18, 2007 at 8:59 pm #59190In reply to: BBPress Integration with MY login sistem
fel64
MemberThe user login handling functions are all pluggable. They’re in bb-includes/pluggable.php, always check if a function of that name already exists before defining the default one, and is loaded after plugins are run. So you can overwrite any of them.
July 18, 2007 at 4:43 am #2118Topic: Why does New Posted Topics default into Hot Tags?
in forum TroubleshootingInquirer
MemberWhy does New Posted Topics default into Hot Tags?
I thought Hot Tags were to provide links to other web pages or Web sites.
Can Hot Tags links be added through Admin or do they have to be edited in a file and FTPed?
Is there a Administration plugin, which provides more functionality to add, delete, and edit?
July 17, 2007 at 4:10 am #59088In reply to: WordPress/BBPress Single Sign On
_ck_
ParticipantRemember that many users will already have the “remember me” set for their cookie on wordpress and that doesn’t expire for a year. This means their bbpress login will mysteriously fail. They’ll either give up or re-register a new nickname.
You also need the space and period plugin fix for names. WordPress allows them, bbpress doesn’t by default. So anyone with a space or period in their nickname will fail logging into bbPress. Not knowing such things can drive you mad.
I also went a step further and routed all the login links on bbpress back to the wordpress login box since it has a few extra features. I use the redirect_to option to bring them back to bbpress.
ps. another good integration thread for a future integration sub-forum
July 16, 2007 at 4:47 pm #59068fel64
MemberI’m not sure I understand. Is this a technical problem with bb or a conceptual problem with your idea?
If you make fake accounts so you can post threads with the right dude’s name, and the right dude turns up later, just give him your fake account. That’s not automatable by default, you would have to manually edit the profile to set their email and then let them set their own password. But it would work.
Do you have the right dude’s permission to post his jobs?
July 16, 2007 at 2:24 pm #59044Trent Adams
MemberYou mean having a template that is completely ‘auto’ driven so that it adjusts to each browser window width? I know that I constantly get users a little mad at me because I like ‘big resolution’ on my computers and my users are still at 800 X 600 screens so my sites have a tendency to have to be scrolled.
Not sure about the overflow as I don’t use the default theme myself. Anyone else?
Trent
July 16, 2007 at 2:27 am #59013In reply to: Punbb -> BBPress
_ck_
ParticipantAh I see. It’s the misconception that by name alone, that bbpress integrates easily/well with wordpress. You’ll find several experiences that it does not integrate easily or well by default. Between the nasty cookie issue and the even worse username issue, it makes no attempts on it’s own to integrate. You’ll need a few plugins and some trial and error with members.
I’ll suggest again to the powers that be that an integration sub-forum might be a good idea to warn/help others. The mini-faq doesn’t begin to cover the issues.
July 15, 2007 at 5:10 pm #54756In reply to: Plugin: bbCode for bbPress
_ck_
ParticipantbbPress’s auto-close tags is broken by default – though the code and filter is in there, it’s not passed correctly:
add this to a plugin
function force_balance_tags($text) {return balanceTags($text, true);}
add_filter('pre_post', 'force_balance_tags');
or if you don’t know how, use my tweaks plugin:
http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/
July 14, 2007 at 10:52 pm #2093Topic: bbPress in Brazilian Portuguese
in forum Installationbernabauer
MemberHi there people!
I just finished translating to Brazilian Portuguese. The file is available for download at my blog:
I noticed that the default theme has some problems, so I corrected the problems on the theme and packed it for download. It’s the same URL for this download.
O arquivo para download do arquivo de linguagem para português do Brasil está disponível. Basta acessar a URL acima. Recomendo baixar o tema padrão que disponibilizei por que ele tem correções para alguns problemas de frase não contempladas no .po original.
cheers!
- Change
-
AuthorSearch Results