Forum Replies Created
-
In reply to: Make the forum pages full-width
i did not create a page for the forum archive using the shortcode.
but i did get full width on all the bbpress post type pages by creating a bbpress.php then using this css code.
.bbpress .main { background: none repeat-y right 0; padding-right: 0px!important; }
In reply to: Make the forum pages full-widthchild theme stylesheet
jetpack custom css module
other custom css pluginexplain a little bit more on what you are talking about??
In reply to: Make the forum pages full-widthyou can try this
#bbpress .col-2cl .main { background: none repeat-y right 0; padding-right: 0px; }
else try any of these
.bbpress .col-2cl .main { background: none repeat-y right 0; padding-right: 0px; }
#bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0px; }
.bbpress-forums .col-2cl .main { background: none repeat-y right 0; padding-right: 0px; }
come back if it didnt work
In reply to: Forum doesn't look very goodi got a 500 Internal Server Error checking it out.
but if it is just styling you should check out some links in the documentation.
also reading more of the documentation wouldnt be bad.
In reply to: Pictureyou can first seperate the role , reply author name , and avatar.
i just put loop-single-reply.php into my child theme folder called bbpress
then i just remove this line in loop-single-reply.php
<?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
and replace it with these three lines of code.
this code also puts the role above the avatar.<?php bbp_reply_author_link( array('show_role' => true, 'type' => 'role' ) ); ?> <?php bbp_reply_author_link( array( 'show_role' => false, 'type' => avatar , 'size' => auto ) ); ?> <?php bbp_reply_author_link( array( 'show_role' => false,'type' => 'name' ) ); ?>
and to have that sites kind of avatars you dont have a fixed width so the avatars size varies a little bit in height and width but it has a max width it never go bigger than.
to do that you would have to use this.
max-width and max-height are both 150px you can change that to whatever you want.
add this css whereever you can have custom css
bbpress.css in a child theme
child themes css
jetpacks custom css module
custom css plugin#bbpress-forums div.bbp-reply-author img.avatar { border: medium none; max-width: 150px; padding: 0px; margin: 12px auto 0px; float: none; max-height: 150px; }
if you change your mind about having the varied avatar sizes
you can remove'size' => auto
in the avatar code. which would leave the default 80px
or change'size' => auto
to whatever number you want example'size' => 60
In reply to: Can't get the bbPress Sidebar to showdo you still have the issue because i went to your site and it shows a set of bbpress widgets in a widget area on bbpress pages??
In reply to: Change template for /forums/forum/…its probably loop-single-forum.php that your after then.
if its not then just browse the templates in plugins>bbpress>templates>default>bbpress
In reply to: BBpress Theme SEOThanks for sharing!!
if you can find any more please share.
In reply to: Is there a ban users system plugin out there?i think its really like making a plugin for wordress except you use bbpress’s hooks
but i havent gone in too deep in knowing how to create a plugin.this plugin helps on finding all of bbpress’s hooks
https://wordpress.org/plugins/bbpress-visual-hooks/and im sure information in documentation will help.
heres some information that i found real quick that i think could help.
if you need anymore help create a new topic titled “Need Help on bbpress plugin development”
and maybe robin or stephen can help from there.
robin already has tons of plugins made for bbpress
and stephen is one of the core developersIn reply to: Topic background color depending on roleyou put the add filter code into your child themes functions.php or if you have a functionality plugin put it there.
and well i havent really tested that css code before so i didnt know if it really did work.
i just tried it a while ago and i cant get it to work at all.if you got it to work send a link to the post so i can check it out.
In reply to: Which need I use?well when i look at mycred i see its pretty powerful .
it has a points system and also badges http://mycred.me/add-ons/badges/
heres a link of everthing thats built in
wp acheivements also has built in compatibility with mycred , bbpress, userpro , wordpress, woocommerce, and cubepoints
Their is also another i think completely free plugin called achievements for wordpress
https://wordpress.org/plugins/achievements/
this also has built in compatibilty with bbpress , and i think the plugin developer also is a part of team of developers of buddypress maybe bbpress too but not sure.
I would test out all the free achievement plugins first on a local development server like wamp for windows , or mamp for macintosh and see what suits your needs.
In reply to: Is there a ban users system plugin out there?I want to make sure that there is not an existing alternative before start writing code (Iām not very familiar at writing code for bbpress).
ok alright , some other users want this functionality so it will be great for someone to make it š
In reply to: Which need I use?the ip address is only visible to keymasters and i think moderators too.
stars and medals sounds like an achivement plugin. you can search the wordpress.org plugin repository for one that is compatible with bbpress.
In reply to: Is there a ban users system plugin out there?well i cant find any at the moment.
but i guess if there was a plugin all it would have to do is change users role in the frontend for a period of time that would be set by moderators or keymasters.
In reply to: Change template for /forums/forum/…well isnt the way bbpress forums are structured is
example.com/forums/forum/name-of-forum
so
example.com/forums/forum
would not go any where , or am i missing something
what exactly are you trying to do . put a topic form where??
post pic for example.
In reply to: Topic background color depending on rolewell first i think you have to seperate the role from the author link and author avatar
then to do add this you have to either add conditionals like
if user is admin {
or wrap the role in a class and add something like ($role)
will post later when i feel like going into templates and fiddling with them again.
In reply to: Moderatorswell moderators can look at forums in the front end and then use the admin links to either sticky the topic , close the topic, spam the topic etc.
banning users permanently would require a different plugin to ban the ip address of the user ,search some security plugins in the wordpress.org plugin repository have this feature
banning users temporarily you can just go to users>all users search for the person your trying to ban for a short while then change their forum role to blocked. then when the temporary ban is done you can just switch back.
In reply to: Which need I use?1. to get a full-width forums, you need to create a bbpress.php more information in this link
after you create a bbpress.php from your page.php just delete the sidebar code that should say like
<?php get_sidebar
in the template.2. You can follow this tutorial on this website to replace the voice count with a views count.
there are other ways to display views in bbpress also like by using this plugin
https://wordpress.org/plugins/bbpress-simple-view-counts/
3. Are you talking about the layout of the reply author area on ip board where it shows an image based on user role and the total post count of the user??
images based on forum role i cant find a solution just yet , might post solution later . Its most likey just going to include alot of conditionals based on forum role.
total post count for users is easy, you can easily just use robins plugin
In reply to: Change template for /forums/forum/…well a topic form should already be in content-single-forum.php
its called with
<?php bbp_get_template_part( 'form', 'topic' ); ?>
In reply to: how to disable hyperlinks in bbpress forum-well i have not tried this but to disable any link on a post appearing you can go to settings>disscussion and then change the number of links to 1. So that you arent totally stripping links and only trying to only allow approved links like youtube.com from appearing.
Hold a comment in the queue if it contains [1] or more links. (A common characteristic of comment spam is a large number of hyperlinks.)
yes i know this is usually for comments but ive read some of these settings are either working on bbpress now or in the future.
-you can also just strip the links from either working by using this function.
plop it into your child themes funcitons.php or a functionality plugin.add_filter( 'bbp_kses_allowed_tags', 'ntwb_bbpress_custom_kses_allowed_tags' ); function ntwb_bbpress_custom_kses_allowed_tags() { return array( // Links 'a' => array( 'class' => false, 'href' => false, 'title' => false, 'rel' => false, 'class' => false, 'target' => false, ), // Quotes 'blockquote' => array( 'cite' => true, ), // Span 'span' => array( 'class' => true, ), // Code 'code' => array(), 'pre' => array( 'class' => true, ), // Formatting 'em' => array(), 'strong' => array(), 'del' => array( 'datetime' => true, ), // Lists 'ul' => array(), 'ol' => array( 'start' => true, ), 'li' => array(), // Images 'img' => array( 'class' => true, 'src' => true, 'border' => true, 'alt' => true, 'height' => true, 'width' => true, ), // Tables 'table' => array( 'align' => true, 'bgcolor' => true, 'border' => true, ), 'tbody' => array( 'align' => true, 'valign' => true, ), 'td' => array( 'align' => true, 'valign' => true, ), 'tfoot' => array( 'align' => true, 'valign' => true, ), 'th' => array( 'align' => true, 'valign' => true, ), 'thead' => array( 'align' => true, 'valign' => true, ), 'tr' => array( 'align' => true, 'valign' => true, ) ); }
you might just delete all of the code specified for the a tag too and you will be fine
delete
// Links 'a' => array( 'class' => false, 'href' => false, 'title' => false, 'rel' => false, 'class' => false, 'target' => false, ),
In reply to: Topic background color depending on rolewell you can check out this topic and maybe it will help
when schmoos code has
.user-id-1
well thats the id of the usergo to user>all users search for all your sites keymasters.
then click edit by each users avatar
after that you are in the edit profile page for that particular user and in the url it says
user_id=(number)
get all the user id numbers and then you can stack them using commas in a css code like this
.type-reply.user-id-1,.type-reply.user-id-2,.type-reply.user-id-3 { background: yellow; }
i liked https://wordpress.org/plugins/oa-social-login/ before i went to another solution
im not sure if it has integration with bbpress or not though.
and this requires an account to their website.https://wordpress.org/plugins/loginradius-for-wordpress has bad support and i couldnt get the plugin to work well when i tried it.
you can also find some paid social login plugins in codecanyon , im for sure there is one that offers social login and has compatibility with bbpress. I think it cost like 28 dollars or something close to that.
In reply to: plugin clash with StToolkitcontact the plugin sttoolkit’s author about the issue
In reply to: Spams In forum registrationfor registration add a captcha plugin either of these examples should be fine.
https://wordpress.org/plugins/bbpress-recaptcha/
https://wordpress.org/plugins/wp-math-captcha/to help fight spam some security plugins help , some offer some kind of firewall rules to block bots, and also a honey pot for a sites registration form.
-recommended plugins (do research and choose ones that you want)
akismet(you should already have this)
all one wp security and firewall
wordfence security
bruteprotect
ithemes security
any plugin that provides captcha.