if you mean the bbpress shortcodes, they’re held in
includes/common/shortcodes.php
at the simplest just comment out line 109
ie change to
//add_shortcode( $code, $function );
bbpress upgrades will overwrite this, so keep a note to change again as bbpress upgrades are issued.
Is there any simple solution to delete default bbcodes. In which file the default bbcodes defined. Many thnaks for any hint.
If I understood you correctly this is what you’re after.
When in the dashboard, navigate to Settings > Reading.
Change the option that’s called Front page displays to a static page and choose the home page (assuming you’ve created a page to be the front page).
Now navigate to Pages > All Pages and edit the page you selected to be your home page (usually “home”).
Enter the shortcode [bbp-forum-index] and then publish.
For a full list of available shortcodes, visit https://codex.bbpress.org/shortcodes/
Upon further testing, I noticed that this will not edit the breadcrumbs and will show Home > Forums (linking to domain.com/forums). I also tested this by changing the forum root slug in Settings > Forums to “home” (the page I have set to be my front page) and it now shows Home > Home
I am unsure as to how this would be fixed though…
Looks good, I like that you have the template notices using the colors from your theme, many people miss styling those and it is always the first thing I look for 😉
Take a look at the shortcode [bbp-stats]
to display the forum statistics.
https://codex.bbpress.org/shortcodes/
Also the page template page-forum-statistics.php
to get some good ideas on adding your stats .
Hi,
I am using Twenty Fourteen and bbpress. How can I make the forums root page full width?
I want to remove the sidebar, center the content and remove the post-like forum names after the listing section. Basically, I want this page to act as a full-width page, not a post/forum listing.
My forums root page is http://leopolds.com/discussions/
I want it to look like http://leopolds.com/bbs/ (created using shortcodes)
Thank you very much.
(I was able to achieve full-width style in individual forum page by using widget visibility function. But this doesn’t work for the forums root page.)
There are so many cool options right now! Besides private messages, like the plugin listed above, there is a chat at the bottom bar that users can chat with but it’s also one on one privately, it is iFly.
Also, the plugin Quick Chat can be integrated into bbPress in two different ways:
1. This chat plugin can be put into different WordPress pages with shortcodes, so you can put it on any pages at the top or bottom of your forums that are on WordPress pages using shortcode, or in any sidebar widget.
2. You can also use a different chat on each WordPress page using shortcode, so coupled with the plugins BuddyPress and BuddyPress Groups Extras (which adds extra pages to BuddyPress Groups) you can give each of your bbPress forum groups their own private chat!
okay I found the style editor I added these codes to the bottom of it and that did nothing I use !important its not working.
I have applied some of those codes from the styling crib into my css folder and they dont work
theme: Analytical Lite
the latest version of wordpress and bbpress
my font,background, and reply background is white
so all text is hidden.
i have tried applying the codes from styling crib into my theme css but it still dosent work.
does anyone have anycode to change the back ground
On which files I can find these HTML CODES :
<span class="bbp-topic-started-by">Started by: <a href="https://bbpress.org/forums/profile/renai42/" title="View renai42's profile" class="bbp-author-avatar" rel="nofollow"><img alt='' src='https://secure.gravatar.com/avatar/9cc0474d583be1164e47317a42b158c3?s=14&d=retro&r=G' class='avatar avatar-14 photo' height='14' width='14' /></a> <a href="https://bbpress.org/forums/profile/renai42/" title="View renai42's profile" class="bbp-author-name" rel="nofollow">renai42</a></span>
<span class="bbp-topic-freshness-author"><a href="https://bbpress.org/forums/profile/crzyhrse/" title="View crzyhrse's profile" class="bbp-author-avatar" rel="nofollow"><img alt='' src='https://secure.gravatar.com/avatar/c92f6fbad5b684dd17d1fde21aff8c24?s=14&d=retro&r=G' class='avatar avatar-14 photo' height='14' width='14' /></a> <a href="https://bbpress.org/forums/profile/crzyhrse/" title="View crzyhrse's profile" class="bbp-author-name" rel="nofollow">crzyhrse</a></span>
Thank in advance.
Thank you but I meant on which files I can edit these HTML CODES above ? I dont find the file’s name.
Hi Guys,
I cannot find on which file I can edit these codes ?
The avatar on the left of the message :
<img alt="" src="http://0.gravatar.com/avatar/a8792a6046cf82389373bb32241764c6?s=80&d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D80&r=G" height="80" width="80" />
And the mini avatar below the date of the freshness
<img width="14" height="14" src="http://0.gravatar.com/avatar/a8792a6046cf82389373bb32241764c…com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D14&r=G" alt="" />
Thanks in advance
Regards,
ok, you have several routes to go
If you think you will be making other changes, then it may be worth you reading this
Step by step guide to setting up a bbPress forum – part 2
but if you just want to get this going then download this plugin
https://wordpress.org/plugins/simple-custom-css/
and then put this code into it
#bbpress-forums .bbp-topic-content p,
#bbpress-forums .bbp-reply-content p {
color: blue !important ;
}
a:link {
color: blue !important ;
}
Obviously you can change the blue to whatever, or use hex codes to get any shade you like
http://www.w3schools.com/cssref/css_colors.asp
Come back if that doesn’t work, and I’ll try to help further
I tried here… bbpress/includes/common/shortcodes.php
though I entered ‘smallest’ => 11, and ‘largest’ => 20,
the font size only show 11 on all – same size. Did I do something wrong? I thought it would randomly display 11 to 20?
I’ve had a look, but I can’t find what is doing this – must be buried deep
If you keep toggling the | comes back, so my original code isn’t doing anything.
The codes resolves as
<span id=”subscription-toggle”>
|
<span id=”subscribe-2072″>
Click to receive an email notification when a member responds below
so it’s in the subscription part, but not part of the url.
‘Sorry still newbie to all these codes thing 🙂 ‘ – Don’t worry I was there only last year, you’ll soon pick it up.
Start with
https://codex.wordpress.org/Functions_File_Explained
So you need to add this to your theme’s function file.
If you are using a main theme, then any updates to the theme may overwrite your addutions, so a child theme is better. However if you put it in your main theme, just keep a note of the changes so that you can add them back if needbe.
Ideally you should create a child theme – google ‘child theme videos’ and you’ll see how to create this – it is very simple, and just lets you ‘add stuff’ to your main theme without any risk of losing it.
Have fun !
Oh. Where do I place this code. Sorry still newbie to all these codes thing 🙂
Hey, I want to set up the same kind of design bbpress support forum has for my site’s forum:
– main page with latest topics (and page navigation), and forums as widgets on the left pane
– when opening a forum : page with forum topics and forum info as widget on the left pane
– topic page: topic as page and Topic info as widget
How can I do that? Shortcodes do not seem to be enough. Like [bbp-topic-index] is only displaying the last 15 topics.
I would love to see this accept shortcodes, too. And it looks like I’m not the only one.
Yes, the issue is fixed and will be released as part of WordPress 3.9 on 16th April.
If you want to implement the fix yourself without waiting those 13 days you can grab the code from here and it it to your Twenty Fourteen themes style.css.
https://core.trac.wordpress.org/changeset/27587
EDIT: With or without the shortcodes it only works with the above patch.
Hi there, I was reading this ticket (https://bbpress.trac.wordpress.org/ticket/2504)
It appears as though this issue has been addressed, and they say that the forum should be visible when using shortcodes, but it is not working for me.
I am using [bbp-forum-index] on a page, and that page is not visible on mobile, but the other pages of the forum are that are not using shortcodes.
Any help would be appreciated.
here is the page using shortcodes, (http://motocrossnw.net/forum/) you can just drag the corner of your browser and make the window small to replicate the issue.
Tnx for the tips. I will play around with those shortcodes 🙂
In that case create a page and use the single forum shortcode multiple times.
<h3>Index 1</h3>
[bbp-single-forum id=1]
<h3>Index 2</h3>
[bbp-single-forum id=2]
<h3>Index 3</h3>
[bbp-single-forum id=3]
https://codex.bbpress.org/shortcodes/
Let’s try it here with code
and codes
Here is the tag code
: https://bbpress.org/forums/topic-tag/code/ <-That works perfectly
Here is the tag codes
: https://bbpress.org/forums/topic-tag/code/ <-That works perfectly
Here is the search code
: https://bbpress.org/forums/search/code/ <-That works perfectly
Here is the search codes
: https://bbpress.org/forums/search/codes/ <-That works perfectly
is there a way to set up so all the tags appear on a page? e.g. Tags Page? Thanks.
You would need to start modifying your bbPress templates, have a read of some of the docs on the codex that @Robin-W has pointed out to you already.
Finally I’ve written a small script to migrate kunena attachments to GD bbPress attachments
@cybnet Awesome thanks for this, I added it to the (still sparse) Kunena docs here.
I’ll take a closer look when I get the chance and see what ideas I can come up with. I was at a WordPress Meetup a couple of months ago that demoed a few different ways to move media from one install to another that once time permits I’d love to take a shot at including it in our importer.
Now I’d like to write a script to convert kunena BBCode into bbPress HTML because there are some bbcodes not converted.
This I can most definitely help out with now.
The SMF and phpBB importers both have some good examples of converting BBCode to ‘native’ bbPress (WordPress) code. I am simply use regular expressions to convert them on the fly as each topic or reply is converted.
eg. This Replaces [size=$1:XXXXXXXX]
with <span style="font-size:$1%;">$3</span>
$phpbb_uid = preg_replace( '/\[size=(.*?):(.*?)\]/', '<span style="font-size:$1%;">', $phpbb_uid );
You can see the SMF regex here and the phpBB here. There are probably quite a few that we can repurpose and if not make up a list for me and I’ll work towards getting them added to the Kunena importers in a future release.