Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding info to Admin / User list page

Published on February 5th, 2009 by Daiv Mowbray

I wanted all info on the admin page which lists all users, so I have edited admin-functions.php.

I thought someone may be looking to do the same , so here you are. Nothing to difficult.

Just change the function bb_user_role to something like the following:

function bb_user_row( $user_id, $role = '', $email = false ) {

$user = bb_get_user( $user_id );

$r = "t<tr id='user-$user->ID'" . get_alt_class("user-$role") . ">n";

$r .= "tt<td>$user->ID</td>n";

$r .= "tt<td>ID ) . "'>" . get_user_name( $user->ID ) . "</td>n";

if ( $email ) {

$a = bb_get_user_email( $user->ID );

$r .= "tt<td>$a</td>n";

$a = $user->user_url;

$r .= "tt<td>$a</td>n";

$a = $user->from;

$r .= "tt<td>$a</td>n";

$a = $user->occ;

$r .= "tt<td>$a</td>n";

$a = $user->interest;

$r .= "tt<td>$a</td>n";

...

And change function display to have somthing like this:

$r .= "<thead>n";

$r .= "t<tr>n";

$r .= "tt<th style='width:10%;'>" . __('ID') . "</th>n";

if ( $show_email ) {

$r .= "tt<th style='width:10%;'>" . __('Username') . "</th>n";

$r .= "tt<th style='width:20%;'>" . __('Email') . "</th>n";

$r .= "tt<th style='width:20%;'>" . __('Url') . "</th>n";

$r .= "tt<th style='width:10%;'>" . __('From') . "</th>n";

$r .= "tt<th style='width:10%;'>" . __('Occ') . "</th>n";

$r .= "tt<th style='width:10%;'>" . __('Interest') . "</th>n";

} else {

$r .= "tt<th style='width:60%;'>" . __('Username') . "</th>n";

}

$r .= "tt<th style='width:15%;'>" . __('Registered Since') . "</th>n";

$r .= "tt<th style='width:5%;'>" . __('Actions') . "</th>n";

$r .= "t</tr>n";

$r .= "</thead>nn";

cannot add a certain tag; cannot delete tags

Published on February 5th, 2009 by

i was merrilly adding tags to a topic and then hit a weird error.

DB Error in BB_Taxonomy::set_object_terms: Duplicate entry '3609-10' for key 1

INSERT INTO bb_term_relationships (<code>object_id</code>,<code>term_taxonomy_id</code>,<code>user_id</code>) VALUES ('3609','10','1')

Warning: Cannot modify header information - headers already sent by (output started at /home/xx/public_html/messageboard/bb-includes/backpress/class.bpdb.php:293) in /home/xx/public_html/messageboard/bb-includes/functions.bb-pluggable.php on line 214

i also cannot delete any tags…

what’s wrong?

Captcha not working after integration

Published on February 5th, 2009 by

After doing the bbpress integration on my wordpress 1.7 the registration captcha has stopped working on my wordpress page. After entering in the captcha and clicking register I get “ERROR: You didn’t correctly enter the captcha, please try again.” Any thoughts?

Theme template files to change for 1.0?

Published on February 5th, 2009 by

I’m creating theme for stable version 0.9., but I’m nervous that theme will break once 1.0+ is released and I upgrade. Will template files change much in 1.0?

Posts added to all MU blogs showing on one forum???

Published on February 5th, 2009 by

Can posts to multiple blogs on an WPMU site be visible as topics on a common bbPress forum?

I’m looking for software that enables users to organize their work in their own blogs , but have each of their blog posts also be displayed as a new topics in a common forum. Does bbPress and MU work together this way, or does bbPress only create forums that are related to a single blog?

I’m not a WP or PHP developer, and have been looking for this feature on any platform. Thank you for you help.

Bill (bbPress at nobsys dot net)

Add free label/value pairs in user profile

Published on February 4th, 2009 by

One thing which I liked of Vanilla forum is the smooth ability for any user to add any number of custom label/value pairs into his/her personal profile.

This is nice as anyone willing to list any custom information like links to twitter, blogs, flickr, home address, phone number, age, chat, birthday, sex, whatever, can do it without effort, and the interface is kept really clean and smart.

Is there anything the like in bbpress, which I couldn’t yet find, please?

Use HTML code in post

Published on February 4th, 2009 by marcoapaulo

Hi

As said in the title, can I use HTML code in the posts I made in bbpress? I don’t want to show the code itself, I want to use code to insert, for example, tables and that sort of thing.

Thanks in advance

Firefox browser issues

Published on February 4th, 2009 by helenb

Hi there; I’m new to bbPress and uploaded the platform to my server yesterday. I’m trying to find some decent templates but, in the meantime, I’ve noticed that Firefox (my regular browser) is having issues displaying Kakumei correctly. It looks fine in IE. Does anyone else have the same problem? Do you know how to resolve it?

Finally, if you know of a bbPress theme that looks like Copyblogger’s WordPress theme, please let me know!

Cheers,

Helen

new accont spamming

Published on February 4th, 2009 by

Guys,

My forum is being spammed heavily by someone or script. News accounts are being created with bogus accounts. Is there anyway to solve this issue?

Thanks,

Gio

Share : Solution for BBPress 1.0 Alpha 6 – WordPress MU 2.7 cookie integration

Published on February 3rd, 2009 by

Ehlo all,

i just want to share a solution for BBPress 1.0 Alpha 6 – WordPress MU 2.7 cookie integration — or a hack. My problem is that after installation of WPMU and BBPress, i can not make a single sign on : to make a user log in to BBPress can access WordPress without another login and a user log in to WordPress can access BBPress without another login.

I just use Cookie integration with WordPress installed at

/home/usr1/myweb

And bbpress at

/home/usr2/myweb/bbpress

After Googling i found hint about cookie domain, SECRET KEY etc, but it does not work …

When i check the cookie, the cookie from BBPress is appended with some words for example :

wordpress_logged_in_170v36454

meanwhile the cookie for wordpress is simply

wordpress_logged_in

I then change a line of code at bb-settings.php from

define(‘BB_HASH’, $bb->wp_cookies_integrated ? md5($bb->wp_siteurl) : md5($bb->uri));

to

define(‘BB_HASH’, ”);

Somehow IT WORK !

Skip to toolbar