Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,301 through 8,325 (of 14,231 total)
  • In reply to: This forum is empty

    @robin-w

    Moderator

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    so change line 26 from

    <?php bbp_single_forum_description(); ?>

    to

    <?php if (bbp_get_single_forum_description != 'This forum is empty.') bbp_single_forum_description(); ?>

    @robin-w

    Moderator

    This is not as easy as I thought.

    As a widget it can be shortcoded, but the version I currently have does need to do the calculation each time, which on a site with lots of forums and users could make the site slow.

    Whereabouts on the site were you thinking of – eg in sidebar, at top of each forum, within the forum list etc.

    @robin-w

    Moderator

    hmm…

    not sure what to suggest next.

    I could code a quick ‘close topic’ shortcode, but that would be beyond free – contact me via my website if interested

    http://www.rewweb.co.uk

    In reply to: Quicktags

    @robin-w

    Moderator

    bis bold
    I is italic
    B-quote puts a wordpress block around the text – exactly what is set by your theme
    Del – is delete quotes
    img is an image
    ul is an unordered list
    ol is an ordered list
    li is a list item
    code is code – stops the display from executing, just displays it
    close tags – closes all open tags

    In reply to: Login Widget problem!

    @robin-w

    Moderator

    ok, thanks glad it is working for you

    @robin-w

    Moderator

    bbpress doesn’t override permissions, and works fine on several hundred thousand sites. Sever or webpage cache is the almost certainly the culprit – why it was affecting you we will never know.

    @robin-w

    Moderator

    Once they are logged in they go back to the forum.

    went back to the forum

    sorry to keep asking , but I keep asking because I cannot fix the issue without knowing PRECISELY what someone is doing.

    what does ‘go back’ mean – if it is just hitting the browser back button, then that will always show what was there before. If they are clicking areas on the site, I need to know precisely what areas. ie after creating an account, they log in USING WHAT, and then press WHAT THINGS

    In reply to: Login Widget problem!

    @robin-w

    Moderator

    that should work, but the code is not showing up in the browser, so it is not getting loaded.

    @robin-w

    Moderator

    since you have a paid theme, it would be good to raise this with them

    @robin-w

    Moderator

    go to

    dashboard>settings>bbp style pack>not working?

    In reply to: Login Widget problem!

    @robin-w

    Moderator

    where are you putting this code ?

    @robin-w

    Moderator

    this plugin will help you style the forum pages

    bbp style pack

    @robin-w

    Moderator

    don’t know what is happening

    I’ve just looked at the core close topic code, and it just changes post_status to closed, although it goes via a whole bunch of code in a topic hander function which I haven’t been through line by line.

    Suggest you try just changing the status directly in the db, and see if that fixes. You can always change it back !

    @robin-w

    Moderator

    if they visited the page with forums on before all that

    by doing what ?

    @robin-w

    Moderator

    hmm – I can’t see anything obvious here, the fact that sticky topic is 0 says that it is not sticky.

    In any case you can just delete a sticky topic, so that shouldn’t stop it.

    However since I cannot see why there should be 4 entries, then try just deleting the sticky topic entries in postmeta and try and close again.

    If not come back and I’ll take a look at what the bbpres close function does tomorrow

    @robin-w

    Moderator

    no that’s as good amount of information

    for one of these topics that won’t close, can you give us the full post and postmeta entries. (you can blank any sensitive content)

    @robin-w

    Moderator

    depend what you men by ‘back’ if you mean your browsers back button, then this will simply return to the previous screen.

    @robin-w

    Moderator

    @brent0r – that would be great – all for having lots of options

    In reply to: Login Widget problem!

    @robin-w

    Moderator

    try

    input[type=”text”] {
    width: 50% !important;
    }
    .bbp-login-form .bbp-password input {
    width: 50% !important;
    }
    In reply to: Login Widget problem!

    @robin-w

    Moderator

    Put this in your custom css area

    input[type=”text”] {
    width: 50%;
    }

    .bbp-login-form .bbp-password input {
    width: 50%;
    }

    In reply to: Login Widget problem!

    @robin-w

    Moderator

    I’d need a link to the actual site to tell you how to fix this

    In reply to: This forum is empty

    @robin-w

    Moderator

    if you have a child theme, and are happy with ftp, I can give you a revised template

    @robin-w

    Moderator

    having a button at the top which goes to the form at the bottom can be achieved by

    bbp style pack

    dashboard>settings>bbp style pack>buttons

    Having the from hidden is quite possible, but I don’t know of any already written code to do that

    @robin-w

    Moderator

    yes, I frequently have multiple users on different browsers on my one PC when I am testing

    In reply to: This forum is empty

    @robin-w

    Moderator

    great

    than add this

    //This function changes the text wherever it is quoted
    function rew_change_translate_text( $translated_text ) {
    	if ( $translated_text == 'This forum is empty.' ) {
    	$translated_text = 'new text';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'rew_change_translate_text', 20 );

    Instead of ‘This forum is empty.’ you will get ‘new text’, so just change new text to what you want

    eg change the line

    $translated_text = 'new text';

    to

    $translated_text = 'Categories listed below';

    – if you want it blank then have that line say

    $translated_text = '';

Viewing 25 replies - 8,301 through 8,325 (of 14,231 total)