Skip to:
Content
Pages
Categories
Search
Top
Bottom

tuzhak !== bozo; tuzhak === link-farmer;

Published on April 28th, 2007 by Sam Bauers

Their “personal” blog is just a link-feeder to other “blogs” which feed to others. The scam works like this…

Pick a few uncommon terms and create a bunch of blogs/sites that cross contain those terms and cross-link each other, this will give you high page rank at Google on a simple term. Now add links to your paying SEO clients sites on those blogs…. step 5 – Profit!

Well that’s the theory anyway. Who knows if it would actually work in practice.

Check their blog-roll, it’s 90% sites that are the same but at different domains. The abbreviation SEO is part of the site name etc.

Anyway, their posts are clutter – I don’t think they are legitimate – even if it was a person posting them.

Ghoulash.com

Published on April 28th, 2007 by

Ghoulash.com/forums

From the site I use to promote the game I publish, Ghoulash.

Profile Tabs

Published on April 27th, 2007 by

How do you add a tab to the three tabs – “Profile”, “Edit” and “Favourites” – visible only in the profile? I want to add a tab for the avatar and am fairly sure there’s a hook bb_profile_menu but I’m not sure what to do with it. The API certainly supports adding them, the code’s there, but I’m not sure how to do it. Anyone know?

Line return not working

Published on April 27th, 2007 by

I’m unable to get a big space between sentences when I post in my forums. What I mean is, when I’m posting and I hit the return key twice, it’s as if I’d only hit it twice.

I’m not getting this space here ^. So when I’m trying to post two paragraphs, it just looks like one large paragraph. Does that make sense?

Edit: oops sorry, I posted this in the wrong forum.

PHP Fatal error in bb-settings.php on line 7

Published on April 27th, 2007 by

Hi!

I did the installation as guided… created a config file…

So after the creation of a config file, and I reload the page, nothing shows but blank… a big white blank page.

I get this messege in my apache error log:

[error] [client 127.0.0.1] PHP Fatal error: Call to undefined function __() in C:\wow1.11\www\bbpress\bb-settings.php on line 7

Thx for all the help I can get! :)

bbPulp.org – developer wiki

Published on April 27th, 2007 by Sam Bauers

I informally announced this in another post, but it kind of got buried.

bbPulp is a wiki I have started for the purpose of creating some coherent documentation of the bbPress API for plugin and theme developers. There seemed to be enough people interested in having one now to start it. Hopefully it can form the foundation of the official wiki when it is created, and in the meantime we have some where to collect our knowledge of the API.

Already documented are all the pluggable functions. I need help with all the hooks (due to sheer volume), both filters and actions. If you are inclined to help, please use the hooks already documented as examples for others.

All submissions are released under the terms of the GNU Free Documentation License.

Plugin: bb-Scripture-Links

Published on April 26th, 2007 by

Version 1.0

This plugin automatically turns scripture references into links that will take the visitor to BibleGateway.com, where they can view the verse(s). The administrator can set the default version to one of more than a dozen available versions, including ESV, NIV, KJV, NASB, The Message, and so on.

The links are created dynamically each time a topic is loaded, so the actual text of the post is left alone. This is nice because it allows you to disable/delete the plugin without having to go back through and edit your posts to remove the extra markup.

This plugin is ideal for forums that are religious/spiritual in nature, as it will save your users a lot of time from having to hard-code links to passages they reference in their posts.

This plugin is almost entirely based on a similar WordPress plugin that does the same thing to WP posts. You can view the WP plugin here:

http://dev.wp-plugins.org/wiki/Scripturizer

You can read more about the plugin, or download the latest version of bb-Scripture-Links, here:

http://blog.wittmania.com/bb-scripture-links

You can see a working demo here:

http://blog.wittmania.com/bbpress/topic/2

tuzhak == bozo

Published on April 26th, 2007 by Sam Bauers

Congrats!

Hack: bb replies as wp comments; using bb API?

Published on April 25th, 2007 by

Wanting to integrate bb and wp more, I hacked up wp’s comments.php template to get replies in the forum to show up below posts in the wp section of the site too.

This currently requires the bbPress Post plugin.

Fairly simple job: find the corresponding topic, get the replies, and output them. My solution should work for you, too, if you have bbPress post installed and activated as a wp plugin. Code’s below.

I want to make it possible to reply to the topic from the wp section of the site if you’re logged in. Obviously I could make queries to insert the post into the database, but I’d like to use the bb API so it can be validated correctly, hooks are called etc. Not sure how I would go about making it accessible. Currently calling any bb functions returns the “undefined function” error; how can I make them available for use?

Paste this in front of the rest of your wp comments.php template:

<?php
function felblogtotopicid( $felpostID ) {
global $table_prefix, $wpdb;
$posts_table = $table_prefix . "bbpress_post_posts";
$topic_id = $wpdb->get_var("SELECT topic_id FROM <code.>$posts_table</.code> WHERE <.code>post_id</.code> = $felpostID LIMIT 1;");
return $topic_id;
}
global $post, $wpdb;
if( $forumtopic = felblogtotopicid( $post->ID ) ) {
$bbprefix = get_option( 'wpbb_bbprefix' );
$replies = $wpdb->get_results( '
SELECT poster_id, post_text, post_time
FROM ' . $bbprefix . 'posts
WHERE topic_id = ' . $forumtopic
);
array_shift( $replies ); //takes off first entry, ie. starting post, and moves the rest back one
//$replies = array of object( poster_id, post_text, post_time ) for each post I think
echo "<ol>n"; //start of list
foreach( $replies as $reply ) {
$poster = get_userdata( $reply->poster_id );
$poster = $poster->user_login;
echo '<li class="thread">' . "n"
. '<div class="reply">' . "n"
. '<div class="poster">' . "n"
. "<strong>" . $poster . "</strong>n"
. "<span> @ " . $reply->post_time . "</span>n"
. "</div>n"
. '<div class="post">' . "n"
. $reply->post_text
. "</div>n"
. "</div>n"
. "</li>n";
}
echo "</ol>n"; //end of list
//$replylink = bb_add_replies_to_topic_link( $forumtopic );
$replylink = get_option( 'wpbb_path' );
echo '<h3><a href="' . $replylink . '">Reply!</a></h3>' . "n";

} else { ?>

and paste this at the very back:

<?php } //end else conditional for corresponding topic to blogpost ?>

Example here

Strange browser problem

Published on April 25th, 2007 by

I have my forum integrated with wordpress, and all was working fine in both firefox and IE until i turned permalinks on in wordpress only. I emphasize, wordpress only, i’m not using pretty urls in bbpress.

This is where the odd behaviour starts. My blog works perfectly, permalinks work fine, and my forum works fine in firefox. However, when using permalinks in wordpress, i get “page cannot be found” error in IE7 when trying to browse the forum.

I’m totally stumped. My server supports permalinks, it works perfectly in firefox, wordpress works in IE7, and bbpress works in IE7 with permalinks off in wordpress. But with them turned on… page not found. What the hell?

Skip to toolbar