Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,351 through 20,375 (of 64,534 total)
  • Author
    Search Results
  • Robin W
    Moderator

    ok, quick and messy way (based on some code I did elsewhere)

    create a directory in your theme root called bbpress

    wp-content/themes/%your-theme-name%/bbpress

    copy

    wp-content/plugins/bbpress/templates/default/bbpress

    loop-replies.php
    and
    loop-single-reply.php

    into this directory

    bbpress will now use these files instead

    in loop-replies change from line 40 to

    <li class="bbp-body">
    
    		<?php if ( bbp_thread_replies() ) : ?>
    
    			<?php bbp_list_replies(); ?>
    			
    			
    		<?php else : ?>
    			<?php global $countr ;
    			$countr=0 ; ?>
    		
    			<?php while ( bbp_replies() ) : bbp_the_reply(); ?>
    			
    			<?php 
    			$countr ++ ; 
    			
    			<?php bbp_get_template_part( 'loop', 'single-reply' ); ?>
    
    			<?php endwhile; ?>
    
    

    This is basically just putting a count into this, so that we can see that the topic is count 0

    then in loop-single-reply change line 45 to read

    <?php if ($countr !=0) bbp_reply_author_link( array( ‘sep’ => ‘<br />’, ‘show_role’ => true ) ); ?>

    I’ve not tested this, but you should be able to get it to work.

    Jerry
    Participant

    If anyone is able to give me a hand on this, one note. I’ve tried modifying content-single-topic-lead.php as per the codex. That did not work. My next route is to try modifying something within buddypress, which I have installed. Perhaps something in there is preventing these changes within bbpress? Grasping at straws at this point.

    #147111
    Jerry
    Participant

    @robin-w, can you please help me with another issue I am having? Here is the link to my posted question:

    Is it possible to remove topic-author, but keep reply-authors

    demonboy
    Participant

    A slightly different question to the last one about visibility. I’d like to make the one private forum’s TITLE and TOPIC COUNT visibile to everyone. If they try and click on it, they’re taken to a page which tells them it’s members only (that part I’ve got covered).

    I thought when I first installed bbpress this was actually the default setting but when I log out I don’t see the forum title. Have I inadvertently changed a setting whilst piddling around with plugins, or did I just imagine it? Is this at all possible?

    #147102

    In reply to: Newby a little lost

    kowarler
    Participant

    Don’t suppose there’s a sample bbpress forum that can be imported into one’s own bbpress pages is there?

    I know one-size fits all wouldn’t work as everyone wants different things, but if there was a few to choose from, it would help complete newby’s (like myself)!

    Off to re-read section 8 on how to setup page width, I’m sure after ten read-through’s it might start making sense to me (can’t remember how I got to go to full page)!?

    I will persevere!

    #147101
    Robin W
    Moderator

    It’s not listed as one that is known to be compatible with bbpress

    http://themeforest.net/collections/2997867-bbpress-compatible-themes

    Sorry but you’ll need to contact the theme author for a fix.

    #147098

    In reply to: Missing Topic Intro

    southcot
    Participant

    Yes it’s the same issue. I didn’t understand the reference you made to the plug-in author, sorry. Not being conversant with the conventions I assumed you were still talking about the bbpress author. I’m sure I could have been more switched on but perhaps replies to in this forum could make less of an assumption about the degree of tech literacy us ordinary users have?

    I’m now completely at a loss as to what the link:-

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

    … should convey to me?

    #147096

    In reply to: Missing Topic Intro

    southcot
    Participant

    Don’t understand above, Stephan Edgar wrote:-

    “It looks like ‘however’ all the things on your site are working it is making the topic ‘private’

    The good thing is we will have this fixed for bbPress 2.6”

    Where in the thread does it say this is a UAM issue?

    #147094
    Robin W
    Moderator

    Integration is not an option for us, as explained in my original post.

    was just trying to help by giving you a test site that you could fix the issue in – only an option 🙂

    therefore yes you are doing wp and bbpress on a sub-domain, should work quite easily !

    #147093
    Robin W
    Moderator

    Do you want me to include the bbpress custom fields code?

    yes please !

    fumbling
    Participant

    Hi there! I am using bbpress v 2.5.3 and wordpress v 3.9.1.
    I would like to use an email for notifications from the forum, that is different then the one I’ve setup in wordpress settings. Is this possible? Its just different people in our organization will deal with the forum, and others with support on the contact page.
    Any help would greatly be appreciated!!!

    http://fumblingfitnesscom.fatcow.com/test/wordpress/

    #147088
    Stephen Edgar
    Keymaster

    The WordPress WXR Export/Import does include all the post meta, it includes everything that bbPress needs except for some idiosyncrasies for users such as bbPress roles and passwords as I outlined in the ticket.

    #147086
    Stephen Edgar
    Keymaster

    Per my reply here: https://bbpress.org/forums/topic/migrating-from-one-bbpress-installation-to-another/#post-147085

    I have just created a ticket on Trac to add a bbPress 2.x to bbPress 2.x importer.

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

    I have no idea why I had never thought of, or had mentioned or requested previously to include this. It should be pretty quick and easy to do also.

    #147085
    Stephen Edgar
    Keymaster

    I have just created a ticket on Trac to add a bbPress 2.x to bbPress 2.x importer.
    https://bbpress.trac.wordpress.org/ticket/2605

    I have no idea why I had never thought of, or had mentioned or requested previously to include this. It should be pretty quick and easy to do also.

    #147084
    Stephen Edgar
    Keymaster

    The ‘Recent Topics’ widget even though it can include ‘Recent Replies’ the widget itself only outputs topic links. The ‘Recent Replies’ widget does link to the most recent reply id.

    I also read your comments on the Trac tickets, we will get the widgets updated, the performance improvements we are making for bbPress 2.6 will most likely affect the widgets also, so we will take a look at the widget tickets at the same time.

    #147083
    TrishaM
    Participant

    Hi Robin,

    Thanks for the reply! Integration is not an option for us, as explained in my original post.

    The reason I posted the question is that the current version of bbPress – unlike the version we started with – is now a “plugin” that uses the wp_ tables, whereas before it had it’s own folder structure, themes, plugins, etc. But NOW when installing bbPress as a Stand Alone forum, it sounds like we have to install WP somewhere first and then add the plugin? I just wanted to be sure there wasn’t some other method to follow when you’re *not* integrating it into an existing WP-based site.

    #147082
    Jerry
    Participant

    No problem. I found out that I did not need to create that extra function after all. All I had to do was place ‘bbp_topic_content’ in the ajax function. Here is the javascript. I put more code below this.

    <script>
          $(function() {
          $( "#dialog" ).dialog({height: 550, width: 450});
            $( ".submit" ).click(function(){
            $.ajax({
             type: "POST",
             url: 'review-meta.php',
             async:true,
             dataType: 'json',
             //assign values to the variables to be passed to the server via data, according to their B position
             //within the foreach array. See script within loop for jquery window to see how B is derived.
             data: { B : B, cover : b_cover[B], coverSmall : b_cover_small[B], title : b_title[B], author : b_author[B], published : b_published[B],
             ISBN : b_ISBN[B], description : b_description[B], pages : b_pages[B], publisher : b_publisher[B]},
             success: function(data)
                 {
                 //identify the variables for unique handing on the server side, this is
                 //how the book data gets to the input fields for bbpress forums
                 $("textarea[name='bookCover']").val(data.cover);
                 $("input[name='bookCoverSmall']").val(data.coverSmall);
                 $("input[name='bbp_topic_title']").val(data.title);
                 $("input[name='bookAuthor']").val(data.author);
                 $("input[name='bookPublished']").val(data.published);
                 //$("textarea[name='bookDescription']").val(data.description);
                 $("input[name='bookPages']").val(data.pages);
                 $("input[name='bookPublisher']").val(data.publisher);
                 $("input[name='bookISBN']").val(data.ISBN);
                 $("textarea[name='bbp_topic_content']").val(data.description);
                 //alert(B);
                 },
                 //error: function(errorThrown){
                 //alert('error');
                 //},
                 });
          $( "#dialog" ).dialog( "close" );
          });  });
    </script> 

    Here’s how I did variable assignment in a different script, located within the loop where I am generating results. I did not include all the variable as this is long. Also, I am wondering if I could have done some type of auto-indexing instead of having to list each result. Luckily there are only 10, otherwise this would have been crazy.

    $( ".submit" ).click(function(){
                //get the id number of the button the user selects, which is indexed for each result
                //the variable B is then decremented 1 from id because javascript arrays begin with [0]
                if(this.id.indexOf('select')>-1) {var id = (this.id.split(" "))[1]; console.log(id);}
                B = id - 1;   });
                //create an array for all 10 results. There is probably a cleaner way to do this
                var b_cover = [<?php echo json_encode($b_cover[1]); ?>,<?php echo json_encode($b_cover[2]); ?>,<?php echo json_encode($b_cover[3]); ?>,<?php echo json_encode($b_cover[4]); ?>,
                <?php echo json_encode($b_cover[5]); ?>,<?php echo json_encode($b_cover[6]); ?>,<?php echo json_encode($b_cover[7]); ?>,<?php echo json_encode($b_cover[8]); ?>,
                <?php echo json_encode($b_cover[9]); ?>,<?php echo json_encode($b_cover[10]); ?>];
                //this is the javascript foreach that stores the array values 0 to 9
                b_cover.forEach(function(entry){console.log(entry);});
                
                var b_title = [<?php echo json_encode($b_title[1]); ?>,<?php echo json_encode($b_title[2]); ?>,<?php echo json_encode($b_title[3]); ?>,
                <?php echo json_encode($b_title[4]); ?>,<?php echo json_encode($b_title[5]); ?>,<?php echo json_encode($b_title[6]); ?>,
                <?php echo json_encode($b_title[7]); ?>,<?php echo json_encode($b_title[8]); ?>,<?php echo json_encode($b_title[9]); ?>,<?php echo json_encode($b_title[10]); ?>];
                b_title.forEach(function(entry){console.log(entry);});

    Do you want me to include the bbpress custom fields code?

    Jerry
    Participant

    I am using themes and modifying bbpress.css. I figured out how to remove the roles of people making posts. I want to remove the topic authors only, but keep all authors of replies. Here are the changes I made to bbpress.css, which was to put “dislay: none;” under the forum and topic authors, but that has not worked.

    #bbpress-forums div.bbp-forum-author,
    #bbpress-forums div.bbp-topic-author {
      display: none;
    }
    #bbpress-forums div.bbp-reply-author {
    	float: left;
    	text-align: center;
    	width: 115px;
    }
    
    #bbpress-forums div.bbp-forum-author img.avatar,
    #bbpress-forums div.bbp-topic-author img.avatar {
      display: none;
    }
    #bbpress-forums div.bbp-reply-author img.avatar {
    	border: none;
    	max-width: 80px;
    	padding: 0;
    	margin: 12px auto 0 auto;
    	float: none;
    }
    
    #bbpress-forums div.bbp-forum-author a.bbp-author-name,
    #bbpress-forums div.bbp-topic-author a.bbp-author-name {
      display: none;
    }
    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
    	margin: 0 12px;
    	word-break: break-word;
    	display: inline-block;
    }
    
    #bbpress-forums div.bbp-topic-author a.bbp-author-name {
      display: none;
    }
    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
    	clear: left;
    	display: block;
    }
    
    #bbpress-forums div.bbp-forum-author .bbp-author-role,
    #bbpress-forums div.bbp-topic-author .bbp-author-role,
    #bbpress-forums div.bbp-reply-author .bbp-author-role {
      display: none;
    //	font-size: 11px;
    //	font-style: italic;
    }
    
    #bbpress-forums li.bbp-header .bbp-search-author,
    #bbpress-forums li.bbp-footer .bbp-search-author,
    #bbpress-forums li.bbp-header .bbp-forum-author,
    #bbpress-forums li.bbp-footer .bbp-forum-author,
    #bbpress-forums li.bbp-header .bbp-topic-author,
    #bbpress-forums li.bbp-footer .bbp-topic-author {
      display: none;
    }

    The only way I have found to remove the topic author is to insert “display: none;” under the topic-reply authors, but that removes the topic-reply authors as well, which I don’t want to do. Perhaps I need to get into a php file to do this? If so, can someone direct me to the correct file? Thanks.

    #147079
    Bolder Elements
    Participant

    Anybody tried this recently? I got my hopes up when I saw this post, however when I try to export using the plugin suggested, I receive these error messages:

    https://github.com/pippinsplugins/bbPress-Export-and-Import/issues/2

    All I wanted to do was move from one install to another 🙁

    #147077
    Bolder Elements
    Participant

    I created a second wordpress site on my multi-site install of WordPress. All I want to do is copy everything, exactly as it is, from one site to the next. I’ve tried about 5 times now to do this and everytime something goes horribly wrong. I tried importing everything and then using the forum tools to reset the count thinking that would work, but all it did was remove every post from being assigned.

    Depending on how I’ve tried to import them, sometimes forums are not linked to the appropriate category, but every time only a small percentage of topics & replies are appropriately linked. Why does this happen?! Why is it so difficult tomove bbPress from one site to another? Does anyone have a way that would work better than using the WordPress Import/Export feature?

    Nitro187
    Participant

    I just installed bbpress, and for some reason, my submit and reply buttons do not work. I activate the two thousand twelve theme, and they work… but not with the theme my entire site is based around, which right now is REPlay (http://themeforest.net/item/replay-responsive-music-wordpress-theme/3172436?WT.ac=portfolio_item&WT.z_author=themex)

    The button is there… it just doesn’t do anything when you click it. Anyone here know what I can do to troubleshoot this?

    Thank you very much!

    #147070
    yoosuke
    Participant

    I really appreciate your response!
    bbPress support is great!

    I’ve worked for about 3years as a Web designer.
    So, I can understand HTML and CSS3,
    and how to edit and ftp files as well.

    For php, I learned the just basics before.
    So, I can read basic php codes,
    but I can’t write php codes by my own.

    Thanks for telling URL “Shorten freshness wording”.
    The codes should be helpful for me.
    However, I have no idea to customize the codes to get to my Two goals…

    #147066

    In reply to: Newby a little lost

    Robin W
    Moderator

    Now you’ve got it full width, you may decide that actually you want a sidebar, but one for your forum that includes logon, register etc.

    see

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

    #147064

    In reply to: Sticky thread Issues

    Robin W
    Moderator

    yes,

    add this to your functions file

    //This function adds the words sticky before the title
    function bbp_sticky_display () {
    		if(bbp_is_topic_sticky()) {
    		echo '<span class="sticky-display">' ;
    		echo 'Sticky Topic' ; 
    		echo '</span>' ;
    		}
    	}
    		
    add_action ('bbp_theme_before_topic_title', 'bbp_sticky_display') ;

    and this to your style.css

    #bbpress-forums .sticky-display{
    background: none repeat scroll 0 0 #5BB75B;
    color: #FFFFFF;
    display: in-line;
    padding: 5px;
    }

    you can change the words and styling to suit !

    #147063
    elaborate
    Participant

    is this what you are describing as the template file? and which file is that and is it a php file?

    Let’s start with this. The file is a BuddyPress template file called settings.php. It’s wiped clear of any code though. You can find it in buddypress/bp-templates/bp-legacy/buddypress/members/single if you have downloaded BuddyPress.

    This template file controls the BuddyPress user Settings page and I am trying to turn it into a working copy of the bbPress user Edit page.

    ok, so if I understand you correctly, you are trying to have the links that are … and place them on a buddypress page?

    I can’t figure out why you’re listing the URLs you mentioned in above quote again. I’m really sorry if I’m missing something, but I feel like I need to reaffirm that this is not what I’m doing.

Viewing 25 results - 20,351 through 20,375 (of 64,534 total)
Skip to toolbar