Search Results for 'code'
-
Search Results
-
Thanks to AWJunkie we are proud to announce the official release of bbConverter, the only tool you will ever need to convert your current forums for use with bbPress 2x.
Currently supported platforms:
1. bbPress 1x
2. Vbulletin 3x – 4x
3. Invision Power Board
Future platform support already in progress:
1. PHPbb 3x
2. Xenforo
Platforms being considered
1. myBB
Download:
http://wordpress.org/extend/plugins/bbconverter/
Installation:
1. Upload the bbConverter folder to the
/wp-content/plugins/directory2. Activate bbConverter through the ‘Plugins’ menu in WordPress
3. Go into your WordPress admin under ‘Settings’ and choose ‘Converter’
4. BACKUP YOUR WORDPRESS DATABASE!
5. Choose the platform you want to convert from and fill in the database information. Click start
6. Once the conversion has completed, visit the WordPress Admin ‘Tools’ section and click ‘Recount’
7. Do NOT deactivate the plugin once it is finished as it is needed for user password management.
Did I forget to mention — BACKUP YOUR WORDPRESS DATABASE BEFORE STARTING!
Important Note:
It is important to understand that this script is going to be modifying your wordpress database in order to bring over your forums/topics/replies/tags/ and users from your old forum setup. This means we are directly modifying your database which means backup is paramount.
Ok, now that is out of the way, let’s get to the plugin itself.
Each Forum sofware, whether bbPress 1x, vbulletin, or Invision Powerboard, has its own configuration file. For example vbulletin calls the file config.php
This is the file which contains your database connection information and you need to save this information in order to fill out the plugin start screen.
Required options:
1. Platform you are converting from – dropdown
2. Database server — usually localhost
3. Database port — (example: vbulletin uses 3306)
4. Database Username
5. Database Password
6. Database Name
7. Database Table Prefix — If you installed your forum software using a prefix enter it here. ( example: vbulletin default uses vb_ ) If there is no prefix, then leave it blank.
8. Rows Limit — This represents the number of database rows the plugin will convert during a single cycle. I would start this number at 50 or below at first. Keep in mind that forum conversion takes a huge load on the server mysql so if you are on a shared host, you may want to notify your host before running the script.
If you are on a dedicated server with shell access, then I would suggest opening up a terminal window and monitoring the resources. You can change the ‘Rows Limit’ at any time while the script is running. I have gone as high as 2500 instead of 50 on my servers. ( don’t click stop/start as it is not needed to change the limits )
9. Delay time — Suggested to use 1. This is the number of seconds that the server waits between the conversion cycles. It gives your server a second to catch its breath.
Other Options:
1. Clean — If something actually goes wrong, then you can choose to clean the database. This will effectively remove all the imported data and allow you to start the conversion over.
2. Restart — Restart allows you to pick up where the script left off should you have the need to stop and start the process. Example is when your browser or computer window closes during the conversion process. If you close the browser during conversion for any reason, then the conversion stops.
3. Users — You have the option of choosing not to import your users. If you are using bbPress 1x and have the forums linked to your WordPress install already, then you do not need to import users. Do not check the box. Otherwise you do want to import your users.
Once Import is complete:
1. Recount — Once everything is finished, then go to the wp-admin/tools and choose recount. This is going to present you with a screen full of checkboxes. Check every box and click submit. This is going to line up all the topic/replies/user posts counts etc.
2. Keep bbConverter plugin active after conversion.
bbConverter has a special script which will allow your users to maintain their old forum username and password. In a nutshell, when a user signs in for the first time after the forums convert, the script will check their old password, validate it, and then use the WordPress system to generate the identical password for the user in the appropriate place. This means that you need to keep bbConverter active until every single user has logged into the forums in order to maintain password management. This is not at all resource intensive, and you won’t even notice the plugin running in the background.
That’s it your finished.
O, did I mention… BACKUP YOUR WORDPRESS DATABASE FIRST!
Enjoy!
Topic: Understanding templating.
This may or may not be the right forum for this, but technical support seemed the wrong place. Anyway…
I have a template I am using for my website called Habitat (http://www.kriesi.at/themes/habitat/). It allows me to create a new page and use the template in full width without the sidebar. Now… I -can- use shortcodes to put my forum in a new page and set the template without the sidebar, but I cannot find a shortcode for the forum root (I have three categories) and each subsequent link click takes me to the /forum URL and plops the sidebar back in.
To whit, I cannot find an option anywhere in the bbpress plugin that allows me to set the template to use.
Anyone shed some light on this? TIA.
We’re using WordPress 3.2.1, BuddyPress 1.5, and bbPress 2.0 and seem to have run across an issue with the forum home permalink not being correctly set, or so it seems. Perhaps I’m missing something
. Any help is greatly appreciated!The Code
We’re attempting to simply output the basename of the permalink and use that in an IF/ELSE statement using the following to generate:
<?php
$gettheslug = basename(get_permalink());
?>
The Problem
For the purpose of this post, we’ll say that we have bbPress set to http://site.ext/community/. We need to grab ‘community’ from the URL, which is what the code above ‘should’ do, but doesn’t. Instead, it’s grabbing the basename for the last forum we created and continues to update as we create new forums/categories.
To get the basename, we’ve simply echo’ed out $gettheslug in the header. This works for all other areas of the website, except with the bbPress portion which is what’s so confusing
.Perhaps we’re doing something wrong, perhaps I’m doing something wrong. As above, any help is much appreciated.
Topic: Blank forum posts.
Hi,
On the site I look after I’m having an issue of forum posts coming out blank. If I look at the database rows for the blank posts, they all have
<br />as the post_text.I have not managed to replicate the issue myself, nor see any pattern as to why it’s happening.
I’m using:
WordPress MU 2.9.2
BuddyPress 1.2.3
BBpress 1.0.2
Any idea what could be causing it?
Thanks!
I know bbPress is all about basic, clean and minimalism code but not adding an unique class or ID to a sticky topic or a closed topic is a huge missing part i think.
(the function works just no way to style it)
Will the bbPress (2.+) version be the same as the bbPress (1.0) version?
Without 25 different must have plugins is just not worth installing it?
Don’t get me wrong, i love the option to add plugins that can make bbPress do more advanced functions, but a feature like sticky and closed topics should be styled in the core files not by a plugin.
Not talking about lock icons , stars icons and different forum icons just a light gray or green background would be nice to have out of the box.