Forum Replies Created
In reply to: Setup bbPress as a standalone WP install
Thanks for the reply! Integration is not an option for us, as explained in my original post.
The reason I posted the question is that the current version of bbPress – unlike the version we started with – is now a “plugin” that uses the wp_ tables, whereas before it had it’s own folder structure, themes, plugins, etc. But NOW when installing bbPress as a Stand Alone forum, it sounds like we have to install WP somewhere first and then add the plugin? I just wanted to be sure there wasn’t some other method to follow when you’re *not* integrating it into an existing WP-based site.
Forgot to add that when I try to access the front or back end, all I get is this weird unstyled (no css) page for GlotPress with a search box and a bunch of links…for login, preferences, help guide, trac, etc….NOT my bbpress installation….but the links don’t have a domain associated so they go to non-existent pages on my site.
I did everything exactly as specified in the other post, to upgrade from 1.0.2 to 1.2, and now when I try to login to the bbPress admin area to “upgrade” the database I get this message:
Fatal error: Class ‘Translations’ not found in …/Forum/bb-includes/functions.bb-l10n.php on line 484
I DO have the /bb-includes/backpress/pomo folder with a translations.php file in it so I don’t know why I’m getting this error, but I cannot login to the forum nor access it (front or back end)….
I backed up all my files/folder and sql db, then I deleted all the files in my /Forum folder – everything *except* my bb-config.php file and my /my-plugins and /my-templates folder and my .htaccess file…..then I uploaded all of the bbPress 1.2 files including the backpress and pomo stuff just as described…..
Thanks fontadoni – I was at 1.0.2 so I’ll give those instructions a shot. I appreciate your response!
Giving this a bump……I could still really use some guidance so that I don’t screw this up again….
Thanks for any help anyone can offer….
OK I think I’m ready to move forward……
I now have a (temporary) database set up into which I’ve imported ONLY the bbPress tables:
AND I have another (temporary) database into which I imported ONLY the WordPress tables:
In theory I could change out the database called in my wp-config.php file to this second database and my site would be just the same as it is now, minus the Forum which isn’t working anyway.
I did NOT export the wp_bbp_converter_translator to anywhere since it sounds like that’s part of the problem….
SO what’s next? Do I try the Tools>Forums>Import Forum again? OR should I switch to the newer, no-bbPress database and then import the forum from the existing (or backup) database? Although it seems straightforward my prior experience has me cautious and I’d rather have some expert guidance before I try anything else yet….
OK I finally have the first part completed by following your excellent instructions (thank you) – I’ve removed all the forums, topics, and replies from my database…..but naturally they are still *there* in the (old) bb_ tables, just no longer in my wp_posts or wp_postmeta tables.
This shrunk the size of my database considerably – from 30MB down to 8MB……BUT I still can’t get my backup to import to a new clean database (as a safeguard), even if I zip it……I get the “mySQL server has gone away” message, which tells me it’s timing out. I sent a message to my hosting company’s tech support (1&1) to ask that they increase the mysql.connect_timeout setting, but haven’t heard back yet…..and they may not do it, but hopefully they will.
I’m still reluctant to try importing my forums/topics/replies again until I’m certain that I can restore from a backup in the event of a disaster, so now I’m trying to export and import tables one at a time into a new database…..when I get to the bbPress tables I’ll import those to yet another new (temporary) database and keep them away from my wp_ tables……
That may take me a couple of days since I have to work on this at night….but I WILL be back with my results soon!
Hi again – just wanted to post a quick update…..
I have not been able to follow the instructions to reset my forum yet…..I backed up my database (using phpMyAdmin), but as a precaution I wanted to import that backup into a new [temporary] DB just in case something goes terribly wrong…..
However, I have not been able to get my backup to import into a new DB, I’m fairly certain because it is too large….at 30MB it’s under the 50MB limit imposed by 1&1 but it keeps timing out (or something) every time I try to import it using either the Import Files tab or just going to SQL and choosing the file…I get a blank screen each time and the import fails. I’ve even tried importing a smaller zipped version of the file with no luck.
Without knowing for sure that I could use my backup to recover from a disaster if it happens while going through the “reset forum” function, I really can’t take the chance on it yet….
So I’m going to try backing up each table one at a time and importing them one at a time – this is frustrating because of the way the site is built I have a LOT of tables (beyond the standard wp_ tables) but I don’t see that I have much choice.
Since the *only* problem I have right now is the duplicated topics with no parent forum, it would be much easier if I could just do a SQL query to delete those posts. That would cut down the overall size of the backup substantially since much of the size is due to all the forum posts.
Thank you Stephen – I very much appreciate your help.
Needless to say, this sounds a bit scary but I’ll attempt this late tonight – my forum does get enough activity that I’d prefer to do this when it’s unlikely that any users will notice.
The only part that will be difficult is deleting users – I have around 650 users, a few dozen of whom are also authors on my blog, so I can’t just wipe out all the users, and deleting them individually or in groups will take some time……
BUT I will post back my results in a day or two at the most, and then we can move on to the next step. 🙂
@chrishajer – thanks for the tip on the folder names – even though the older version of bbPress did not have trouble with a space in the folder name, the latest version does – so I used an underscore in place of the space, and that fixed the problem for me…..many, many thanks again for your help!
Yes, the my-templates folder and its two sub-folders are set to 755. I did find that suggestion when searching for a fix, and made sure of that before posting my question, but it did not make any difference – I still can only choose from the two default (kakumei) themes……
I use 1&1 for hosting, and I don’t think they’ve made any changes but if I knew what to look for I could check that specifically – also, the my-templates folder was fine before I upgraded from 0.9.0.2 to the latest 1.0.2
What I’m doing in the meantime is just modifying the default kakumei theme, but that is not ideal because I’ll have to remember to keep it backed up and not overwrite it on the next upgrade…..I’d prefer to find a solution to the problem.
I’m grateful for any help anyone can offer.
Hi Gautam – thanks for your response.
Below is what is at the top of my custom theme’s style.css – I did compare it to the default (kakumei) theme to be sure something hadn’t changed there with the new version of bbPress, but this should be working. It was working fine before the upgrade, but after the upgrade bbPress no longer ‘sees’ the two themes in the my-templates folder (the other is a testing theme I occasionally use to test new things). It does find the my-plugins folder just fine, just not the my-templates.
Theme Name: TWE New
Theme URI: http://www.tech-kitten.com/
Description: Custom bbPress theme to match TWE site.
Author: Trisha Miller
Author URI: http://www.tech-kitten.com/
@chrishajer – I’m not sure – I use 1&1 for hosting but I can poke around to see if some logs are available and report back…
@buddha trance – yes, after the <?php but I appreciate the troubleshooting 101
FWIW, I also tried several other things I found in the docs for integrating, such as require_once with the path to wp-blog-header.php but as mentioned everything I try to load WP first so I can access it’s functions causes the 500 error.
I haven’t given up yet, though! I’ll keep trying a few things and report back this weekend….
I am also having trouble deep integrating my WP & bbPress installs so that I can call WP functions from within bbPress
When I add the line to the top of my bb-config.php file
I get 500 server errors and cannot access any page of the bbPress install at all. This happens even when plugins (I have only 2) are deactivated, so I’m pretty sure it’s not a plugin conflict.
I’m also using WP 2.8.6 and bbPress 1.0.2.
Thanks John – I’ll give those two suggestions a try over the weekend and post back by Monday if not sooner
Hi John – thanks for the code. I copied it exactly & pasted it into my topic.php (except for the styles) but it still didn’t work for me, so I removed the requirement to log in to vote, with still no luck. Hovering changes the stars color, but clicking does nothing at all.
Do you think it’s likely that there’s a conflict with another plugin that might be causing it to not work? I’m using the following plugins (in addition to bbRatings):
BBCode buttons toolbar
Topics Per Page
Human test for bbPress
Moderator new post notification
The only one I think I could do without is the smilies, but I really want to keep the others more than the ratings if I can’t figure out how to get it working……P.S. Two days since I posted on mdawaffe’s blog and still no response…..I just get the impression that he doesn’t want to support this any more……
Hi John – sorry for the delay in responding…….I have the following in my topic.php file
<div id="rating">Average Rating For This Topic:
<?php if ( function_exists( 'bb_rating' ) ) bb_rating(); ?>
<br />Rate This Topic Yourself:
<?php if ( function_exists( 'bb_rating' ) ) bb_rating_dingus(); ?>
You can see it in action at:
But I think you do have to be logged in to see/use it – I’m always logged so I can’t remember
Hi Chris – actually I have tried emailing him, twice, and got no response at all. I notice that he hasn’t posted on the bbPress forum for around 8 months or so. Perhaps he has lost interest? Or perhaps my email just got blocked – who knows? I’m going to try leaving a comment on his site. I would have sworn I already did this once (maybe I dreamed it?) but I don’t see it there so I’ll give it another go, or a first go, whichever.
I want to add my voice to this request…….
PLEASE PLEASE PLEASE if there is anyone capable of taking over support/fixing of this plugin PLEASE help – it is definitely NOT getting any support from the original plugin author – I’ve even tried email him directly multiple times with NO response, and it definitely does NOT work for me at all in any browser (I’m using bbPress version 0.9.0.2). Hovering over stars changes their color but clicking does nothing at all – no changes are recorded, colors never “stick”, averages never change – it displays but does not appear to work.
I don’t have much to donate but I would definitely contribute, and I bet others would as well to get this fixed because it could be a great plugin if it worked reliably.
P.S. I KNOW there is a very long list of posts on this plugin’s page here at bbPress – but the plugin author stopped responding over a year ago, and no one else has tried to help those of us who still have problems, so it seems like posting there is not productive…..
Thanks _ck_ – I’ll do as suggested…….
P.S. At cafepress.com you can design your own bumper sticker! I’ve made a few of my own t-shirts that way…..perfect for when you know just what you want but can’t find it anywhere….
This worked perfectly! I deactivated the bb_tweaks plugin so as to not cause any conflict (I think I only installed it for the target=”_blank function) but in theory if I wanted to have it activated as well, I would just need to comment out the function for bb_target_blank, correct?
Thanks so much for this!
Hmmm…..okay well I did add this code to bb_tweaks……I replaced the function bb_target_blank section with what you have here, and I removed the
add_filter('pre-post','bb_rel_nofollow');and added the remove_filter actions above…….but it did not seem to have any effect – bbPress still strips out any “target” reference and still adds the rel=”nofollow” to all links…..
I haven’t made any other tweaks to this….
I use TextWrangler, from BareBones software – it’s a free text editor that has a lot of the features of their pay-for text editor, BBEdit (it replaced BBEdit Lite). To the best of my knowledge it’s not supposed to do something like that (pasting whitespace) and I haven’t had trouble in the past, but you never know – it could have been something in the process of copying it from my browser window after running rewrite-rules.php and then pasting it into TextWrangler that added some whitespace….
I’ll definitely keep that in mind next time I’m copying and pasting anything…….
And you’re welcome for the donation – as mentioned it was very well deserved! I’m self-employed and have a tiny budget, but I always try to reward plugin and theme developers, especially when they are so nice about providing support that goes way above and beyond the norm as you have
Bump – I know this may wind up being a dead issue (at least until a future bbPress update), but is anyone aware of any plugin to give greater control over how links are handled?
I don’t want to dig into the core files, but I need to have internal links handled differently from external links, and need to be able to not have manually entered links (not using the URL button) altered to remove or add anything to the
<a>tag…..so I’m hoping a plugin exists that will allow for link customization….