Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 10,351 through 10,375 (of 26,874 total)
  • Author
    Search Results
  • #141651

    In reply to: Thousands of revisions

    papas_fritas
    Participant

    I’ve got this same problem! In the database, seeing TONS of revisions from post_author = 0. Also getting server errors and timeouts when people try to edit.

    Plugins running:
    Google Analytics for WordPress
    Jetpack by WordPress.com
    W3 Total Cache
    WangGuard

    I just tried unchecking “Allow topic and reply revision logging” under Forum settings. We will see what happens.

    #141647
    Markic
    Participant

    First of all, I’m not asking any questions, I’m offering solutions for people who, like me, had these specific problems, are googling for a solutions and can’t find any. Some of you think this is pure amateur stuff, but there are people out there who will spend hours trying different things and this can save them so much time. If you want to delete this topic, I don’t care, I’m here to help…

    How to load bbpress.css before your yoursheet.css?
    Intro: When WordPress is loading stylesheets, they’ll load all the theme .css files first and then they’ll load plugin css. That way plugin css has higher priority than your css and only way you can override it is with !important. As we all know, that is a bad practice.

    Also, you can create your own bbpress.css in your theme but that means more files to keep up with (although, that’s the cleanest solution). Here’s another way to do this:

    paste this code into functions.php…

    if (class_exists('bbPress')) {
    add_action( 'wp_print_styles', 'deregister_bbpress_styles', 15 );
    function deregister_bbpress_styles() {
    wp_deregister_style( 'bbp-default' );
    }
    wp_enqueue_style( 'bbpress_css', plugins_url().'/bbpress/templates/default/css/bbpress.min.css');
    }

    So, let’s get into details:
    – first, if you have active plugin ‘bbPress’ it will exicute the following code which removes all the .css files from it
    – second, it loads bbpress.min.css again, but this time where you want it…
    – be sure that you enqeue your stylesheet after this code

    Note: there are two problems that might arise from this techique
    -if bbPress developers decide to rename, remove or split bbpress.min.css, you’ll have to change the code again
    -there’s other .css file named “bbpress-rtl(.min).css”. Well, some cultures (Arabic), read and write from right to left. And what this file aligns everything to the right. bbPress has some system of deciding whether it should load this file or not, but by doing this technique, you’re disabling that system.

    How can I remove all the breadcrumbs from the templates and set them at the top of the page?
    Intro: Many of us are creating our own themes with existing breadcrumbs systems which are in the header. But bbPress has it’s own idea where to display breadcrumbs, and sometimes that’s at the top of the page, sometimes that’s below search form and sometimes it’s below title. Here’s how you can change that quickly.

    1. If you haven’t, create “bbpress.php” in the root folder of your theme. (You can copy-paste page.php)
    2. Add
    <div class="truebreadcrumbs"><?php bbp_breadcrumb(); ?></div>
    where you wan’t to show your breadcrumbs
    3. Add this CSS:

    div.bbp-breadcrumb {
    display: none; /*this will hide all breadcrumbs*/
    }

    .truebreadcrumbs div.bbp-breadcrumb {
    display: block; /*this will display breadcrumbs you've created*/
    }

    Sure, HTML will still generate all the breadcrumbs and css will hide the unwanted ones, but this is the easiest way to do this without going into templates…

    #141634
    Shmoo
    Participant

    Screenshots:

    Default:

    Shows pagination:

    Activated:

    Gone pagination:

    Added a Trac ticket

    #141629
    Shmoo
    Participant

    True, because it’s not possible right now! bbPress is no WordPress easy coffee that you can install and run away with.
    Everybody can activate a plugin and add content but when you would like to change some of the core functionalities in bbPress the difficulty curve goes up with like 300%.

    When I’m done with my site I have gained some more experience about filters and actions and I will try to write a plugin that lets you group and order lists of forums based on the WordPress menu structure.
    I’m still learning myself each time I do something in bbPress.

    #141625
    Shmoo
    Participant

    Not, because Forums is a Post Type like Posts, Pages, Topics, Replies, Products, Books and more of those options you often see in WordPress.

    You order the items them when they get pulled from the database based on X or Z.

    __

    I’ve been trying for years now to find the best ‘new’ way to GROUP + ORDER custom lists of forums without having to make Parent forum categories.

    Think about how Menu’s work inside WordPress, it’s one of the most powerful and easy to use features in WordPress and it can + should be used in more ways then just making menu’s. It can’t be that difficult to alter or hook into that wp_nav_menu functionality.

    To be honest the main functionality is already there,
    If you go to the Menu’s page inside your WordPress back-end you can see on the left side an option to add all, or most used forums, or just a single forum item to your website’s menu-bar.
    ( if this option is visible from the options menu at the top )

    That’s a feature almost nobody uses right now because lets face it, how often do you link to a single-forum-item from your website’s main navigation bar? If so you can also use the Add Custom Link option, visit the single-forum-page front-end > copy the link and add a custom Menu Link to you menu. Done!
    Mostly you just link to the general forums-index page with a list of all forums, that’s a link you show inside your website’s main menu-bar.

    Just try it, add a single forum-item to your menu bar but now think about how cool it would be if that link would also show your topics + posts count behind it.
    Default right now:
    – /single-forum-title/
    What it could be:
    – /single-forum-title/ – ( 7 ) – ( 32 )

    See where I’m going with this, if you have that structure of a link layout you can group and order very easily your index forum pages or at any other page where you can add a menu – even in de sidebar you could make powerful easy to use lists of forums you want to group together.
    This is so flexible you can make 50 different versions of lists – all you need is a few custom_menu_locations who are made for bbPress forums only.

    All this isn’t rocket science for somebody who knows PHP, wp_nav_mennu already has special hooks to add to page_nav_items so you can include data behind those menu-links, even bbPress already has a forums Widget that can do almost the same as I just told you by just adding 2 lines of PHP.

    I think this is the way forward in making unique forums index pages.
    I think we all love to group X forums together without using a category forum and try to pull that list behind the scene based on the category_forum_id. You just want to make forums + group the manually together like Menu-items, combine + order -items > Add them them into unique menu_locations and you can make little kinda Widgets of related forums content.

    Look what I made over the years and it was a frustration to find the right tags to use while it can be so much easier done by just hooking into the WP Menu function.

    View post on imgur.com

    View post on imgur.com

    !! Of course keep your respect to the people doing all the hard work on this lovely bbPress source !!

    #141615
    Shmoo
    Participant

    Just go to the Plugins section of your WordPress admin + Click Add New Plugin –> Search for bbPress and activate it!

    After that change some bbPress settings and start adding forums, topics and replies.

    – Always make sure you back-up WordPress once in a while!

    #141610

    In reply to: Upgrading WordPress

    SickSquirrel
    Participant

    I backup daily, twice, just to be safe. It’s automatic no having to remember fortunately. I don’t think the kid I hired did coding in the site but was install, integrate, load old phpBB site in and go.

    WordPress was just the vehicle to carry bbPress. I’d hire someone but don’t want to invest any more $$$ I can’t afford.

    Thanks. I guess since you gave a standard response and not a warning about specific issues, there are no known issues between WP 3.81 and bbPress 2.3.2.

    #141609

    In reply to: Upgrading WordPress

    SickSquirrel
    Participant

    I backup daily, twice, just to be safe. It’s automatic no having to remember fortunately. I don’t think the kid I hired did coding in the site but was install, integrate, load old phpBB site in and go.

    WordPress was just the vehicle to carry bbPress. I’d hire someone but don’t want to invest any more $$$ I can’t afford.

    Thanks. I guess since you gave a standard response and not a warning about specific issues, there are no known issues between WP 3.81 and bbPress 2.3.2.

    Mycelus
    Participant

    This is something else I don’t understand. Who uses numbers to manually order stuff? Is this a joke? This is something I would expect from 2 decades ago. This is WordPress / bbPress, why is drag and drop re-ordering not supported outta the box?

    How do I go about re-ordering my forums via dragging and dropping rather than manually renumbering every forum?

    Ive searched online and couldn’t find a post on how to do it.

    Shmoo
    Participant

    I know they don’t try to keep information from us but it can be frustrated at times if you wanna learn something but for X reasons you can’t find it or you just can’t understand it :S

    And it becomes extra frustrated if you know for sure something similar works 1000 times easier inside WordPress out of the box.

    The link you gave me explained it very well, I’ve read it twice and now I made my very first filter.

    bbPress

    
    // Adding extra CSS
    function shmoo_extra_css( $classes ) {
    		$classes[] = 'tab-row';
    		return $classes;
    }
    add_filter( 'bbp_get_topic_class', 'shmoo_extra_css' );
    

    Doing the same thing in WordPress

    
    <?php body_class( 'tab-row' ); ?>
    

    Because this simply doesn’t work.

    
    <?php bbp_topic_class( 'tab-row' ); ?>
    
    #141599
    Shmoo
    Participant

    I think this question belongs at BuddyPress – but for one you always need to join groups to be part of them, the Groups functionality is completely different from Forums and Topcis.

    Groups are more based on a social layer. Try searching for: BuddyPress auto. join group I believe there is a plugin that does something like that.

    2, You can change them in your WordPress admin / Users profile there is a select menu where you can change the Role of a user.

    #141598

    In reply to: Upgrading WordPress

    Shmoo
    Participant

    We can’t tell you if your site will break or not because we don’t know what your developer has customized and how he has doen that.

    The best solution is something you should always do. Back-up your WordPress site so that you can always go back to a safe position if your update doesn’t work or breaks some functionality.

    Always make sure you have back-ups of your site.
    https://codex.wordpress.org/WordPress_Backups

    #141596
    SickSquirrel
    Participant

    I run 3.7 right now. I was afraid to upgrade WP in case there wee issues with bbPress. So … if I update to 3.81 (the latest) can I expect issues or should it go smoothly?

    I hired someone o set up my site with WP and bbPress. He hasn’t worked on the site after that so if I run into issues, I’m stuck. I’m only online two hours a day and can no longer code or fix errors (due to illness).

    I’m leery about upgrading but know I have to do it.

    #141592
    Jeff Hester
    Participant

    UPDATE: Apparently it’s broken for everyone due to a change in the Twitter API: https://core.trac.wordpress.org/ticket/26844

    #141587
    Shmoo
    Participant

    What happens if you do the same inside a WP Blog Post ?

    Do you have the right Twitter link?

    
    
    

    Edit:

    Looks like it doesn’t work here at bbPress.org as well so maybe a core problem 🙁

    #141585

    In reply to: Help with error

    Shmoo
    Participant

    Because it doesn’t work like that out-of-the-box.

    WordPress checks some values based on a Submit action – a page-load is needed to check and push the error_msg into your page and because of the page-load the browser will go back to the top of the page by default.

    If you want functionality like that you have to search at Javascript Validations ,there are lots of them online.

    Personally I really like Foundation’s Abide
    http://foundation.zurb.com/docs/components/abide.html

    It can check if a field is valid when writing and if it’s not it blocks the Submit button from being pushed in the first place.
    I used it in a BuddyPress site and it works very nice.
    Foundation Abide BuddyPress bbPress

    Robin W
    Moderator

    best explanation I know is here :

    Filters Explained

    I plan to write some bbPress specific documentation for this when I get my head around it enough to pass it on (I am relatively new to wordpress as well).

    #141572
    Nathan Hawkes
    Participant

    I am currently using bbPress 2.5.3 with WordPress 3.8 and the default bbPress theme, as inside the plugin folder. I am wondering how I change the tags prefix (“Tagged:”) on the topic page. I have looked through the theme files and can’t find it in any of them. Can anyone assist me? It’s really annoying me right now.

    Thanks

    #141567
    Shmoo
    Participant

    My Forum posts are returning 404 messages. How can I fix this?

    This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.

    #141566
    Shmoo
    Participant

    My Forum posts are returning 404 messages. How can I fix this?

    This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.

    #141560
    KaitlinFNF
    Participant

    Hello,

    Clicking a username from within the BBPress section generates a 404 error.

    I’ve done extensive research on this problem, and haven’t been able to find a fix in the forums so far.

    I’ve deactivated all plugins besides BBPress – no dice.
    I’ve switched the default theme and still get the 404.
    I’ve changed the permalinks and the subscriber role – didn’t make a difference.

    Some code fixes I’ve found in the forums just make it so that the 404 page doesn’t generate, but it shows a blank page, which isn’t really the point. I need it to actually go the member profile.

    I believe all of the software is up to date:
    Wordpress v3.8
    BBPress v2.5.3
    Theme is Dante, v 1.5.1

    Here is a user link: essential-essentials.com/forums/user/Essential-Essentials/

    (The site is still very much in development)

    Thank you for any help you can provide : )

    Shmoo
    Participant

    I’ve look at it a few times in the WordPress Codex and it probably explains GREATLY how it works and what it does but maybe I just don’t get it.

    I understand the concept of taking a function that exists <—> edit it <—> return it to WP Core but how!

    Lets say I just simply want to replace the text inside a HTML “… class=”bbp-topic-spam-link”> ” of the spam link.

    First step I do is search for the function: bbp_topic_spam_link()

    Second step found it inside plugins/bbpress/includes/topics/template.php [ line 2832 ]

    Third step copy the entire function to my functions.php file or plugins functions file.

    Fourth step, edit the code that you want to edit but after that, how do you add the filter to this function to make it a new or your function.

    
    /**
     * Output the spam link of the topic
     * @uses bbp_get_topic_spam_link() Topic spam link
     */
    function bbp_topic_spam_link( $args = '' ) {
    	echo bbp_get_topic_spam_link( $args );
    }
    
    	/**
    	 * Return the spam link of the topic
    	 */
    	function bbp_get_topic_spam_link( $args = '' ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'           => 0,
    			'link_before'  => '',
    			'link_after'   => '',
    			'sep'          => ' | ',
    			'spam_text'    => esc_html__( 'Spam',   'bbpress' ),
    			'unspam_text'  => esc_html__( 'Unspam', 'bbpress' )
    		), 'get_topic_spam_link' );
    
    		$topic = bbp_get_topic( bbp_get_topic_id( (int) $r['id'] ) );
    
    		if ( empty( $topic ) || !current_user_can( 'moderate', $topic->ID ) )
    			return;
    
    		$display = bbp_is_topic_spam( $topic->ID ) ? $r['unspam_text'] : $r['spam_text'];
    		$uri     = add_query_arg( array( 'action' => 'bbp_toggle_topic_spam', 'topic_id' => $topic->ID ) );
    		$uri     = wp_nonce_url( $uri, 'spam-topic_' . $topic->ID );
    		$retval  = $r['link_before'] . '<a href="' . esc_url( $uri ) . '" class="bbp-topic-spam-link">' . $display . '</a>' . $r['link_after'];
    
    		return apply_filters( 'bbp_get_topic_spam_link', $retval, $r );
    	}
    

    Thanks.

    #141553

    In reply to: Forum Page

    fantasysixpack
    Participant

    Sorry very new to BBPress and WordPress. How do I back up the template and rename it?

    #141550
    Matt
    Participant

    Just did all of that but still no luck. It says its there in my FTP but it wont appear any place on wordpress. But it does show on the plugin page.

    Shmoo
    Participant

    Well the normal ‘WordPress’ workflow would be something like this..

    Register a new Sidebar inside your functions.php
    – Duplicate the default sidebar.php file inside your theme folder and call the duplicated file sidebar-bbpress.php
    – Open sidebar-bbpress.php and change the default mark-up.
    – Go inside that community.php page template what is showing your forums page and search for the tag <?php get_sidebar(); ?> and change it to <?php get_sidebar( ‘bbpress’ ); ?>

    Save it and that should do the job.

    If everything goes well it will load the sidebar-bbpress.php if not it falls back to the default sidebar.php

Viewing 25 results - 10,351 through 10,375 (of 26,874 total)
Skip to toolbar