Search Results for 'code'
-
AuthorSearch Results
-
August 21, 2012 at 10:28 am #117220
In reply to: BBpress forum integration and linking
Stephen Edgar
KeymasterNo, you do not need BuddyPress installed.
Is the bbPress plugin activated on your plugins settings? (if it is deactivate it and reactivate it)
There are three new menu items on your WordPress navigation menu. These are:
Forums – create and manage your forum.
Topics – topics are created within forums, they are the issues that are being discussed.
Replies – replies are made to topics, this is the actual discussion.
You should be able to see your forums at http://yourdomain.com/forums/
You can also create a standard WordPress page and add a shortcode eg. [bbp-forum-index] (This will Show your entire forum index) to the page content.
You can then add either to any of your main WordPress menus for easy navigation.
August 21, 2012 at 10:14 am #117219In reply to: Forum Non-existent?
Stephen Edgar
Keymaster> To fix this try resetting your permalinks. In your WordPress
> Administration Screens navigate to Settings > Permalinks, select a
> different permalink structure and save. Then select your preferred
> permalink structure and save again.
https://codex.bbpress.org/faq/#404August 21, 2012 at 6:44 am #117215In reply to: tried to put a jetpack contact form in post
Stephen Edgar
KeymasterbbPress does allow shortcodes for security reasons, you should look at something like https://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/
To order your replies in reverse order add the following code to your themes functions.php file.
August 21, 2012 at 4:43 am #117205In reply to: How to view forum description from page menu
Stephen Edgar
KeymasterTry this and post the link back here:
- Create a WordPress page eg. bbpress-test would be http://pedalterapi.net/bbpress-test
- Add the shortcode [bbp-forum-index] to the page https://codex.bbpress.org/shortcodes/
Does this now include the forum description?

-
This reply was modified 13 years, 10 months ago by
Stephen Edgar.
August 21, 2012 at 4:05 am #117201In reply to: How to view forum description from page menu
Stephen Edgar
KeymasterAre you adding a forum description to each of the forums you are creating?
eg. ‘Anything’ should also have a description ‘This forum is for anything’ and that will then show underneath the forum title on your forums page.
https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum
August 21, 2012 at 2:34 am #117194In reply to: BBpress forum integration and linking
Stephen Edgar
KeymasterHave a read of this to help get you going https://codex.bbpress.org/getting-started-with-bbpress/
August 21, 2012 at 2:13 am #117192Stephen Edgar
Keymaster> Visibility: decide whether your forum is public, private or hidden.
> Public – Anyone can see these forums
> Private – Only logged in registered users can see these forums
> Hidden: Only Moderators/Admins can see these forumshttps://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum
If you want further granular access you should use a plugin to control the access privs:
https://wordpress.org/extend/plugins/members/ or
https://wordpress.org/extend/plugins/s2member/August 21, 2012 at 1:45 am #117191In reply to: one forum for each blog in wp multisite
Stephen Edgar
Keymaster> Try resetting your permalinks. In your WordPress Administration
> Screens navigate to Settings > Permalinks, select a different
> permalink structure and save. Then select your preferred permalink
> structure and save again.August 21, 2012 at 1:41 am #117190Stephen Edgar
KeymasterHave you had a look at BuddyPress Courseware?
It may have some of what you are trying to do already done, and a bit more 😉
https://wordpress.org/extend/plugins/buddypress-courseware/
http://buddypress.coursewa.re/
http://buddypress.coursewa.re/handbook.htmlIf you just want to keep rolling your own, get started with your own templates customizations here:
https://codex.bbpress.org/theme-compatibility/August 21, 2012 at 1:27 am #117188In reply to: Bug: incorrect url's after deleting a reply
Stephen Edgar
KeymasterFor your second issue could you please create a ticket on trac https://bbpress.trac.wordpress.org/ with as much detail as you can.
For the first issue does repairing the forums fix your problem?
https://codex.bbpress.org/repair-forumsAugust 21, 2012 at 12:54 am #117186In reply to: Forum migration tool
Stephen Edgar
KeymasterbbPress 2.1x includes the import tool now to import from bbPress Standalone, phpBB, vBulletin & Invision.
To get started importing forums have a look at this
August 20, 2012 at 10:20 pm #117180In reply to: Upgrading from Stand-Alone to Plugin Version
Stephen Edgar
KeymasterTake a look at this tfor starters
https://codex.bbpress.org/import-forums/August 20, 2012 at 9:28 pm #117178In reply to: "Page not found" after creating forum?
Stephen Edgar
Keymaster> To fix this try resetting your permalinks. In your WordPress
> Administration Screens navigate to Settings > Permalinks, select a
> different permalink structure and save. Then select your preferred
> permalink structure and save again.August 20, 2012 at 9:19 pm #117176In reply to: Recent Forum Activity
Stephen Edgar
KeymasterbbPress includes widgets for your sidebar go to your WordPpess Dashboard -> ‘Appearance’ -> ‘Widgets’
August 20, 2012 at 8:03 pm #117168In reply to: Questions Before Installing BBPress
Stephen Edgar
KeymasterYes it uses the same DB and is safe, take a look at this thread regarding performance for starters:
Yes, some themes support bbPress or you can roll your own see https://codex.bbpress.org/theme-compatibility/ for starters.
August 20, 2012 at 7:55 pm #117167In reply to: Change Breadcrumb url link
Stephen Edgar
KeymasterSet the forums base slug to the same as your page slug and your custom WP page with shortcodes should take precedence.
August 20, 2012 at 7:44 pm #117166In reply to: Forum Login
Stephen Edgar
KeymasterFrom https://codex.bbpress.org/widgets/
Register URI: Link to your custom signup page eg. A WordPress page using the [bbp-register] shortcode.
Lost Password URI: Link to your lost-password page eg. A WordPress page using the [bbp-lost-pass] shortcode.August 20, 2012 at 7:35 pm #117164In reply to: Creating an FAQ for the bbPress Codex
Stephen Edgar
KeymasterI just published that FAQ and linked to it from the main page:
If you have any additions, revisions, edits or whatever go fo it.
August 20, 2012 at 7:23 pm #117163In reply to: BBPress compatability
Stephen Edgar
KeymasterTry resetting your permalinks : WordPress dashboard go to Settings -> Permalinks
https://codex.bbpress.org/faq/#troubleshooting
-
This reply was modified 13 years, 10 months ago by
Stephen Edgar. Reason: Added FAQ link
August 20, 2012 at 10:29 am #117149In reply to: User Activity – Topics Started or Replied To
amunds
MemberSorry, somehow the code did not output even if it looked like it would in the preview. Trying again:
Then to list the replies just add to whatever page you want to list them:
if ( bbp_get_user_replies() ) : bbp_get_template_part( 'pagination', 'replies' ); bbp_get_template_part( 'loop', 'replies' ); bbp_get_template_part( 'pagination', 'replies' ); endif;Remember to add the correct PHP tags before and after each line. Also included pastie with the entire post: Pastie with code
August 20, 2012 at 10:25 am #117148In reply to: User Activity – Topics Started or Replied To
amunds
MemberI`m not sure how familiar you are with WordPress and PHP, I consider myself a novice in PHP but well-versed in WordPress. It might be a bit technical and it might be the wrong way to do things, but here is how I quickly put it together.
Open functions.php in your theme.
Add the following function to the file (within the PHP tags):function bbp_get_user_replies( $user_id = 0 ) { // Validate user $user_id = bbp_get_user_id( $user_id ); if ( empty( $user_id ) ) return false; // Query defaults $default_query = array( 'author' => $user_id, 'show_stickies' => false, 'order' => 'DESC', ); // Try to get the topics $query = bbp_has_replies( $default_query ); if ( empty( $query ) ) return false; return apply_filters( 'bbp_get_user_replies', $query, $user_id ); }Then to list the replies just add to whatever page you want to list them:
As you can see this is basically the same code as the bbp_get_user_topics_started function, just modified to get the replies instead.
If anyone have a better solution I`d love to hear it.
August 20, 2012 at 6:17 am #117146In reply to: Index page
JudeAAZ
MemberJohn, I read a message of you in another thread where you say :
> That said, what you want to do is as easy as making a bbpress.php
> template in the root of your theme. It will act as the wrapper for all
> bbPress content.What does that mean ? I’ve read the codex, but not this in there.
Thank youAugust 19, 2012 at 8:59 am #117132In reply to: How do I edit bbPress breadcrumbs?
Clementtang
MemberOpen bbp-common-template.php from bbp-include
find// Wrap the separator in a span before padding and filter if ( !empty( $sep ) )and edit
$sep = '' . ' EDIT HERE ' . '';You can change it into any text or image w/ codes.
-
This reply was modified 13 years, 10 months ago by
Clementtang.
-
This reply was modified 13 years, 10 months ago by
Clementtang.
August 18, 2012 at 10:17 pm #117124MTPrower
MemberI’m going to explode, here.
You’re kidding me, right? Who or what are you getting defensive about? I’m not even TALKING about that! We can already DO exactly what I’m talking about inside a normal page with only several single-forum shortcodes! The problem is, because of breadcrumbs not linking to the new page I can create for that, I can’t use a different page. I have to use the .php page that is the forum-index.
Let me make this as simple as humanly possible. This is all I want on my “forums index”: what you get when you put the following into a page:
[bbp-single-forum id=$forum_id-1] [bbp-single-forum id=$forum_id-2] [bbp-single-forum id=$forum_id-3]Let’s assume those are the id’s of forums of my choosing. In this case, those are the id’s of my three top-level categories. Whatever you get when posting those three shortcodes into one page is EXACTLY what I want as my forums index page. (By the way, all other forums systems already look like this. And don’t assume that everyone likes bbPress’ current index page, which is the only index page of its kind. That is speculation.)
That is all. Nothing more. We can do it on a single page or post, so I know we can do it on a .php file.
And finally, don’t be smart with me. bbPress is the only forums system that integrates with WordPress as well as it does. To have a multimedia site with a completely separate forums is to KILL YOUR SITE. I understand why, if your forums isn’t the landing page of your site, you MUST have full integration between your site and forums in order to keep traffic. That is why I can’t use things other than bbPress.
If you’re going to respond to me, at least read the first post. Just reading the latest two posts isn’t going to give you enough info to respond well without annoying the poster. Please, for the love of god…
August 18, 2012 at 11:11 am #117118Topic: tried to put a jetpack contact form in post
in forum Installationfolgerj
ParticipantI tried a couple ways to put a comment form shortcode in my topic post (works outside of BBpress) but not inside. I also would like to have my topic/replies show in reverse order. Instead of default of newest to oldest I would like the most current reply on top… I don’t see an easy way to do this. I’m not using a totally compliant theme (weaver pro) since I’m about the blog more than the forum but it seems to work well enough… http://jeff-foliage.com/forums/topic/2012-fall-foliage-reports/ is my site and most recent post. Jeff Foliage
-
This topic was modified 13 years, 10 months ago by
folgerj.
-
AuthorSearch Results