Search Results for 'bbpress'
-
AuthorSearch Results
-
November 13, 2008 at 5:19 am #68886
In reply to: [1.0 Trunk 1806] How to delete deleted messages ?
lstelie
MemberThaks,
I’ll try this way for next time, in the meantime I ended using PhpMyAdmin to delete post and tipic with status=1
I hope this fucntionality will make its way in the core because it can become a real problem.
I had a problematic user, I first deleted all his messages (deleted, but not really deleted as BBPress don’t really delete) then I deleted his account.
A few hours later he recreated his accoun and suddently all supposedly deleted messages appeared with “anonymous” has author…. very strange.
Using phpMyAdmin the problem is gone
How to use your script ?
Thanks again
November 13, 2008 at 4:54 am #68636In reply to: Allowing New Users to pick their own passwords
johnhiler
MemberThe bbPress I’m using is on 0.83… upgrading to 0.9.0.2 on a test server, and then testing the integration with WordPress and Mediawiki.
Once everything is looking good, we’ll migrate the live site to use bbPress 0.9.0.2. Then I’ll install this plugin – excited!
Yah Mediawiki is tricky stuff. The worst part is that the cookies don’t truly integrate! I used a plugin to get both software reading off of the same bbPress users table… so that works. But you have to re-sign in manually as you click from the blog/boards to the wiki… alas.
Will keep you posted on the plugin!!
November 13, 2008 at 3:44 am #66118In reply to: WordPress + bbPress Integration 101
Gregg
Memberok update as ive been messing with thing maybe too much.
if i include the wp-blog-header.php to use WP functions i am never recognized as logged in on BB side even though using the bb form gets me logged in on wp side. everything redirects me to the forum homepage when trying to go to admin or profile. weird.
with the include not there I can login and be shown logged in on bbpress side, but i cannot logout! omg it doesnt end. maybe its because i have had 5 hours of sleep the past two nights but any help on this would rock!
November 13, 2008 at 2:18 am #66117In reply to: WordPress + bbPress Integration 101
Gregg
MemberIm integrating my second wp and bb site and this time around it seems there are some easier steps only I cant get this setup to work. I can login to the WP side fine. But when i login from bb side it just redirects to the forum homepage. It will login the person on the wp side but not let them do a thing on the bb side.
I dont have admin access until wipe out the theme and clear the cookies. its very strange.
I followed all steps correctly in the writeup. any help would be much appreciated.
here is what my bb-config file looks like
require_once('/path/to/blog/wp-blog-header.php');
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘db’); // The name of the database
define(‘BBDB_USER’, ‘user’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘pswd’); // …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 bb-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
define(‘COOKIEPATH’, ‘/’ );
define(‘SITECOOKIEPATH’, ‘/’);
// Change BB_SECRET_KEY to a unique phrase. You won’t have to remember it later,
// so make it long and complicated. You can visit https://www.grc.com/passwords.htm
// to get a phrase generated for you, or just make something up.
// If you are integrating logins with WordPress, you will need to match the value
// of the “SECRET_KEY” in the WordPress file wp-config.php
define(‘BB_SECRET_KEY’, ‘secretkeydotcom’); // Change this to a unique phrase.
// If you are running multiple bbPress installations in a single database,
// you will probably want to change this.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BB_LANG to ‘de’
// to enable German language support.
define(‘BB_LANG’, ”);
/* Stop editing */
if ( !defined(‘BB_PATH’) )
define(‘BB_PATH’, dirname(__FILE__) . ‘/’ );
require_once( BB_PATH . ‘bb-settings.php’ );
$bb->wp_siteurl = ‘http://www.site.com/blog/’;
// that’s your WordPress URL, not bbPress
$bb->wp_home = ‘http://www.site.com/blog/’;
// almost always the same as siteurl unless you tinker
$bb->wp_table_prefix = ‘wp_’;
// should almost always be wp_ unless you tinkered
$bb->user_bbdb_name = ‘db’;
// this is the MYSQL database name for *WordPress*
// you can copy it right out of WordPress !
$bb->user_bbdb_user = ‘user’;
// this is the MYSQL user name for *WordPress*
// you can copy it right out of WordPress !
$bb->user_bbdb_password = ‘pswd’;
// this is the MYSQL password for *WordPress*
// you can copy it right out of WordPress !
$bb->user_bbdb_host = ‘localhost’;
// 99.9% of the time it’s going to be localhost, unless you are on DreamHost or some other weird ISP
$bb->custom_user_table = ‘wp_users’;
// 99.9% of the time it’s going to be wp_users
$bb->custom_user_meta_table = ‘wp_usermeta’;
// 99.9% of the time it’s going to be wp_usermeta
$bb->authcookie = ‘wordpress_randomnumbers’;
// in theory you should be able to leave this out
// but this is going to be copied from WordPress cookie
// this *must* match the WordPress setting
// do NOT use the 1234567 part, use your own cookiehash from WordPress – see the note at the very bottom
$bb->cookiedomain = ‘.site.com’;
// note the leading DOT – this is important
// this *must* match the WordPress setting
$bb->cookiepath = ‘/’;
// I *highly* recommend you set the cookie path to /
// this *must* match the WordPress setting
$bb->sitecookiepath = ‘/’;
// I *highly* recommend you set the cookie path to /
// this *must* match the WordPress setting
//tried this – doesnt work with or without…ugh
$bb->usercookie = ‘wordpressuser_randomnumbers’;
$bb->passcookie = ‘wordpresspass_randomnumbers’;
November 12, 2008 at 11:09 pm #68885In reply to: [1.0 Trunk 1806] How to delete deleted messages ?
wiseacre
Memberhttps://bbpress.org/forums/topic/permanently-deleting-topocs-and-posts
It’s tested with Alfa 1
November 12, 2008 at 6:21 pm #68928In reply to: More than on “Main Theme”?
_ck_
ParticipantYou want Forum Categories.
It’s built in on 1.0
If you are using 0.9 you need this plugin:
November 12, 2008 at 6:04 pm #4260Topic: More than on “Main Theme”?
in forum Troubleshootingjorma
MemberI have installed BBpress on my website and everything is working good.
But I want to have several divisions in the forum. On this forum (BBpress.org/forum) there is one division called “Main Theme”. I want to have more than one “Main Theme”, and I also want to change the name on these divions.
Is this possible? And how do I fix this?
/Martin, Sweden
November 12, 2008 at 5:17 pm #68867In reply to: visit bbpress in root dir; store it elsewhere
andyaties
MemberReplying to myself: I installed on our live site and didn’t have the same problems, by copying the files onto a root with a non-bbpress name, and several levels down; maybe just a local server problem. I think the lesson is: install really basic, and play. Make up your mind what everything is going to be called and where it will go, and then start all over fresh.
At least now we don’t see bb-press named folders except in admin. But I agree, it would be neater to have all the bb-press functional stuff in a common place, called by as many installations as required, but I guess there is a single database / table registration in there.
Pretty neat though; I like it. Only problem is IE 6 messes it up in places (positioning, not showing all user tags etc.)
November 12, 2008 at 4:29 pm #68904In reply to: Writing and uploading plugins
_ck_
ParticipantUnfortunately there’s little bbPress documentation right for developers. It’s very much like WordPress however, just different hooks (do_action, do_filter).
There’s no official list of functions but some people have generated xrefs for it, example:
http://phpxref.ftwr.co.uk/bbpress/nav.html?index.html
(unofficial)
I keep a database reference here:
http://bbshowcase.org/reference/
but it’s a little out of date for 1.0 alpha
To upload your plugin into the extend area, first you have to request a “slot” under Extend->add your plugin
https://bbpress.org/plugins/requests/
Then you’ll get an email when it’s approved in a few days (mdawaffe is distracted these days, it can take 1-5 days on average) Then you need to learn how to use SVN to upload your files into the system.
The steps are the same as for WordPress and here’s a good guide:
http://www.binarymoon.co.uk/2008/01/wordpress-plugin-subversion-guide/
only the svn url is different
November 12, 2008 at 4:04 pm #68877In reply to: “alphabetical” ordering of hot tags
_ck_
ParticipantAny guide that is for WordPress plugins should work for bbPress, it’s just that bbPress’s “hooks” (do_action, do_filter) will be named differently.
bbPress is unfortunately too young to have decent documentation yet. WordPress itself didn’t really “take off” until 2.0 beta came out.
This is essentially the plugin framework you need:
<?php
/*
Plugin Name: My Tag Sort
*/
remove_filter('sort_tag_heat_map', 'bb_sort_tag_heat_map');
add_filter('sort_tag_heat_map', 'my_sort_tag_heat_map');
function my_sort_tag_heat_map( &$tag_counts ) {
// put your replacement code here
}
?>Save it as
my-tag-sort.php
, put it into thebbpress/my-plugins
folder, activate and you’re in business (well after you figure out the sort method).Typically you’d have to do a
return $tag_counts;
at the end of a filter but that&
on the&$tag_counts
means it’s “passed by refererence” which is a fancy way of using the original array directly without making a copy, so the original is changed at the source when you modify it. It’s a much faster way to move large amounts of info around.November 12, 2008 at 3:16 pm #68876In reply to: “alphabetical” ordering of hot tags
myu
MemberThank you.
I will look for those guides. (And re-do all the “hack”s if possible..)
Should’ve thought about looking for WordPress guides instead of bbPress ones.
November 12, 2008 at 3:15 pm #68866In reply to: visit bbpress in root dir; store it elsewhere
andyaties
MemberI have a similar query: I can install into “/bbpress” on my web root, but the installation just won’t complete if install to deeper folders, eg: /network/members/bbpress where there is .ht access security.
Also, I’d rather it was all in /forum rather than /bbpress. Unless all hrefs, includes etc. are purely relative, that would require trawling all bbpress files for this reference to change it (?)
No – you can’t just rename the root after installation and return to reconfigure the install root setting: it all gets lost in itself.
November 12, 2008 at 1:11 pm #68875In reply to: “alphabetical” ordering of hot tags
_ck_
ParticipantbbPress uses the same concept as WordPress with add_filter and add_action so there are many guides out there as to how it works.
Essentially it’s a “hook” that allows you to intercept the process or results. The first part of the add_action/add_filter is the process name or trigger, the second part the the name of the function you want to process at that moment.
If there are existing filters/actions in place you can unhook them with remove_action or remove_filter.
November 12, 2008 at 4:09 am #68634In reply to: Allowing New Users to pick their own passwords
johnhiler
MemberRan into a little trouble installing it… I’ll upgrade my bbpress version this weekend!
It’s a little tricky since we’ve integrated our bbPress with a WordPress and a MediaWiki installation… plus dozens of bbPRess plugins. But we’ll get it working soon, and I’ll send that donation off!
November 12, 2008 at 2:55 am #52356In reply to: A phpBB to bbPress database converter
eslavin83
Memberi’m also getting this warning message:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/public_html/bbs08/phpbb2bbpress.php on line 922
November 12, 2008 at 2:43 am #52355In reply to: A phpBB to bbPress database converter
eslavin83
Membercan anyone answer the question regarding the “39816” error? i get up to step 8 and then that string of numbers shows up. i checked the new database and nothing has been pushed into it.
November 12, 2008 at 12:29 am #68897In reply to: Access user data outside bbpress
irr1449
MemberOk so I’m not sure if this is the best way, but I turned on WordPress integration but without sharing database tables. Now I can access the cookies on any page that I include bb-load!
November 12, 2008 at 12:00 am #68895In reply to: Tying WordPress Entries to bbPress forum entries
chrishajer
ParticipantWhat version are you using? For older version, the bbPress plugin bbSync does what you want. For the newer alpha versions, there is bbPress live, a WordPress plugin.
November 11, 2008 at 11:53 pm #4255Topic: Access user data outside bbpress
in forum Installationirr1449
MemberI’m integrating a bbpress forum into a website and I need access to the bbpress user info and functions.
at the top of my php page i’ve done
require(“/path/to/forum/bb-load.php”);
This works great so far, I can load the forum, display topics etc. The only problem is that I can not maintain a user log in when I go from the forum to my new page. I’ve dumped the $_COOKIE var from my new page and the bbpress cookie is not present. If I dump $_COOKIE from a bbpress page its present.
Any idea?
Is there any way I can make the bbpress cookie available in my new page?
November 11, 2008 at 11:00 pm #4254Topic: Tying WordPress Entries to bbPress forum entries
in forum Requests & Feedbackfeastoffools
MemberI’m wondering if this is possible-
We have our wordpress blog Feast of Fools tied together with bbPress forums, and I was wondering if there was a way for bbPress to treat the comments on a blog entry as a topic in the forums.
This way, popular blog entries would “float” to the top in the same way that bbpress forum entries do.
Any ideas? It this already a function we don’t know about?
November 11, 2008 at 7:43 pm #68865In reply to: visit bbpress in root dir; store it elsewhere
_ck_
ParticipantI believe 1.0 specifically has some abilities to address such a desire but I am unfamiliar with them. Sam might know.
November 11, 2008 at 5:43 pm #68214In reply to: bbPress 1.0-alpha-2 released
lostdeviant
MemberI started a thread of several issues I’m having with Alpha-2. I hope they’ll be fixed in Alpha-3.
November 11, 2008 at 4:28 pm #68487In reply to: Customizing gravatars
Ipstenu (Mika Epstein)
ModeratorOkay, having tested it a bunch of different ways, I can’t get it to work.
I want to make my own image the ‘default’ for the non-gravatard people (which works fine on WordPress).
In WordPress it’s this:
<?php echo get_avatar(get_comment_author_email(),50,'http://www.foo.com/gravatar.png');?>
For bbpress we have this
post_author_avatar();
on post.php. Passing the URL into that, either on it’s own or as $default doesn’t work.Using
echo bb_get_avatar( bb_get_user_email(post_author()), 48, 'http://www.foo.com/gravatar.png' );
didn’t work.I’m gonna keep tossing stuff up against the wall for now.
November 11, 2008 at 2:14 pm #68213In reply to: bbPress 1.0-alpha-2 released
WebDev WaxLotus LLC
Member@sc0ttbeard: Hey Scott, take a look at a previous post of mine to hopefully jump-start your audit. I wonder if it’s a simple server config issue wrt cookie domain path… I’m going to RTFM.
November 11, 2008 at 2:05 pm #66116In reply to: WordPress + bbPress Integration 101
WebDev WaxLotus LLC
Member@complex I think you’re mistaken. WP2.6.2 – WP2.6.3 did not have cookie-related modifications.
WP2.6.3 did not fix ‘cookie-related issues’. The edict still stands for bbPress 0.9x.
As I understand it, it is the move to bbPress 1.0 that uses the ‘new’ WP2.6x cookies.
If you find ‘old’ options they’re probably there to permit backwards-compatibility with plugins etc that have not been upgraded yet.
-
AuthorSearch Results