Search Results for 'code'
-
AuthorSearch Results
-
April 3, 2012 at 12:59 pm #112857
mr_pilot
MemberHi!
I´m running a wordpress/buddypess/bbpress combination and I also need to change the permalink structure, in a bit different way then eleram – I´m looking for a more logic structure in all forums: example.com/forum/name-of-forum/name-of-post/
-> replace slug “forum” by name of forum
-> replace “topic” by name of topic
I can customize the code, but I´m not sure where to look on.
@John: “WordPress handles the rewrite rules for bbPress’s content types” -> where do I have to look for (bbpress´ custom post types) to adjust the permalink logic?
Of course I will share my customization as soon a sfinished.
Thanks!
April 2, 2012 at 11:45 pm #112777In reply to: most visited & most commented
arturex
MemberHey 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
April 2, 2012 at 7:18 pm #112795In reply to: Breadcrumb problem
John James Jacoby
Keymaster1. Create a WordPress page with the same slug as your forums root
2. Add the [bbp-forum-index] shortcode to that page’s content
3. Make this page the front page of your site
April 2, 2012 at 6:11 pm #112834Laughing Cat
ParticipantI got this solution… which is probably not so clean but it works; previously I had already created a function to retrieve the full width bp avatar in wordpress, now I looked at the bbp code and filtered the function fetching the avatar in replies with that function I had previously created
function sg_author_avatar($size) {
global $post;
if ( function_exists('bp_core_fetch_avatar') ) {
echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'full', 'height' => $size, 'width' => $size ) ) );
}
elseif ( function_exists('get_avatar') ) {
echo get_avatar(get_the_author_meta('ID'), $size );
}
}
function sg_bp2bb_author_avatar() {
$author_avatar = sg_author_avatar('150');
}
add_filter('bbp_get_reply_author_avatar', 'sg_bp2bb_author_avatar')April 2, 2012 at 5:24 pm #43844Topic: Breadcrumb problem
in forum Troubleshootingjohnwww
MemberI 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
April 2, 2012 at 4:46 pm #112832Laughing Cat
Participantif I use that in bbpress templates I get:
Call to undefined function post_author_avatar_link()April 2, 2012 at 4:14 pm #43870Topic: forum on wordpress main page
in forum InstallationApril 2, 2012 at 3:43 pm #112839In reply to: Safari and Chrome messed up layout
Jared Atchison
MemberPut this in your theme’s style.css
.bbPress #content {
width: 67%;
}Jared Atchison
MemberYou need to use Firebug or Chrome inspector to check out the CSS.
I’ve looked at things and it’s all simple conflicts that are happening due to the CSS that’s in place with you theme.
For example
.hentryis being floated left which is screwing up the forum index.You will want to put some tweaks in place (in your theme’s style.css). For example:
.bbp-forums .hentry {
float:none;
}April 1, 2012 at 8:11 pm #112800In reply to: BBPress database problem
Jared Atchison
MemberThanks for the report back
April 1, 2012 at 8:08 pm #112804In reply to: Getting Started question,
Jared Atchison
MemberCan’t say I really understand what you are asking for, but if you are looking for shortcodes
April 1, 2012 at 5:56 am #111916In reply to: From BuddyPress to BBpress
LabSecrets
ParticipantWe’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
April 1, 2012 at 2:55 am #112799In reply to: BBPress database problem
folgerj
ParticipantOk 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…
April 1, 2012 at 2:24 am #43846Topic: BBPress database problem
in forum Troubleshootingfolgerj
ParticipantHi 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
March 31, 2012 at 10:04 pm #40170Topic: help me remove unwanted notes from forum main page
in forum Troubleshootingacesup
MemberI want to remove these lines
This one bellow that is above forum in the site
This forum contains 6 topics and 0 replies, and was last updated by
Messages in one post are repeating
This reply was modified 6 hours ago by Picks24.
This reply was modified 6 hours ago by Picks24.
You can check these problems at http://www.picks24.com/forums/
March 31, 2012 at 8:00 pm #112744In reply to: cannot get styling to stick
Jared Atchison
MemberYou are using 2.1, which is good.
What you need to do is tweak the CSS, I don’t recommend editing core, I would use this instead https://wordpress.org/extend/plugins/bbpress-custom-css-file/
bbpress.css, line 48 is what you need to change, ie
#bbpress-forums .status-closed, #bbpress-forums .status-closed a {
color: #CCC;
}March 31, 2012 at 7:59 pm #112486In reply to: Change forum color
sharq219
MemberThanks so much! That worked perfectly. And knowing where those are in the code, it is easy to tweak them in the future with different colors and shading. Much appreciated.
March 31, 2012 at 1:45 pm #112485In reply to: Change forum color
DELETE ME
MemberHi Sharq219,
Before I post, I must say, I am no code-maestro rather a novice at it all. However this is what I did –
In FTP Panel,
• Followed this page – %Root Folder of the website in question%wp-contentpluginsbbpressbbp-themesbbp-twentytencss
• Edited the file bbpress.css (attached the edited version)
• You’ll notice in top few lines and bottom few lines I changed the background colour hexademical code from #efefef to #0B0808
• Be careful though, do not change it at all places. I practically changed one place at a time and saved and refreshed to check until I got the results. Best to compare the file I am sending you with your file and see if you can relate & make changes in right places.
• I suggest to start from the bottom up in the file, you are likely to see it resolve in the end.
Here is the code of the file I edited – – –
/**
* bbPress specific CSS
*
* @package bbPress
* @subpackage Theme
*/
/* =bbPress Style
*/
#content hr,
#container hr {
margin: 0 0 24px 0;
}
#entry-author-info {
margin: 10px 0 0 0;
border-bottom: 1px solid #fff;
}
#content table.bbp-topics,
#content table.bbp-forums,
#content table.bbp-replies,
#container table.bbp-topics,
#container table.bbp-forums,
#container table.bbp-replies,
#main table.bbp-topics,
#main table.bbp-forums,
#main table.bbp-replies {
clear: left;
table-layout: fixed;
width: 100%;
}
/* =Breadcrumb and Tags
*/
div.bbp-breadcrumb {
float: left;
}
div.bbp-breadcrumb,
div.bbp-topic-tags {
font-size: 12px;
}
#content div.bbp-breadcrumb p,
#content div.bbp-topic-tags p {
margin-bottom: 10px
}
div.bbp-topic-tags {
float: right;
}
/* =Tables
*/
#content table tbody tr.even td {
background-color: #0B0808;
}
#content table tbody tr.odd td {
background-color: #0B0808;
}
#content table tbody tr.status-trash.even td,
#content table tbody tr.status-spam.even td {
background-color: #0B0808;
}
#content table tbody tr.status-trash.odd td,
#content table tbody tr.status-spam.odd td {
background-color: #0B0808;
}
#content table.bbp-topics tbody tr.status-closed td,
#content table.bbp-topics tbody tr.status-closed td a {
color: #ccc;
}
table.bbp-topic tbody tr td,
table.bbp-replies tbody tr td {
background-color: #0B0808;
}
table.bbp-forums th, table.bbp-topics th,
table.bbp-topic th, table.bbp-replies th {
background-color: #0B0808;
}
table.bbp-forums th span, table.bbp-topics th span,
table.bbp-topic th span, table.bbp-replies th span {
float: right;
}
#content th.bbp-topic-author,
#content th.bbp-reply-author {
text-align: center;
width: 120px;
}
#content th.bbp-topic-content,
#content th.bbp-reply-content {
text-align: left;
padding: 9px 10px 9px 15px;
}
#content table.bbp-forums tfoot td, #content table.bbp-topics tfoot td,
#content table.bbp-topic tfoot td, #content table.bbp-replies tfoot td,
#content table.bbp-replies tr.bbp-reply-header td,
#content table.bbp-topic tr.bbp-topic-header td {
background-color: #0B0808;
color: #888;
font-size: 12px;
font-weight: bold;
font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
padding: 4px 10px;
}
span.bbp-author-ip {
font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
font-size: 11px;
font-weight: bold;
color: #aaa;
}
#content .bbp-forum-info {
width: 55%;
text-align: left;
}
#content .bbp-forum-topic-count,
#content .bbp-forum-reply-count,
#content .bbp-topic-reply-count,
#content .bbp-topic-voice-count,
#content .bbp-topic-action {
width: 10%;
text-align: center;
padding: 6px 0px;
}
#content td.bbp-topic-author,
#content td.bbp-reply-author {
padding: 20px;
text-align: center;
vertical-align: top;
}
.bbp-topic-title {
width: 55%;
text-align: left;
}
.bbp-topic-freshness,
.bbp-forum-freshness {
text-align: center;
width: 25%;
}
#content tbody .bbp-topic-content,
#content tbody .bbp-reply-content {
vertical-align: top;
padding: 15px 10px 10px 15px;
overflow: auto;
}
#content .bbp-topic-content img,
#content .bbp-reply-content img {
max-width: 100%;
}
/* =Admin Links
*/
span.bbp-admin-links {
float: right;
color: #ddd;
}
span.bbp-admin-links a {
color: #bbb;
font-weight: normal;
font-size: 10px;
text-transform: uppercase;
text-decoration: none;
}
fieldset span.bbp-admin-links {
float: left;
}
tr td span.bbp-admin-links a:hover {
color: #ff4b33;
}
td.bbp-topic-admin-links,
td.bbp-topic-counts {
width: 50%;
}
a.bbp-topic-permalink,
a.bbp-reply-permalink {
float: right;
margin-left: 10px;
color: #ccc;
}
/* =Toggles
*/
.bbp-topic-action #favorite-toggle a {
text-decoration: none;
padding: 0px 3px 1px;
color: #7c7;
border: 1px solid #aca;
background-color: #dfd;
font-weight: bold;
font-size: 13px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.bbp-topic-action #favorite-toggle a:hover {
color: #5a5;
border-color: #7c7;
background-color: #0B0808;
}
.bbp-topic-action #favorite-toggle span.is-favorite a {
color: #faa;
border: 1px solid #faa;
background-color: #0B0808;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.bbp-topic-action #favorite-toggle span.is-favorite a:hover {
color: #c88;
border-color: #c88;
background-color: #0B0808;
}
.bbp-topic-action #subscription-toggle a {
text-decoration: none;
padding: 0px 3px 1px;
color: #7c7;
border: 1px solid #aca;
background-color: #0B0808;
font-weight: bold;
font-size: 13px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
}
.bbp-topic-action #subscription-toggle a:hover {
color: #5a5;
border-color: #7c7;
background-color: #0B0808;
}
.bbp-topic-action #subscription-toggle span.is-subscribed a {
color: #faa;
border: 1px solid #faa;
background-color: #0B0808;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.bbp-topic-action #subscription-toggle span.is-subscribed a:hover {
color: #c88;
border-color: #c88;
background-color: #fdd;
}
#content p.bbp-topic-meta {
margin-bottom: 0;
font-size: 11px;
}
#content p.bbp-topic-meta span {
white-space: nowrap;
}
/* =Forums
*/
#content table tbody tr .bbp-forum-description p {
margin-bottom: 0;
font-size: 13px;
font-style: italic;
}
#content table tbody tr ul.bbp-forums {
list-style: none;
font-size: 12px;
margin: 0 0 0 10px;
padding: 0 0 0 10px;
border-left: 1px solid #aaa;
}
#content table tbody tr ul.bbp-forums li {
display: inline;
}
/* =Pagination
*/
.bbp-pagination-count {
float: left;
}
.bbp-pagination-links {
float: right;
}
.bbp-pagination {
float: left;
width: 100%;
margin-bottom: 20px;
}
.bbp-topic-pagination {
display: inline-block;
margin-left: 5px;
margin-bottom: 2px;
}
.bbp-topic-pagination a {
font-size: 10px;
line-height: 10px;
padding: 1px 3px;
border: 1px solid #ddd;
text-decoration: none;
}
/* =Forms
*/
#content fieldset.bbp-form,
#container fieldset.bbp-form,
#wrapper fieldset.bbp-form {
clear: left;
}
#content fieldset.bbp-form,
#container fieldset.bbp-form,
#wrapper fieldset.bbp-form {
border: 1px solid #eee;
padding: 10px 20px;
}
#content fieldset.bbp-form legend,
#container fieldset.bbp-form legend,
#wrapper fieldset.bbp-form legend {
padding: 5px;
}
#content fieldset.bbp-form label,
#container fieldset.bbp-form label,
#wrapper fieldset.bbp-form label {
width: 250px;
display: inline-block;
}
#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,
#bbp-login fieldset label,
#bbp-register fieldset label,
#bbp-lost-pass fieldset label {
width: 100px;
}
#content fieldset.bbp-form p,
#container fieldset.bbp-form p,
#wrapper fieldset.bbp-form p,
#content fieldset.bbp-form textarea,
#container fieldset.bbp-form textarea,
#wrapper fieldset.bbp-form textarea,
#content fieldset.bbp-form select,
#container fieldset.bbp-form select,
#wrapper fieldset.bbp-form select,
#content fieldset.bbp-form input,
#container fieldset.bbp-form input,
#wrapper fieldset.bbp-form input {
margin: 0px 0px 10px;
}
textarea#bbp_reply_content,
textarea#bbp_topic_content {
width: 100%;
box-sizing: border-box;
-webkit-box-sizing:border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
}
.bbp-topic-form,
.bbp-reply-form,
.bbp-topic-tag-form {
clear: left;
}
body.topic-edit .bbp-topic-form div.avatar img,
body.reply-edit .bbp-reply-form div.avatar img,
body.single-forum .bbp-topic-form div.avatar img,
body.single-reply .bbp-reply-form div.avatar img {
margin-right: 0;
padding: 10px;
border: 1px solid #ddd;
line-height: 0;
background-color: #efefef;
}
body.page .bbp-reply-form code,
body.page .bbp-topic-form code,
body.single-topic .bbp-reply-form code,
body.single-forum .bbp-topic-form code,
body.topic-edit .bbp-topic-form code,
body.reply-edit .bbp-reply-form code {
font-size: 10px;
background-color: #f0fff8;
border: 1px solid #CEEFE1;
display: block;
padding: 8px;
margin-top: 5px;
width: 369px;
}
#merge_tag,
#delete_tag {
display: inline;
}
div.bbp-submit-wrapper {
float: right;
}
p.form-allowed-tags {
width: 462px;
}
input[type="password"] {
background: #f9f9f9;
border: 1px solid #ccc;
box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
padding: 2px;
}
/* =Edit User
*/
#bbp-your-profile fieldset {
margin-top: 20px;
padding: 20px 20px 0 20px;
}
#bbp-your-profile fieldset div {
margin-bottom: 20px;
float: left;
width: 100%;
clear: left;
}
#bbp-your-profile fieldset select {
margin-bottom: 0;
}
#bbp-your-profile fieldset input,
#bbp-your-profile fieldset textarea {
margin-bottom: 0;
width: 400px;
background: #f9f9f9;
border: 1px solid #ccc;
box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
padding: 2px;
}
#bbp-your-profile fieldset legend {
display: none;
}
#content #bbp-your-profile fieldset label,
#container #bbp-your-profile fieldset label {
float: left;
width: 150px;
padding-right: 20px;
text-align: right;
}
#bbp-your-profile fieldset span.description {
margin: 5px 0 0 170px;
font-size: 12px;
font-style: italic;
float: left;
clear: left;
width: 383px;
padding: 5px 10px;
border: #cee1ef 1px solid;
background-color: #f0f8ff;
}
#content #bbp-your-profile fieldset fieldset,
#container #bbp-your-profile fieldset fieldset {
margin: 0;
width: 260px;
border: none;
padding: 0;
clear: none;
float: none;
}
#bbp-your-profile fieldset fieldset span.description {
margin-left: 0;
margin-bottom: 20px;
}
#bbp-your-profile fieldset.submit button {
float: right;
}
/* =Notices
*/
div.bbp-template-notice {
border-width: 1px;
border-style: solid;
padding: 0 0.6em;
margin: 5px 0 15px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
background-color: #ffffe0;
border-color: #e6db55;
color: #000;
clear: both;
}
div.bbp-template-notice a {
color: #555;
text-decoration: none;
}
div.bbp-template-notice a:hover {
color: #000;
}
div.bbp-template-notice.info {
border: #cee1ef 1px solid;
background-color: #f0f8ff;
}
div.bbp-template-notice.important {
border: #e6db55 1px solid;
background-color: #fffbcc;
}
div.bbp-template-notice.error,
div.bbp-template-notice.warning {
background-color: #0B0808;
border-color: #c00;
}
div.bbp-template-notice.error a,
div.bbp-template-notice.warning a {
color: #c00;
}
div.bbp-template-notice p {
margin: 0.5em 0 6px 0 !important;
padding: 2px;
font-size: 12px;
font-color: #0B0808
line-height: 140%;
}
/* =Stickies
*/
.bbp-topics-front tr.super-sticky td,
.bbp-topics tr.super-sticky td,
.bbp-topics tr.sticky td,
.bbp-forum-content tr.sticky td {
background-color: #0B0808 !important;
font-size: 1.1em;
}
/* =Revisions
*/
#content .bbp-topic-revision-log,
#content .bbp-reply-revision-log,
#main .bbp-topic-revision-log,
#main .bbp-reply-revision-log,
#container .bbp-topic-revision-log,
#container .bbp-reply-revision-log {
border-top: 1px dotted #ddd;
list-style: none;
width: 100%;
margin: 0;
padding: 8px 0 0 0;
font-size: 11px;
color: #aaa;
}
/* =Widgets
*/
.bbp-login-form fieldset legend {
display: none;
}
.bbp-login-form .bbp-username input,
.bbp-login-form .bbp-email input,
.bbp-login-form .bbp-password input {
padding: 5px;
}
.bbp-login-form .bbp-username label,
.bbp-login-form .bbp-password label {
width: 70px;
display: inline-block;
}
.bbp-login-form .bbp-username,
.bbp-login-form .bbp-password,
.bbp-login-form .bbp-remember-me,
.bbp-login-form .bbp-submit-wrapper {
margin-top: 10px;
}
.bbp-login-form .bbp-remember-me {
}
.bbp-login-form .bbp-submit-wrapper {
text-align: right;
}
.bbp-login-form .bbp-login-links {
}
.bbp-login-form .bbp-login-links a {
float: left;
clear: left;
}
.bbp-logged-in img.avatar {
float: left;
margin-right: 15px;
}
.bbp-logged-in h4 {
font-weight: bold;
font-size: 1.3em;
clear: none;
margin-bottom: 10px;
}
/* =Avatars
*/
#content p.bbp-topic-meta img.avatar,
#content ul.bbp-reply-revision-log img.avatar,
#content ul.bbp-topic-revision-log img.avatar,
#content div.bbp-template-notice img.avatar,
#content .widget_display_topics img.avatar,
#content .widget_display_replies img.avatar,
#content p.bbp-topic-meta img.avatar,
#main ul.bbp-reply-revision-log img.avatar,
#main ul.bbp-topic-revision-log img.avatar,
#main div.bbp-template-notice img.avatar,
#main .widget_display_topics img.avatar,
#main .widget_display_replies img.avatar,
#main p.bbp-topic-meta img.avatar,
#container ul.bbp-reply-revision-log img.avatar,
#container ul.bbp-topic-revision-log img.avatar,
#container div.bbp-template-notice img.avatar,
#container .widget_display_topics img.avatar,
#container .widget_display_replies img.avatar {
float: none;
margin-bottom: -7px;
border: 3px double #ddd;
}
fieldset div.avatar {
float: right;
}
/* =BuddyPress Activity Streams
*/
.activity-list li.bbp_topic_create .activity-content .activity-inner,
.activity-list li.bbp_reply_create .activity-content .activity-inner {
border-left: 2px solid #EAEAEA;
margin-left: 5px;
padding-left: 10px;
}hope this helps.
Be Well, Do Well and Spread Smiles
SzebastianOne
March 31, 2012 at 10:35 am #43838Topic: [resolved] [resolved] Breadcrumbs URL wrong
in forum TroubleshootingValentina Giorcelli
MemberHI,
I am having the same problem as this guy here http://bbpress.org/forums/topic/changing-the-url-of-breadcrumbs:
I am running bbpress 2.0.2 under BuddyPress and although my permalinks are nice and pretty :
Code:/%category%/%postname%/The breadcrumbs look like this:
Home > Foodies’ Place > Forums
The “Foodies’ Place” link is wrong and it links to here
http://www.foodiesplace.com/?attachment_id=431
(no idea where it got this from since the page does not exist)
The breadcrumb link should look like this:
Home > FaceCook Forum > Forums
and “FaceCook Forum” schould link to:
http://www.foodiesplace.com/en/facecook-forum/
Any ideas anybody?
Thanx
March 31, 2012 at 9:43 am #112778razzaman
Membernevermind, im being blonde
March 31, 2012 at 7:50 am #112667Laughing Cat
ParticipantTo change BuddyPress avatars use_
define ( 'BP_AVATAR_THUMB_WIDTH', 50 );
define ( 'BP_AVATAR_THUMB_HEIGHT', 50 );
define ( 'BP_AVATAR_FULL_WIDTH', 150 );
define ( 'BP_AVATAR_FULL_HEIGHT', 150 );you can define custom sizes for your BP avatar, replace 50 or 150 with the size in pixel you want
I’m trying to replace the size of the default bbPress forums avatar from 80 to 150px to match my BP_AVATAR_FULL size… bbPress 2.1 plugin is using 80by80px avatars by default apparently, do you know where to change that value to match 150px?
March 31, 2012 at 1:07 am #112771In reply to: Issues with HTML in posts from IPB to bbPress
withoutink
Memberok, in looking at the posts…
i went to edit one and what happend was the HTML was converted as ascii code. anyway to tell bbpress to convert the ascii back to html?
March 30, 2012 at 9:50 pm #112484In reply to: Change forum color
sharq219
MemberSzebastianOne,
Are you able to post the code for the changes you made? That would be very helpful as I have the same issue that you were working on (a theme with dark background that causes problems with the forum).
I’d really appreciate it.
March 30, 2012 at 4:31 pm #112737Jared Atchison
MemberHmm, what is the URL?
March 30, 2012 at 6:49 am #112736Captain Ahab
Memberno, the shortcodes don’t appear, but the login boxes do. It’s just the top menu and the footer that stop to behave.
-
AuthorSearch Results
Hi all. I’ve read that there is no way that the main page of wordpress can be the forum itself, but i wonder if I can take the code of the bbpress that hanlde all the forums and insert it as an include into the wordpress index.php. if that is posible an some one help me telling me which part of the code is the one I can copy to call the forum and topics in to the very front page.
I’ve seen i can show all that in the sidebar, but i would like to make it the main page like the forum page with the latest topics, most comented and most visited.
Thank you