Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to have topic_author() show “display_name”?

Published on November 20th, 2007 by intellivision

On front-page.php I’d like the “first poster” column to show the users’ display_name (bbPress is synced with WP).

I’ve tried this

<td class="num"><?php echo(get_author_name(topic_author())); ?></td>

which calls this

function get_author_name( $auth_id ) {
$authordata = get_userdata( $auth_id );
return $authordata->display_name;
}

but it still shows “user_login” which tend to have ugly underscores etc.

How to show forum title on latest topics list?

Published on November 20th, 2007 by

Just wondering if there’s an easy way to add the forum title for each topic on the “latest discussions” list on the front page. i.e. I want to add an “In forum”: column to the latest discussion list table.

Something in the topics loop in front-page.php ought to do it…. but what? I tried get_forum_name(), but that takes the forum ID. Is the forum ID available anywhere in the $topic var inside the loop?

403 error in post.php

Published on November 20th, 2007 by dss

I’ve got Windows XP users saying they can’t post in my install of bbPress

they get this error:

Error 403
We're sorry, but we could not fulfill your request for /esprit/topic/102?replies=6#post-356 on this server.

You do not have permission to access this server.

Your technical support key is: 5246-fa61-dfd9-b1ad

You can use this key to fix this problem yourself.

The only way they are able to successfully post is to hit the ‘back button’ after the error and find they have indeed successfully posted.

I searched and didn’t find this error.

What could it be?

editing the mod_rewrite

Published on November 20th, 2007 by

Okay, does anyone know where bbpress decides what the mod_rewrite linkks should be – I;ve tried editing .htaccess – but that just links back to site.com/forum/water-cooler

bbPress on localhost

Published on November 20th, 2007 by Doobus

I’ve tried installing it on xampp and wamp and I get the same warnings. When I go ahead and install with the warnings I can’t log in. I don’t get why it is reading ODBC@localhost instead of the DB name I provided which is bbp1. I’m 99.9% sure I set up config correctly, but just in case I didn’t here it is:

// ** MySQL settings ** //

define(‘BBDB_NAME’, ‘bbp1’); // The name of the database

define(‘BBDB_USER’, ‘root’); // Your MySQL username

define(‘BBDB_PASSWORD’, ”); // …and password

define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change these last few

define(‘BBDB_CHARSET’, ‘utf8’); // If you are *upgrading*, and your old config.php does

define(‘BBDB_COLLATE’, ”); // not have these two contstants in them, DO NOT define them

// If you are installing for the first time, leave them here

// Change the prefix if you want to have multiple forums in a single database.

$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

// The full URL of your bbPress install

$bb->uri = ‘http://localhost/bbpress’;

// What are you going to call me?

$bb->name = ‘bbpress’;

// This must be set before you run the install script.

$bb->admin_email = ‘blah@blah.com;


The Warnings


Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user ‘ODBC’@’localhost’ (using password: NO) in C:wampwwwbbpressbb-includesdb-mysqli.php on line 80

Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in C:wampwwwbbpressbb-includesdb-mysqli.php on line 80

Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-admininstall.php on line 10

Warning: Cannot modify header information – headers already sent by (output started at C:wampwwwbbpressbb-includesdb-mysqli.php:80) in C:wampwwwbbpressbb-includesfunctions.php on line 1898

Is there a way to close forums?

Published on November 19th, 2007 by Grant Barrett

Is there a way to close the forums so that no comments, topics, or anything can be changed or posted, but everything can still be read?

Simple image upload for inserting pics in topics

Published on November 19th, 2007 by tbronson

Seeking a simple solution that allows logged in users to upload and include images in their posts.

All I’ve come up with is the Allow Images plugin, which adds a button to the editing form that helps paste an IMG tag so you can link to an external image.

I was told in another thread that it’s far from trivial to create a file attachments plugin for bbPress: “A major problem right now is lack of per-post metadata. Even if that were present, this would not be a trivial task.” I’m not sure of the terminology here, but if “attachment” means embedding an image in a post, that’s what I want to do.

ImageShack was suggested, a web service that lets people upload images which they serve for free. You can embed their upload form in your site, upload, then grab the preformatted image URL and paste it into your bbPress post. This kinda works, but it’s distracting because you get an ImageShack mini-ad, and have to go to their site to copy the link (cool service, though)…

I thought of trying a simple uploader script that would upload files completely outside of bbPress and present the URL for cutting and pasting into the post. Kinda like the ImageShack procedure minus…ImageShack. Dunno, this is probably beyond me, though I may try with a canned script…

I’m using 2.3.1 integrated with 0.8.3 via bbSync and WordPress integration. It works great!

Any ideas?

(I noticed that Allow Images is the #1 most downloaded plugin, 7x more popular than #2, WordPress Integration, so I imagine the MASSES are craving simple image upload… :)

Thanks!

Permalink broken when in admin mode!

Published on November 19th, 2007 by

I have this weird issue. I have enabled permalink in my config.php. Initially I had the .htaccess with option +multiview in the /bbpress folder. Then I read that it would be good to have just one .htaccess in the wordpress folder. I did this and also tried to have the other option as documented in the site (using a generated list as content for .htaccess).

Permalinks worked when I am not logged in. The moment I log in as admin, I see the address is of the form ?/topic=1 etc.

I try clearing cookies, tried to delete the whole forum but still am able to reproduce the issue.

What am I doing wrong?

wp bb integration cookie issue

Published on November 19th, 2007 by

I’m having cookie issues, I think.

My WP is in the root… www.blahblahblah.com takes you straight to wp blog. So in my bb config.php I have two paths that are the same…

$bb->wp_home =

$bb->wp_siteurl =

Both have the same path. Not sure if that’s relevant but it seems odd to me. Anyway, bb is in a sub dir off that…. so it’s blahblahblah.com/community/

The sites pull and add usernames from and to the same place, so the users are automatically added appropriately, but if I’m logged in to one or the other and switch, I have to log in all over again… Not a big thing, but I’m guessing that’s not necessary…

After searching through the forums I can’t seem to find anything specific enough to help me figure out what to do or where to do it. The FAQ seems to indicate that it should work “out of the box” because the cookies are in the same location… All the other examples I see have their wp and bb as a subfolder of the root…

I’m sure I’m just not searching for the correct tags but I seem to be at a loss…

How Do I Do This?

Published on November 18th, 2007 by

Hi,

I want to make a forum or forums like this:

Chicago Forum

    General Discussion

    Jobs

    For Sale

    Housing

    Another Topic

    Another Topic

    Another Topic

    Another Topic

New York Forum

    General Discussion

    Jobs

    For Sale

    Housing

    Another Topic

    Another Topic

    Another Topic

    Another Topic

And do this for five or six cities.

How would I do this? I fear the thing will be too big and complicated.

If the answer has to do with multiple forum installations, what’s involved with that? And, I would like users to be able to post in any city without having to log in again and again.

Oh, I should mention that I’m just now learning code ect. I’m at the point where I can tinker with a file if I’m told exactly how to do it.

Any suggestions?

Skip to toolbar