Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for ' . default . '

Viewing 25 results - 3,376 through 3,400 (of 6,759 total)
  • Author
    Search Results
  • #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 🙂

    #141354
    mosaicrob
    Participant

    Hi Stephen,

    Thanks for your response. I’ve spoken w/ Pagelines about this earlier, who informed me there is no module needed for Pagelines DMS (which I’m using), only for the Pagelines Framework. I can confirm that BBPress is installed and working on my site… it’s just the layout of the index page for the forums as well as the tags page that seems to not have any formatting.

    (Just to be sure, I tried the pagelines module and it creates an error.)

    Is there another way to approach this issue? I tried using BBPress WP Tweaks plugin to have BBPress use index.php for the default template page (Pagelines has an index.php file). This didn’t work either.

    http://rad.mosaicearth.com/wp-content/uploads/2014/01/Screen-Shot-2014-01-12-at-8.23.30-PM.png

    Here’s the error I get on the frontend:
    http://rad.mosaicearth.com/wp-content/uploads/2014/01/Screen-Shot-2014-01-12-at-8.16.21-PM.png

    #141350
    Stephen Edgar
    Keymaster

    Why am I showing only MY activity in the activity area

    That is a BuddyPress issue https://buddypress.org/

    Also, how do I make the subscribers become members so that we can communicate in the forum?

    Once a user logs into bbPress for the first time they are given the default bbPress Role ‘Participant’ and are now able to contribute to your forums.

    wiste
    Participant

    @netweb, I get that and that’s where the CSS files are, but when I try to change any php files that are located in the subfolder which is also names “bbpress” it simply doesn’t see them. My understanding from the WordPress documentation is that if you put the file in a child theme in the exact same heirarchal location as it is in the parent theme it should pick it up, but that’s not how it’s working.

    I made a custom loop-forums.php. The structure of the default folder is that this file is inside a folder already called bbpress. When I copy over all the files form default in my parent theme to bbpress in my child theme I end up with a bbpress folder containing all of the php files inside of the bbpress folder that I created for the child them. Then upload my custom loop-fourm.php to the folder where it normally resides, it doesn’t pick up the change. When I put it at the root it does pick it up. However, changes to the CSS files in bbpress/CSS get picked up.

    I’m having this same problem with other files in the child theme where I can’t figure out where to place php files to have them be recognized in the child theme, so it might be something wrong with the way the theme handles child themes, but I have no way to know this.

    #141319
    Robin W
    Moderator

    I’m afraid that I am a bit lost, because I’m not sure what you are showing me under this link.

    However if you want to remove parts of the breadcrumb you can add a function to your functions file

    eg

    function mycustom_breadcrumb_options() {
    	// Home - default = true
    	$args['include_home']    = false;
    	// Forum root - default = true
    	$args['include_root']    = false;
    	// Current - default = true
    	$args['include_current'] = true;
    
    	return $args;
    }
    
    add_filter('bbp_before_get_breadcrumb_parse_args', 'mycustom_breadcrumb_options' );

    If you want to lose the breadcrumb all together you can use

    function bm_bbp_no_breadcrumb ($param) {
    
    return true;
    
    }
    
    add_filter ('bbp_no_breadcrumb', 'bm_bbp_no_breadcrumb');

    Otherwise come back and explain a bit further about what your link is taking me to eg is this a page and what is the content of that page

Viewing 25 results - 3,376 through 3,400 (of 6,759 total)
Skip to toolbar