Skip to:
Content
Pages
Categories
Search
Top
Bottom

super beginner :)

Published on July 24th, 2007 by

Hello everyone,

I know a bit about html (but that is not necessary here I guess :p) but nothing about css & php..

I managed to install bbpress on my website.. I am integrating the forum with Iframes on my website.

now I would like to have a very cleen and simple forum

– no hot tags

– not a big header

– the forums on top & the latest discussions on the bottom

the theme I think leans the most to my needs is Superbold for bbPress1 by Refueled (looking at styles). So I’m thinking I could start by editing this theme?

as you can see I need a little help,

I have dreamweaver to edit things.

can someone help me and say me how to start or what is the best thing to do?

Adding bbPress as WP Page

Published on July 24th, 2007 by Trent Adams

I came across this post in the wp.org forums and it seems to work from what I hear.

Trent

move it description

Published on July 23rd, 2007 by

I could not understand the description of the move it plugin. What does those descriptions mean?

4) edit your “topic.php” template and near the end put after

5) edit your “edit-post.php” template and near the end put after

What I need to do in topic.php and edit-post.php.

Plugin: List Bookmarks

Published on July 23rd, 2007 by bobbyh

A lot of bbPress forums have taken advantage of easy user integration with WordPress. The next step to integrating a WordPress blog and bbPress Forum is to create a bbPress Theme to match your WordPress Theme. bbPress doesn’t ship with built-in support for a sidebar, although I found it trivial to add this with a small plugin. What I really missed was a lightweight way to access WordPress’ wp_list_bookmarks Template Tag function, which lets you display your WordPress Blogroll links.

To add this functionality, I wrote this bbPress List Bookmarks plugin. To install this plugin, download the zip and unzip it to your bbPress server under your /my-plugins folder. The zip should extract to a folder named “list_bookmarks”, so the location of these files should be /my-plugins/list_bookmarks. Then, in your bbPress theme, add a wp_list_bookmarks Template Tag with whatever parameters you want (just like you would when editing a WordPress Theme). You shouldn’t need to hack any of the plugin files to get this to work, although of course you’ll have to edit your bbPress Theme to take advantage of this plugin.

This plugin should work whether or not these WordPress tables are located in the same database as your bbPress tables, as long as your WordPress tables are located in the same database as your integrated user tables.

I’ve tested this plugin on my site, which currently uses bbPress v0.8.2.1 and WordPress v2.2.1. If you use WordPress 2.0 or earlier and you want to use this plugin, you should probably upgrade your WordPress first as wp_list_bookmarks is a new function introduced in WordPress v2.1. I don’t think it should matter what version of bbPress you use.

This plugin ships with a database class called bbwpdb.php that lets us access the WordPress database tables. The bbwpdb.php file is basically a clone of the bbPress /bb-includes/db.php file, edited to let us retrieve WordPress tables. The remaining files are simply three WordPress PHP pages needed (wp-admin/admin-db.php, wp-includes/bookmark-templates.php, and wp-includes/bookmark.php), with slight edits to make it use the bbwpdb database class, instead of the WordPress or bbPress database class. The last file (list_bookmarks.php) just glues everything together.

mysql_query() OR $bbdb->get_results() ?

Published on July 22nd, 2007 by Null

Hi,

I currently have an API problem fixing a plugin. Using mysql_query() will result in errors on some boards so I wanted to change this using $bbdb->get_results(). This works, but mysql_fetch_array will error things up now. What do I need to change to make this work correctly?

Current code (without using $bbdb->get_results()):

$r = mysql_query("SELECT * FROM $bbdb->menu
WHERE set = 'inactive' ORDER BY order ASC");
while($rw = mysql_fetch_array($r))

view.php template doesn’t have an rss feed?

Published on July 22nd, 2007 by _ck_

This is probably one for TRAC just but I just wanted to check that I am not missing something…

You can’t get an rss feed for a view page, can you?

This should be fairly easy to implement since just an array of topics is dumped to the page, just route it somehow to the rss.php upon the proper url ie. /forums/rss/view/no-replies

Adding a new User Type

Published on July 21st, 2007 by Thrift

How can I add a new user category/group/type? I have the private forum plugin setup and I want to allow a specific group of people access to it. My only option of doing that right now is to put those people in the moderator group. This seems like it should be a simple thing to do (I know this feature is fairly common on all other forum scripts) so am I just overlooking it?

Any help is appreciated!

performance idea, preloading general options

Published on July 21st, 2007 by _ck_

I’ll probably copy this to TRAC but it’s good for a discussion here too?

I’ve been poking around the results using the query list plugin and something hit me.

Options are not being preloaded (ie. SELECT meta_value FROM $bbdb->topicmeta WHERE topic_id = 0)

However a few options, like active plugins MUST be loaded on every load. So the options table has to be queried at least once, usually two or three times. This causes extra queries.

So the question is, what’s slower, unserializing possibly serialized data in half a dozen to a dozen options, or making half a dozen to a dozen extra mysql queries?

Preloading could be a plugin, the cache code is already there. Just wondering if I should bother working on it given the above question.

Number of users error

Published on July 21st, 2007 by

Hi all,

The installation of the forum went really well and it seems to have integrated with my blog with all the users being able to log in and post but in the admin pannel there’s a bit of a quirk. I only have 57 members but at the top it’s stating that I have 309 and offering 1,2,3 …7 to view them all. When I click on page 2 I see 7 users, anything after that it gives me an error (no users found).

Any ideas what this is about – should I be worried about something or is this just a glitch?

http://www.psychblog.co.uk/wp-content/uploads/picturebb.png >> picture of what I see

Cheers, Jamie

Strange (?) (404) report i Firebug

Published on July 20th, 2007 by oledole

I have WP and BB integrated with BB in a subdirectory. Now I found a strange thing in Firebug’s “Net” section (where Firebug shows “requests”).

When I load anything WP-realted everything looks fine, but when I load something BB-related HTML-request is listed with (404) in Firebug, although the page loads just fine.

URL to the blog is http://www2.enserio.se/blogg/

and the forum is at

http://www2.enserio.se/blogg/forumet/

I’ve had a problem when trying to check the forum at http://www.websiteoptimization.com/, which says that the page (and any other BB-realted page) doesn’t exist and report a 404-error. Somehow I thing it’s related to the Firebug-thing.

I suspect it’s an ‘htaccess’ related problem, but I can’t figure out how to fix it. The htaccess in the WP root is:

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /blogg/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /blogg/index.php [L]

</IfModule>

# END WordPress

and dito in the bb root is:

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /blogg/forumet/

RewriteRule ^forum/(.+)/page/([0-9]+)$ /blogg/forumet/forum.php?id=$1&page=$2 [L,QSA]

RewriteRule ^forum/(.+)/?$ /blogg/forumet/forum.php?id=$1 [L,QSA]

RewriteRule ^topic/(.+)/page/([0-9]+)$ /blogg/forumet/topic.php?id=$1&page=$2 [L,QSA]

RewriteRule ^topic/(.+)/?$ /blogg/forumet/topic.php?id=$1 [L,QSA]

RewriteRule ^tags/(.+)/page/([0-9]+)$ /blogg/forumet/tags.php?tag=$1&page=$2 [L,QSA]

RewriteRule ^tags/(.+)/?$ /blogg/forumet/tags.php?tag=$1 [L,QSA]

RewriteRule ^tags/?$ /blogg/forumet/tags.php [L,QSA]

RewriteRule ^profile/(.+)/page/([0-9]+)$ /blogg/forumet/profile.php?id=$1&page=$2 [L,QSA]

RewriteRule ^profile/(.+)/([a-z-]+)$ /blogg/forumet/profile.php?id=$1&tab=$2 [L,QSA]

RewriteRule ^profile/(.+)/([a-z-]+)/page/([0-9]+)$ /blogg/forumet/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

RewriteRule ^profile/(.+)/?$ /blogg/forumet/profile.php?id=$1 [L,QSA]

RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /blogg/forumet/view.php?view=$1&page=$2 [L,QSA]

RewriteRule ^view/([a-z-]+)$ /blogg/forumet/view.php?view=$1 [L,QSA]

RewriteRule ^rss/$ /blogg/forumet/rss.php [L,QSA]

RewriteRule ^rss/forum/([0-9]+)$ /blogg/forumet/rss.php?forum=$1 [L,QSA]

RewriteRule ^rss/topic/([0-9]+)$ /blogg/forumet/rss.php?topic=$1 [L,QSA]

RewriteRule ^rss/tags/([a-z-]+)$ /blogg/forumet/rss.php?tag=$1 [L,QSA]

RewriteRule ^rss/profile/([0-9]+)$ /blogg/forumet/rss.php?profile=$1 [L,QSA]

RewriteRule ^mlist/ mlist.php? [L,QSA]

</IfModule>

I can’t use the “Options +MultiViews”, gives me an “Internal server error”.

Any input on this is most welcome!

Skip to toolbar