Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 3,401 through 3,425 (of 6,788 total)
  • Author
    Search Results
  • #141639
    Shmoo
    Participant

    Try this.

    Your HTML and CSS isn’t very pretty but this will do the trick I believe.

    
    .type-reply.user-id-1 {
         background: #91CDEA;
         border-top: 1px solid #BEC3C7;
         border-bottom: 1px solid #BEC3C7;
         overflow: hidden;
    }
    

    Btw, if you have copied the default bbpress.css stylsheet from the plugins folder to your own theme ( wp-content/themes/your-theme-name/css/ ) folder you can edit and customize that new bbpress.css file. You don’t have to place all your custom CSS inside the style.css – just customize the bbpress.css inside your theme folder.

    Right now you’re working too much with the !important; attribute just trying to overwrite default stylings while it’s not needed if you simply customize the bbpress.css stylesheet.

    #141634
    Shmoo
    Participant

    Screenshots:

    Default:

    Shows pagination:

    Activated:

    Gone pagination:

    Added a Trac ticket

    #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 !!

    #141623
    Shmoo
    Participant

    Well try using your browsers Web inspector that will guide you through your code and gives you a visual image of where and what you can change because every site can be different.

    This is an old video but I think every browser today has an Inspector inside it by default. It gives you an idea of how you can spot some HTML classes and what you should target to change.

    #141614
    Shmoo
    Participant

    @koendb,

    Very nicely!
    Well integrated with the entire theme.

    Just one question:

    How did you change the time-format at each last_activity.
    By default bbPress shows something like this, (two items)
    – 2 days, 3 hours ago
    – 8 hours, 37 seconds ago

    But you only show one item,
    – 2 hours ago
    – 6 days ago
    – 1 years ago

    I like your format better.

    #141605
    Mycelus
    Participant

    I want bbPress to look like this:

    https://linustechtips.com/main/

    See how the categories are above and separated from the rest?

    My current forums look like this –> http://www.skyforgelabs.com/?post_type=forum , and I HATE that, the way the forums are under the category with the stupid 0’s is ugly and I don’t know why bbPress is like this by default.

    #141604
    Shmoo
    Participant

    Didn’t want to make a new Trac before knowing if this is a real bug or not.

    I set the number of replies per page at 8 in the back-end. Save it, but right now I’ve already replied 31 times in one topic to test it and still the pagination menu doesn’t show up in the single-forum page ( topics list )
    + also the single-topic page doesn’t move to a second page it keeps adding content.

    Tested it on default installs with Twenty Twelve and WP 3.8

    #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

    #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

    #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.

    cdonahue
    Participant

    Solved!

    Added this code to the bottom of my ‘page’ template, as that appears to be the default page for bbpress:

    if (is_bbpress()) {
    get_sidebar(forum);
    } ?>

    et voila.

    cdonahue
    Participant

    Ah, I looked at the HTML and suspicions confirmed — it is not a page, but instead is classed as “forum-archive.” I think that means I can’t just change the template (obviously, as that is not working!). But I’m not sure what to do as my default pages have a custom sidebar that seems to prevent the bbpress sidebar from showing up on the Community/forum page.

    cdonahue
    Participant

    Thanks, that’s pretty much what I had done — except I gave my sidebar a different name. It’s registered; it shows up on my widget page; I put the bbpress items in my new sidebar; I edited the php file to give it the proper i.d.; I called it from the community.php template. Still defaulting to the regular page sidebar.

    What seems to be happening is that it doesn’t recognize the template I’m choosing for my Community page. It will only read the default template. Is that a thing with bbPress?

    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

    #141520
    Lynqoid
    Participant

    If you are able to test it with a default theme and the issue doesn’t occur then most likely your theme. It’s good to test so you don’t waste your time trying to fix something that could not be broke 🙂

    If it is a premium theme you might be able to get some support from them.

    #141518
    Shmoo
    Participant

    Just curious is it me doing something wrong or can’t we give each single-forum it’s own page template ?

    I thought earlier we could do something like this.

    bbpress/content-single-forum.php ( default )
    bbpress/content-single-forum-%forum-name%.php ( custom )

    ?

    #141511
    Anonymous User 5853594
    Inactive

    Then wny make them participants? You could assign members the “Spectator” role by default, which would give the same result.

    You can change which role is assigned by default in Settings > Forums > Forum User Settings > Auto role.

    It could be done with plugins to edit member roles, but in this case, why bother?

    #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.

    #141443
    B
    Participant

    Hi all,

    Having a slight URL issue. Forums settings / slugs are default, permalink settings are using

    /%postname%/

    Forums URL is:
    http://www.website.com/forums/

    Forums topic URL one level down is:
    http://www.website.com/forums/forum/website-community/announcements/
    … where ‘website-community’ is the category, and ‘announcements’ is the first forum under that.

    Here’s where it breaks. If I hover over a topic, the URL displays as:
    http://www.website.com/forums/topic/website-community/announcements/first-topic/
    … and if I click, I get a 404.

    If I edit the URL manually, it will work as expected, I just have to take out the category and forum name from the url, such as:
    http://www.website.com/forums/topic/first-topic/

    Why are the category and forum titles appearing in the URL, and what’s the best way to fix?

    Thanks in advance!

    #141418
    masadmin
    Participant

    Hi,

    I am getting a redirect loop while accessing forum posts. The index page of forums (forum lists) works fine bur none of the forums works.

    This will work fine when we use default hyperlinks but we can use only %post-name% permalink due to our site structure.
    Can anybody provide a solution to this problem

    Thanks

    #141396
    Zoee
    Participant

    Hi all, I have a members only forum on a clients site that is protected by s2Member so only level #1 members can access all /forms/forum pages. The client reported yesterday that their forum wasn’t working – all pages got to our custom 404 page.

    They upgraded there website to 3.8 last week – usually we run there updates, I don’t think they checked the forum after running the update so I don’t know if the update caused the issue or not. Likewise they didn’t take a full site backup as instructed when doing updates.

    When I switch off permalinks the pages work (though the forum overview /forums/ doesn’t). I’ve tried:
    – resaving the permalinks (switching off, back on etc in various different combos)
    – deleting the .htaccess and resaving permalinks
    – uploading an old .htaccess
    – reinstalling wordpress 3.8
    – deactivating all other plugins
    – switching to a default theme

    I really don’t want to have to move them to a fresh install, the site is massive. Likewise I don’t think reverting to an older version of WordPress is really a solution.

    Any more suggestions of what to try would be appreciated!!!

    Thanks in advance!

    #141395
    Zoee
    Participant

    Hi all, I have a members only forum on a clients site that is protected by s2Member so only level #1 members can access all /forms/forum pages. The client reported yesterday that their forum wasn’t working – all pages got to our custom 404 page.

    They upgraded there website to 3.8 last week – usually we run there updates, I don’t think they checked the forum after running the update so I don’t know if the update caused the issue or not. Likewise they didn’t take a full site backup as instructed when doing updates.

    When I switch off permalinks the pages work (though the forum overview /forums/ doesn’t). I’ve tried:
    – resaving the permalinks (switching off, back on etc in various different combos)
    – deleting the .htaccess and resaving permalinks
    – uploading an old .htaccess
    – reinstalling wordpress 3.8
    – deactivating all other plugins
    – switching to a default theme

    I really don’t want to have to move them to a fresh install, the site is massive. Likewise I don’t think reverting to an older version of WordPress is really a solution.

    Any more suggestions of what to try would be appreciated!!!

    Thanks in advance!

    Stephen Edgar
    Keymaster

    @wiste What I think/expect is the following:

    1. \wp-content\plugins\bbpress\templates\default\bbpress\loop-forums.php
    2. \wp-content\themes\mytheme\bbpress\loop-forums.php
    3. \wp-content\themes\mychildtheme\bbpress\loop-forums.php

    I’ll try to have a closer look at this sometime in the next few days and report back 🙂

Viewing 25 results - 3,401 through 3,425 (of 6,788 total)
Skip to toolbar