Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,601 through 19,625 (of 64,516 total)
  • Author
    Search Results
  • ubicray
    Participant

    Hi all, I think name of the topic can explain the situation I am in. Everything is updated to its latest.
    For those who want to see the an example topic that’s affected(Also comments have this):
    http://forum.gamesap.az/forums/topic/csgo-yeni-baslayanlar-ucun-qisa-m%C9%99lumat/

    I am not a magician with CSS, but when I view the source of page, I see that in that area, I can’t seem to see the beginning og </p> paragraph (closing tag is there)
    So I guess the problem is, bbpress is not giving the paragraph a proper starting point.
    Have no idea how to fix this, Would be grateful for any help

    #149153
    tmanhphuc
    Participant

    Hi,
    My website was hacked, i used wpscan (http://wpscan.org/) scan vulnerabilities

    [+] Name: bbpress – v2.5.4

    [!] Title: BBPress – Multiple Script Malformed Input Path Disclosure
    Reference: http://xforce.iss.net/xforce/xfdb/78244
    Reference: http://packetstormsecurity.com/files/116123/
    Reference: http://osvdb.org/86399
    Reference: http://www.exploit-db.com/exploits/22396/

    [!] Title: BBPress – forum.php page Parameter SQL Injection
    Reference: http://xforce.iss.net/xforce/xfdb/78244
    Reference: http://packetstormsecurity.com/files/116123/
    Reference: http://osvdb.org/86400
    Reference: http://www.exploit-db.com/exploits/22396/

    How to fix it ?

    Thanks

    #149149
    pixelnated
    Participant

    If it helps anyone this will help you see all your bbpress duplicate topics at a glance with the duplicate ID
    ** Note these are just selects so they will not delete any data **

    
    select 
    		post_type
          , post_date
          , post_title
          , post_content
          , max(id) as dup_id, 
          count(*) as dupe_count
    from 
    		wp_posts 
    where 
    		post_type in ('forum', 'topic', 'reply')
    group by 
    		post_type
          , post_date
          , post_title
          , post_content
    having count(*) > 1
    order by post_type, post_date, dup_id
    

    We can then take a variation of that and have it give us the start and end duplicate ranges for each post_type with counts of rows we expect to be impacted.

    
    select post_type, min(dup_id) as start_dup, max(dup_id) as last_dup, count(*) as total_recs
    from 
    (
    select 
    		post_type
          , post_date
          , post_title
          , post_content
          , max(id) as dup_id, 
          count(*) as dupe_count
    from 
    		wp_posts 
    where 
    		post_type in ('forum', 'topic', 'reply')
    group by 
    		post_type
          , post_date
          , post_title
          , post_content
    having count(*) > 1
    ) i
    group by post_type
    

    of course you need to verify but this should help get you on your way

    #149148
    Leonyipa
    Participant

    I am currently using CleanTalk, it’s working very good for me, 100% zero spam.
    but it only allow 14 days trial and after that, I will need to pay.

    Does anybody know any free anti-spam plugins (for BBPress) that doesn’t have Captcha?

    Thanks πŸ™‚

    #149145
    Robkk
    Moderator

    Amazing work man, thanks so much.

    your welcome πŸ˜€

    I need to figure out where to post each code in my theme,etc.

    Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?

    you copy bbpress templates into your child theme so its okay when bbpress updates, i explain exactly what template to copy and also i show you a snippet of where to put the code by the original code.

    you put custom css into anything that can handle custom css

    in bbpress.css in your child theme(you copy the original in your child theme)
    in your child themes css stylesheet
    the jetpack plugin module custom css
    a standalone custom css plugin

    #149142
    theadammcintyre
    Participant

    I’ve been trying to figure this out for several days, but can’t get my head around the error.

    Every time I create child forums or categories within a forum, they return 404 errors when clicked on, evern though they’ll display how many topics are inside said forum.

    When I convert existing forums to categories, the topics inside don’t show but the page does load.

    I’ve searched the BBPress forums for an answer and see several other threads from people having issues with 404s, but no real answers.

    Ive gone through the tools > forums and reset everything.

    I’m using standard forum permalink settings and nothing is working.

    Any help would be much appreciated.

    Thanks πŸ™‚

    #149139
    Robin W
    Moderator

    The issue is getting wordpress search to display the results in a meaningful way (ie bpress style)

    This plugin which is old claims to do this, but there is a warning that it shows private forum results, is unless all your forums are open I wouldn’t use it.

    https://wordpress.org/plugins/search-bbpress/

    Try it and see if it works

    #149137
    Pavle123
    Participant

    Robin thatΒ΄s absolutely correct.

    I was using BuddyPress login widget into my “Forum only” sidebar.
    I removed that widget and added bbPress login ,and it works.

    My theme : Genesis Sample
    Plugins used : BuddyPress, bbPress, BuddyPress Extender, BBpress Extender.

    Hope this will help someone.

    Everything works now for me. Thanks for the help.

    #149136
    Robin W
    Moderator

    ok, thanks for that, so if I understand correctly, you were using the buddypress login widget in the sidebar and that wasn’t working and are now using the bbpress login widget in the sidebar, and it now works.

    Is that correct and you are now fixed ?

    #149135
    Pavle123
    Participant

    Okay, so I figured out, but still do not understand why this works like this.

    bbpress login widget does not redirect non admins and works normally.
    BuddyPress login widget does not work and redirects to the home page, and then login session expires.

    #149133
    acornale
    Participant

    At the moment, I have a standard WordPress search box on the top of my page. It seems to return posts and pages but not bbpress forums or topics.

    I can use the bbpress shortcodes to display a forum search but I don’t want two search boxes.

    Is there a way to extend the native wordpress search so it returns posts, pages, topics and forums?

    At the moment, it seems I can search bbpress OR search wordpress posts / pages. I want to search both?

    #149132
    Pavle123
    Participant

    Wow @Robkk

    Amazing work man, thanks so much. I will need few days to set everything up.

    I need to figure out where to post each code in my theme,etc.

    Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?

    #149131
    Pavle123
    Participant

    So this is the plugin I use https://wordpress.org/plugins/genesis-simple-sidebars/

    But these sidebars are not being used for bbPress forum.

    For bbPress I use this setup by Genesis Theme.

    And not sure about conditionals (sorry) but here is the setup.

    Not sure what is causing these “login expires” thing. Would really love to solve it, as its a bit annoying to non admins (Note for admins login does not expire).

    #149126

    In reply to: Deleting Log of edits

    Robin W
    Moderator

    Ok, the code works (just retested it on my site), but the link you supplied is not using it.

    are you sure you put

    /* =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 ;
     }
    

    in

    wp-content/themes/divi/style.css

    Do you have caching software running?

    #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/

Viewing 25 results - 19,601 through 19,625 (of 64,516 total)
Skip to toolbar