Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,726 through 19,750 (of 64,729 total)
  • Author
    Search Results
  • #149117

    In reply to: Deleting Log of edits

    Robin W
    Moderator

    try this in your style.css

    `/* =Revisions
    ————————————————————– */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    Display : none !important ;
    }

    #149116
    Robkk
    Moderator

    ok i havent gone too much far into this as you may think though

    but you can try it as it is now to test it out

    these are both in my functions.php in my child theme
    im just showing the reply link on both topics and replies, i have gd bbpress tools so there is also a quote link

    //change admin links displayed
    function change_admin_links ($r) {
    $r['links'] = apply_filters( 'rw_reply_admin_links', array(
    				'reply'  => bbp_get_reply_to_link ( $r )
    				
    			), $r['id'] );
    return $r['links'] ;
    }
    add_filter ('bbp_reply_admin_links', 'change_admin_links' ) ;
    
    //change admin links displayed
    function change_topic_admin_links ($r) {
    $r['links'] = apply_filters( 'rw_topic_admin_links', array(
    				'reply'  => bbp_get_topic_reply_link ( $r )
    				
    			), $r['id'] );
    return $r['links'] ;
    }
    add_filter ('bbp_topic_admin_links', 'change_topic_admin_links' ) ;

    I have this in my loop-single-reply.php at the bottom ,

    i havent added all the admin links, plus this doesnt work on replies it only works on the topic , i need to use a jquery on click function instead of all css dropdown menu

    <div class="dropdown" id="dropdown">
    				<input type="checkbox" id="drop1" />
            <label for="drop1" class="dropdown_button">Topic Tools</label>
            <ul class="dropdown_content">
                <li class="active"></li>
                  <li> <?php echo bbp_get_reply_edit_link(); ?></li>
                  <li><?php echo bbp_get_reply_spam_link(); ?></li>
                  <li><?php echo bbp_get_reply_move_link(); ?></li>
            </ul>
            
        </div>

    here is all my custom css , i have this in my themes custom css plugin

    .dropdown {
        display: inline-block;
        margin: 0px 10px;
        position: relative;
      float:right;
    }
    
    .dropdown .dropdown_button {
        cursor: pointer;
        width: auto;
        display: inline-block;
        padding: 2px 10px;
        border: 1px solid #AAA;
        border-radius: 0px;
        font-weight: bold;
        color: #222;
        line-height: 16px;
        text-decoration: none !important;
        background: none repeat scroll 0% 0% #FFF;
    }
    
    .dropdown input[type="checkbox"]:checked + .dropdown_button {
        border-width: 1px;
        border-style: solid;
        color: #222;
        background: #FFF;
    }
    
    .dropdown input[type="checkbox"] + .dropdown_button .arrow {
        display: inline-block;
        width: 0px;
        height: 0px;
        border-top: 5px solid #6B7FA7;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
    }
    
    .dropdown input[type="checkbox"]:checked + .dropdown_button .arrow { border-color: white transparent transparent transparent }
    
    .dropdown .dropdown_content {
        position: absolute;
        border: 1px solid #777;
        padding: 0px;
        background: white;
        margin: 0;
        display: none;
    }
    
    .dropdown .dropdown_content li {
        list-style: none outside none;
        margin-left: 0px;
        line-height: 16px;
        border-top: 1px solid #FFF;
        border-bottom: 1px solid #FFF;
        margin-top: 2px;
        margin-bottom: 2px;
        width: 86px;
    }
    
    .dropdown .dropdown_content li:hover {
        background: #999;
      color:#222;
    }
    
    .dropdown .dropdown_content li a {
        display: block;
        padding: 2px 15px;
        color: #222;
        text-decoration: none !important;
        white-space: nowrap;
        background: #ffffff;
        border-bottom: 1px solid #999;
    }
    
    .dropdown .dropdown_content li:hover a {
        color: #222;
        text-decoration: none !important;
      background:#999;
    }
    
    .dropdown input[type="checkbox"]:checked ~ .dropdown_content { display: block }
    
    .dropdown input[type="checkbox"] { display: none }
    #149114

    In reply to: Deleting Log of edits

    Robin W
    Moderator

    yes, you have a choice

    1. You could put it in your style.css – that is a file called style.css that you will find in your theme

    wp-content/themes/%yourthemename%/stle.css

    where %yourthemename% is the name of your theme

    Just drop it at the end.

    This will then override the code in bbpress.css, and is the easiest way

    2. Otherwise you can create a directory called css in your theme

    /wp-content/themes/%yourthemename%/css

    and copy the existing bbpress.css across to get

    /wp-content/themes/%yourthemename%/css/bbpress.css

    but here’s the thing, you then need to find and edit the existing display lines, just adding code will give two sets, and your maybe won’t take preference

    the lines you are looking start at line 904 and say

    /* =Revisions
    -------------------------------------------------------------- */
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    	border-top: 1px dotted #ddd;
    	width: 100%;
    	margin: 0;
    	padding: 8px 0 0 0;
    	font-size: 11px;
    	color: #aaa;
    }
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li {
    	list-style-type: none;
    }
    
    

    you just need to edit that to

    `/* =Revisions
    ————————————————————– */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    Display : none ;
    }

    come back if we can help further

    #149113
    kimberlyywp
    Participant

    I found this from an old post
    “And for those that just want to hide the code edit your theme css and use this:

    .bbp-reply-revision-log {

    display: none !important;

    }”

    But I can’t figure out where to put that code, I have tried bbpress.css file but it didn’t work, can anyone point me in the right direction? Thanks in advance!

    #149112
    Robkk
    Moderator

    Thanks so much. I am not an expert in this, so I will wait until Sunday.

    haha im no expert , im just some guy helping out people on here the best i can

    -Login/Register buttons above the forum

    quicksprout has ajax login and its also in a popup window

    so if you want that install wp-modal-login

    after that copy your content-archive-forum.php to your child theme

    and make sure that is has this code inside of it , heres a snippet

    <?php do_action( 'bbp_template_before_forums_index' ); ?>
    
    	<?php if ( bbp_has_forums() ) : ?>
    	
    	<?php if ( is_user_logged_in() ) {
    
    } else { ?>
    
    <div class="bbp-modal-login"> 
    
     <?php add_modal_login_button( $login_text = 'Login', $logout_text = 'Logout', $logout_url = 'http://sitename', $show_admin = true ); ?>
     
     </div>
     
       <?php
    };
    ?>
    
    		<?php bbp_get_template_part( 'loop',     'forums'    ); ?>
    
    	<?php else : ?>
    
    		<?php bbp_get_template_part( 'feedback', 'no-forums' ); ?>
    
    	<?php endif; ?>

    style the link to whatever you want with custom css
    here is a template

    .bbp-modal-login a.login.wpml-btn.login-window {
    float: left;
    padding:5px;
    color:#fff;
    background:#333; 
    text-decoration:none;
    text-transform:uppercase;  
    }

    and like i said you could also do the shortcode version too

    nice round images of members

    i saw your site , and see you already have this

    images for read/unread posts

    if you want the images here

    the whole functionality of the unread posts on their forums is like 2 unread posts plugins from the wordpress plugin respository mixed together

    https://wordpress.org/plugins/bbpress-mark-as-read/
    https://wordpress.org/plugins/bbpress-unread-posts/

    i cant really help on this

    statistics at the bottom

    this should be the bottom of your content-archive-forum.php

    	<?php do_action( 'bbp_template_after_forums_index' ); ?>
    
    </div>
    
    <?php echo do_shortcode("[bbp-stats]"); ?>

    to style the bbpress statistics shortcode put content-statistics.php into your child theme

    this should be your entire content-statistics.php

    <?php
    
    /**
     * Statistics Content Part
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    // Get the statistics
    $stats = bbp_get_statistics(); ?>
    
    	<?php do_action( 'bbp_before_statistics' ); ?>
    	
    	<div class="bbp-stats">
    	
    	<ul class="bbp_stats">
    
    	<li> <?php _e( 'Users', 'bbpress' ); ?></dt>
    		<strong><?php echo esc_html( $stats['user_count'] ); ?></strong></li> 
    
    	<li> <?php _e( 'Topics', 'bbpress' ); ?></dt>
    		<strong><?php echo esc_html( $stats['topic_count'] ); ?></strong></li> 
    
    	<li> <?php _e( 'Replies', 'bbpress' ); ?></dt>
    
    		<strong><?php echo esc_html( $stats['reply_count'] ); ?></strong></li> 
    		
    		 </ul>
    		 
    		 </div>
    		
    	<?php do_action( 'bbp_after_statistics' ); ?>
    
    </dl>
    
    <?php unset( $stats );

    add this for custom css

    .bbp-stats .bbp_stats {
        list-style-type: none;
        display: block;
        text-align: center;
        margin-left: 0px;
        float: none;
    }
    
    .bbp-stats .bbp_stats li {
        margin: 0;
        display: inline-block;
        padding: 5px;
    }

    “New Thread button”

    this is just a drop link , example of a drop link would be to put #new-post at the end of the url of this topic and you will see that you will end up at the new topic/reply form

    copy content-archive-topic.php into your child theme right now then

    ILL tell you the rest when im done , because right now im having some trouble

    Robkk
    Moderator

    just checked it out and i see that what its showing is buddypress activity streams

    what i thought it could have was just bbpress forum replies showing up in google , cause for that all you have to fix that was noindex bbpress replies post type in a seo plugin like yoast.

    but since this involves buddypress , i suggest you make a topic at buddypress.org

    https://buddypress.org/support/

    tell them your theme
    if you have any seo plugins tell them that too

    #149092
    Pavle123
    Participant

    Hello,

    I am having troubles with the BuddyPress/BBpress login on my forum.
    Whenever a user that is not admin, tries to log in, he is being redirected to the homepage. When he returns to the forum, his login session expires.

    Please check it here to understand what I mean
    http://cardzreview.com/forums

    You can use this login :
    Name : test
    Password : test

    I got few complaints from the users, and I think its annoying as well to be honest.
    So its affecting all users except for the admin.

    Any idea how to fix this?

    #149087
    Stephen Edgar
    Keymaster

    I just added a patch for this, so unless someone comes with a reason to not include this it will be included in bbPress 2.6.

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

    #149074
    localmarketingus
    Participant

    Because on a ‘conatact form” you can’t enter html or code like in bbpress.. thats why i asked the question.

    #149068
    Robkk
    Moderator

    For login and register you could create individual pages for login and registration , you could use the login and register form short codes by bbpress and put them in your pages or if you use theme my login or something similar that creates custom frontend membership pages use that. And put an HTML link to both pages above loop-forums.php or above the call of loop-forums.php in archive-forum.php

    Round avatar images use border-radius:50%; or something like that , you could probably right click inspect element target the avatar image and get the CSS code right off of quick sprout and put that in your custom css

    Unread posts you have to wait til its sunday (time I will be home to see my desktop)

    Stats at bottom you could use the bbpress stats short code , if you want it in your templates use the php do shortcode function with the bbpress stats short code

    I don’t know how the new thread button fuctions , but you could create a page let’s say “new topic” and link to it the same as the login/register buttons

    #149062

    In reply to: BBPress advise wanted

    Stephen Edgar
    Keymaster

    Cool, most of things you mention can be done, some are ready to go, others need a few tweaks and custom PHP code to achieve the results.

    1. create login in the wp home page for BBpress

    Create a WordPress page, set that as your home page, add the bbPress login/register shortcodes

    2. allow only offline registered members to be registered as BBpress users

    Not quite sure what you mean here, you can set your forums to ‘private’ so only logged in registered members can see or use the forums.

    3. enable/disable users, and hence their profiles

    This is more of a WordPress question than bbPress, if the member has an active and valid WordPress account then they can login. If you want to remove the user and their associated profile then you’d delete the actual WordPress user which inherently flows down to bbPress.

    4. allow users to create profiles with their filmography and perhaps a vimeo embed or two

    With a few minor tweaks/customisations you could achieve this, you may also want to take a look at BuddyPress’ Extended profiles which will let you do this also.

    5. can users have simple URLs for their profiles, like perhaps example.com/username?

    Yep, this is built in, here’s yours here on bbpress.org https://bbpress.org/forums/profile/parambyte/

    #149060
    themefurnace
    Participant

    Brilliant – thanks a lot 🙂

    Im moving the forum designerstalk.com over to bbPress and plan to do a write-up on WPLift about it,
    If you cant fix it, then I could possibly upgrade to VB4 and then do the import but Id prefer to do it from version 3 if at all possible.

    #149056
    Stephen Edgar
    Keymaster

    I haven’t looked at what you have above closely, nor have I looked closely at the changes @jjj made recently but we just changed some of the logic behind trash, untrash, spam and unspam for topics and replies.

    Details and links to changesets are in the following ticket if you want to take a look as it appears I have not really looked at anything 😉

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

    If you don’t see anything in that ticket or related to what your looking for please create a new ticket and I promise I will look 😉

    #149055
    Leonyipa
    Participant

    thanks, where should I put the
    ntwb_bbpress_custom_kses_allowed_tags.php
    in?

    #149053
    Stephen Edgar
    Keymaster

    I have hardly dug into bbPress 1.x and am not familiar with the code base at all.

    How about grab the latest bbPress v1.2 and create a test/demo site on your local PC with a backup your database, things should theoretically work though you ‘d have to make sure the database upgrade routine was triggered of course.

    That should then give you a working version with your database to then start comparing the base code of your test site vs your live site.

    That said, what is stopping you from upgrading? I am presuming here that there is something stopping you from installing WordPress and upgrading bbPress 1.x to the v2.x plugin?

    #149052
    Stephen Edgar
    Keymaster

    Hmmmm, that’s no good, I’ll take a look in the next few days, I’m busy as making a load of importer improvements so I’ll test these with vBulletin 3 at the same time.

    Also this reported in this topic also, so maybe subscribe to that topic also in case I write omething there and forget here 😉

    import from vbulletin3 and no replies

    Pavle123
    Participant

    Hi guys,

    Anyone has a clue on how to make a forum similar to this one http://www.quicksprout.com/forum/

    My current forum is http://www.cardzreview.com/forums/ and it sucks.

    Any help is highly appreciated.

    #149043
    Stephen Edgar
    Keymaster

    Create a page or two and use the bbPress shortcodes

    https://codex.bbpress.org/shortcodes/
    https://codex.bbpress.org/widgets/

    #149042
    Stephen Edgar
    Keymaster

    That is up to the the forum software you choose to use, all our source code is open source and any forum software package is free to create an import tool to import from bbPress, we do the same, we import from many forum packages but it is up to each application to add support if they want new customers to be able to import from bbPress, I know a few of the common ones do.

    Stephen Edgar
    Keymaster

    You would need to go to bbPress settings and uncheck ‘auto role’ as when a user logs in they are automatically given the role set in this setting.

    #149040
    Stephen Edgar
    Keymaster

    I just had a play with this and you are correct, it works for administrators/keymasters but not standard ‘participants’ or ‘anonymous’ users.

    Grab this custom KSES plugin I have here https://gist.github.com/ntwb/7797990

    I just added class to to the pre section as that is where the issue is, pre is allowed but <pre class="whatever"> is not.

    Double check any of the other allowed tags and/or remove ones you don’t want/need.

    Edit: I just double checked against the default bbPress allowed tags and all are there, you may or may not want the table sections, up to you. I also made a note to add class as an allowed tag of pre for bbPress core, I can’t think of a reason for us not to add this by default.

    #149039
    Stephen Edgar
    Keymaster

    I cannot reproduce this issue with bbPress 2.5.4 and WooSidebars 1.3.1

    For example replacing the ‘Primary Sidebar’ with a new WooSidebar for the bbPress ‘Topic Archive’ and ‘Each individual topic’.

    Typically issues where people have had issue with ‘the_title’ usually revolves around a theme issue, try using the same configuration you were trying but test it with the Twenty Fourteen theme.

    Anything else to help reproduce the issues you posted I’m more than happy to take a look but will need some detailed reproduction steps so I can see what your seing.

    #149037
    Stephen Edgar
    Keymaster

    @leonyipa Don’t get you bb’s confused, what you wrote way up there and quoted here:

    And I paste the code into: /public_html/wp-content/themes/bp-default/functions.php

    That is the BuddyPress Theme ‘BP Default’, nothing to do with bbPress so make sure you are updating the correct files 😉

    #149033

    In reply to: Long Query Error

    Stephen Edgar
    Keymaster

    This is just a warning notice, not so much a functional error, due to the amount of roles you have which is combined by WordPress, bbPress, Shop and S2 Member the query is over 1540 charatacters in length (1547 to be exact)

    You should contact your webhost for the best advice guidance on what MySQL settings they have configured for your hosting setup, they may have an option to increase this number for you.

    (Apologies, your topic was originally caught by Akismet as spam)

    #149031
    Robin W
    Moderator
Viewing 25 results - 19,726 through 19,750 (of 64,729 total)
Skip to toolbar