Robin, I’ve followed these steps (and several other of your support responses on this issue), and I’ve successfully created new roles using both methods, but I have a strange symptom: No matter what capabilities I allow, only the ‘Edit’ link shows on topics and replies. I simplified it to a new role, modeled after a keymaster. The role shows up, the database capabilities shows correctly, and now keymaster-only data shows under user profile images (like IP address), but still no admin links such as move, trash, etc. If I switch the user back to a regular moderator role, the links show just fine:
function add_custom_role( $bbp_roles ) {
$bbp_roles['villager'] = array(
'name' => 'Villager',
'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // the same capabilities as participants
);
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
Jlaks – the way I did it was to put in some html code on the WordPress page, above the shortcode for the forum. However Robkk’s plugin is really simple and much better – I’m using it as well now!
well i cant see the links on your site because its only shown if you are logged in.
but i just looked up the css selectors on here.
see if this changes the color.
a.subscription-toggle,
a.favorite-toggle {
color:328c00;
}
if you want to change the color of other links like for example the reply author link use inspect element in your web browser, and try to find the class/id then style it from there.
if sometimes some css doesnt work you would have to probably go add the parent class/id in the css or add !important to the end.
like
li.bbp-header a.favorite-toggle {
color:#328c00;
}
search up on google/youtube on how to use inspect element in your browser
more info here
Step by step guide to setting up a bbPress forum – part 2
bbPress Styling Crib
Thanks for the update. I have a file called full-width.php in wp-content/themes/twentyfourteen/page-templates. And I apologize, I don’t think I was clear in my original post. I want the forum to extend the width of the page beyond the content sidebar on the right side of the page. I do want the left sidebar to remain.
I modified the copy of bbpress.php taken from page.php, and I removed
<?php get_sidebar( 'content' ); ?>
I was already hiding the content sidebar on forum pages, so the result there is the same. The forum is cut short where the content sidebar on the left normally appears.
I tested the full width page template on one of my pages to make sure it extends beyond the content sidebar on the right, and it does. I am hoping to get the forum to do the same. Thanks again,
my twentyfourteen theme doesn’t have a full-width.php.
Suggest you make a copy of page.php – rename it bbpress.php
then remove
get_sidebar();
near the end
and save it and let us know if that works
if you want your bbpress forum links to be different than your sites links use this
#bbpress-forums div.bbp-topic-content a, #bbpress-forums div.bbp-reply-content a {
background: none;
border: none;
display: inline;
font-weight: normal;
margin: 0;
padding: 0;
color: red;
}
When i create topics from the Dashboard with greek names, the title in the link is sanitized automaticaly, and there is no problem. But when a user creates a topic from the bbpress interface then the link remains in greek and the topic returns a 404 page not found error.
I dont understand if i need to put some code in bb-post.php and bb-edit.php, where and what exactly i should change.
1. the login issue , i cant do much about since its about the design of bbpress.org , i can pitch some desgin ideas like just showing login and register links in the admin bar instead of the anonymous user profile dropdown so that it could be more like the wp admin bar as it is now.
2. i dont think bbpress login shortcode/widget have a referrer login redirect , use this plugin to get that kind of functionality.
https://wordpress.org/plugins/peters-login-redirect/
if it doesnt work , i dont know how else to help you on this issue.
3. i think you should create a new topic for this, i dont really know much about this.
@suntura
you have to wrap the loop with pagination code and divs manually
like for example in content-single-forum.php, around the loop originally has the get template pagination kind of code, you have to replace the first one above the loop with the php code for the count, and the below with the pagination links.
like this.
<div class="bbp-pagination-count">
<?php bbp_forum_pagination_count(); ?>
</div>
<?php bbp_get_template_part( 'loop', 'topics' ); ?>
<div class="bbp-pagination-links">
<?php bbp_forum_pagination_links(); ?>
</div>
you have to make sure you are choosing the right pagination set up for each content single file template.
also make sure you have copied the templates over to your child theme so you can edit them with no problem.
Thx Rob,
Missed it as well my eyes are weary. Thank You for the quick response. Setting new forum for my eccomerce site https://www.boatpartsforless.com/. Learned quite a bit about bbPress in a day. Last thing really needing attention before it goes live is a login re-direct and one piece of code color of font forum titles. Really like bbPress but two a few quirky things.
First: when I registered today for bbPress forum I really had to look for log in then finally figured out it was the icon top right. Seems like logging in and registering should not take that much effort.
Second: Quirk. After log in site does not redirect back to page you where on. That disappointed me earlier today when searching for info and had to register to add to this topic. Again while I am really liking bbPress so far, seems weird two paramount conveniences are not incorporated in out of the box.
Last one: is a little scary. If someone inputs incorrect log in information it redirects to WordPress main login in screen. Really have to work on that one before forum goes live. While most hackers know where log in in is for WordPress sites still seems stupid to advertise it like that.
Or it could just be me, frustrated with having to learn something new.
the css from this code is affecting the whitespace
#left-area ul, .entry-content ul, .comment-content ul {
list-style-type: disc;
padding: 0 0 23px 16px;
line-height: 26px;
}
maybe creating a bbpress.php file could fix this or just adding #bbpress-forums to the selector with reduced padding-left .
#bbpress-forums #left-area ul, .entry-content ul, .comment-content ul {
list-style-type: disc;
padding: 0 0 23px 0px;
line-height: 26px;
}
heres info on creating a bbpress.php file.
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
umm i dont know what to tell you about the sidebar going the profile and tag pages, it might be because of the template you are using for bbpress currently so maybe making a bbpress.php could fix it but i dont know
the link should be <a href="http://mysitename.com/login" title="login">Login</a>
i forgot to put the actual word LOGIN , idk maybe i was drunk or something
Hi robkk,
I have tried every way I can to get the link to show, but no matter what I do it won’t. I can easily change the text “You must be logged in to create new topics” but no luck adding a link there. I have been working with the files form-topic.php, form-reply.php and form-forum.php. Here is the piece of code in each file I am working with including your snippet above. Any help will be much appreciated.
<div class="bbp-template-notice">
<p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.<a href="http://mysitename.com/login" title="login"></a>', 'bbpress' ); ?></p>
</div>
I understand I have to use my url for forum login in “mysitename.com”
Thanks
Hi All,
I’m having some trouble getting my forum pages to be full width. If I use the shortcode to embed a forum and set my page template to “Full Width”, it works fine. But then if you click another forum topic it goes back to what looks like half width. I have tried copying my full-width.php (twenty fourteen) and calling it bbpress.php and forum.php, but it seems to have no impact. I have also tried adding some CSS, but also seemed to have no impact:
.bbpress-forums .col-2cl .main {
background: none repeat-y right 0;
padding-right: 0px;
}
I’m kind of at a loss as to why the forum pages are still not full width, so would appreciate any suggestions. Thanks,
quite codeable, but don’t know of any existing code to do this
simplest solution without me documenting alternatives would be to create bbpress roles with the same names as you member ones
see https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#14-adding-new-bbpress-roles
so you’d create a bbpress role called new member and give it the same capabilities as participant
Meanwhile, however, can I list only one forum at a time?
see earlier answer – ‘[bbp-single-forum id=123]‘
at the end the pages that appear after the user clicks a top menu called “Chevrolet.”
see earlier answer – ‘Then create a wordpress page called say GM, and put the shortcode’
you can put as much text on that page before the shortcode as you like
“See other forums,”
just use a hyperlink to a page with the shortcode [bbp-forum-index]
http://www.w3schools.com/html/html_links.asp
HI thanks for answer
This is the link to our site:
http://www.cannedbandits.org/the-third-campaign-on-the-global-map/ and this thread have some link in it, as you can see, on hover it goes red but Author link is changed to with same colors.
HI guys,
I am trying to do the same,…
I have this in my theme css
body {
color:#dbd8c4;
font-size:13px;
font-family: 'arial';
position:relative;
}
a {
color:#dbd8c4;
text-decoration:none;
}
a:hover {
text-decoration:underline;
color:#ba110e;
font-size: 14px;
}
If i change colors even nickname profile link changes too.
I would only like to change formatting of links user post on forums. Is that possible?
Hi there.
When I try to import an existing SMF forum I get the following error:
WordPress database error: [Unknown column 'members.member_name' in 'field list']
SELECT convert(members.id_member USING "utf8") AS id_member,convert(members.passwd USING "utf8") AS passwd,convert(members.member_name USING "utf8") AS member_name,convert(members.email_address USING "utf8") AS email_address,convert(members.website_url USING "utf8") AS website_url,convert(members.date_registered USING "utf8") AS date_registered,convert(members.real_name USING "utf8") AS real_name,convert(members.aim USING "utf8") AS aim,convert(members.yim USING "utf8") AS yim,convert(members.icq USING "utf8") AS icq,convert(members.msn USING "utf8") AS msn,convert(members.signature USING "utf8") AS signature,convert(members.avatar USING "utf8") AS avatar,convert(members.location USING "utf8") AS location,convert(members.personal_text USING "utf8") AS personal_text FROM smf_members AS members LIMIT 0, 100
Not sure what I am doing wrong!
@mnhfile
I am using godaddy wordpress managed hosting and this issue occurs because of their cache layer
great that you found the issue with the cache layer from godaddy
Anyhow my tab/heading problem is solved because of loop code in this link
well its there for sure , but i forgot i edited the file,
i will link you to the unedited file i based the one i edited off of in a minute.
The new file should show freshness, voices, topics, and all the missing labels.
i want some modification in tabs/heading — which show or hide forums../// or modification like tabs act like toggles
This is some custom development , i dont know how to hook this up yet , but i know its made up of some jQuery
heres an example in this link
http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_toggle
you can create a new topic for this and see if anyone else can help , right now i dont know how to do it.
@johnohfs oh , well the grey bars are actually the li.bbp-header and li.bbp-footer that hold the labels
here are what css codes are causing the problem.
changing display:inline; to display:block; should fix the problem for you.
#main li {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
display: inline;
margin-right: 5%;
}
@media only screen and (min-width: 769px)
#main li {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 18px;
display: inline;
margin-right: 12%;
}
i think putting .bbpress if you already created a bbpress.php file or #bbpress-forums before #main li { should fix the problem, so that only on bbpress pages would have a different css for the #main li
Css or php changes by sftp not updated to my wordpress site. I figured out this is not parent/ child theme problem .. I am using godaddy wordpress managed hosting and this issue occurs because of their cache layer and i don’t know how to clear it. I try to contact them but unable to reach them beacuase of voice issue in international call.
Anyhow my tab/heading problem is solved because of loop code in this link https://raw.githubusercontent.com/robkk/better-bbpress-responsive-theme/master/bbpress/loop-forums.php
i want some modification in tabs/heading — like in the picture arrow appears which show or hide forums../// or modification like tabs act like toggles (function).

thats some custom development right there.
you can of course display the Original Poster and Recent Poster’s image using code that is already in bbPress.
getting an avatar image of the frequent posters is custom development.