Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin – Private Messages

Not sure why, but I had to make these changes to get the PM links to work for me:

if ( $bb->mod_rewrite )

$r = bb_get_option('uri') . "message" . ( '' != $tag ? "$tag" : '' );

to

if ( $bb->mod_rewrite )

$r = bb_get_option('uri') . "message.php" . ( '' != $tag ? "$tag" : '' );

and

if ( $bb->mod_rewrite )

$r = bb_get_option('uri') . "pm" . ( '' != $tag ? "$tag" : '' );

to

if ( $bb->mod_rewrite )

$r = bb_get_option('uri') . "pm.php" . ( '' != $tag ? "$tag" : '' );

Works great though! :)

EDIT: I get this error when I add the pm_user_link bit to my post.php

“bbPress database error: [Table ‘CENSORED_DB_NAME’ doesn’t exist]

SELECT * FROM bb_users WHERE ID = 1″

I never could figure out why I was getting that, so I just deleted that bit, but otherwise seems to be working fine.

Skip to toolbar