I bet this could be adapted to work:
https://bbpress.org/forums/topic/recent-posts-kinda-like-the-edit-comments-in-wp
There is also an RSS feed for Recent Posts in bbPress, so you could probably adapt some sort of RSS importer to display the 5 most recent (this seems like a hack though.)
793634Inactive
And I get this if I try to edit any of the settings
Warning: Cannot modify header information - headers already sent by (output started at /home/crusaders4christ/public_html/bbpress/bb-includes/db-mysql.php:130) in /home/noproblem/public_html/wp-includes/pluggable.php on line 770
793634Inactive
The script from the website that you gave me…
There is stuff in wordpress everywhere saying on the top of the thing (like the top of the page)(but it only happens in the admin control panel) saying
bbPress database error: [Table 'c4cwp.wp__users' doesn't exist]
SELECT * FROM wp__users WHERE ID = 3
Thats one of the main reasons why I want to fix it…and it also changed my homepage to my blog. And when I remove the script well thats where things get extremely messy.
deliciousbass:
The “latest discussions” list at http://akirakurosawa.info/forums/ is compiled without the use of WordPress or bbPress loops. Instead, it makes use of two direct hand-crafted MySQL queries to the database, one to the WordPress tables and the other to the bbPress ones.
Basically, both queries search for all the posts (or comments, in the case of WordPress) written in the past month, then put these posts into various arrays. The arrays are then sorted so that the items are in a reversed chronological order, and finally the resulting list is displayed on the page with only the latest post/comment from each thread/blogpost/page included.
In case it is any help, here is the code that I use — I wouldn’t suggest just copy-pasting it to your site though before reading it through and knowing what you are doing. You may at least need to change the table names. I have added comments to give some idea what is done where.
See the code here
There most probably is a simpler way to do this, the php code could be streamlined, made more error-resistant, and it could possibly also be done with WordPress/bbPress tags, or it could be turned into a plugin, if someone has the time and the energy.
> wordpress is at /
> bbpress is at /bbpress
That’s fine and will work well.
You say you “took out the script”. What script are you talking about?
How is your WordPress installation? Is everything OK there?
793634Inactive
OK this is how I have it set up…
wordpress is at /
bbpress is at /bbpress
I don’t care if I do or do not integrate it I just don’t want to have any errors. And when I took out the script everything went blank white and displayed the error message…so I decided to put it back in but I am getting this type of error instead when I try to log in to bbpress(which I can’t ever since I tried to integrate it)
bbPress database error: [Table 'c4cwp.wp__users' doesn't exist]
SELECT ID FROM wp__users WHERE user_login = 'Noproblem'
bbPress database error: [Table 'c4cwp.wp__users' doesn't exist]
SELECT * FROM wp__users WHERE user_login = 'Noproblem'
I am running 2.6 of wp
and the latest for bbpress as well…
Thanks for the help,
Noproblem
http://harrismarine.co.nz/bbpress/topic.php?id=5
If you click the above link you will see what I am getting.
After I ‘insert’ the image I just get this small red bar thing showing up. It is the same red as my links I think. It is right next to the text.
There are two different options here.
1. Allow Images plugin. The member needs to link to an image available in the Internet somewhere. If that’s not a problem, then that’s the way to go. It allows members to insert images into their posts. Pretty easy.
2. Attachments plugin. This you have working as attachments now, but you want the image inline, not attached. The newest version is supposed to do that, and I just read this on the plugin page:
After uploading, an [INSERT] link will appear next to each attachment.
So, the user needs to upload it first, then go back and edit their post, and click the [INSERT] link. I actually just noticed that: I have the link, but it doesn’t work. It seems like a JavaScript error.
Error: myField is not defined
Source File: http://www.example.com/bbpress/edit.php?id=2
Line: 76
If you cannot use the Allow Images plugin, instead of the Attachments plugin, then you might want to post your concerns on the plugin page, or wait for _ck_ to show up here. The plugin was released early because a lot of people were looking for the inline functionality, and I’m sure _ck_ will appreciate feedback from anyone using it.
1a. Yes. Just download everything in the bbPress folder (whatever you called it) and then upload that to the new server. That takes care of the file system. Then dump the database and import that on the new host as well.
1b. No, don’t start from scratch, that almost never helps. You can modify what you have going on already.
2. Not sure. There are probably a couple URL related entries you’d have to change, either in bb-config.php or the database somewhere. Not sure what those are exactly, but I doubt it would be too bad.
I think rather than attachments you want the “Allow Images” plugin, where people can insert an image into their reply.
https://bbpress.org/plugins/topic/allow-images/#post-6
The member has to have the image hosted somewhere accessible on the Internet though ( http://imageshack.us/ or http://photobucket.com/ or http://flickr.com/ or something ). If you want the ability to host their image then display it rather than link to it as an attachment, then you might want to look into this alpha version of the attachment plugin that allows inline image viewing.
https://bbpress.org/forums/topic/priority-1-imagefile-attachments#post-17539
I’ve set up and partly customised a bbPress forum on a subdomain that I’m using to demonstrate a uni faculty website I’m re-designing for a friend who is in charge of the faculty (in other words, I’m not a pro website designer – this is a job for a friend). The forum is linked to the website via a navigation button. When the website is finished and ready to go “live”, it will be transferred from my subdomain to the client’s server/host.
1. a) Is it possible to retain the customisations I’ve done on the bbPress forum and transfer the forum over, along with the website, to the client’s server/host, or
b) Will I need to completely reinstall bbPress to the client’s server/host and customise it again from scratch?
2. If a) above, what do I need to change in the current bbPress settings (and where!) to have it operate from the client’s server/host please?
Cheers
Ross
Sounds like you put all the bbPress files into the folder that had WordPress files in it? Can you confirm that?
What version of bbPress and WordPress were you running?
775251Inactive
vilimaunula – your site akirakurosawa.info is an quite impressive integration of WP and BBPress. I’m wondering how you managed to integrate your forum and wordpress loops into one, as presented on this page: http://akirakurosawa.info/forums/. You are showing a single chronological list of recent posts and comments across both your WP blog and BBPress forum. Would you mind sharing how you did this? I’m very new to PHP so would not be able to tweak things easily to make this happen.
Thanks!
The plugin currently allows you to change the smilie “set”.
I intend future versions to be able to use multiple sets at the same time.
If you want to make your own sets, just look at how the default folder is done and build your own. There is a single PHP file to edit.
Because I have no idea how to deal with all this SVN stuff in Ubuntu (I’m just a “user”, not a geek), and I want to share plugin no matter what – here it is:
http://astateofmind.eu/freebies/bbflickr/
I’ve made modifications to original FlickrRSS to make it working under bbPress – you can display your photos, your set, group or community photos from Flickr on your forum now
.
You can see demo here on sidebar.
Yes, put it in it’s own folder, inside the WordPress folder. So you might have something like this:
/var/www/public/website/wordpress
/var/www/public/website/wordpress/bbpress/
The 404 error might be because you are trying to use permalinks, either “slugs” or true, and they’re not set up on your server. I would change them to false
for now and see if you can get the links to work. If that works, then you know that was the problem and you just need to set up permalinks.
https://bbpress.org/documentation/faq/#pretty-permalinks
phpBB3 conversion:
https://bbpress.org/forums/topic/phpbb3-converstion
I don’t think so, not easily, not yet. I think there was a script to export phpBB2 to bbPress:
https://bbpress.org/forums/topic/a-phpbb-to-bbpress-database-converter
793634Inactive
Also can I convert my board from phpbb3 to bbpress?
793634Inactive
Ok I was wondering where I should upload bbpress? Right in the wordpress folder on my server? Also why can’t I click on the View your profile link? It says “User not found.” is that because it is still beta so to speak…
Thanks,
Noproblem
Ah there is probably a more developed guide on the WordPress side, let me see if I can find it for you.
update: here’s a few guides – essentially the process is identical to the WordPress side except the URL used is going to be https://plugins-svn.bbpress.org/
guides:
http://www.binarymoon.co.uk/2008/01/wordpress-plugin-subversion-guide/
https://wordpress.org/extend/plugins/about/svn/
I have no idea where to post it so I’m using the less-invasive section of this forum
. Is there any “guide to submitting a plugin” to bbpress.org/plugins/? I’ve clicked “Add your plugin!”, I recieved approval and “access to your SVN repository” but now what?
I never used SVN or Trac before, I have no idea what to do, I just want to share my plugin with others via bbpress.org
. If there’s any “guide” or wiki page out there to help me out, please point me to it as I have no idea where to look for anything like this…
PS: I want coffeeeeeeee
I’ve now made this into a full plugin:
https://bbpress.org/plugins/topic/forum-last-poster/
Once you install it, you’ll be able to use your code above, but change the part of the function that says topic
to forum
, ie. forum_time()