Search Results for 'bbpress'
-
AuthorSearch Results
-
July 29, 2007 at 9:47 pm #2186
Topic: RSS aggregator suitable for bbPress?
in forum Pluginsriddle
MemberOh lazyweb I invoke thee: does anybody have a recommendation for an RSS aggregator to incorporate a feed or feeds into a bbPress site?
For WordPress, of course, there are a zillion plugins that will do the job. And there are generic ones I could adapt to my bbPress. But if somebody has done it, I’d rather benefit from your experience.
Thanks.
July 29, 2007 at 8:09 pm #59328In reply to: Strange (?) (404) report i Firebug
berniesteak
MemberAlready tried (as mentioned above) using forums as subdomain and also putting the htaccess details in a vhost.conf file. No joy either way.
“Quick and dirty” fix seems to do the trick.
Not actually sure if I’m going to go with bbpress anymore, I put a vanilla forum up in the meanwhile and it seems pretty decent. Although integration is nowhere near as slick with WordPress.
July 29, 2007 at 5:46 pm #51576In reply to: Full Content of Most Recent Post on Front-Page?
_ck_
Participanter, nevermind me, you’re doing it within bbpress…
July 29, 2007 at 5:20 pm #59525In reply to: Protection against human spamming and double e-mail
chrishajer
ParticipantHow about this from Trent:
https://bbpress.org/forums/topic/registration-spam-038-akismet?replies=7#post-6274
July 29, 2007 at 5:18 pm #59450In reply to: How to link to favorites of logged user
_ck_
ParticipantOh if you are trying to do it from an integrated WordPress you’ll need to do this:
<?
if function_exists("get_currentuserinfo") {global $user_ID;}
else { $user_ID=bb_get_current_user_info( 'id' )}
if ($user_ID) { echo '<a href="/forums/profile.php?id='.$user_ID.'&tab=favorites">favorites</a>';} ?>untested – change /forums/ to whatever your bbpress path is.
July 29, 2007 at 5:10 pm #2181Topic: Protection against human spamming and double e-mail
in forum Troubleshootingnexlamar
MemberHi!
For my bbpress I need a check against human spam attacks.
For this I just need a random generated question in my language (the one that the spammers cannot speak
) and a check if the postet answert is correct. I tried to implement this into register.php, but my checks are ignored by bbpress. Is there anybody who can give me a hint, who maybe works on the same problem?I also figured out that I can register twice with the same e-mail adress. How can I check if the adress already exists?
Thanks for your help,
Markus
July 29, 2007 at 2:28 pm #49634In reply to: Emoticons For bbPress?
mazdakam
MemberJuly 29, 2007 at 1:44 pm #59538In reply to: “My Threads” – User Specific Views
Sam Bauers
Participantmdawaffe has committed to try and bring the point releases closer together. I believe there are no hard targets set, but it should be better than last time. I would estimate that 0.8.3 will be out within a month, but that is just an estimate. mdawaffe gets pulled from bbPress all the time to do other things.
I can’t talk with authority about the XML-RPC features being added, but they will potentially open up a whole heap of options for people wanting to connect their forums with other forums and blogs. You should enquire about the development priorities and directions on the bbPress dev list though, you may get more joy there.
July 29, 2007 at 1:28 pm #59536In reply to: “My Threads” – User Specific Views
howtogeek
MemberI just noticed you said something about cache? Is the cache working in the current bbPress release?
July 29, 2007 at 12:55 pm #59327In reply to: Strange (?) (404) report i Firebug
Sam Bauers
ParticipantApache processes rewrite directives in the order they are found.
First the main Apache config file is used, then (if they are allowed) the .htaccess files are used in the order they are encountered from the root of the website out through the directories until the final directory that contains the file that is being accessed.
So if you have a page at http://www.example.com/blog/forum, then the order of processing is like:
Apache config
|
+-> /path/to/site/www.example.com/.htaccess
|
+-> /path/to/site/www.example.com/blog/.htaccess
|
+-> /path/to/site/www.example.com/blog/forum/.htaccessSo the “blog” rewrite rules will be assessed first. This means that you may want to place your bbPress rewrite rules in the same .htaccess file as your blog rules, before the blog rules, as they are more specific and should be handled first.
Also, there were some problems with WordPress throwing 404 errors based on what mod_rewrite was doing. This was specifically with version 2.1 I think, so your WordPress may need to be upgraded.
July 29, 2007 at 12:49 pm #59246In reply to: Plugin: Plugin browser for bbPress
_ck_
ParticipantSounds like the pre-complied version list to download would be best then. It also allows you to do emergency holds or rollbacks if something in the SVN is discovered to be spyware or malware of somekind.
The version list could then be gzipped and even mirrored dynamically on trusted sources (like the supposed triple mirror wordpress.com runs on)
July 29, 2007 at 12:38 pm #59245In reply to: Plugin: Plugin browser for bbPress
Sam Bauers
ParticipantYes, I know all that, but I was talking about Subversion clients, which I don’t know as much about.
I also don’t know if LiteSpeed can do subversion, LiteSpeed doesn’t do DAV at last check.
Subversion repositories tend to be set up more cautiously, so performance doesn’t really get a look in.
July 29, 2007 at 12:27 pm #49633In reply to: Emoticons For bbPress?
fel64
MemberIt’s Javascript. PHP files are just like HTML files, and anything outside the
<?php ... ?>is treated as HTML. Calling the particular function around that makes it go to that place and then go through and output the HTML (which happens to be JS).July 29, 2007 at 11:57 am #59244In reply to: Plugin: Plugin browser for bbPress
_ck_
ParticipantWeb compression is on an “offered/accepted” handshake of sorts.
It would not affect clients that do not support gzip.
Everytime IE or Firefox (etc.) requests a webpage, it tells the server “I support gzip” in the headers and then if the server supports it, it sends it that way.
Technically compression can be forced through the server – if trac is under the same litespeed server as wordpress/bbpress then it’s just a matter of making sure it’s enabled.
A quick test shows both the svn+trac are using apache, so depending on which version it’s either a matter of building with mod_gzip (for apache 1.3.x) or if apache 2.0 they need to just add a couple of easy httpd.conf directives.
Really though, Matt knows how good litespeed is over apache, both the trac+svn should on litespeed. I bet it could even work with the free 150 connection version instead of buying a license.
July 29, 2007 at 11:20 am #59326In reply to: Strange (?) (404) report i Firebug
colinbm
MemberHere’s a intermediate fix until whatever the causing reason is fixed:
http://www.burn-murdoch.com/colin/bbpress_fix_404.zip
Add this to the my-plugins folder (create the folder if neccessary) and activate the plugin in bb-admin.
All it does is call header(‘HTTP/1.1 200’) on the bb_init action, which overrides the 404.
July 29, 2007 at 10:54 am #2184Topic: transfering wp and bb to the same db
in forum Troubleshootingclairecc
MemberI tried implimenting the user sync with wordpress but then realised I needed the two systems to use the same database. So I went through exporting the data from the bb database to put in the wp database. But it wont import because it says wp_usermeta and wp_users already exists in the wordpress database.
Correct me if I am wrong, because what I know about databases and sql you could put on the back of a postage stamp, but I think these two fields? have come from me trying to integrate the databases so is it ok to delete wp_usermeta and wp_users from the bbpress database before copying to the wordpress database?
July 29, 2007 at 10:07 am #49632In reply to: Emoticons For bbPress?
mazdakam
Memberhi again i want to know why the function grin(tag) { is out of php code
why it need to be out side?
July 29, 2007 at 7:48 am #59527In reply to: Right to Left BBPress
mazdakam
Memberyou just need to use defalt themplate kakumei and
create language folder in bb-includes
then create php file and name it fa_IR.php put this line to it:
<?php
$text_direction = “rtl”;
?>
put fa_IR.php ito
bb-includeslanguages
then go to the root and open config.php
find define(‘BBLANG’, ”); and replace i with
define(‘BBLANG’, ‘fa_IR’);
have fun
dar zemn chakerim in themplate ro ham barat feretstadam monteha behtare ke az hamoun dast nakhorde ash estefde koni
July 29, 2007 at 7:20 am #59528In reply to: “My Threads” – User Specific Views
_ck_
ParticipantI haven’t seen them (doesn’t mean it doesnt exist) but I’ve figured out the framework on how to build and attach a view if you’d like to copy my homework

This is the code I whipped up for “most-views” and “least-views” (which requires the view count plugin to be installed (and inserting the views column in view.php)
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 least_views_views( $views ) {
global $views;
$views['least-views'] = 'Topics with the least views';
return $views;
}
add_filter('bb_views', 'least_views_views');
function most_views( $view ) {
global $bbdb, $topics, $view_count;
if ($view=='most-views') {$sort="DESC";}
if ($view=='least-views') {$sort="ASC";}
if ($view=='least-views' || $view=='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) $sort 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_status=0 AND 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' );
}
else {do_action( 'bb_custom_view', $view );}
}
add_action( 'bb_custom_view', 'most_views' );As you can see a new view requires both 1. an action 2. a filter
Easy once you’ve seen it, but try figuring it out from scratch!
This bit adds the title to view pages (missing by default in bbpress)
function bb_get_view_title($title) {
if (is_view()) {$title = get_view_name(). ' « ' . bb_get_option( 'name' ); }
return $title;
}
add_filter( 'bb_get_title', 'bb_get_view_title' );July 29, 2007 at 6:01 am #2182Topic: Right to Left BBPress
in forum Themesrezvani63
MemberHello everybody,
How can I set my bbpress forum as Right to Left?
Is there any theme in this case? or how can I customize the original theme myself?
Please help me to do this big matter..
July 29, 2007 at 4:37 am #59243In reply to: Plugin: Plugin browser for bbPress
Sam Bauers
ParticipantMy other option is to make the update check more atomic. Here, your pagination idea could help. So instead of fetching all the plugins, I could just fetch the first page, then the second etc. etc. on request. More complicated to code, but it might be the best long term solution to keep the best of both worlds. I could also add a way to list installed plugins first, or even have a separate view of installed plugins.
I wouldn’t think Trac is faster, it has a few more overheads on the server side I think. I don’t think it will come down to that though.
Neither the Trac site nor the SVN repository use compression on their output, so gzip is useless, but that was a good suggestion. I’m not sure the SVN repository could use gzip anyway as it would potentially get in the way of some SVN clients, I’m not sure SVN even supports compression techniques like that (although it probably should).
July 29, 2007 at 4:25 am #59475In reply to: {Request plugin:} auto complete tags
Sam Bauers
ParticipantThis is fixed in the latest trunk. I believe, the WordPress tag closing function has been moved across to bbPress.
July 28, 2007 at 9:28 pm #59520In reply to: subforums and markup
fel64
Memberfel64, the string is internal to bbpress, not the template loop.
Fair enough, shoulda checked that. So I went and looked through the code, you know, to find the problem. bb has quite an interesting structure there. Couldn’t find the problem, though, so I looked at the code in the .8.2.1 version and it’s missing a bit.
It’s fixed in trunk. Claire, upgrade to the latest version and it’ll work just fine.
July 28, 2007 at 7:25 pm #59518In reply to: subforums and markup
_ck_
ParticipantSooner or later you may want these other tweaks too:
http://ckon.wordpress.com/2007/07/12/bbpress-plugin-bb-tweaks/
1. Get rid of the ?replies=# ugliness in topic links
2. add nofollow to post links
3. add target=_blank to post links
4. auto-close tags – bbPress’s auto-close tags is broken by default
5. get rid of [closed] on subjects – useful if you have a narrow template
July 28, 2007 at 6:29 pm #59432In reply to: not getting pagination links on forum pages
_ck_
Participantfel64, the string is internal to bbpress, not the template loop.
Look at forum.php template to remind yourself
<?php while ( bb_forum() ) : ?>
<tr<?php bb_forum_class(); ?>>$forum is being treated as a global and not reset back.
I could remember and reset $forum I guess before and after the while-loop $temp=$forum; loop-here; $forum=$temp; but that’s an ugly hack. It’s got to be fixed in the core and that’s beyond my knowledge of bbpress.
-
AuthorSearch Results