Search Results for '+.+default+.+'
-
AuthorSearch Results
-
July 20, 2014 at 3:32 pm #149387
In reply to: Forum Search not working
Robin W
Moderatoroffhand I can’t say.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
.
July 18, 2014 at 11:58 pm #149328In reply to: Update 2.5.4 – Lost Languages Files
Stephen Edgar
KeymasterYou’ll need to download the translations manually per the details here:
https://codex.bbpress.org/bbpress-in-your-language/
https://translate.wordpress.org/projects/bbpress/2.5.xSave them into
/wp-content/languages/pluginsWith some luck these two direct links will get you the .mo and .po. Make sure you rename both files so they are named
bbpress-fr_FR.moandbbpress-fr_FR.porespectively.The reason I asked for the language you are using is because if the language translation is 100% translated then bbPress translations are delived to you automatically by the same WordPress Core ‘Automatic Updates’ mechanism, sadly bbPress French translations are not at 100%. (Technically they are at 100% translated but there are 228 strings waiting to be approved.)
July 18, 2014 at 4:29 pm #149315In reply to: compact bbpress
Robin W
ModeratorThat doesnโt seem to be possible in 2012, which forces a sidebar if you want a search facility, and which consumes a lot of vertical space with the identity of the contributor, including a large avatar.
Good job we’re in 2014 then ๐
If you switch on the search facility
dashboard>settings>forums and look for search allow forum wide search, you’ll get a search bar at the top of the forums pagefor the avatar size use the following code in your functions file
function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) { $author_avatar = ''; if ($size == 14) { $size = 24; } if ($size == 80) { $size = 110; } $topic_id = bbp_get_topic_id( $topic_id ); if ( !empty( $topic_id ) ) { if ( !bbp_is_topic_anonymous( $topic_id ) ) { $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size ); } else { $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size ); } } return $author_avatar; } /* Add priority (default=10) and number of arguments */ add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3); add_filter('bbp_get_current_user_avatar', 'my_bbp_change_avatar_size', 20, 3);The example increase the size, just change to to what you want
see https://codex.bbpress.org/functions-files-and-child-themes-explained/ for how to do that
you can also remove things like keymaster – just come back with what you want – and we’ll try to help you
July 18, 2014 at 10:33 am #149299In reply to: bbPress menus not appearing in some of my sites
Robin W
ModeratorThese issues will occur with different combinations of plugins, and it is nobody’s fault.
and it will never be eliminated.Wordpress is free open source software. It allows others to hook into it using Filters and actions, as well as using templates and functions. Additionally theme developers can affect the way wordpress functions. This lets lots of other people change how wordpress works and add both functionality and looks.
So if two developers both hook into the same bit of code, the actions of one can alter or even cancel out the other’s code.
With many thousands of plugins it is simply impossible for developers to test to see if their plugin works with every other plugin out there.
bbPress is thoroughly tested with the latest version of WordPress, in combination with all of the wordpress default themes (twentyten, twentyeleven etc.) to ensure it functions. Most bbpress plugin developers will also test against this combination to give a good degree of conformance.
This is the best that you can get.
It is no more the fault of bbpress that it doesn’t work with plugin A, than it is the fault of plugin A that it doesn’t work with bbpress!
Sorry but that is life ๐
Open source means you get lots of great FREE software but you don’t get an integration guarantee – it’s pretty damn good, but sorry not perfect.
And It’s nobody’s fault !
July 18, 2014 at 3:21 am #149275In reply to: Description under title forum
Robin W
Moderatorok, nit sure exactly what was happening , as these lines are already in the default loop-single-forum.php, but glad you’re fixed
July 17, 2014 at 1:38 pm #149246Topic: Forum index not ordering topics by Freshness
in forum Troubleshootingallieslabs
ParticipantHey Guys,
We would like the topics on the Forum index page to display in order of Freshness. I understand this to be the default behavior, but for some reason our forum is not using that ordering.
http://cornerstonecollective.com/forum/
I have looked in settings and dug into the source code looking for a way to set the order to use the appropriate meta data, which I believe to be _bbp_last_active_time, but cannot seem to find the answer. Any suggestions would be most appreciated!
Thanks!
WordPress Version: 3.9.1
bbPress Version: 2.5.4
Website: http://cornerstonecollective.com/forum/July 17, 2014 at 2:07 am #149229In reply to: Different Sidebar for the Forums
Robin W
Moderatorbbpress will use the default page template for the main index rather than the specific page template set in the page – so your setting in the forum page won’t apply.
There are several ways around this, but as your plugin is a paid one, I can’t see the code to recommend the best solution.
So first off I’d post a query onto their support site
they probably have come across bbpress before and will know the answer. You could tell them that bbpress uses ‘is_bbpress()’ to see if it is a bbpress page, that might help them.
July 16, 2014 at 9:11 pm #149226Topic: Different Sidebar for the Forums
in forum TroubleshootingHerophantom
ParticipantHello,
So I just started using bbpress over the weekend and so far I’m really liking it. There is only one issue I’m having that I can’t seem to figure out. I am using this plugin:
to allow me the function of different sidebars for different pages. It has worked perfectly for 90% of the forums pages except for the top level forum page. That is the only one that I can’t seem to get to use a sidebar other then the default one. At the moment, what I have done is manually made a page with the same slug as the top level forum page, left it blank except for the option that this other plugin enables to change the sidebars. Have a look at it here:
http://www.mythechllc.com/forums
if you look at the public forums page, you will see the side bar is what I want it to be, but if you look at the top level forums page, it reverts back to the default.July 16, 2014 at 1:35 am #149195In reply to: Vbulletin to bbPress Import – Replies Missing
Stephen Edgar
KeymasterI’m still not having any issues with my vBulletin 3 databases ๐
First up, once the import is finished the progress window should look something like this:
Repair any missing information: Continue Conversion Complete No threaded replies to convert Converting replies (79500 - 79599) Converting replies (79000 - 79499) ... Converting replies (300 - 399) Converting replies (200 - 299) Converting replies (100 - 199) Converting replies (0 - 99) Converting topic tags (0 - 99) No super stickies to stick Calculating topic stickies (0 - 99) Converting topics (5000 - 5099) Converting topics (4900 - 4999) ... Converting topics (200 - 299) Converting topics (100 - 199) Converting topics (0 - 99) Calculating forum hierarchy (0 - 99) Converting forums (0 - 99) Delete users WordPress default passwords (0 - 99) Converting users (0 - 99) Starting ConversionIn particular, do you get to see the
Conversion Completewithout any errors shown?Do you ever (or even know if you can remember) if you see the importer is actually converting topic tags per
Converting topic tags (0 - 99)or do you see an error along the lines ofWordPress database error: [Table 'vbulletincopy.tagthread' doesn't exist]Also @themefurnace what version of vBulletin is it specifically? v3.1? v3.2? v3.81? etc
July 15, 2014 at 7:57 pm #149175In reply to: How to remove "Change Topic"?
Stephen Edgar
KeymasterYou want to change line #109 in
form-topic.php
https://bbpress.trac.wordpress.org/browser/tags/2.5.4/templates/default/bbpress/form-topic.php#L109From:
<?php if ( !bbp_is_single_forum() ) : ?>To:
<?php if ( ! ( bbp_is_single_forum() || bbp_is_topic_edit() ) ) : ?>July 15, 2014 at 2:17 pm #149162In reply to: Categories returning 404s
Robin W
Moderatorok lets start by seeing if this is a plugin or theme issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
July 15, 2014 at 8:58 am #149144In reply to: Possible issue untrashing topics
slayne76
ParticipantHi Stephen,
thanks for the reply. I looked at the trac but it’s not strictly related, since it refers to the spam/trash/admin links on the front end.
What I noticed instead, (and you can test yourself and let me know) is simply as this: in the backend (wordpress admin area) when a topic is in the trashcan, and you click untrash (the same thing you would do with posts, pages, custom post types when you put the in the trashcan) you get the default nonce wordpress error. You simply “CAN’T” untrash something directly inside wordpress.
I was hoping that anyone else could try the same and give me confirmation that the issue exists (in the code i posted I was able to indentify the problem as well)If you, or anyone else, can confirm there is this issue, I (or you, or whoever wants to) can open a ticket in the trac so it gets fixed asap ๐
July 12, 2014 at 4:55 am #149040In reply to: Crayon Syntax Highlighter not working / tags issue
Stephen Edgar
KeymasterI just had a play with this and you are correct, it works for administrators/keymasters but not standard ‘participants’ or ‘anonymous’ users.
Grab this custom KSES plugin I have here https://gist.github.com/ntwb/7797990
I just added
classto to thepresection as that is where the issue is,preis allowed but<pre class="whatever">is not.Double check any of the other allowed tags and/or remove ones you don’t want/need.
Edit: I just double checked against the default bbPress allowed tags and all are there, you may or may not want the table sections, up to you. I also made a note to add
classas an allowed tag ofprefor bbPress core, I can’t think of a reason for us not to add this by default.July 12, 2014 at 3:29 am #149037In reply to: Reduce size of embed Media
Stephen Edgar
Keymaster@leonyipa Don’t get you bb’s confused, what you wrote way up there and quoted here:
And I paste the code into: /public_html/wp-content/themes/bp-default/functions.php
That is the BuddyPress Theme ‘BP Default’, nothing to do with bbPress so make sure you are updating the correct files ๐
July 11, 2014 at 7:56 pm #149004In reply to: How do I add a sidebar to all topics pages?
foresme
ParticipantHello! I’m interested in this to. You can add a sidebar manually to each topic page by going into ‘edit topic’ and selecting the layout option for the page that has a sidebar.
However, I would like to know if there’s a default option to have sidebars for ALL topic pages, without adding the sidebar one by one…
July 11, 2014 at 1:50 pm #148997In reply to: Creating new topic is not working properly
Robin W
ModeratorIt could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.
July 11, 2014 at 10:18 am #148986In reply to: Reduce size of embed Media
Leonyipa
Participantyes, but it doesn’t work ๐
I also found the code is in
/public_html/wp-content/plugins/bbpress/templates/default/css/bbpress.cssI directly change the number of
#bbpress-forums div.bbp-topic-content img,
#bbpress-forums div.bbp-reply-content img {
max-width: 100%;
}
However, no matter what number I change to, it still doesnโt work.
The width of the image still remain 100%July 10, 2014 at 11:53 pm #148969In reply to: query_posts topic content – private forum
acornale
ParticipantProblem solved! Thought I’d write the solution here in case anyone has the same problem.
In order to get the feeds coming through on the home page, the forum had to be public. However, I wanted the forum post content to be private and I wanted the user to be prompted to log in.
The solution was simple…
I created a custom content-single-topic.php template and added the following logic:
<?php if ( is_user_logged_in() ) { ?>
// display all the post content here
<?php } else { ?>
<p class=”message register”>This forum is accessible to approved users only</p>
<p class=”message”>Please log in to continue.<br></p>
<?php wp_login_form(); ?><? } ?>
—-
I dont know what I didn’t think of this earlier. The logic is simple… all forums are public by default but you must be logged in to view the forum topic content. If you’re not logged in, it asks you to log in and then redirects you to the right topic page.
July 10, 2014 at 9:38 am #148935In reply to: Reduce size of embed Media
Robkk
Moderatorhere use this code instead and remember put this into your functions.php in your child theme
change the numbers to whatever you wantadd_filter('embed_defaults','themename_embed_defaults'); function themename_embed_defaults($defaults) { $defaults['width']=500; $defaults['height']=250; return $defaults; }July 10, 2014 at 7:31 am #148926Leonyipa
Participanthi, sorry for the late reply.
I tried both ways:
1) changing the Participant role directly
// Participant/Default
case bbp_get_participant_role() :
default :
$caps = array(// Primary caps
‘spectate’ => true,
‘participate’ => true,// Forum caps
‘read_private_forums’ => true,// Topic caps
‘publish_topics’ => true,
‘edit_topics’ => true,
‘delete_topics’ => true,// Reply caps
‘publish_replies’ => true,
‘edit_replies’ => true,
‘delete_replies’ => true,// Topic tag caps
‘assign_topic_tags’ => true,
);break;
}after I changed it, nothing happened :/
and
2) making custom role, but it says:Parse error: syntax error, unexpected ‘roles’ (T_STRING), expecting ‘(‘ in /home/gleam/public_html/wp-content/plugins/bbpress/includes/core/capabilities.php on line 216
216: function add_new roles( $bbp_roles ) 217: {July 10, 2014 at 7:08 am #148924In reply to: Reduce size of embed Media
Leonyipa
ParticipantI also found the code is in
/public_html/wp-content/plugins/bbpress/templates/default/css/bbpress.cssI directly change the number of
#bbpress-forums div.bbp-topic-content img,
#bbpress-forums div.bbp-reply-content img {
max-width: 100%;
}However, no matter what number I change to, it still doesn’t work.
The width of the image still remain 100%July 10, 2014 at 6:55 am #148923In reply to: Reduce size of embed Media
Leonyipa
ParticipantThanks very much @Robkk!!
The youtube video worked!!! I have been looking for the solution for a long time, thanks!
The maximum width of youtube video works really well!!However, when I change the code to height, it doesn’t work ๐
Also for the image, I edited the css
because I am using BBPress Default Theme, it doesn’t have a .css and tell me to edit function.php instead
And I paste the code into: /public_html/wp-content/themes/bp-default/functions.php#bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
max-width: 100%;
height: auto;
}but no matter what I change the number, it is still set to 100%.
Did I add the code to the wrong place? or it’s not working?July 8, 2014 at 12:15 pm #148862In reply to: Very simple question — changing font size
ninjaunmatched
ParticipantOkay…. So in this example do you need to have the else statement there at all? (Does IF require it?) Or is there a way to just say else use what is default without haivng to find the correct class of whatever you are altering?
July 8, 2014 at 10:52 am #148856In reply to: Very simple question — changing font size
ninjaunmatched
ParticipantI know it does cascade but if you are not familiar with writting the code to STYLE over attribiutes you can go looking for lines that alter font sizes. One way you could try is to get Notepad++. This text editer is just the greatest. Never edit code without it or something like it. You can use it to search for code. In this case I would try to search for “font-size:” within the CSS file being referred to in this thread. It will find every line where the font-size is being changed.
Trying it now it finds 28 hits in the bbpress.css file I have in one of my sites. This I think will get you started. May not be the best way though. Just looking at the hits I can see some of the IDs or Classes also have a SPAN tag in them. Whichs tell me that the default span font settings would also have to be changed.
I’m not sure where your HTML knowledge is but the SPAN tag when used is like a commenting or caption section (sort of) for text and it tends to be in a smaller font.
for example:
While jumping around the hits I see this:
li.bbp-header div.bbp-topic-content span#subscription-toggle,
li.bbp-header div.bbp-topic-content span#favorite-toggle,
li.bbp-header div.bbp-reply-content span#subscription-toggle,
li.bbp-header div.bbp-reply-content span#favorite-toggle {
float: right;You may be able to get the look you want by just changing any
font-size:
entry you find but if things or some things still look too small for you then that span tag may be what you need to change to get it the way you want.
Now I’m still just maybe a intermediate in my kowledge of things. I know what I was taught by learning myself and having taken Wed Design and Development I and II at a local college. But I am no developer. So I can read through css and understand what is going on. But because of the cascading way of CSS you can make changes that will not stick due to a higher level attribute being set so you have to play detective which wastes alot of time.
I do agree though as the responses are too vague. Looking for the same answer I find this thread and so I am sharing what I have done so far to figure this one out. I did find something that mentions being able to use an IF statement on the themes main style sheet (CSS file) that will find all bbpress related entries and change whatever attribute you designate which in this case would be the font size. Now someone mentioned this in this thread without stating how which is close to pointless if the intention is to help you solve it. At least when you make the suggestion state it in a simple way so its understood by all. I ran into this code during my research on it but I am currently here. I will copy paste the code if I can find it again. By now I assume you found the answer but for anyone else that runs into this thread. (which by the way showed up on top of a google search in like its own special section).
July 7, 2014 at 11:28 pm #148840In reply to: BBPress for HUGE forums? Capable?
Stephen Edgar
KeymasterSo to be clear, you feel that if I were to implement a work around for โlast active timeโ or wait to install BBPress version 2.6 that I can confidently run BBPress on a forum that size?
Indeed, as you stated you need a fairly robust server though it sounds like you already have that. As bbPress 2.6 continues development I’d suggest you set yourself up a test install on your local PC and do some benchmarks and test the vBulletin importer as ~6.5 million posts will take a bit of time to import and familiarising yourself with how this works is worth knowing so you know what has to be done before you switch over your live site.
Is โlast active timeโ really the bottle neck? As I understood this issue, it had to do with bbPress sharing the DB table with the WordPress posts.
Yes, ‘last active time’ is the primary bottleneck as by default we sort topics based on the latest reply in a topic, though if a topic has no replies this is slotted in also.
The full technical details of this are here https://bbpress.trac.wordpress.org/ticket/1925, it is not the easiest read and as there are two potential methods discussed. Primarily because of this ticket is why bbPress 2.6 is running late as there is a boat load of testing to be done to make sure we don’t break backwards compatibility.
Lastly, do you have a target date for v2.6?
3 weeks late ๐
-
AuthorSearch Results