Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 4,926 through 4,950 (of 11,591 total)
  • Author
    Search Results
  • #143487

    In reply to: What is it?

    Apokh
    Participant

    Okay I tested out both. The topic counter is really great. But with the user info thing, I´m not so happy, for the user will have to enter the Data (once again) there which is already present in WP somewhere. I´d prefer a slolution where I can get teh userinfo from WP for example the First Name and display it under the avatar…or above it.

    Mycelus
    Participant

    Hey guys, so I dont know whats happening, Ive looked around everywhere but cant find a server.

    I transferred from Goldsboro Web hosting (local NC based host) to Fatcow today. All my plugins work fine, but when I install bbPress, it gives me 500 internal server error when trying to get into http://www.skyforgelabs.com/wp-admin (thats my site)

    When I delete the bbPress folder via FTP, I can get into my admin panel just fine

    When I install bbPress via the WordPress dashboard, it gives me the 500 error mentioned above and stops me from getting into wp-admin

    My site is hosted on Fatcow, and my friends site is also. He faced the same issue and was unable to get it resolved.

    Im using the latest stable version of WP and bbP

    Someone please help me out here?

    #143477
    Lead As Love
    Participant

    Hi @johnjamesjacoby . Would like to know why this was working with both pagination AND threaded replies before the most recent bbpress upgrade? We got spoiled by the awesome functionality. We had threading working and also pagination. Why did this change?

    Also @johnjamesjacoby When I disable threading and allow pagination I have to go to the very last page of the topic to get the latest reply. This was also something I used to be able to control. Is there a way to get the most recent responses on the first page?

    #143471
    chrismanson
    Participant

    Hi all,

    I’m very new to bbpress forum – had just installed the latest version but am having some layout/format issues with my forum (i.e. no space in between some words)

    1) Title of latest topic is appearing in the “Freshness” column (beside the timestamp)
    URL: http://www.propertyelite8.com/forum/

    2) When user click to view the list of topics in this forum, again, title of the latest topic appears at the top of the page (where breadcrumbs are supposed to be)
    URL: http://www.propertyelite8.com/forum/forum/ask-propertyelite8/

    3) No space in between topic title and “ReplyTo” when user click to reply
    URL: http://www.propertyelite8.com/forum/topic/career-path/

    Hope to receive some help from you gurus! Thanks!

    #143466
    NovaSev
    Participant

    I have a breadcrumb plugin, it’s all working quite well other then one thing:

    With the bbPress forum it shows my “Forums” slug twice. Both link to the Forums index page, but it’s weird to have it double it’s self. Any ideas? I don’t have this issue with the plugin on anything else.

    Using latest of WP and bbP – website is http://www.novasev.com

    #143465

    Topic: User Profiles

    in forum Themes
    NovaSev
    Participant

    I’m trying to figure out a few things – I’ve done a search and read through a couple dozen or so items without much luck.

    I’d like to incorporate some more info into the bbPress user profiles – I know I can probably do this using the $curauth params but want to make sure. I also want to make authors/contributors/etc link to the bbPress profiles as well. Is there a quick piece of code I can use to do this within my WordPress theme files?

    I have this function to return an author profile page when the name is clicked on:

    function new_comment_author_profile_link(){
    
        /* Get the comment author information */
        global $comment;
        $comment_ID = $comment->user_id;
        $author = get_comment_author( $comment_ID );
        $url    = get_comment_author_url( $comment_ID );
    
        /* Return the default WordPress comment author link if comment author is not
        a registered user */
        if ($comment_ID == 0){
            if ( empty( $url ) || 'http://' == $url )
                $return = $author;
            else
                $return = "<a href='$url' rel='' class='author-url'>$author</a>";
        } else {
        /* Return the link to the comment author's profile page if otherwise */
            $return = '<a href="'.home_url().'/?author='.$comment_ID.'">'.$author.'</a>';
        }
    
        return $return;
    }

    Can I plug in some line/piece of code to direct it to the bbPress profile instead? If so, what piece?

    Wordpress & bbPress are latest versions – website is http://www.novasev.com
    Appreciate the feedback.

    #143457
    mjpg
    Participant

    I’ve done a test install.

    Links like this are breaking (I’m getting ‘Page not found):
    http://www.mydomain.com/forums/forum/forum-name

    I have run all the recounts.

    I suspect the way the slugs work has changed.

    On the working site, the settings are:

    Archive Slugs
    Forums base: forums
    Topics base: topics

    Single Slugs
    [v] Prefix your forum area with the Forum Base slug
    Forum slug: forum
    Topic slug: topic

    The test upgrade site has this:

    Forum Root Slug
    Forum Root: forums
    [v] Prefix all forum content with the Forum Root slug
    Forum root should show [forum index]

    Single Forum Slugs
    Forum: forum
    Topic: topic

    Any ideas?

    Thanks

    #143447
    Robin W
    Moderator

    suggest you try:

    Repair Forums

    Dashboard>tools>forums>repair forum and run one at a time

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #143442
    Bob1nz
    Participant

    Hi

    I have roles setup in wordpress which i would like to display in the forums in place of the bbPress roles.

    Or is there a way to create new bbPress roles with the titles I want then have the roles synchronized with wordpress?

    eg.
    Wordpress –> bbPress
    Guest –> Guest
    Builder –> Builder
    Moderator –> Moderator
    Admin –> Admin
    Co-Owner –> Co-Owner
    Owner –> Owner

    Each role has different capabilities but i would like them to show as different roles on the forums as the titles link up to our small gaming server.

    WordPress Version: 3.8.1
    bbPress Version: 2.5.3-5249
    BuddyPress Version: 1.9.2

    Testing Website: http://bob1nz.com

    #143417

    In reply to: No toolbar available

    Liberty
    Participant

    Ok, test forum is open: http://plusthemes.de/support/forum/test

    Robin W
    Moderator

    ok,

    What I’d suggest you do is look in the main theme for a 404.php, and edit this to give a login link.

    (If it doesn’t have a 404.php, then copy a page.php or index.php file across to your child theme and rename it 404.php. Look for the “loop” part of the code, and put the stuff in there instead)

    You could then edit this file to have a link to your login and some different text.

    So for instance if the 404.php files says “oops sorry this link appears to be broken”

    you could amend this to :

    This page cannot display. This maybe because you are not logged in. To login click here

    or however your users login on.

    They will probably go to the home page once logged in, so having the relevant posts in say the sidebar (eg latest topics widget) will let them quickly navigate to the post.

    If any of the above not clear, please do come back.

    #143366
    jyd44
    Participant

    My proposal is based on the hook mechanism proposed by WP and that bbPress use intensely, giving a lot of possibilities for (business) logic customisation. This is not related to the templates files in the theme, which are more related to the presentation (how the informations are displayed). Restricting the possibility to make a reply to the member of a group is a pure “business logic” requirement. You may find few explanations on how it works in the part 5 of the step by step documentation on this site.

    You add the two functions in the functions.php file of your theme.
    In the same file, add the following line, for instance after the two functions or at the end of the file:
    add_filter (‘bbp_current_user_can_publish_replies’, my_bbp_current_user_can_publish_replies, 10);

    This is the way you install filter under WP.

    PS: you can replace the test: if (groups_is_user_admin( $user_id, $groups_id[0])
    || groups_is_user_mod ($user_id, $groups_id[0])
    || groups_is_user_member ($user_id, $groups_id[0]) )

    by this one, which is sufficient for your purpose:
    if ( groups_is_user_member ($user_id, $groups_id[0]) ) return true;

    #143354
    Robin W
    Moderator

    “I needed to add the form, topic and forum manually [bbp-topic-index] [bbp-topic-form][bbp-forum-index] and have not found a manual solution for the login ([bbp-topic-login] didn’t work..))”

    See the documentation for set up details including login in sidebar

    Step by step guide to setting up a bbPress forum – Part 1


    and

    Layout and functionality – Examples you can use


    for setting up menu and modal logins

    As for your 404 error, I presume that the urls are correct, for instance

    http://www.hightearecepten.nl/recipe/vijgencompote/

    works with bbpress deactivated, but not when it is activated?

    I’d check first whether there is a plugin conflict, and then a theme conflict viz ;

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    If it is Themeforest, I’d raise it with them, as it is a paid theme, and with over 1 million bbpress downloads they should have seen it, or know what to do. I have seen some comments that some themeforest themes do not support bbPress, but don’t know about this one.

    #143316
    Robin W
    Moderator

    suggest you start with the usual…

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    #143313
    Kris35
    Participant

    THey are coming through fine on my test user accounts. Could this be a firewall problem or something else their end?

    Thanks,

    Kris

    UPDATE: sorry, its the notify me tab underneath the text editor that isnt working.

    #143303

    In reply to: Forum Question

    Robin W
    Moderator

    You could do this.

    Presuming you only want tutors to see the forum (not the general public), basically you would set the forum as private, this restricts visibility to logged on users with higher than spectator privaledge to see them.

    You would then create a new bbpress role, which has visibility but no access. I think that would be fairly easy – I know how to go about it but have never tested

    If you want to go down this route and test, come back and I’ll make a quick function to set this up for you.

    You would have full rights – keymaster
    Then your clients would have keymaster or moderator role – lets them create forums and new topics (and indeed replies for supplementaries to topics)
    You clients’ tutors would have say “tutor” role, which is the spectator role with visibility to private forums added in.
    Public would see no forums, topics or replies

    #143294
    Robin W
    Moderator

    Sort of think that’s how it is designed to work, the idea being that you eye is drawn to the latest unstuck post, and then immediately above it is the latest stuck post, so it works
    sticky – early to late.
    unsticky – late to early.

    Suspect there’s a bit of code you can do to change the order.
    The function bbp_get_stickies

    sits in

    \bbpress\includes\topics\functions.php

    #143292

    In reply to: Creating a new forum

    Robin W
    Moderator

    I don’t directly have any experience of maintenance plugins.

    However creating a test/backup site, whilst requiring some further learning, is of great benefit, and discussed in the documentation here

    https://codex.bbpress.org/creating-a-test-site/

    #143291
    Robin W
    Moderator

    Sorry, I failed to add the other bit of code you need !!

    The last paragraph should have read :

    …and then on your page template add this function where you want it.

    <?php if(is_front_page() ) { display_latest_topic () ; } ?>
    

    I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.

    If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !

    If any of that isn’t clear, do come back, but let me know what theme you’re using as well

    #143290

    In reply to: Creating a new forum

    tonyhir
    Participant

    1. Turning of all plugins would disable those which support custom post types, such as books and films, which are currently used on the site.

    2. It would also endanger the site’s security and expose it to hackers.

    3. This is all for the benefit of a plugin which I have not been able to test.

    4. All would be well if the site could be put into maintenance mode while plugins are disabled, or if I could work on a local copy. But I know nothing about these things. I see a number of maintenance mode plugins: can you recommend one?

    #143281
    Robin W
    Moderator

    ok, so drop the following into your functions file

    //  Display just latest topic
    function display_latest_topic() {  
    
    	$topics_query = array(
    					'post_type'           => bbp_get_topic_post_type(),
    					'post_parent'         => $settings['parent_forum'],
    					'posts_per_page'      => '1',
    					'post_status'         => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ),
    					'ignore_sticky_posts' => true,
    					'no_found_rows'       => true,
    					'order'               => 'DESC'
    				);
    				
    	$lt_query = new WP_Query( $topics_query );
    		
    	while ( $lt_query->have_posts() ) {
    			
    		$lt_query->the_post();
    			$topic_id    = bbp_get_topic_id( $lt_query->post->ID );
    ?>
    <h2> Latest topic </h2>
    <h3> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink"><?php bbp_topic_title($topic_id); ?></a></h3>
    		
    <div id="bbpress-forums">
    		
    		<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
    
    	<div class="bbp-meta">
    
    		<span class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></span>
    
    		<a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id($topic_id); ?></a>
    		
    	</div><!-- .bbp-meta -->
    
    </div><!-- #post-<?php bbp_reply_id(); ?> -->
    
    <div <?php bbp_reply_class(); ?>>
    
    	<div class="bbp-reply-author">
    
    		<?php bbp_reply_author_link( array( 'post_id' => $topic_id, 'sep' => '<br />', 'show_role' => true ) ); ?>
    
    		</div><!-- .bbp-reply-author -->
    
    	<div class="bbp-reply-content">
    
    		<?php bbp_reply_content(); ?>
    
    	</div><!-- .bbp-reply-content -->
    
    </div><!-- .reply -->
    </div><!--div bbpress-forums--->
    
    	<?php
    		
    	} }

    and then on your page template add this function where you want it. I’ve wrapped it in an if is_front_page statement so it only shows on the frontpage. You night need to use is_home instead depending on how your blog is set up.

    If you want it in the body, you should put it within the content div, either before or after the loop depending if you want it at the of or bottom of the page. You may need to play a bit !

    #143256

    In reply to: No toolbar available

    Liberty
    Participant

    Hello Robin,

    I’m missing this toolbar:
    dsrgdrg

    it’s not available on my site:
    dgdfrgdr

    I have the newest versions of WordPress and bbPress and have done this steps to fix this problem but nothing happened:

    I have deleted every JavaScript and tested it. Nothing!
    I deleted the code of the function.php. Nothing!
    I deactivated every plug-in. Nothing!
    …and the CSS can’t be the fault because the toolbar is not disabled. It’s not there.

    I opened my forum for guests and created a test forum. Now you can take a look on it: http://plusthemes.de/forum/test

    Thank you so much for your answer. I try to give as much information as possible. 🙂

    #143247
    jyd44
    Participant

    You are right. Having the same requirement, I was facing the same issue (and you will discover very soon that it is not the only one !).
    As far as I understand, the integration between bbPress and BuddyPress is not fully completed. In bbPress, the user capabilities based on their role in the forums are only mapped to WP capabilities. (see for example the function bbp_current_user_can_publish_replies() or bbp_current_user_can_access_create_reply_form() (invoqued in the form-reply.php part of the bbPress theme) in bbpress/includes/users/template.php .
    My way to overcome this issue is to add my own filter on the ‘bbp_current_user_can_publish_replies’ filter and to check in this function if the current_user is a member of the group associated with the root_forum (the one associated with the group) of the topic currently displayed.

    below my function:

    function my_bbp_current_user_can_publish_replies($input)
    	{
    		$topic_id = bbp_topic_id();
    		$root_forum = alsb_get_post_root_forum($topic_id);
    		$groups_id = bbp_get_forum_group_ids($root_forum);
    		$user_id = get_current_user_id();
    		if (groups_is_user_admin( $user_id, $groups_id[0])
    			|| groups_is_user_mod ($user_id, $groups_id[0]) 
    				|| groups_is_user_member ($user_id, $groups_id[0]) )
    			return true;
    		else return false;
    	}
    
    whith the help function
     	function alsb_get_post_root_forum($post_id)
    	{
    		$post = get_post($post_id);
    		do
    		{
    			$post = get_post($post->post_parent);
    		}while ($post->post_parent != 0);
    		return $post->ID;
    	}
    

    another way is perhaps to setup a filter on the ‘user_has_cap’ WP filter, but I did not test it.
    good luck for your integration !

    #143241
    surangaudimedia
    Participant

    @robin-w
    the latest topic and content. I dont need toshow replies. Just the last thread’s title and content. Thanks

    #143236
    Robin W
    Moderator

    Do you want :

    just the latest reply (or topic is no replies)
    The title or all the content?

Viewing 25 results - 4,926 through 4,950 (of 11,591 total)
Skip to toolbar