_ck_ (@_ck_)

Forum Replies Created

Viewing 25 replies - 1,701 through 1,725 (of 2,186 total)
  • @_ck_

    Participant

    You’d have to do a custom mysql call to get the total but yes it is possible.

    In reply to: New Green theme/forum!

    @_ck_

    Participant

    Looks good. A tad bright on my monitor but nice layout.

    @_ck_

    Participant

    You can use str_replace in php to get rid of the underscores or probably find the nicename function in wordpress and filter through that.

    @_ck_

    Participant

    you want get_topic_id() for the current topic id

    or get_post_id() for the current post id

    @_ck_

    Participant

    By default bbpress does not have this ability built in.

    However it would be possible to edit your templates to allow only mods to start topics in certain forums, or do this via plugin.

    @_ck_

    Participant

    You’d have to hack the core but it’s possible – why do you want to?

    In reply to: The new 26inches.com

    @_ck_

    Participant

    Nice work, looks great. I really like the background.

    @_ck_

    Participant

    Integration is better than running under wordpress.

    This allows your wordpress side to be down while the forum still works and via versa.

    Once backpress and talkpress is available I suspect however there will be much more shared code and essentially they will start to merge together in many ways.

    ps. the forum plugin for wordpress supposedly has or had security issues if I remember correctly…

    @_ck_

    Participant

    You need to follow the instruction to syncronize the cookie paths in bbpress and wordpress.

    Essentially both have to be set to your site’s webroot (ie. /)

    Look under the cookie section here

    https://bbpress.org/documentation/integration-with-wordpress/

    or look through the integration tag here like so:

    https://bbpress.org/forums/topic/cookie-question-wp-bb-and-beyond

    @_ck_

    Participant

    You’re asking about gravtars but then talking about uploading avatars which are two different features.

    There are plugins for bbPress to show a user’s gravatar but if it’s a locally uploaded avatar within WordPress, someone would have to come up with some code to display it on the bbPress side. So it’s possible but would take someone to look at it.

    The avatar upload plugin on the bbpress side has some documentation or user comments on how to access the avatar from wordpress.

    @_ck_

    Participant

    If you can find a wordpress plugin that does this, it will be very easy to convert to bbpress.

    In reply to: LANGUAGE

    @_ck_

    Participant

    I wish I had experience with that but I don’t.

    However following other posts with this tag might help:

    https://bbpress.org/forums/tags/internationalization

    @_ck_

    Participant

    Well you’re asking two different things but the answer to both is yes with some code changes to your templates.

    You can get the last poster for any topic in the list via this:

    <?php echo '<a href="'.get_topic_last_post_link().'">'.get_topic_last_poster().'</a>'; ?>

    but there is also a plugin that I believe will change the last poster’s name into a link too. So either way.

    You might be able to paginate the lastest discussions by putting this at the bottom of latest discussions outside the loop:

    <?php forum_pages(); ?>

    However it’s a 50/50 chance it won’t work.

    Or you can use the “My Views” plugin which will give you a paginated Latest Discussion view that you can link to.

    example:

    http://bbshowcase.org/forums/view/latest-discussions

    plugin:

    https://bbpress.org/plugins/topic/my-views/

    In reply to: Get the ID of the post

    @_ck_

    Participant

    You can do a global on $bb_post and then access any of the fields from there:

    http://bbshowcase.org/reference/#bb_posts

    so $bb_post->post_id is what you want.

    There’s probably an internal function to do the same thing but there’s the direct way.

    @_ck_

    Participant

    Someone has been working on some new export/import functions but I don’t believe they are ready yet.

    There is an old phpBB convertor for bbpress, so if you can get yabb into phpBB, you might be import from that.

    @_ck_

    Participant

    If the background goes yellow that probably means it flagged you as a “bozo” which is a feature that has never worked quite right in bbpress.

    You can disable the “bozo” feature completely by editing bb-settings.php and commenting out the line:

    // require( BBPATH . BBINC . 'bozo.php');

    around line 110 or so

    In reply to: Shared Users table

    @_ck_

    Participant

    There are tricky new possibilities within the trunk (build 1075) that I have not researched yet. Using extra definitions in your bb-config.php it allows you to have separate tables, even separate DB’s for users. It might allow you to do that.

    @_ck_

    Participant

    Be sure to get the newest version here:

    https://bbpress.org/plugins/topic/human-test/

    @_ck_

    Participant

    Be sure to get the newest version here and not the above download:

    https://bbpress.org/plugins/topic/human-test/

    In reply to: Line Break

    @_ck_

    Participant

    I think I better understand what you are asking about after running into a similar problem today on my bbcode lite plugin. I filed a trac ticket:

    https://trac.bbpress.org/ticket/795

    bbPress seems to encode non-ending tags into html entities if you save a post twice. Not good.

    @_ck_

    Participant

    I just ran into the problem, they must be fiddling.

    Delete all your bbpress.org cookies and you’ll be able to log in again.

    Here’s a bookmarklet to zap cookies for just the site you are on it if you don’t want to search through your settings:

    https://www.squarefree.com/bookmarklets/zap.html#zap_cookies

    (just make sure it’s bbpress.org in your window when you run it)

    In reply to: Line Break

    @_ck_

    Participant

    Doesn’t your code zap all BRs?

    This is not quite what you are trying to do, but maybe you can add BR to this list and see if bbpress will bypass the self-closing requirement.

    function bb_allow_extra_tags( $tags ) {
    $tags['del'] = array();
    $tags['strike'] = array();
    $tags['s'] = array();
    $tags['b'] = array();
    $tags['i'] = array();
    $tags['u'] = array();
    $tags['bq'] = array();
    $tags['blockquote'] = array();
    $tags['pre'] = array();
    $tags['hr'] = array();
    $tags['br'] = array(); // see if this allows non-closed br
    $tags['BR'] = array(); // see if this allows uppercase BR
    return $tags;
    }
    add_filter( 'bb_allowed_tags', 'bb_allow_extra_tags' );

    As far as uppercase/lowercase that would be tricker if it’s hard coded in the code. You’d have to filter the post text ahead of time, find all tags and convert them to lowercase. Or try adding $tags['BR'] = array(); to the above list and see if that makes a difference.

    Personally I’d just add the bbcode plugin if you’ve got people trying to make fancier posts. It’s far more common across all forums.

    @_ck_

    Participant

    I think they are trying to integrate/convert the main WordPress.com site to the new cookie method which is more secure and it’s affecting here.

    I just hack the cookie and change the expire time to 2018 and that solves the re-login ;-)

    @_ck_

    Participant

    Awh, thanks! Well not sure about “vigilant” as I wax and wane here as I have the time and energy but I try to help when I can. Hope it’s helping someone! bbPress installs seem to have doubled since October 2007 so that’s probably a good sign… appreciate the hugs, I needed that…

    ps. that would be guys and gals! ;-)

    @_ck_

    Participant

    Googling shows that error is caused when running PHP as a CGI and there is a mod_rewrite conflict (or a file does not exist).

    I suspect there is a conflict with mod_rewrite rules in the parent folder. Show us your rewrite rules in /.htaccess (probably wordpress stuff but there may be others).

Viewing 25 replies - 1,701 through 1,725 (of 2,186 total)