Search Results for 'codes'
-
AuthorSearch Results
-
May 25, 2011 at 7:26 pm #100878
In reply to: bbPress 2.0 – Theme Compatibility
Kye
MemberThe addition of shortcodes will most certainly make it easier for users to embed the forums as they please and see fit….
One thing I would like to see though is the addition of a shortcodes icon within the page/post editors for ease of use, this could be extended to allow you to select the specific forum to build a shortcode string.
When used within a multisite environment it would also lower the amount of confusion as it would most likely also do in single installations. Although shortcodes are simple enough, not everyone is so web savvy.
Simplicity with a forum shortcode insert button would certainly make it much easier and eye pleasing without to much more code. Please!!!!

Thanks for all the great work here!
May 25, 2011 at 7:26 pm #105978In reply to: bbPress 2.0 – Theme Compatibility
Kye
MemberThe addition of shortcodes will most certainly make it easier for users to embed the forums as they please and see fit….
One thing I would like to see though is the addition of a shortcodes icon within the page/post editors for ease of use, this could be extended to allow you to select the specific forum to build a shortcode string.
When used within a multisite environment it would also lower the amount of confusion as it would most likely also do in single installations. Although shortcodes are simple enough, not everyone is so web savvy.
Simplicity with a forum shortcode insert button would certainly make it much easier and eye pleasing without to much more code. Please!!!!

Thanks for all the great work here!
May 25, 2011 at 11:07 am #38566Topic: bbPress issues with iThemes Builder Thread
in forum ThemesSusan Hope
MemberStarting a new thread here at the request of John James for any issues with iThemes Builder.
Some information from my previous report:
QUOTE
Yes, the actual shortcodes themselves appear on the published page on the site and I think I should have said, I am using iThemes Builder with a child theme, up to date version of WP..
Also, the actual forum when you click to view it from the main index one (which is appearing fine and where it should) is appearing at the top of the site above the header, which is why I am trying the shortcode route. In my case though I have used “Widget Content” which comes with builder to create the header area.
I have two other plugins that produced the same kind of thing, in that they appeared fine where they were meant to, “sexybookmarks” at the end of a post BUT also would appear in any location I had used “Widget Content” which was the header area and sidebar areas and also a paypal plugin and to get around that I added this code to the end of my child css:
.widget-content .paypal-form {
display: none;
}
Which stopped it appearing in content widget areas, so the first thing I tried for this was the same code but changing the “.paypal-form to one for bbPress – I had used firebug lite (chrome) to try and find the correct name that should go there and I don’t think I found the right name.
Yep shortcode helper would be good, thanks John.. do you need any more info?
Sue
UNQUOTE
Hope that is enough information for my particular problem John?
Thanks
Sue
May 25, 2011 at 8:12 am #100871In reply to: bbPress 2.0 – Theme Compatibility
John James Jacoby
Keymaster@SHope – You’re okay.
It sounds like you’re using the shortcodes correctly, but that something else isn’t working. I think I’m going to build in a shortcode helper, because I realize finding the ID isn’t the easiest thing to do.On the pages you’re using the shortcodes on, does anything appear where the shortcodes should be?
May 25, 2011 at 8:12 am #105971In reply to: bbPress 2.0 – Theme Compatibility
John James Jacoby
Keymaster@SHope – You’re okay.
It sounds like you’re using the shortcodes correctly, but that something else isn’t working. I think I’m going to build in a shortcode helper, because I realize finding the ID isn’t the easiest thing to do.On the pages you’re using the shortcodes on, does anything appear where the shortcodes should be?
May 25, 2011 at 3:57 am #105948In reply to: bbpress plugin 2 beta 1
John James Jacoby
Keymaster@jerledb – Login/register are supported via page templates, there is a login widget, and eventually shortcodes too. A register widget is a nice idea but leads way to lost-password and activation widgets, none of which will make it into 2.0.
Spam isn’t really handled yet, since there’s no one spamming forums that don’t use software that isn’t released yet.
There is a Trac ticket regarding Akismet integration, but either Akismet will need to be updated or a special version of Akismet to concentrate on post spam (which isn’t really a WordPress issue.)Regarding IP addresses, there are WordPress plugins to help with this, and WordPress multisite comes with this kind of functionality baked in. Traditionally WordPress doesn’t handle spam at a user level, since registered users are typically already trusted to some regard. We run into this issue a little bit even here at bbpress.org. bbPress does log the IP address of every topic/reply that is created, so a plugin can use that to check against a ban list or something.
May 25, 2011 at 3:57 am #100848In reply to: bbpress plugin 2 beta 1
John James Jacoby
Keymaster@jerledb – Login/register are supported via page templates, there is a login widget, and eventually shortcodes too. A register widget is a nice idea but leads way to lost-password and activation widgets, none of which will make it into 2.0.
Spam isn’t really handled yet, since there’s no one spamming forums that don’t use software that isn’t released yet.
There is a Trac ticket regarding Akismet integration, but either Akismet will need to be updated or a special version of Akismet to concentrate on post spam (which isn’t really a WordPress issue.)Regarding IP addresses, there are WordPress plugins to help with this, and WordPress multisite comes with this kind of functionality baked in. Traditionally WordPress doesn’t handle spam at a user level, since registered users are typically already trusted to some regard. We run into this issue a little bit even here at bbpress.org. bbPress does log the IP address of every topic/reply that is created, so a plugin can use that to check against a ban list or something.
May 23, 2011 at 8:23 am #38558Topic: bbPress 2.0 – Theme Compatibility
in forum ThemesJohn James Jacoby
KeymasterA few questions have cropped up already, so lets funnel the discussion here.
bbPress 2.0 introduces a radical new approach at integrating robust new functionality into existing WordPress themes. If you’re an average user looking for a turn-key forum solution, this works out pretty awesomely – If you’re a talented developer trying to beat your own drum, it’s all probably a little bit confusing.
Theme Compatibility
bbPress comes with a child theme of TwentyTen, titled (you guessed it) bbPress – TwentyTen. This theme includes all of the custom bits that bbPress needs to function, broken up into template parts to allow them to be used in several places, like template files, shortcodes, and widgets.
- MOST COMMON – If you’re using any other conventional WordPress theme (TwentyEleven, BP-Default) and find the default template layout of bbPress acceptable, you don’t need to do anything at all – it should just work.
- DO NOT put any custom themes in “/bbpress/bbp-themes/” as they will get wiped out when you update bbPress.
- CUSTOM – If you want to build your own theme or make changes to the existing template files, you’ll need to do the following:
Copy Files
- If this is not a custom theme under your control (meaning you are not the author) you’ll want to copy the contents of the “/bbpress/bbp-themes/bbp-twentyten” folder into your “wp-content/themes/%YOURTHEMENAME%” folder, where %YOURTHEMENAME% is the name of your custom Child Theme of whatever your current theme is. This is so theme updates don’t wipe out all your hard work later.
- If you are the author of this theme, then you can copy all the files *out of* the “/bbpress/bbp-themes/bbp-twentyten” folder into the folder of your theme, and make your own edits from there. The files to copy include the single-*, archive-*, page-*, and anything in the subfolders.
- In neither case should a new folder with the name “bbp-twentyten” exist. You are not copying the FOLDER, you are copying what’s IN the folder.
Add Theme Support
Now that you’ve got the files copied over, you’ll need to tell bbPress that you are in control of the theme situation. You do this by adding this to your functions.php file:
add_theme_support( 'bbpress' );
By doing this, you’re telling bbPress that your theme has its own template files to handle all of the new functionality that bbPress adds. This method gives you a single on/off switch to either use the standard theme compatibility, or use your own.
In the future, specialized template compatibility themes can be created either as plugins or child-themes to work like “add on packages” to existing themes, without requiring elaborate edits to existing themes, moving files around, etc…
Shortcodes (as of May 23, 2011)
Whether you rely on theme compatibility, or decide to go the custom route, we’ve included a few standard shortcodes to let you output specific forum content on any post or page in your forums. This is accomplished within an output buffer, so they won’t interfere with any of your existing page or post content. Note that if your theme specifically removes the shortcode functionality, these will not work, and will instead the actual text of the shortcode will appear on your site.
- [bbp-forum-index] – Show the root forums
- [bbp-single-forum id="A forum ID"] – Show a specific forum
- [bbp-topic-index] – Show all topics
- [bbp-single-topic id="A topic ID"] – Show a specific topic
- [bbp-topic-tags] – Show all topic tags
- [bbp-topic-tag] – Show topics of a specific tag
- [bbp-topic-form] – Show the new topic form
- [bbp-reply-form] – Show the new reply form (not commonly used)
- [bbp-single-view id="A view slug"] – Show the topics of a registered view
In the future, we’ll be adding more shortcodes as the needs arise.
That’s it for the first round of explanations. I’ll edit this post as more questions and answers come through.
May 21, 2011 at 3:51 pm #95402In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterYes it is possible. The shortcodes you want are most likely…
[bbp-forum-index]
[bbp-topic-index]
When bbPress 2.0 officially launches, there will be an interface for these hidden shortcodes.
May 16, 2011 at 2:35 pm #95352In reply to: bbPress 2.0 – Updates
Rick Lewis
Member” Don’t move anything, don’t add anything, and use shortcodes and adjust your CSS as needed. “
This is where I am at right now.
I thought I would try [bbp-forum-index]. I created a page Forum and used that code. I still got the same page as I did all other ways. Goes directly to one of the forums and then list the other forums below it. Says Blog archive across the top.
Now when I create /forums (note the s) that page goes to my home page and not a page at all.
I did a re-save of the permalinks and so on but still not seeing a forum homepage of any kind.
I can only guess that I have something crossed up somewhere beings others have this working.
EDITING __ I did not see the above posts prior to posting this. Going to review and make a change on my site and see how it goes. Thank you for the help.
May 15, 2011 at 11:51 pm #95347In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@CrownOfMars – Try the latest revision and let me know if it’s fixed for you. Was a regression from fixing something else.
@Rick Lewis – You haven’t started over, because you still have a custom theme. It looks to me like you still have
add_theme_support( 'bbpress' );
in your custom theme, even though you don’t have any bbPress files in your custom theme to actually provide bbPress support.
Using the add_theme_support() method is what tells bbPress not to use its own internal files, and just let WordPress do its thing and figure it out. In that case, bbPress will follow the normal template hierarchy for WordPress (archive.php, index.php, etc…)
So you either…
- Copy the bbPress files out of the bbp-twentyten folder into your custom theme and use the add_theme_support() method, which allows you to use page templates.
- Don’t move anything, don’t add anything, and use shortcodes and adjust your CSS as needed.
- Create your own completely custom method of handling bbPress, which is possible to do but way more work than it’s probably worth doing unless you need something *really* tricked out.
May 15, 2011 at 3:48 am #95338In reply to: bbPress 2.0 – Updates
CrownOfMars
MemberI saw a list of shortcodes mentioned a few pages back.
I’ve been able to get [bbp-forum-index] to work easily.
How do i get the [bbp-single-forum] shortcode to work?
I’ve tried [bbp-single-forum id="# of the forum"] without luck?
May 12, 2011 at 5:32 pm #95294In reply to: bbPress 2.0 – Updates
Ryan
MemberI was looking for those too and found this:
from bbp-includes/bbp-shortcodes.php:
bbp-forum-index
bbp-single-forum, pass id attribute
bbp-topic-index
bbp-topic-form
bbp-single-topic, pass id attribute
bbp-topic-tags
bbp-topic-tag
bbp-reply-form
May 12, 2011 at 8:44 am #95286In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterAlso, you shouldn’t need to use your franken-theme anymore. bbPress comes with some pretty cool theme compatibility now. Make sure you *don’t* have
add_theme_support( 'bbpress' );
in your custom theme, and bbPress *should* still work and fill in the blanks. You’ll just need to style your CSS to taste.
As an example, http://testbp.org/discussion/ is using the standard bp-default BuddyPress theme, with no template files moved or shifted around. bbPress is just putting itself where it thinks it should be. I’m using some short-codes on the front page to display everything, and some custom CSS to make it match a little more nicely.
May 11, 2011 at 10:49 pm #105538In reply to: General Questions
John James Jacoby
KeymasterRight now probably the best example of the plugin in action is over at http://testbp.org/discussion. It’s using some of the shortcodes and minimal CSS tweaks to mimic the look of the forums here at bbpress.org.
May 11, 2011 at 10:49 pm #100438In reply to: General Questions
John James Jacoby
KeymasterRight now probably the best example of the plugin in action is over at http://testbp.org/discussion. It’s using some of the shortcodes and minimal CSS tweaks to mimic the look of the forums here at bbpress.org.
May 9, 2011 at 9:28 am #95244In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@miruru – Thanks for the kind words. Right now shortcodes are pretty limited to major template functions, like complete single forums, single topics, etc… I’m open to more shortcodes, but we should assemble and break them into template parts or functions as needed (to make overriding and customizing them easier.)
April 25, 2011 at 1:29 am #95149In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterA few last minute gifts are now in the bbPress plugin.
First, shortcodes. Now you can insert forums and topics into blog posts and pages. This is awesome because it will let you insert a river of forums or replies anywhere that
the_content();is used and shortcodes are supported.Second, theme compatibility. This one is huge, could use some testing, and is potentially a game-changer. If you’re not using a theme that actively supports bbPress by setting
add_theme_support( 'bbpress' );, bbPress is going to serve up its own default set of templates and styling from whatever is set as the theme compatibility layer (which defaults to bbp-twentyten.) There is a little more work to be done here, but so far it’s working a treat.As a plugin developer, theme compatibility with new features is something I’ve wrestled with for a really long time, and recent changes in WordPress core have made this easier. For BuddyPress and now bbPress, this is years in the planning stages, and I’m really happy, excited, and proud that it’s in and loosely working.
April 10, 2011 at 1:57 pm #38105Topic: WordPress to bbPress Converter Script (RC 1)
in forum ShowcaseGautam Gupta
ParticipantHello everyone!
I have released the RC 1 of WordPress to bbPress Converter Script. What it does is migrates all your users, converts categories to forums, articles to topics and comments to posts. Currently, it just doesn’t change image shortcodes to image urls and doesn’t preserve the forum hierarchy.
To use it, download it, put it on your server, edit the script and change the options to appropriate values before the Stop Editing Here part.
I am soon planning to release a bbPress standalone to plugin converter script if someone doesn’t beat me to it.

Download: http://code.google.com/p/wordpress-to-bbpress-converter/downloads/detail?name=w2bc.zip
Thanks!
– G
silasje1
Memberi am making the plugin better and better now
But tomorow (utc +1) morning i will try to create a fast first build with notes, on how too install.What is needed before the first WYSIWYG TinyMCE release for bbpress:
-Somebody who can make it a plug-in, i have the pieces of codes which should be added to let it work.
-Adding a new button for the [video] tag whch i use. I want to release that too aftwards and include it to this version.
-Clean-up code, since it is untouched code from their website.
-Now uses no-jquery, but dont know if it is handy.
Hope some people want to help

I will make a demo soon, but you can register @ forum.fstube.org or fstube.org/forums .
Greetins silasje1, fstube.org.
silasje1
Memberi am making the plugin better and better now
But tomorow (utc +1) morning i will try to create a fast first build with notes, on how too install.What is needed before the first WYSIWYG TinyMCE release for bbpress:
-Somebody who can make it a plug-in, i have the pieces of codes which should be added to let it work.
-Adding a new button for the [video] tag whch i use. I want to release that too aftwards and include it to this version.
-Clean-up code, since it is untouched code from their website.
-Now uses no-jquery, but dont know if it is handy.
Hope some people want to help

I will make a demo soon, but you can register @ forum.fstube.org or fstube.org/forums .
Greetins silasje1, fstube.org.
March 30, 2011 at 12:16 am #37993Topic: Integration issues
in forum Installationjnw
MemberHi all,
I’m sure this has been covered a few times, but here goes.
Cookies obviously aren’t working, because I’m getting booted out of wp-admin when logged into bbpress and visa versa.
Have installed the bbPress integration plugin with settings in wp-admin like so:
bbPress URL: http://website.com/forum/
Your Plugins URL: http//website.com/forum/bb-admin/plugins.php
Wordpress type: WordPress
Added this code to the very bottom of wp-config.php
define( ‘COOKIEPATH’, ‘/’ );
In bb-admin, I’ve got:
Wordpress address: http://website.com
Blog address: http://website.com
WordPress “auth” cookie salt: (auth_salt wasn’t present in the wp admin page, anyway I took the code from wp-config.php)
WordPress “secure auth” cookie salt: (as above)
WordPress “logged in” cookie salt: (as above)
Manually entered codes so the following match
AUTH_KEY / BB_AUTH_KEY
SECURE_AUTH_KEY / BB_SECURE_AUTH_KEY
LOGGED_IN_KEY / BB_LOGGED_IN_KEY
And that’s where I’m at. Can someone tell me what I’m missing?
I’m not going to worry about database sharing right now – is that advisable? Or is it highly recommended?
Also what should I have the wordpress roles set to for each one of these?
WordPress Administrator
WordPress Editor
WordPress Author
WordPress Contributor
WordPress Subscriber
Thanks for the help!
January 23, 2011 at 2:10 pm #104135In reply to: how to show content to registered member only
xmaster76
Memberthank you! I’m a ** with php and I dont know in which file i need to add those codes.
January 23, 2011 at 2:10 pm #99035In reply to: how to show content to registered member only
xmaster76
Memberthank you! I’m a ** with php and I dont know in which file i need to add those codes.
January 20, 2011 at 11:49 am #94875In reply to: bbPress 2.0 – Updates
wildkyo
MemberI’m very excited with the launch of bbpress as plugin.
I hope we can enjoy it soon in a alpha state in order to update it easily. For me only one matter is pending and is that:“The goal is for the bbPress plugin to include these pages as WordPress page templates and short-codes, to allow for maximum flexibility in configuring your site.
“With that I will start to develop my own forum.

So, thanks and keep up the great work!
-
AuthorSearch Results