Search Results for '+.+default+.+'
-
AuthorSearch Results
-
July 23, 2007 at 4:30 pm #58905
In 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 goodbecause 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.mofile 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/kakumeiormy-templates/template-name). Not to mention the creation of theavatarsfolder and uploading of thedefaultavatar.I can not see any way around this other than uploading all files to the
my-plugins/avatar-uploadfolder and then using the script to move them to the right locations. Although, the file that remains in themy-pluginswould 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
footerinside thewrapper. I’m not sure how your templates are arranged, but in kakumei you’d just have to openfooter.phpand move the codeblock that produces the divfooterup 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!
July 14, 2007 at 2:49 am #58995In reply to: Installing phpMyAdmin 2.10.2.tar.tz on my web server
Inquirer
Member[Best bet would be for you host to install it for you since that is what almost 100% of good hosts do.]
Then I don’t have a good web hosting service.
I am reading through phpAdmin Quick Install at
http://wiki.cihar.com/pma/Quick_Install
I received the following from my web hosting support.
<public_html IS your document root.
MySQL v. 4.0.25 is running on my server
PHP Safemode is off by default.>
<You can also login to the server via ssh and connect to the database from a shell prompt.>
I installed WinSCP to login to my server via SSH.
Can I access my php database through Console using the WinSCP?
In other words, is phpAdmin a more friendly interface access my php database?
July 13, 2007 at 8:23 pm #54382In reply to: “Theme not found. Default theme applied.”
thierryyyyyyy
ParticipantI have the same error on LOCALHOST, and also with windows. (my forum hosted on web works
)(thierry is the name of my computer, and is synonyme of “localhost”)
link I click on to activate my template is such : (there are 2 “”)
I tried the “patch_to_url_2” in vain.
a “brillant” idea made me change the themes.php :
if ( !in_array($activetheme, $themes) ) {
$activetheme = BBPATH . 'my-templates/2diabolos/'; // THIS LINE WAS 'bb-templates/kakumei/' ...
bb_update_option( 'bb_active_theme', $activetheme );
remove_action( 'bb_admin_notices', $theme_notice );
bb_admin_notice( __('Theme not found. Default theme applied.'), 'error' );
}works well (hopefully)
(after reflection, I think the following line don’t help)
I tried to debug a little bit. I put in themes.php
print_r($themes);
echo "<br>";
echo "the theme you want to activate : " . $_GET['activated'] ;the result for the first line is good, the “$_GET ” is empty.
July 13, 2007 at 5:39 pm #58981In reply to: Questions Regarding a Terrible Install
Inquirer
MemberDoes clicking the ‘RSS feed for this topic’ link give this topic more exposure outside this forum?
It apears that a post on this forum is able to be edited for up to an hour, which is the default setting in the config.php file.
On another forum of a different nature, the posts are able to be edited indefinitely, which can come in handy rather than creating another post.
Just a thought.
I like the ‘This topic is one of your favorites’ feature.
July 12, 2007 at 6:41 am #58959In reply to: Plugin: Admin Post Anything
Trent Adams
MemberI tested it on my onvertigo.com site which is not using the default template either. It doesn’t work for me with any themes!
http://onvertigo.com/topic/media-types-played-in-this-forum?replies=12#post-38
Strange…..using:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/2G_AHHxSctE"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/2G_AHHxSctE" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>Trent
- Change
-
AuthorSearch Results