Forum Replies Created
-
In reply to: user profile link – bb vs wp
wp uses a static, non-user specific link. You can therefore go to your profile in admin and use the URL of that as the link for everybody.
bb has a function you can call:
user_profile_link()
, just like that as far as I can tell.Just change the theme appropriately for both bb and wp.
In reply to: Installing BBPress on a WordPress website.You can’t install in such a way that ‘Forum’ will be automagically listed under your pages and appear in your WP theme.
However, you can install so that it uses the same user database. You can also add ‘Forum’, say, to your pages list and have it redirect to the actual forum (using a WP Page redirection plugin). You can also make the theme such on bb that it looks just like your wp theme, or use the wp header – trickier, but fairly well documented around here.
In reply to: digg style ModerationNot as far as I know. Implementing it right now may be a problem; I understand that right now there is no way to store meta for a particular bb post and therefore moderating incrementally (rather than a delete/keep decision) might be tricky.
In reply to: Using the add_role functionNice, akhater. Just for simplicity and maintainability, you don’t actually have to copy and paste the
member
capabilities, you can simply duplicate them through code. (For example)In reply to: bbSyncρ is uploaded (third attempt, heh). Could fix your thing, jazbek? Hopefully I got all globals this time. Bit silly to knock them down one at a time. Moved the whole bb_load process into its own function.
In reply to: Changing the title of a viewTranslation files are your friend. Exactly as if you were translating to a different language, only all you’re doing is changing the wording.
In reply to: Plugin: YouTube in bbPressIt’s not installed here. It could not work.
In reply to: Using bbPress Functions in WordPressInclude bb in
wp-config.php
like so:require_once('path/to/bb-load.php');
In reply to: Topic Views “stuck”Try going straight to the guy’s site. He’s probably just stopped checking. (Note that he may well be too busy to help.)
Bugs, enhancements etc. should go on http://trac.bbpress.org. It’d be great if you put this up there.
In reply to: Problem inserting affiliate bannersNot sure where you’re posting this, but if bb isn’t completely screwing up it should remove javascript from input.
In reply to: bbSyncJust updated the thing. Dudes with the “my capabilities keep getting screwed”, try it. Ugly but worth a shot.
In reply to: bbSyncI disagree. Feel free to implement it, and I’ll be happy to add a branch to the plugin.
Working on that. Worst comes to worst, I’ll just temporarily kill the bb process that does it.
In reply to: bbSyncThey can’t be. They’re not logged in.
This will continue to be the case until bb supports anonymous posting.
In reply to: Upgrade problemsSounds like an incomplete upload. Check that the file exists and if it does, try replacing it.
In reply to: bbSyncThe previous version of this plugin. That’s version μ instead of the latest, ν.
In reply to: bbSyncCan you use the pre-mdawaffe version again and verify that that does _not_ display this behaviour?
In reply to: Bozo – what are the triggers?Gostallion, got the latest bb?
In reply to: bbSyncMmmm. Bum.
Open phpmyadmin, browse wp_usermeta, look for a very recent record for your user_id, where meta_key =
capabilities
and meta_value looks something likea:1:{s:6:"member";b:1;}
. Then delete that and try again.In reply to: bbSyncmdawaffe may have sorted the somewhat ridiculous globals thing ( https://bbpress.org/plugins/topic/56?replies=18#post-597 ). I see what you were saying now too jazbek, it seems obvious in retrospect. Updating plugin now (to ν).
Vito, what version of the plugin are you using?
In reply to: bbSyncYo,
good good. Now instead of
global $bb_cache;
tryglobal $bb_cache, $bb_roles;
In reply to: bbSyncSlex, you didn’t, it’s cool, and for the last week I have barely posted here without being rather drunk (since I usually see posts late at night when I come home). I did not know about you and I somewhat hope that you did not know about me. It is cool.
Jazbek, have you tried it? It has been a good half-year since I came up with the
global
s solution, but even from a purely theoretical standpoint I don’t see why it would work. The key issue is that bb-include files cannot access the globals, and declaring globals in some function in wp shouldn’t change that. The only thing that seems like it could is the main code, ie. config.php.Of course, perhaps I’m making something of a fool of myself and it would totally work. If you’ve tried it and it worked for you (meaning also that without the
global
s code in bbsync.php you had fatal errors) then I’ll check it out again. Cheers.In reply to: bbSyncSlex, indeed there’s some issue there. It probably needs further thinking about. However, like I said if you want to modify it to stop wp saving comments, or even to make bb add replies to wp comments, implement the change and I would definitely like to make a branch of bbsync.
Vito, can you please open bb’s config.php file and add this line to it somewhere?
global $bb_cache;
That should fix that error (assuming you’re using the latest stable, .8.3!).
No good news on making backdated topics I’m afraid, because there’s no way to use the API to create the topic and set the time of it to be in the past. You’d have to copy and modify some large blocks of code, which is exactly what I want to avoid with bbsync (regarding the problem that became with bbpress post, for example).
However, if you edit an old post in wp and press save, it will create a new topic in bb for you (but with today’s date, rather than the appropriate one). It’s an unfortunate limitation of bbsync.
In reply to: bbSyncHey vitovarducci. Are you sure you had bbpress post installed? It doesn’t look like you do now. Check whether any old posts you had synchronised through bbpress post are synchronised now. If they are, or you didn’t have any synchronised, well, that’s good. It’s sorted. If they aren’t, can you check your database (through phpmyadmin or similar) and looks for a table called wp_bbpress_post_posts? Also check that you actually activated bbpress post (don’t if you hadn’t).
In reply to: bbSyncLooks good. No fatal error, and I was able to post. ^^ Also fixed a glaring oversight – unescaped text – but it makes me wonder if bb has a method for doing the whole shebang of creating a post from standard user input. Hmm. Should be nice now, though. Uploadin’ now.
[Edit] Release μ.