Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,351 through 20,375 (of 64,517 total)
  • Author
    Search Results
  • 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.

    #147056
    Robin W
    Moderator

    ok, you could just call each by their url

    or if you know the username you could call the form from within a page using the ‘insert php’ plugin

    https://wordpress.org/plugins/insert-php/

    then

    [insert_php]
    $user_id = whatever you used to get the user-id
    $filelocation=”wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php”;
    include($_server[‘DOCUMENT_ROOT’].$filelocation);
    [/insert_php]

    #147054

    In reply to: Newby a little lost

    Robin W
    Moderator

    You nee to get bbpress to use a full width page template

    see

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

    #147052
    Robin W
    Moderator

    There should be no reason they won’t integrate.

    However the first thing you should do is create a test site see

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

    The you can do everything without any pain !

    From what you describe, if you really want to go to a separate route, then the simplest route is for you to have two domains the primary and a subdomain. On the subdomain you would install wordpress, and the same theme as your main site and then add bbpress, put the files in there. As you then say, you’d just call this subdomain from your main site.

    #147051
    Robin W
    Moderator

    you will need to filter two functions

    1. bbp_get_forum_freshness_link

    2. You will need to amend the freshness function

    Layout and functionality – Examples you can use

    I have no idea how into coding you are, so come back and let me know so that I can help you further

    How much php do you know
    do you know how to edit files
    do you know how to ftp

    yoosuke
    Participant

    Hello from Japan!
    bbpress is great!

    Well, I’m in trouble.
    so I would appreciate if you help me.

    1.
    By default, an anchor tag is given to texts of “freshness“. like…

    <a>2hours, 1minute ago</a>

    To remove the anchor tag from freshness texts, which files should I modify ?
    Could you please tell me a path to get to the file?

    2.
    By default, a comma is used in display of “freshness”. like..

    2hours,(←here!) 1minute ago

    I want to also remove the comma.
    In this case, a file to be modified will be the same as the file described above?

    Thanks for reading,
    and I’m looking forward to your reply…

    WordPress: ver3.9.1
    bbPress: ver2.5.3

    #147045
    TrishaM
    Participant

    I’m looking for advice on how to keep bbPress separate from my primary WP installation while still using the newest version of bbPress…..I think I know what to do but want to be sure I do it right before I start.

    My plan is to create a fresh, empty installation of WP, add the bbPress Plugin, and then import my old bb_ tables, which I know will then go into the wp_posts table in the new install – I just don’t want them co-mingled with the content on my primary site.

    I can then point a subdomain of my primary site (forums.mysite.com) to this install and just link to it from my site.

    To head off questions and just get advice, the reason I want them separate is that I tried integrating the forum with the site (unintentionally) last year when I updated the bbPress plugin and found that it was no longer stand-alone. It created a major catastrophe that took me months to recover from and get back to the way it was previously, and both my site and forum were offline for an unacceptable length of time…..I just never want to go through that level of frustration and work again, as much as I love bbPress I’d rather use some other forum software to keep things separated if I have to.

    BUT that said I want to keep my forum software up-to-date and I know that means using the current version.

    Any advice, thoughts, suggestions would be greatly appreciated.

    #147044
    Jerry
    Participant
    #147042
    artgeek
    Participant

    I’m working on a site that uses both BuddyPress and bbPress. All the BP functionality is in a community parent directory and I’d like to run bbPress out of the same, e.g.

    http://mydomain.com/community/forums

    I was able to create this page and use the bbPress shortcode to display the forum index at this location, but this doesn’t change any of the rest of the directory structure of my forums, e.g., when I click on a forum, I’m redirected to

    http://mydomain.com/forums/forum/myforumname

    The community parent directory is lost. Is there a way for me to keep all bbPress URLs under the community directory?

    Jerry
    Participant

    I put this in “pimp your press”, but now I think it belongs in the troubleshooting forum. Not certain.

    I have created custom fields for my bbpress topics, and I have learned how to auto-populate those fields when a user clicks a button. I have also learned how to auto-populate the Topic Title. I am using javascript to auto-populate the topic title. Here is how I assign the data:

    $("input[name='bbp_topic_title']").val(data.title);

    I am showing this as an example to show what I need. My question is; am I able to auto-populate the content of a new topic, much like I am doing with the title for a new topic?

    To auto-populate the content of a new topic, I assume I need to have the correct term, which I think would be ‘bbp_topic_content’? So it would look like this?

    $("input[name='bbp_topic_content']").val(data.description);

    Here are three functions I am using for custom fields:

    add_action ( 'bbp_theme_before_topic_form_content', 'bbp_extra_fields');
    function bbp_extra_fields() {
     $value = get_post_meta( bbp_get_topic_id(), 'bookCover', true);
       echo '<label for="bookCover">Book Cover URL</label><br>';
       echo "<p><input type='text' name='bookCover' value='".$value."'></p>";
    }
    add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 );
    add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 );
     
    function bbp_save_extra_fields($topic_id=0) {
      if (isset($_POST) && $_POST['bookCover']!='')
        update_post_meta( $topic_id, 'bookCover', $_POST['bookCover'] );
    }
    add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields');
    //add_action('bbp_template_before_main_content', 'bbp_show_extra_fields');
    function bbp_show_extra_fields() {
      $topic_id = bbp_get_topic_id();
      $valuec = get_post_meta( $topic_id, 'bookCover', true);
    }

    I am thinking that I need some sort of “add_action” to get this accomplished? Do I need to create a new function? I’ve been looking in templates.php to try and get a hint to figure this out. Any help would be GREATLY appreciated. Thanks.

    Jerry
    Participant

    I have created custom fields for my bbpress topics, and I have learned how to auto-populate those fields when a user clicks a button. I have also learned how to auto-populate the Topic Title. I am using javascript to auto-populate the topic title. Here is how I assign the data:
    $("input[name='bbp_topic_title']").val(data.title);
    I am showing this as an example to show what I need. My question is; am I able to auto-populate the content of a new topic, much like I am doing with the title for a new topic?

    To auto-populate the content of a new topic, I assume I need to have the correct term, which I think would be ‘bbp_topic_content’? So it would look like this?
    $("input[name='bbp_topic_content']").val(data.description);
    Here are three functions I am using for custom fields:

    add_action ( 'bbp_theme_before_topic_form_content', 'bbp_extra_fields');
    function bbp_extra_fields() {
     $value = get_post_meta( bbp_get_topic_id(), 'bookCover', true);
       echo '<label for="bookCover">Book Cover URL</label><br>';
       echo "<p><input type='text' name='bookCover' value='".$value."'></p>";
    }
    add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 );
    add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 );
     
    function bbp_save_extra_fields($topic_id=0) {
      if (isset($_POST) && $_POST['bookCover']!='')
        update_post_meta( $topic_id, 'bookCover', $_POST['bookCover'] );
    }
    add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields');
    //add_action('bbp_template_before_main_content', 'bbp_show_extra_fields');
    function bbp_show_extra_fields() {
      $topic_id = bbp_get_topic_id();
      $valuec = get_post_meta( $topic_id, 'bookCover', true);
    }
    

    I am thinking that I need some sort of “add_action” to get this accomplished? Do I need to create a new function? Any help would be GREATLY appreciated. Thanks.

    demonboy
    Participant

    It’s a little frustrating, Robin. In the forum I’m developing, which is an import from Simple Press, the private club (the most prominent forum of the six) needs to allows non-members to see what’s going on in order to help encourage them to join. SimplePress handled this situation just fine, but in bbpress marking it as ‘private’ prevents anyone from seeing it. As a consequence I’ve had to set new forum members to ‘spectator’ for the time being, and create a new role (using Justin’s Members plugin) for the private club members. This doesn’t solve the problem, of course.

    You can see it in action here where the Assignments Submissions forum is the members-only club. I’d like to make all the other forums public where logging in with FB, Twitter gives them immediate ‘contributor’ status, but only spectator on the Assignment Submissions forum.

    #147023
    demonboy
    Participant

    I’m sure this has been asked before but I can’t find a solution yet. I’d like to style one particular forum differently to the others, in particular all the replies in every topic. Do I use the post id or the forum name? My forum is called ‘assignments’ and the forum post id is 2881, but of course all topics within that forum have a different post id. Can’t work it out. I’ve tried variations on this:

    #bbpress-forums #post-2881 .bbp-reply-content {font-family:Verdana, Geneva, sans-serif; font-size:0.8em;}

    Any pointers?

    #147021
    inventor1
    Participant

    Ok finally fixed it, and it’s working with the plugin.
    I just added these lines for functions.php
    See the code here:

    https://bbpress.trac.wordpress.org/ticket/1478#comment:7

    #147013

    In reply to: Freshness bbpress

    Kaluh
    Participant

    this is a conversion of a phpbb forum.

    but what’s weird is that he does some correct and some incorrect.

    this problem was there from the start.
    but i fixed some of it using the forum repair tool of bbpress.

    #147010
    inventor1
    Participant

    Hi everyone!!
    I found the solution here: http://zzlatev.com/bbpress-404-header-in-users-profiles/
    Just posting in case anyone else runs into this issue!!

    #147009

    In reply to: Templating Issue

    Robin W
    Moderator

    ok, the simplest way would be as follows

    In you theme create a directory called bbpress

    ie wp-content/your-theme-name/bbpress

    The copy the following file into this

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php

    so you end up with a file

    wp-content/your-theme-name/bbpress/loop-single-forum.php

    bbpress will now sue this file instead of the default one, so then edit this file to change line 68 from

    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    

    to

    <span class="bbp-topic-freshness-author"><?php //bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?></span>
    

    If your theme is a child theme, then that will be fine. If it is a main theme, then just keep a note of this change, as you may have to repeat it on a theme update.

    #147005

    In reply to: Upload images

    Stephen Edgar
    Keymaster

    @askcdy This has nothing to do with bbPress, please post on the WordPress support forums.

    Support Forums

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