Search Results for 'code'
-
AuthorSearch Results
-
November 17, 2015 at 7:48 am #169120
In reply to: Confusing breadcrumb
rigpa1
ParticipantWhen I set the Forum Root to love-questions I get an empty page even though I have a page called love-questions with the shortcode [bbp-forum-index]. The url says (correctly) http://www.chilidating.com/love-questions/ but shows a blank page.
If I set the forum slug to “forums” I get the right URL and I see the forum page. If I go to a sub forum I get this Breadcrumb: Chili Dating › Forums › Dating
The first Chili Dating goes to the frontpage but the next > Forums goes to a blank page called forums. Even though I create a page called forums and put the shortcode in there I get a blank page. I cant make it work…
November 17, 2015 at 7:32 am #169119Topic: Increase pagination doesn’t work
in forum Troubleshootingdayan89
ParticipantHi
I’ve tried following function (in functions.php of my theme) to increase pagination, but it doesn’t work:
function bbp_increase_pagination($args) { $args['end_size'] = 5; $args['mid_size'] = 5; return $args; } add_filter( 'bbp_topic_pagination', 'bbp_increase_pagination' );I still have same pagintation:

What’s the problem?
November 17, 2015 at 4:57 am #169114In reply to: Add forum title to my page
Pascal Casier
ModeratorHi,
Check this one out: https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#16-adding-description-to-forum-pagesPascal.
November 17, 2015 at 3:14 am #169112In reply to: No content or access to edit top level “Forums” page
Pascal Casier
ModeratorHi,
You can start from here: https://codex.bbpress.org/getting-started/troubleshooting/blank-pages/
If it did not help, just get back.
Pascal.November 16, 2015 at 5:08 pm #169106In reply to: Need help about my bbpress setup
Pascal Casier
ModeratorAs said above:
For your plugins, you should activate them from your ‘Admin panels > Plugins > Installed Plugins’ and then you can start tuning the options (in most cases under ‘Admin panels > Settings’ or ‘Admin panels > Tools’.
If they do not work, then you need to ask on the forums of those plugins.For the avatars, you can start reading here: https://codex.bbpress.org/getting-started/faq/user-avatars/
Pascal.
November 16, 2015 at 12:43 pm #169100In reply to: No content or access to edit top level “Forums” page
Toni
ParticipantGee, this has happened again. I keep forgetting what I am doing.
I had a page with shortcode, then I changed the page name and slug. Now I have a generated page without content.
November 16, 2015 at 8:05 am #169092In reply to: make bbpress work better for big forum
Pascal Casier
ModeratorWell, for finding the help and responses, I hope you’re not disappointed.
Please note that WordPress runs best on PHP 5.6 and higher (you seem to use 5.5) : https://wordpress.org/about/requirements/– Have you run all the repair tools of bbpress after import to be sure your structure is optimized ?
– Have you deactivated any not-needed plugin ? Is your theme ready for bbPress ?
– Are you using any cache mechanism to improve speed where possible ?
– Did you try to run performance tools like the P3 plugin performance profiler to narrow down the possible slow parts ? Or gtmetrix.com as starting point ?Some further reading: https://codex.bbpress.org/getting-started/improving-performance/
Also note that in the upcoming bbPress v2.6 (hopefully before the end of this year), a lot of focus went on possible performance issues.
Hope it helps,
Pascal.November 16, 2015 at 8:02 am #169091In reply to: Forum Root ‘Forums’ loads a completely blank page?
Jules
ParticipantHi Pascal, thank you for your reply. This css is to hide the default Divi sidebar that is called on single post types. I’ve tried commenting out that code and it still doesn’t resolve the issue?
November 16, 2015 at 7:52 am #169090In reply to: Forum Root ‘Forums’ loads a completely blank page?
Pascal Casier
ModeratorHi,
You seem to have this one somewhere:.forum-archive, .single-forum #sidebar { display: none!important; }It’s blocking the whole view.
It’s a style in your divi master theme.
Pascal.
November 16, 2015 at 7:43 am #169089In reply to: make bbpress work better for big forum
AilyRoot
Participantwell, I am 1000% sure it is bbpress (or wordpress) ‘s codes issue
Dedicated server
Intel SSD
48G ram
PHP 5.5
MySQL 5.6We were at invisionboard forum system(ZERO issues on this) , with wordpress+bbpress, it hangs even we just try to trash 10 topics….
reason why I move to wordpress+bbpress? better integration and easier to find someone to help
November 15, 2015 at 10:12 pm #169081In reply to: How To Add “New Topic” button
AdventureRidingNZ
ParticipantThis looks great, I just tried it on my forum and it works on categories but not on forums.
I’m running latest WP, BBPress, BuddyPress versions with the Brickyard theme and the code is installed in my theme’s functions.php file..Cheers
Eddie
http://www.AdventureRidingNZ.co.nzNovember 15, 2015 at 12:50 pm #169071Robkk
ModeratorAdd it to your child themes functions.php or in a plugin that can hold custom php code snippets like functionality.
Remember this probably doesn’t do exactly how you want. Because I am not entirely sure why you would want to put a simple input box for the admins to output an image, I am sure there might be some a plugin to output an image profile field for BuddyPress out there. Basically I just gave you some example code that you may need to edit to customize it to your needs.
November 15, 2015 at 12:24 pm #169068Topic: Check out my latest threaded bbpress forum view
in forum ShowcaseTKServer
ParticipantI’ve been working quite a lot on this threaded view format. This is coded all outside of bbpress, but uses many of bbpress’s functions.
November 15, 2015 at 10:36 am #169065In reply to: Need help about my bbpress setup
Pascal Casier
ModeratorHi,
For your question about ‘arange my sub-forum verically instead of horizontal’, you can add this code in a child theme or your own plugin or functions.php file (Remove the // twice if you also want to hide the counters):add_filter('bbp_after_list_forums_parse_args', 'bbppc_bbpress_list_forums' ); function bbppc_bbpress_list_forums() { $args['separator'] = '<br>'; // $args['show_topic_count'] = false; // $args['show_reply_count'] = false; return $args; }For your plugins, you should activate them from your ‘Admin panels > Plugins > Installed Plugins’ and then you can start tuning the options (in most cases under ‘Admin panels > Settings’ or ‘Admin panels > Tools’.
Pascal.
November 15, 2015 at 12:45 am #169054Robkk
ModeratorStill not entirely sure how this will rank image will function since I think you are just allowing users to input a custom image url, but here is an example using BuddyPress xprofile fields. It grabs the available field called “Rank” and displays the content after the reply author details.
function rkk_display_rank_image () { $user_rank = xprofile_get_field_data( 'Rank', ( bbp_get_reply_author_id ( bbp_get_reply_id() ) ) ); echo '<div class="bbp-rank-image">'; echo '' . $user_rank . ''; echo '</div>'; } add_action ('bbp_theme_after_reply_author_details', 'rkk_display_rank_image');November 14, 2015 at 11:10 pm #169053In reply to: Question about this site…
lissyhunnybee
ParticipantI use the bbp style pack plugin with this shortcode in a widget to display just like that:
[bsp-display-topic-index show='4' template = 'short']You can see on my home page how it displays. Mine is only set to show 4 but you can have it show however many you like.
November 14, 2015 at 10:05 pm #169051In reply to: Avatar Size
Robkk
ModeratorYou can customize the
<?php bbp_reply_author_link(); ?>and add more attributes to it like what is explained in this guide.The functions you found, show the default arguments set for the links.
November 14, 2015 at 8:55 pm #169049In reply to: bb-smilies doesn’t appears on edit-post pages
Robkk
ModeratorbbPress 1x standalone is not going to work with any new WordPress plugins, unless you use custom code to allow it to somehow.
The plugin list labeled Legacy on this site, is for plugins that with bbPress 1x. The plugins section on this site, pulls plugins that work with bbPress on wordpress.org, are plugins that work with the plugin version of bbPress 2.
Your users do not really have to type a code?? They just they could just type regular smilies in text and it would output to the icon.
:) :( :PAlso I just told you, WordPress has smilies and emojis that you can use. The bbPress plugin can use WordPress’s library too. SO you may not need a plugin.
I am guessing you want something like a custom quicktag button that will show a dropdown of the smiles on your site. I can create a ticket for this if you want, and then we can see what the devs think of trying to add this to core.
November 14, 2015 at 7:30 pm #169042In reply to: bb-smilies doesn’t appears on edit-post pages
deanhills
ParticipantApologies about bumping the thread. I was new to the forum. I tried BBPress as standalone first and that didn’t want to work with the WP plugins. I then made it part of a WP Website, and that didn’t work for the smiley plugin WP-Monalisa. Suggest that it should at the very least be removed from the bbPress list of plugins as it is listed here. AND it didn’t work for my stand alone Website.
I really don’t want my visitors to have to type a code first before I see the smiley. I want it as one would find everywhere else in real forums. Without a plugin. I also don’t want to code it. WordPress is supposed to be for people who don’t have to get under the dashboard, preferably stay out of it. I spent probably a few hours last night researching this and I know for a fact I’m not the only one asking WordPress and especially bbPress to add smileys to people who make posts without having to load a plugin for it – or in the very least create a dedicated plugin by the developer of the bbPress that works at the time of downloading the stand alone software or WP Plugin.
November 14, 2015 at 6:55 pm #169040In reply to: Question about this site…
Robkk
ModeratorNot entirely sure what the exact code is.
I think it is caching the forums using the transient api. That plugin I mentioned definitely has this type of feature though, uses a custom query I think.
November 14, 2015 at 10:41 am #169016Momshof
ParticipantHello Robkk. Thank you for responding. I am fairly new to creating a site & do not have the knowledge base yet to create the code for this to happen. I was hoping someone more knowledgeable than I may have already written this code for their site & would share the info.
I am running Divi by ET which allows me to insert code into an epanel so I would not have to dig into files & take the risk of destroying anything for that end.
Thank you for the link. I had not come across that tutorial info before.
November 14, 2015 at 2:43 am #168994In reply to: Avatar Size
lissyhunnybee
ParticipantI have found that the following files have functions that might be making the size stick no matter what
From bbpress\includes\topics\template.php
function bbp_get_topic_author_link( $args = '' ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'post_id' => 0, 'link_title' => '', 'type' => 'both', 'size' => 80, 'sep' => ' ', 'show_role' => false ), 'get_topic_author_link' );And from bbpress\includes\replies\template.php
function bbp_get_reply_author_link( $args = '' ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'post_id' => 0, 'link_title' => '', 'type' => 'both', 'size' => 80, 'sep' => ' ', 'show_role' => false ), 'get_reply_author_link' );If someone could write me a function for just the size part perhaps that would work? I don’t know enough to be able to write one myself lol
November 14, 2015 at 2:19 am #168993In reply to: Avatar Size
lissyhunnybee
ParticipantI tried looking at those files but they don’t have the same code for the avatar size as the other two I edited, so I don’t know where to do from there lol
This forum looks to have a similar issue, the avatar for the first post has an 80px image scaled up to 100px whereas the replies are fine.
I guess I am stuck with it for the time being lol
November 14, 2015 at 1:15 am #168978In reply to: Change wording: posts & freshness
Robkk
ModeratorCopy the bbPress templates into your child theme in a folder called bbpress.
The files you may need to edit are in
loop-forums.php loop-topics.php loop-replies.phpFor widgets I think that would only be in the widget settings, and not really a frontend thing. You may need to create a new widget with your own terms if it bugs you too much in the backend.
November 14, 2015 at 1:08 am #168975Robkk
ModeratorThat crashed my sight for some reason. Any thoughts?
Did you place the code snippet I placed earlier correctly?? It seems to work fine on my test site.
Same thing goes for @pinkishhue‘s code.
These both work if you want to show only 1 revision log on the Frontend of your forums.
But first, is there going to be an update to bbpress that will remove the extra revision statements? If so, any thoughts on when this will be ready?
Not really remove the statements, but just make 1 visible. Have no idea when @netweb’s code will make it into core.
Do you want them all gone?? This topic is all about just having one visible on the frontend.
Also there might be a bug about the revisions somewhere I think. Haven’t fully checked that one out though.
But you can always disable the revision logging from being displayed in the forums in Settings > Forums, there will still be revisions on the edits in the backend though, since it is a post type in WordPress. And hide the existing revisions with CSS using the first half of pinkishhue’s code.
There is a way to limit the total number of revisions kept per post though in WordPress.
But if you do want to completely remove the revisions you can use a plugin that @casiepa listed, but this may remove ALL revisions of any post or plugin using the revision system in WordPress. Some custom css plugins may use it, and clearing the revisions may lose all your saved styles.
-
AuthorSearch Results