Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,676 through 12,700 (of 14,288 total)
  • @robin-w

    Moderator

    bbpress will use the default page template for the main index rather than the specific page template set in the page – so your setting in the forum page won’t apply.

    There are several ways around this, but as your plugin is a paid one, I can’t see the code to recommend the best solution.

    So first off I’d post a query onto their support site

    Outstanding Support

    they probably have come across bbpress before and will know the answer. You could tell them that bbpress uses ‘is_bbpress()’ to see if it is a bbpress page, that might help them.

    @robin-w

    Moderator

    I suspect your issue is with Easy WP SMTP 1.0.9

    there are a couple of threads on their support site about needing to change/resave settings after the upgrade to 1.0.8 that might apply to you

    https://wordpress.org/support/plugin/easy-wp-smtp

    and go to support

    @robin-w

    Moderator

    1. bbpress plugins add exactly as normal wordpress plugins

    Dashboard>plugins

    Bbpress will try and use your theme, you may want to visit the set up guides

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

    2. depending on your theme, you should see the ability to add a topic at the end of each forum.

    You can add a ‘topic’ add in your sidebar using the text widget and putting

    <a href="/add-new-topic/">Create a new topic</a>
    

    in the text

    @robin-w

    Moderator

    @robin-w

    Moderator

    can you post a link to an example?

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    great – glad you’re fixed, and thanks for the info, it will help someone in future 🙂

    @robin-w

    Moderator

    keep going, it’s fun seeing what you are doing !!

    @robin-w

    Moderator

    great – glad you’re fixed

    @robin-w

    Moderator

    Sorry, but Chrome look fine on my PC as well.

    I cannot replicate your issue !

    @robin-w

    Moderator

    looks fine on IE and Firefox on my PC viz

    snip photo snip_zpscbd115eb.jpg

    @robin-w

    Moderator

    ok lets start by seeing if this is a plugin or theme issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    what are you planning to count, topics, forums or both?

    and if you count a forum as subscribed, do you want to count all the topics within that forum as subscribed?

    the list of forums/topics subscribed to is held in usermeta under WP__bbp_subscriptions and an example would look like

    5682,13255,13098,13394,13456,13497,13550,13575,13636,13652,13669,13705,13750,13769,13620,14017,14222,14375,14469

    so it would count a forum and a topic each as 1.

    you could add a check to see which were topics and which forums and display separately.

    You’d access it using a function like

    
    $user_id = wp_get_current_user()->ID;
    $check=get_user_meta( $user_id, 'WP__bbp_subscriptions' ,false);
    some if statement here in case it's blank
    then set a counter to zero
    foreach ( $check as $count ) {
    increment the counter in here
    maybe one count if it's a topic and another if its a reply?
    }
    then carry on to a display
    

    Favorites are held in ‘WP__bbp_favorites’

    If you want some code to display the results, look at my topic count plugin

    https://wordpress.org/plugins/bbp-topic-count/

    Hope that’s sufficient to get you going to a solution, come back if you need more help

    In reply to: bbpress SQL Injection

    @robin-w

    Moderator

    @robin-w

    Moderator

    Have you fixed yourself? I cannot see anything wrong, the text in both topics and replies is all the same size.

    In reply to: Deleting Log of edits

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    can you come back and post your code for 2

    that’s why I need your to post your code, so that I can work out where it’s wrong 🙂

    @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

    @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 ?

    @robin-w

    Moderator

    so how are you displaying that sidebar – ie what makes it conditional?

    @robin-w

    Moderator

    I’ve loaded all that, my display is slightly different, but that will be styling.

    When I click any ‘topic tools’ it’s just the first topic that displays, and this does so in a stacked fashion, so I can only see the first tool.

    However, I played a bit with the loop single reply, and would the following help?

    <div class="dropdown" id="dropdown">
    				<input type="checkbox" id="drop1" />
            <label for="drop1" class="dropdown_button">Topic Tools</label>
    		<?php if (bbp_is_topic(bbp_get_reply_id()) ) { ?>
    		<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>
    		<?php } ?>
    		<?php if (bbp_is_reply(bbp_get_reply_id()) ) { ?>
    		<ul class="dropdown_content">
             <li class="active"></li>
    			<li><?php echo bbp_get_reply_spam_link(); ?></li>
                 <li><?php echo bbp_get_reply_move_link(); ?></li>
             </ul>
    		<?php } ?>
            
        </div>

    basically it adds if-topic and if reply choices

    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?

    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 ;
    }

    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

    @robin-w

    Moderator

    not quite sure what is going on in your site, but you are logged in, and the login session has not expired !

    So go to forums and login, then go back to fourums. Yes the right hand side says ‘login’ but you are still logged in, and can post topics etc. IF you then click any forum, you’ll see the correct logged in on the right hand side.

    So how are your sidebars set up?

Viewing 25 replies - 12,676 through 12,700 (of 14,288 total)