Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\"'

Viewing 25 results - 10,376 through 10,400 (of 26,880 total)
  • Author
    Search Results
  • #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

    cdonahue
    Participant

    Hello, I’ve installed bbPress (v.2.5.3) to my custom WordPress website (v.3.8) and it picked up the theme perfectly. However, I can’t get the bbPress sidebar to display. It seems that even though my Forum page (which I’m calling Community) is a WP page, it behaves like something else. Here’s what I’ve done:

    — Created a new template for my forum page (community.php);
    — Selected that template from the community page per the WP interface;
    — Created a new sidebar by registering it in functions.php;
    — Moved the bbPress widgets over into my newly created sidebar;
    — Called the sidebar from community.php

    My community page is defaulting to the main sidebar, or page sidebar, even though I have selected a completely different template for the page. I also tried going with the default page and using bbPress Tweaks but that did not work.

    I think I’m missing something about how the forum page works. Any ideas?
    Here’s how the page is displaying:
    innovativeapprenticeship.org/community

    Regards, Cheryl

    Tearstone
    Participant

    My understanding is that there is no “New Posts” functionality for BBPress. Previous support requests on WordPress.org have gone unanswered, and I do not see a plug-in that allows this. I reviewed the documentation and I’m not sure how I could construct my own view with this ability.

    What I would like to know is how to craft a forum view that aggregates all the forums into one just like when you click on “Support” at the top of BBPress or Buddypress website. Whenever a new reply is posted, it puts the thread back on top. The GDBBPress tools only has the ability to sort topics when they were first created.

    Recap, I would like assistance on constructing a view like the one that we normally use here on BBPress.org or Buddypress.org when clicking the “Support” button.

    Thank you,
    Russ Sanderlin

    @Tearstone

    #141535
    Shmoo
    Participant

    What’s the PHP code to get this result.

    [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    I would like to include it inside a page template.

    Something I really HATE about bbPress is that it’s very easy to group a bunch of forums inside another forum ( Category ) and list all those forums together at a page template by just the Parent $forum_id of all those forums and you’re done.
    Just like this:

    
    <?php if ( bbp_has_forums( array( 'post_parent' => 104 ) ) ) : ?>
    

    Easy right, but that bbp_has_form functions doesn’t have something like this:

    
    <?php if ( bbp_has_forums( array( 'forum_id' => 75 ) ) ) : ?>
    

    Only show forum_id 75 out of the entire loop, or this:

    
    <?php if ( bbp_has_forums( array( 'forum_id' => 75,88,93 ) ) ) : ?>
    

    That doesn’t look like rocket science to me and it would give us so much more customization options.

    Look at this screenshot I made.
    At the top the block of 4 with the big headings, Mac … + iOS … are forum categories with a bunch a forums inside them. I gave them all their own page templates with each its own ‘post_parent’ Loop.

    
    <?php bbp_get_template_part( 'cat-forums/mac-hardware' ); ?>
    

    At the bottom the green row of none Apple products related are just forums ( single’s ) with no parent stuff.
    It’s ridicules difficult to group them together and list them in a list or row and customize them.
    You have to do something like this:

    
    <?php bbp_forum_permalink( 98 ); ?>
    <?php bbp_forum_title( 98 ); ?>
    <?php bbp_forum_topic_count( 98 ); ?>
    <?php bbp_forum_post_count( 98 ); ?>
    

    That’s all needed to get the same result as at the top for just a single forum_id.

    Beside all that frustration it’s even more difficult to give each single forum ( the page where you show a list of topics ) it’s own template.
    You can’t customize the forums differently. Let’s say I want to give al forums at the top the Apple products relegated stuff it’s own page template and all none Apple related stuff another page template it’s simply not possible.

    There should be an easy way to just add a forum_id or name after the page-template.php like WordPress does.
    Maybe for starters a conditional tag inside the content-single-forum.php template that says, if forum_id’s 75,98,114 go to template X and if forum_id’s 73,120,88 go to template Z else ( if none of those ID’s ) go to template B.

    This has been frustrated me for 2 years now and it’s really a game-breaker in customization of bbPress.

    šŸ™

    talkedtv
    Participant

    Thank you! The ticket has been created.

    https://bbpress.trac.wordpress.org/ticket/2517

    #141527

    In reply to: bbPress Test Data

    Stephen Edgar
    Keymaster

    Done https://bbpress.trac.wordpress.org/ticket/2516

    Probably need to add some more sample topics with ‘Lorem Ipsum’ sample text and formatting next.

    Stephen Edgar
    Keymaster

    Thanks for the report, this most likely is a bbPress issue, would you be kind enough to create a ticket on Trac for this and we’ll take a closer look. šŸ™‚

    http://bbpress.trac.wordpress.org

    #141509
    Anonymous User 5853594
    Inactive

    Not by default, but you could look for plugins which lets you manage your users.

    You could use plugins to edit the capabilities of users. For instance, remove their capability to create new threads.

    #141508
    Anonymous User 5853594
    Inactive

    Not natively, although there are ways to display members of your site/forum.

    BuddyPress is a bit of overkill for just displaying a members list, but if you’ve got an active forum, you might like the addition of its many options (extended profiles, private messaging, user groups come to mind).
    There are probably more plugins who could do it though, you’d have to search the plugin directory for them.

    There are themes (like Twenty Fourteen) which have templates to show members on a page, you could also try that. But you’d have to find a suitable theme or extract the code you need from the theme and add it to your current one (preferably by making a child theme).

    Asynaptic
    Participant

    Hi, just a quick question about this new feature that has been in the pipeline for some time:
    https://bbpress.trac.wordpress.org/ticket/2498

    there is already a plugin that provides this functionality (http://wordpress.org/plugins/bbpress-post-topics/) and it is being used already on the official sites here so I’m curious why it isn’t a done deal?

    thank you!

    #141483
    Hamed.T
    Participant

    i have a php code that help me to add any button in wordpress quicktags toolbar:

    add_action( 'admin_footer-post-new.php', 'pre_add_quick_tag' );
    add_action( 'admin_footer-post.php',     'pre_add_quick_tag' );
    function pre_add_quick_tag() { ?>
        <script type="text/javascript">
            edButtons[edButtons.length] = new edButton( 'pre', 'pre', '<pre>', '</pre>', '' );
        </script>
    }

    now i want this pre button also added in bbpress (not just for admin, i want all users can use this button), any idea?

    ps: i also asked this question here

    #141477
    fyreus
    Participant

    Hi.

    I use both the current version of wordpress and bbpress and my goal is to disallow new topic creation for non-admins, but allow people to post within pre-made topics.

    Will this be possible in the near future?

    #141468
    axelts
    Participant

    I have the same problems from October, updating WordPress and Bbpress in this months doesn’t take any difference. I did a similar solution as pointed above from “Ronthai”, I’ve disabled the “Setting->Forum->Reply Threading” check. The order come back normal but you don’t have nested reply. My solution (as some post above) was to install this small plug-in to add a Quote link: https://wordpress.org/plugins/bbpress-direct-quotes/

    I write down my setting for debug propose:

    Wordpress: 3.8 (bug present also on 3.7)
    Bbpress: 2.5.3 (bug present also on previous version)
    Template: NewsPlus
    Apache version 2.2.23
    PHP version 5.2.17
    MySQL version 5.5.34-MariaDB
    Architecture x86_64
    Operating system linux

    Lynqoid
    Participant

    The idea with the full WordPress with bbPress integration is that you can enable/disable certain features.

    Some themes already come with a breadcrumb so being able to disable the bbPress one via a tickbox in the admin section would be quite handy, same goes with disabling the sidebar via a tickbox.

    I’ll take a look at your theme later see what I can see, at quick glance I’m not too sure what is happening.

    #141448
    B
    Participant

    After a little digging, discovered my Custom Post Type Permalinks plugin wasn’t playing nicely with bbPress.

    Problem and solution (albeit temporary) documented here: https://wordpress.org/support/topic/bbpress-topic-links-in-forums-break

    Ultimately, edited the CPTP plugin file directly (ugh) line 290-something

    $parentsDirs = "";
    if( !$leavename ){
    	$postId = $post->ID;
    	if ( !in_array($post_type, array('topic', 'forum', 'reply') ) ) {
    		while ($parent = get_post($postId)->post_parent) {
    			$parentsDirs = get_post($parent)->post_name."/".$parentsDirs;
    			$postId = $parent;
    		}
    	}
    }
    #141438
    phatboydw
    Participant

    A little background, I have about 0 knowledge of WordPress and especially BBPress. The reason I am here is I am trying to help get some basic forms working that were setup an possibly messed up by a previous admin who is currently MIA. I have figured out my way around WordPress but am at a loss as to why the posts do not display within the topics. Any help would be appreciated.

    This is a link to one of the forum topics that had a few post/replies but are not visible.
    http://home.outlandcraft.com/forums/topic/test/

    faithlee
    Participant

    Hi all, I know that to make changes to a theme in wordpress you use a child theme to avoid losing the changes upon updating the files. I am doing this and it works fine.

    My issue is doing the same for a plugin. Does anyone have any idea on how to make changes to the css files and some php files without losing the changes when I update the bbpress file?

    Any help would be greatly appreciated.

    Thanks

    Faith

    Lynqoid
    Participant

    Hey all,

    Great to hear you are working on your websites šŸ™‚

    I am slowly working on a couple of new themes for bbPress and a full WordPress theme as well. The problem with just doing a bbPress theme is that I have no control over what the sidebars class or ids are so it makes it a bit problematic to remove them.

    Good luck and keep on building!

    #141409
    5ngua
    Participant

    I already post this topic in pollddady support forum because I don’t know who can fix this, maybe bbpress team, maybe polldaddy team…

    https://wordpress.org/support/topic/polldaddy-shows-rating-on-bbpress-forum

    #141404

    In reply to: bbPress 2.5.3

    Stephen Edgar
    Keymaster

    the admin icons for forums, topics and replies are missing. May you please check it? I’m using the latest wordpress.

    Try clearing your browser cache/history or hard refresh

Viewing 25 results - 10,376 through 10,400 (of 26,880 total)
Skip to toolbar