Search Results for 'code'
-
AuthorSearch Results
-
February 7, 2011 at 4:30 pm #37384
Topic: Change between languages? (multilingual forum)
in forum Troubleshootinglepardman
MemberHello guys!
Im running bbPress 1.0.2 and I’ve changed the default language to Swedish, like this:
define( 'BB_LANG', 'sv_SE' );And a folder “my-languages” with the .mo/.po-files in bbPress root. Working excellent.
I’m wondering if it’s possible to switch between Swedish and English with a front-end link? So the user him-/herself can change to preferred language.
Cheers and thank you!
Edit: This would be obvious but just to clarify – Don’t mind the language of the topics/posts. The topics are set in respectively language. I’m just looking for a way to translate the static text.
February 7, 2011 at 3:12 pm #104254Ramiuz
ParticipantGood question Ramiuz!
February 7, 2011 at 3:12 pm #99154Ramiuz
ParticipantGood question Ramiuz!
February 7, 2011 at 2:13 pm #104364In reply to: Is bbPress still alive?
tyskkvinna
MemberI was also concerned about this when I installed BBPress (in late November of last year) but have found it is more alive than this site tends to indicate. Activity is hopping on the plugin thread, and I’m really looking forward to it being finished!
February 7, 2011 at 2:13 pm #99264In reply to: Is bbPress still alive?
tyskkvinna
MemberI was also concerned about this when I installed BBPress (in late November of last year) but have found it is more alive than this site tends to indicate. Activity is hopping on the plugin thread, and I’m really looking forward to it being finished!
February 7, 2011 at 11:34 am #103700In reply to: Including Youtube video embeds?
Ashish Kumar (Ashfame)
ParticipantI am guessing it is slow because it queries Youtube server every now and then for each page load (assuming it doesn’t cache the youtube embed code and always retrieve it), though I could be wrong!
February 7, 2011 at 11:34 am #98600In reply to: Including Youtube video embeds?
Ashish Kumar (Ashfame)
ParticipantI am guessing it is slow because it queries Youtube server every now and then for each page load (assuming it doesn’t cache the youtube embed code and always retrieve it), though I could be wrong!
February 7, 2011 at 1:50 am #103952In reply to: Login WP not logging in BBpress
tyskkvinna
MemberThe installation pops up at the very last step.
Welcome to the bbPress installer
Step 1 – Database configuration
« completed
Step 2 – WordPress integration (optional)
« completed
Step 3 – Site settings
« completed
Installation completed with some errors!
Your installation completed with some minor errors. See the error log below for more specific information.
You can now log in with the following details:
Username:
Moose8
Password:
Site address:
http://thegeekgroup.org/bbpress/
Up till that last button it was going smoothly. I was actually expecting it to work!
(I tried it again)
February 7, 2011 at 1:50 am #98852In reply to: Login WP not logging in BBpress
tyskkvinna
MemberThe installation pops up at the very last step.
Welcome to the bbPress installer
Step 1 – Database configuration
« completed
Step 2 – WordPress integration (optional)
« completed
Step 3 – Site settings
« completed
Installation completed with some errors!
Your installation completed with some minor errors. See the error log below for more specific information.
You can now log in with the following details:
Username:
Moose8
Password:
Site address:
http://thegeekgroup.org/bbpress/
Up till that last button it was going smoothly. I was actually expecting it to work!
(I tried it again)
February 6, 2011 at 9:13 pm #68059In reply to: Here’s how to install Avatar Upload plugin
Ashish Kumar (Ashfame)
Participantuse
bavatarsFebruary 6, 2011 at 8:19 pm #37377Topic: WP + BBP Intergrated World of Warcraft Guild Site
in forum Showcaseripoko
MemberHi everyone. Im new to the forums here but thought I would show off my most recent use of WP + BBP.
The site is a World of Warcraft guild website and was originaly powered by IPB however as traffic and rankings started to increase I thought it required a lick of paint and a general update. The site has been manualy converted from IPB 2.2 (if i remember correctly) and still has some bugs which I am intending to iron out this week. Take a look below and let me know what you think, any suggestions also welcome

http://www.judgementguild.net – WordPress front end
http://www.judgementguild.net/forums – BBPress forum
I am also planning to make the forum display a little bolder but have not decided exactly what to do yet, im sure il update here if any changes are made as and when.
Ripoko~
February 6, 2011 at 6:03 pm #103949In reply to: Login WP not logging in BBpress
Raam Dev
MemberIf you’re getting a message that says bbPress is already installed, make sure you’ve done the following:
- Deleted all bbPress files on your site
- Deleted the bbPress database or related tables (likely prefixed with
bb_)
Now, you can install a fresh copy of bbPress and run the installation process by visiting the bbpress directory.
Step 1: Use the same database information as you did for your WordPress install (if you’re not sure what you used, check the
wp-config.phpfile).Step 2: Check all three boxes and fill in the necessary details:
- Add integration settings
- Add cookie integration settings
- Add user database integration settings
- Show advanced database settings
(no options)
Fill in all of the boxes. You can get the keys and salts from your WordPress
wp-config.phpand the rest of the settings from the General Settings section in WordPress Admin.If you used the default table prefix (
wp_) when you installed WordPress, you don’t need to change any of these options.(Leave unchecked) If you used your WordPress database information in Step 1 as I explained, you don’t need to check this box.
Step 3: If you did everything correctly, you should get a drop-down box that lets you select the WordPress user that should become the bbPress admin. If you get boxes to create a bbPress admin, you did something wrong in Step 1 or Step 2.
Configuring WordPress
To ensure that logging into WordPress sets all the necessary cookies for using bbPress, you should install the bbPress Integration Plugin and then set the “bbPress URL” option to match the URL to your bbPress forum (Settings -> bbPress Integration).
Also, make sure you add this line to the top of your
wp-config.phpfile, just below<?php:define( 'COOKIEPATH', '/' );If you’ve done everything I explained here, single-login should work as expected.
February 6, 2011 at 6:03 pm #98849In reply to: Login WP not logging in BBpress
Raam Dev
MemberIf you’re getting a message that says bbPress is already installed, make sure you’ve done the following:
- Deleted all bbPress files on your site
- Deleted the bbPress database or related tables (likely prefixed with
bb_)
Now, you can install a fresh copy of bbPress and run the installation process by visiting the bbpress directory.
Step 1: Use the same database information as you did for your WordPress install (if you’re not sure what you used, check the
wp-config.phpfile).Step 2: Check all three boxes and fill in the necessary details:
- Add integration settings
- Add cookie integration settings
- Add user database integration settings
- Show advanced database settings
(no options)
Fill in all of the boxes. You can get the keys and salts from your WordPress
wp-config.phpand the rest of the settings from the General Settings section in WordPress Admin.If you used the default table prefix (
wp_) when you installed WordPress, you don’t need to change any of these options.(Leave unchecked) If you used your WordPress database information in Step 1 as I explained, you don’t need to check this box.
Step 3: If you did everything correctly, you should get a drop-down box that lets you select the WordPress user that should become the bbPress admin. If you get boxes to create a bbPress admin, you did something wrong in Step 1 or Step 2.
Configuring WordPress
To ensure that logging into WordPress sets all the necessary cookies for using bbPress, you should install the bbPress Integration Plugin and then set the “bbPress URL” option to match the URL to your bbPress forum (Settings -> bbPress Integration).
Also, make sure you add this line to the top of your
wp-config.phpfile, just below<?php:define( 'COOKIEPATH', '/' );If you’ve done everything I explained here, single-login should work as expected.
February 6, 2011 at 5:53 pm #103699In reply to: Including Youtube video embeds?
turuncu
MemberI try easy-video-embed, it is too slow
February 6, 2011 at 5:53 pm #98599In reply to: Including Youtube video embeds?
turuncu
MemberI try easy-video-embed, it is too slow
February 6, 2011 at 5:51 pm #103698In reply to: Including Youtube video embeds?
turuncu
MemberWe want use only youtube plugin.
Write post with <video> tag
<video>http://www.youtube.com/embed/W7aIdw-drtM</video>
then watch video
<iframe title=”YouTube video player” width=”425″ height=”349″ src=”http://www.youtube.com/embed/W7aIdw-drtM” frameborder=”0″ allowfullscreen></iframe>
Please help
February 6, 2011 at 5:51 pm #98598In reply to: Including Youtube video embeds?
turuncu
MemberWe want use only youtube plugin.
Write post with <video> tag
<video>http://www.youtube.com/embed/W7aIdw-drtM</video>
then watch video
<iframe title=”YouTube video player” width=”425″ height=”349″ src=”http://www.youtube.com/embed/W7aIdw-drtM” frameborder=”0″ allowfullscreen></iframe>
Please help
February 6, 2011 at 3:50 pm #104340In reply to: import all topic and post from wordpress to bbpress
Gautam Gupta
ParticipantIf you have your blog in a directory, and the forums in a sub-directory called
forum, then you need to put this script in the WordPress blog directory, where you would find yourwp-config.phpfile. Otherwise you would need to edit thedefineson lines37and38:define( 'W2BC_WP_PATH', '' ); /** With Trailing Slash, if required */
define( 'W2BC_BB_PATH', 'forum/' ); /** With Trailing Slash, if required */February 6, 2011 at 3:50 pm #99240In reply to: import all topic and post from wordpress to bbpress
Gautam Gupta
ParticipantIf you have your blog in a directory, and the forums in a sub-directory called
forum, then you need to put this script in the WordPress blog directory, where you would find yourwp-config.phpfile. Otherwise you would need to edit thedefineson lines37and38:define( 'W2BC_WP_PATH', '' ); /** With Trailing Slash, if required */
define( 'W2BC_BB_PATH', 'forum/' ); /** With Trailing Slash, if required */February 6, 2011 at 3:17 pm #104338In reply to: import all topic and post from wordpress to bbpress
Gautam Gupta
ParticipantThere are no downloads, but here is the script – http://wordpress-to-bbpress-converter.googlecode.com/svn/trunk/w2bc.php
It currently doesn’t support user migration, but that should be easy (and should be done before running the script). I think it’d be basically renaming the tables, though I’m not sure.
Also, *PLEASE* make a backup of your WordPress blog and follow the instructions carefully.
– Author of the script
February 6, 2011 at 3:17 pm #99238In reply to: import all topic and post from wordpress to bbpress
Gautam Gupta
ParticipantThere are no downloads, but here is the script – http://wordpress-to-bbpress-converter.googlecode.com/svn/trunk/w2bc.php
It currently doesn’t support user migration, but that should be easy (and should be done before running the script). I think it’d be basically renaming the tables, though I’m not sure.
Also, *PLEASE* make a backup of your WordPress blog and follow the instructions carefully.
– Author of the script
February 6, 2011 at 2:13 pm #104336In reply to: import all topic and post from wordpress to bbpress
Ashish Kumar (Ashfame)
ParticipantIf you want to move your WordPress data to a bbPress install, then you can use this http://code.google.com/p/wordpress-to-bbpress-converter/
February 6, 2011 at 2:13 pm #99236In reply to: import all topic and post from wordpress to bbpress
Ashish Kumar (Ashfame)
ParticipantIf you want to move your WordPress data to a bbPress install, then you can use this http://code.google.com/p/wordpress-to-bbpress-converter/
February 5, 2011 at 7:47 am #104003_ck_
ParticipantOkay I had never written the special routine for “topics to which each user has replied” so it never even appeared in the last 0.9 although Sam incorporated some of my other improved queries.
But I sat down and wrote it just for you now

http://bbshowcase.org/plugins/fast-recount.zip
Basically the old 0.9 bbPress api loops through each and every user and does a few queries for each one, completely overloading any server and timing out and never finishing.
ie. 6 queries per user x 1000 users = 6000 queries !!!!
My version accomplishes the exact same results with only a handful of queries right inside the mysql engine regardless of how many users, so it should always finish in under 30 seconds (unless perhaps it’s millions of users)
Once you install and activate, under your recount menu you will see (among others)
FAST RECOUNT topics to which each user has replied
So check that box and leave the old one unchecked.
Until I have some time to fix the order in which the boxes appear, you should probably do the fast recount AFTER the other regular counts are done.
Oh and last but certainly not least, I highly recommend backing up your mysql database for wordpress/bbpress before using this plugin, because it’s experimental and does actually delete old data before creating the new data. Something could go wrong (in theory you could run it a second time to fix the problem but always best to be safe).
ps. make sure you update bbpress to 0.9.0.6 too
February 5, 2011 at 7:47 am #98903_ck_
ParticipantOkay I had never written the special routine for “topics to which each user has replied” so it never even appeared in the last 0.9 although Sam incorporated some of my other improved queries.
But I sat down and wrote it just for you now

http://bbshowcase.org/plugins/fast-recount.zip
Basically the old 0.9 bbPress api loops through each and every user and does a few queries for each one, completely overloading any server and timing out and never finishing.
ie. 6 queries per user x 1000 users = 6000 queries !!!!
My version accomplishes the exact same results with only a handful of queries right inside the mysql engine regardless of how many users, so it should always finish in under 30 seconds (unless perhaps it’s millions of users)
Once you install and activate, under your recount menu you will see (among others)
FAST RECOUNT topics to which each user has replied
So check that box and leave the old one unchecked.
Until I have some time to fix the order in which the boxes appear, you should probably do the fast recount AFTER the other regular counts are done.
Oh and last but certainly not least, I highly recommend backing up your mysql database for wordpress/bbpress before using this plugin, because it’s experimental and does actually delete old data before creating the new data. Something could go wrong (in theory you could run it a second time to fix the problem but always best to be safe).
ps. make sure you update bbpress to 0.9.0.6 too
-
AuthorSearch Results