Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 7,101 through 7,125 (of 32,505 total)
  • Author
    Search Results
  • #170562
    Pascal Casier
    Moderator

    Hi senco,
    Please do not revive old tickets but next time open your own one explaining what issue you have.
    Only keymasters should see this message. If you have any plugin that changes capabilities, please review your settings.
    If you only want to hide the box then you can play with a CSS code like this:

    .bbp-template-notice {
    	display: none;
    }
    .bbp-template-notice.info,
    .bbp-template-notice.error,
    .bbp-template-notice.important,
    .bbp-template-notice.warning {
    	display: block;
    }

    Or check out a plugin like ‘bbP Toolkit’ that does this too. Just note that both options also remove some other informational messages !
    Pascal.

    #170554
    Pascal Casier
    Moderator

    Hi Bruce,
    I suppose you refer to the breadcrumbs ?

    If you don’t want to add code yourself, you can just install my ‘bbP Tools’ plugin.

    If you are into coding, add a filter to bbp_before_get_breadcrumb_parse_args in adapting the correct arguments.

    Pascal.

    #170553

    In reply to: Thread Prefix

    erich199
    Participant

    For anyone interested in this, I had this made and it’s available on codecanyon now.

    http://codecanyon.net/item/bbpress-thread-prefixes/14402729?s_phrase=&s_rank=4

    If anyone is interested in seeing it in action, check out my forum

    http://artofwargaming.net/forums/cat/community-forums/off-topic-discussions/

    The author of the plugin was fantastic and I recommend him to anyone looking for a custom plugin.

    #170551
    Stephen Edgar
    Keymaster

    Make sure your using the correct database prefix, most phpBB tables will be named something like phpbb_posts, in that case the database prefix is phpbb_

    If you are importing from phpBB 3.1 then you can test the new importer via our bbPress “development version” aka bbPress 2.6 alpha, theres some new import improvements, you can get this from the following page or direct link:
    https://wordpress.org/plugins/bbpress/developers/
    https://downloads.wordpress.org/plugin/bbpress.zip

    Stephen Edgar
    Keymaster

    The Importer runs smoothly until it gets to “Converting Replies”. It then just gets stuck somewhere in the middle of processing replies… I just see the rotating loading Symbol. At my last try to get this done, it already got stuck at “Converting Replies 0-99” …..

    This is an awful error and wish I could replicate it so it can be fixed, sadly haven’t been able to achieve this yet. Its usually caused by character encoding in the database, more can be found on this issue in the codex here:
    https://codex.bbpress.org/getting-started/importing-data/import-forums/import-troubleshooting/

    So where are replies 100-200 ???

    The importer will, rather should continue on from where it left of when you stop then start it again, the way it currently works is it stores the current value and reads that when you start it again, I’ll take a closer look at the code to see if thats not doing what it is supposed to be doing.

    You should also use the “development version” aka bbPress 2.6 alpha, theres some new import improvements, you can get this from the following page or direct link:
    https://wordpress.org/plugins/bbpress/developers/
    https://downloads.wordpress.org/plugin/bbpress.zip

    #170507
    Pascal Casier
    Moderator
    #170539
    jessicana
    Participant

    Hello

    I want to prevent user role with participant from creating new topics. By default, registered users are given the participant role. I want the forums to be organized and if I allow everyone in they will mess the forums.

    I read this: https://bbpress.org/forums/topic/prevent-users-from-creating-topics/

    But it’s no longer applicable to the current version.

    I tried this fix:

    .bbp-topic-form {
    	display: none;
    }

    But it’s incorrect because users will not be able to edit their replies and it affects the functionality of forums.

    Please help!

    #170535

    In reply to: Forum design

    Pascal Casier
    Moderator
    #170530

    Topic: Sidebar issue

    in forum Troubleshooting
    krlgroupfl
    Participant

    Hi everyone,

    I was trying to read some topics on this, but couldn’t get it to work. I am working on:
    http://independentflorida.com/forums/forum/presidential-election/

    I am trying to get the bbPress sidebar (like on the main forum page) to apply inside each forum and each topic. I tried to go through #26 on the codex link without using a plug in. I’ve also tried WP Tweaks. I would like to fix it with as few active plugins as possible.

    It seems to me like the problem is the page set to full width, but I’m not an expert. I’m hoping someone can help me go in the right direction. Thanks!

    Greg

    #170508

    Guys, I’m having a major problem with bbPress on my site.

    If I have bbPress activated, I can’t do ANYTHING in the wordpress admin (Create, Edit, or Delete Posts, Pages, etc). bbPress is slowing my site down to a crawl. It’s so slow, that the page eventually just times out.

    This has to be a flaw in the bbPress code, because there’s no reason why bbPress should be running on every page of the wordpress admin. That’s incredibly ineffecient on your server resources.

    Can someone please help me fix this problem?

    Thanks,

    #170491
    Pascal Casier
    Moderator

    Hi Bob,

    If you want it the easy way, install my bbP Toolkit where you can change the separator to new line.

    If you don’t feel in adding extra plugins, check item 1 on https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/

    Pascal.

    #170473
    dezzzus
    Participant

    Hi,
    I want forum looking like phpbb, example below. Where I marked the categories and forums must look like.
    I trying to detect categories with this code:

    <?php $q_meta_forums1 = array( 'meta_key' => '_bbp_forum_type', 'meta_value' => 'category'); ?>
    <?php $categories_q = new WP_Query( $q_meta_forums1 ); ?>

    But $categories_q returns nothing. It’s the main problem for now.
    So, then I want in loop-forums.php with code above build categories structure and in ‘while’ cycle make another one which will be show sub-forums of categories.
    Example

    #170470

    In reply to: Two forum index pages?

    najuste
    Participant

    Problem is the same, but design is from WordPress.. and the website now is on my local mashine.
    Here is the php of created bbpress.php
    Code is really simple:

    <?php get_header(); ?>
    	<div id="primary">
    		<div id="content" role="main">
    
    			<?php if ( have_posts() ) : ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    					<?php get_template_part( 'content', get_post_format() ); ?>
    				<?php endwhile; ?>
    				<?php twentyeleven_content_nav( 'nav-below' ); ?>
    			<?php endif; ?>
    			
    			</div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    But the two pages look different..

    Website crop

    Looking at html I have noticed, that newly created page has a different body class assigned and so is not recognized as bbpress forum archive page, but rather as a page..
    <body class="page page-id-902 page-template page-template-bbpress page-template-bbpress-php custom-background single-author singular two-column left-sidebar">

    The breadcrubs issue I have noticed just when I read this..
    As that I guess will get fixed after the the page will be understood as forum archive page..

    #170440
    Pascal Casier
    Moderator

    Hi,
    Sorry it took me some time, but this hopefully works. Just add in a functions.php or so.
    Will add it in next version of my bbP Toolkit …

    function casiepa_change_admin_links_sep($args) {
    	$args['sep'] = '';
    	return $args;
    }
    add_filter('bbp_after_get_topic_admin_links_parse_args', 'casiepa_change_admin_links_sep' );
    add_filter('bbp_after_get_reply_admin_links_parse_args', 'casiepa_change_admin_links_sep' );
    

    Pascal.

    #170439
    dezzzus
    Participant

    ok, may be you know how to distinguish forum type via WP_Query()?
    $query = new WP_Query('post_type=category'); – not working.

    #170434

    In reply to: Forum root not showing

    Pascal Casier
    Moderator

    It should be sufficient to create a page at that permalink and add the [bbp-forum-index] shortcode in it.

    Pascal.

    #170431

    In reply to: Forum root not showing

    David Artiss
    Participant

    No sooner had I posted then I found the cause – it’s my theme. Switched to another and it appears.

    I suspect it’s to do with the fact that it’s not pointing to a physical page. Can I create a page as the root and use a shortcode to display the contents? When I’ve tried to change the root name to my page name it throws up an error.

    David.

    najuste
    Participant

    Thanks, I checked that page before, that is why I have bbpress.php file.
    Just for the sake of interested I again tried, copied the code from given link instead of using get_template_part, however no difference.
    Constructed page is then visualized as default template, streched in full extent, without any sidebar..

    One more thing:
    I see that the body class assigned to that constructed page is like for a simple post, has tags like
    page, page-id-xx, page-template, page-template-bbress .. while the automatically created forum page has forum-archive, bbpress..
    Does it make sense, should I try to change body class??

    Pascal Casier
    Moderator
    najuste
    Participant

    I just can’t figure it out with the templates noomatter how much I am googling as I am new and can’t get what exactly the problem is. I have followed so many different tutorials, but well, they didn’t lead where I want.

    What I have:
    a website running localy with a child theme of twentyeleven with a sidebar.
    After installing bbpress, the the default forum page ‘sitename/forum’ was well visualized, but the sidebar was empty and the forum did not have full extent.
    I wanted to add text before the forum itself as well as create a new sidebar and so created a new page ‘sitename/forums’ choosing ‘Sidebar Template’, with text and then shortcode [bbp-forum-index]. Also created a new sidebar an registered it. Searching for changes created bbpress.php which is simply my index.php (as I can’t find any php file named template.. just sidebar.php, which is not the one I want.). Also tried to make same php as template adding * Template Name: Forum Template to be able to chose it from dashboard.

    Now I have:
    *default forum page [sitename/forum]- that has a view as I want, till the moment I click on the topic that gets displayed as page per whole extent while also showing the bbpress sidebar = overlapping.
    *created forum page [sitename/forums] that I indeed want to have, that has this overlaping problem, and not displaying the bbpress sidebar instead the usual one.

    Checking with firebug it is clear that on default forum page, articles are presented as forum pieces, but in the created forum page they are simply presented as articles.
    So I suspected I should change smth here instead of the content calling smth different.. <?php get_template_part( 'content', get_post_format() ); ?>
    However it just looks like nor my created template, nor page bbpress.php is understood as bbpress page.. (as my sidebar is checking that and so it does not appear).

    If someone could direct where/what to read or try out I would really appreaciate,
    Thanks in advance,

    #170405
    Pascal Casier
    Moderator

    Probably something with this function so adding [Delete] or a button after every topic title

    // define the bbp_template_after_topic_tag_edit callback 
    function casiepa_bbp_template_after_topic_tag_edit(  ) { 
        echo '  <a href="">[Delete]</a>'; 
    }; 
    // add the action 
    add_action( 'bbp_theme_after_topic_title', 'casiepa_bbp_template_after_topic_tag_edit', 10, 0 );

    Or maybe better only when they open the topic itself ?

    But as said I’ll have another look in the next days.
    Pascal.

    Karthikeyan KC
    Participant

    This is really a bummer for lot of my users. After hours of research into the codes, I just found the ticket, addressing why <li> breaks the site (being an invalid HTML).

    Sorry for this bump(ish) post. Is there a temporary workaround or fix for this? For now, I’m planning on putting up a custom notice, advising the participants not to use </li><li> the wrong way.

    Also, I’m curious how bbPress (this forum) handles this.

    Edit: I think the issue is self-explanatory here.

    #170377
    Pascal Casier
    Moderator

    Hi Jessicana,
    If you want to make it yourself very easy, install my ‘bbP Toolkit’ where you can just flag away these boxes.
    If you don’t want to install the plugin but want to play with CSS, then the below should hide the message, but not only that one as also these ones will be gone:
    – You must be logged in to create new topics
    – Your account has the ability to post unrestricted HTML content
    – Maximum file size allowed
    – …

    .bbp-template-notice {
    	display: none;
    }
    
    .bbp-template-notice.info,
    .bbp-template-notice.error,
    .bbp-template-notice.important,
    .bbp-template-notice.warning {
    	display: block;
    }

    EDIT: Moderators are asleep, ssssttt !

    Pascal.

    #170374
    ivurs
    Participant

    Hello,

    It doesnt work, I add these code in the end of functions.php file

    but get an error of this file and make the website cannot be accessed

    Please provide more guidance, thanks!

    #170352
    Pascal Casier
    Moderator

    Extra info: If you use Avada 3.8.8 on WP 4.4, make sure to apply all the fixes:
    https://theme-fusion.com/knowledgebase/avada-3-8-8-blog-shortcode-doesnt-work-after-wordpress-4-4-update/

    Pascal.

Viewing 25 results - 7,101 through 7,125 (of 32,505 total)
Skip to toolbar