Hi everyone, I wanted to see if there are any shortcodes or code for displaying my favorites or for my topics started? If so I can just display them on a custom page. I’ve been all over the forums and cannot find anyone who has asked for this.
Thank you for any help,
Chris
Sure.
I have the Black Label wordpress theme on my site and as such it comes with a fullscreen background image option on every post and page. I bought this theme for this very reason. Now, when I plugged in bbpress, I had to use the shortcodes on the main forum page which was no problem but when I click on the forum or the topic links, I get sent to a page that instead of saying “edit page” in the admin bar, it says “Edit forum” or “Edit topic” and doesn’t allow me to set the background image.
Now I looked into creating a default background image by changing some .css but this sets that image for ALL the pages, (page.php) and though it is overridden by the set background image in the theme, it isn’t pleasing to my eye to have one background image when you open and a second or two later have another one pop up on top of it. So I trashed this option.
Did some research on how I can resolve this problem and found a previous thread here: https://bbpress.org/forums/topic/bbpress-20-shortcodes
Needless to say that it interested me that I could create my own wrapper and have the forums and topics open up in a special page and have a set background for that page alone that won’t affect my other pages.
Well, this is the skinny of my situation. I hope I gave you enough info this time, sorry for not doing it from the get go. Can I do this? Where do I change the default wrapper to my new one? I’m imagining it’s in the function sets. Or perhaps there is an even better solution to my situation. What do yo suggest Brandon?
Oh, and thanks for your time
How to replace one string of text with another one?
Example, change ” :heart: => spade ” in each and every topic and reply.
I’m trying to make a topic creation form in a single page all by itself for a specific forum I created.
So I created a shortcode function using the code below.
bbp_get_template_part(“bbpress/form”,”topic”);
and when I put this code into the page, I was able to make the topic creation form all by itself as I wanted.
But my question is how can I set a specific forum to write?
I see there’s a dropdown menu I can select the forum I want to write. But in default the dropdown menu selector set to the very first forum.
I want to have a specific forum selected as a default. Or if I can get rid of the dropdown forum selector and specify which forum I want to write, that’s fine too.
So I looked at the codes but I couldn’t figure out how to specify a specific forum to write.
I found the following code from form-topic.php and I guess I have to change the code somehow to specify the default selected forum.
<?php bbp_dropdown( array( ‘selected’ => bbp_get_form_topic_forum() ) ); ?>
Does anyone know how to do this?
Thanks in advance.
Is it possible to insert a search form in the forum header? I have tried to create it my theme’s searchform.php with these code :
<form id=”search” name=”searchform” method=”get”>
<input type=”search” id=”ts” name=”ts” title=”Search Topics” placeholder=”Search Topics” />
<button type=”submit” value=”search” id=”searchsubmit”>Search</button>
</form>
<form id=”search” name=”searchform” method=”get”>
<input type=”search” id=”rs” name=”rs” title=”Search Replies” placeholder=”Replies” />
<button type=”submit” value=”search” id=”searchsubmit”>Search</button>
</form>
The first one search for topics when in a specific forum (e.g. http://www.yourdomain.com/forums/forum/test)
The second one search for replies when in a specific topic (e.g. http://www.yourdomain.com/forums/topic/this-is-a-test)
The problem is, I just want the first one to appear in “/forums/forum/test” and the second one in “/forums/topic/this-is-a-test”. Where should I insert those codes?
Or do anyone here have a better idea to make a search form? I tried to make a bbpress search-by-categories page but I’m kinda stuck.
Hi,
I’ve got some difficulties with shorcodes in my bbpress installation for wordpress. I have to use special shortcodes for card symbols (spade, diamond, etc.). Example, I use special format for posts, that changes :spade: into <img src=”dsewfwe” />. It works for posts and comments, but it doesn’t work for topics and replies
Any advice how to automatically replace a string with a different one?
http://forumpokerowe.com/temat/emotikony-2/
Please help
I just tell you to look at that menu on Notepad++. you should choose Unix format, then save the file and upload it again on the server. this should fix your problem in my opinion
EOL is end of line. Different OS uses different codes for EOL, we have Windows format, Mac format and Unix format. often is possible that is you save the text file with windows format it will look nice under windows os but may appear as a single long line for linux.
notepad++ can help with that and correct your problem. you introduced the problem as soon as you edited the file and saved it with windows EOL
Created page – support – and assigned it as the forum base. Then added the short codes:
[bbp-forum-index]
[bbp-single-forum id=$forum_id]
[bbp-topic-index]
[bbp-topic-form]
[bbp-single-topic id=$topic_id]
[bbp-topic-tags]
And get a fatal error when trying to view page http://blog.webactivedirectory.com/support/
Created a new page customer-support with the same short code and renders exactly as planned. http://blog.webactivedirectory.com/customer-forums/
Switch the forum base to “customer-support” on the settings page and that page has fatal error and support page renders correctly.
I played with the short codes and pages do not get fatal error when only using:
[bbp-forum-index]
[bbp-topic-index]
But the page does not render correctly.
Am I missing something completely?
Thanks jaredatch,
Yep, I’m using the WP 2.x plugin.
It does work as long as you don’t use categories. The shortcodes will only list the categories, but not the actual forums.
I ditched categories for the time being, but it does look like a bug.
Shortcodes do non currently accept any arguments at all. Would not be difficult to do, but committing to future-safe attributes will be key.
There’s a trac ticket for this already, so it’s on our radar to do in a future release. If it’s something that you need to write yourself, it’d be a great way to contribute back directly to the core project.
Do the shortcodes have some how to limit the number of topics that can be shown with the [bbp-topic-index] shortcode ?, per example i have a page where i only want to show the last 5 topics not all of them.
Thanks!!
Hey Jared, just to share this with you, i finally did what i need it in the front page with a tabs plugin found at
https://wordpress.org/extend/plugins/wordpress-post-tabs/
and the shortcodes found at
https://bbpress.org/forums/topic/bbpress-20-shortcodes
you can check it out in the main page of quimbumbia dot org any comments will be apreciated..
Thanks for the support!!
the only thing i need to find now is a shortcode for most visited and most commented
I have a site displaying my forum on the homepage using the short codes on a page. My problem is that when you drill down to a topic the breadcrumbs display –
home > forums > general > topic
Home and forums are basically displaying the same thing (a list of forums) so what I need is a way to display a list of the forums on the home page without this un necessary item in the breadcrumb list.
Can anyone help me either remove this item or suggest a better way to do this?
Thanks
John
Can’t say I really understand what you are asking for, but if you are looking for shortcodes
https://bbpress.org/forums/topic/bbpress-20-shortcodes
We’ve done a little tutorial video to show how you can setup either a BuddyPress Group Forum, a SiteWide bbPress 2.0 Forum, or a custom hybrid forum page using shortcodes. You can have all three at one time. Hope this helps
You can keep the previous forums, but the data from BuddyPress group forums does not migrate automatically into bbPress site wide forums.
http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/
Cheers!
Spence
http://labsecrets.com
Ok just like I thought (yes I’m not smarter than a fifth grader and I should have checked this first) it’s a plugin [Simple Facebook Connect] that is causing my forum page to show the last topic post instead of the page with my short codes.
I know it’s not your problem but I thought you would want to know about it in case it comes up again.
I’m sending Otto a not that it is causing a problem with your plugin.. I’m going to activate it and see if I can find something else that will do the same thing but not conflict with yours..
Thanks for a really great plugin…
Hi JJJ, I have an issue with my forum and I don’t see anything in the community (I may be searching for the wrong thing)
My forum is http://jeff-foliage.com/fall-foliage-forum/ and I think it did great last season.
Somebody asked me what shortcodes I used and when I went to the page in the dashboard it will only serve me the last created forum topic.
So if under pages I click the page for the forum to view the codes it returns this http://jeff-foliage.com/wp-admin/post.php?post=735&action=edit (I hope I can’t be hacked by giving this out…
This is a forum post topic that I created last year. If I trash this post it will return the next newest post topic for the forum.
Can you or someone tell me if there is a simple solution? Is this most likely a plugin problem? (I know most are and I suppose I could go through and deactivate them and see if at any point see the page)
Or is this a pure database problem, thoughts?
Oh I’m getting nice comments about how mine looks and I don’t know if my forum looks all that great since I’m in compatibility mode using Weaver theme. But folks seem confused and feel I’ve done great pimping on the CSS when it’s all the theme for colors and what it looks like.
Jeff “foliage” Folger
no, the shortcodes don’t appear, but the login boxes do. It’s just the top menu and the footer that stop to behave.
No you shouldn’t have to do any of that for 2.0.x or 2.1.
Does the shortcode show up on the page or just nothing?
yes.
I’ve put the shorcodes in the main post indeed.
just quickly went through the “theme compatibility” sticky and I am wondering if there are templates or css from the bbpress theme that I must copy to my WP theme’s folder?
(sorry for my noobishness)
Hmm that’s strange. Where are you trying to use those shortcodes? Just in the main post editor?
I’ve installed bbpress from the dashboard, created forums and topics.
I am now trying to use the shortcodes to display the forum in a page
these work for showing the forum
[bbp-forum-index]
[bbp-topic-index]
[bbp-topic-form]
but any shortcodes I use to add login,
[bbp-login]
[bbp-register]
[bbp-lost-pass],
makes my top menu and footer loose all their formatting and makes them become lists. Using the login widget on a sidebar does the same thing. Here’s a screencap: http://i.imgur.com/wmDNx.png
I don’t know if it matters or could be the souce of this issue, but I am using a theme (dagda from wptitans…).
Does anybody have any clue on how to fix that? I really would like bbpress to work!
..and sorry to ask a question that might already have been answered somewhere, I’ve been looking for a solution for a few hours now, any pointer would be greatly appreciated.
Thks!
I am trying to hide some forums from some users.
This does seem to work, using the “members” plugin and by giving access to private or hidden forums.
However, if I use the shortcodes together with forum categories, only the categories are visible and not the actual forums.
Any ideas how to resolve this would be highly appreciated.
OK — I did all that and can see the plugins/bbpress folder in Filezilla. The problem is, I can’t see it in the “plugins” page on WordPress to activate it, and the site is otherwise not recognizing it (pages I had with shortcodes aren’t working).
Sigh. I’m testing it on wavychick.com, which is a dev site for my dev site, if that makes sense.