Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,851 through 27,875 (of 32,495 total)
  • Author
    Search Results
  • #64276

    chrishajer: Ah, sorry. mod_rewrite

    timskii: I could have sworn they had it turned off at some point, but maybe I am misremembering. The point is that hosters tend to do stuff like that (often without warning), so as robust a solution as possible would be ideal, naturally.

    *I’m a designer, not a coder, so I’m mostly talking out of my ass.

    #55027
    myeggnoodles
    Member

    I would also be very much interested in a “approve registration” plugin. I am building a forum for in-house use only so want to make sure that only staff sign up to use our forums :)

    Beer
    Member

    Would anyone be able to assist with testing a conversion script from IP.Board 2.3.4 to bbPress 0.9? I’ve started writing some code myself to handle the switch. It would be great if any other coders would be willing to assist with this too.

    The way it will work currently is to generate a ‘ipb2bb.sql’ file that you can pass to mysql to upgrade the database. It will import users, categories, topics and posts. You can ask it to limit it’s import to select categories only instead of all categories.

    #62495
    Beer
    Member

    We could try to appeal to the mercy of whoever the current plug-in coders are. I’ve seen something at TextDrive where a group would donate some money into a pool for development purposes.

    I think it’d be great if they added the “Ideas” feature here at bbPress like they have for WordPress also.

    https://wordpress.org/extend/ideas/

    #64005
    Sam Bauers
    Participant

    Try putting this in your bb-config, it should rename those bbPress cookies for you:

    $bb->usercookie = 'wordpressuser';
    $bb->passcookie = 'wordpresspass';

    .

    You may also need to adjust the cookie domain and path, but try that first.

    #64264
    Sam Bauers
    Participant

    Ah, in that case all you need to put there is mail.ru without the asterisk or leading dot.

    #62415
    devcore
    Member

    I installed bbPress on a directory called /discussions on the root of my hosting account, where I have also installed WordPress 2.5, everything on the installation went ok, but after all been done, the admin login to the dashboard gives me the following message:

    You do not have sufficient permissions to access this page.

    Any solution?

    #64328
    _ck_
    Participant

    I had the same problem with my plugins with the avatar tab too. It makes tabs duplicate.

    I’ll have to lookup the workaround I did…

    Okay the bug fix I had to use was to wrap the function that adds a tab and check if $self was set.

    ie.

    function add_tab(blah) {
    global $self;
    if (!self) {
    // code that adds tab goes here
    }
    }

    So what you probably need to do is change this line like so:

    if (!$self && bb_get_current_user_info( 'id' ) == $user_id) {

    #60995

    In reply to: phpBB3.0-style theme

    andersson
    Participant

    @Beer: When/if I get the time I’ll be sure to make it public. As you know it’s quite something else to make it work generically rather than for one specific site.

    Thanks for the praise though, appreciate it.

    @_ck_: Thanks. Yes, I also had a good mind of making that “online” banner that phpbb uses, available per user but other things caught my attention. ;)

    Anyways, glad you both liked it.

    _ck_
    Participant

    Front page topics plugin isn’t working? Hmm. Should be.

    I have a modification I’ve done somewhere…

    Try this:

    // fix number of front page topics
    function bb_custom_topic_limit($limit) {
    switch (bb_get_location()) :
    case 'front-page': $limit=5; break;
    case 'forum-page': $limit=10; break;
    case 'tag-page': break;
    case 'topic-page': $limit=15; break;
    case 'feed-page': break;
    case 'search-page': break;
    case 'profile-page': break;
    case 'favorites-page': break;
    case 'view-page': $limit=10; break;
    case 'stats-page': break;
    case 'login-page': break;
    default: $limit=15;
    endswitch;
    return $limit;
    }
    add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);

    // required to fix for custom topic limits to calculate correct page jumps
    function fix_post_link ($link,$post_id) {
    global $topic;
    remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
    if ($topic && $topic->topic_last_post_id==$post_id) {
    $topic_id=$topic->topic_id;
    $page=get_page_number( $topic->topic_posts );
    } else {
    $bb_post = bb_get_post( get_post_id( $post_id ) );
    $topic_id=$bb_post->topic_id;
    $page = get_page_number( $bb_post->post_position );
    }
    return get_topic_link( $topic_id, $page ) . "#post-$post_id";
    }
    add_filter( 'get_post_link','fix_post_link',10, 2);

    #64374

    In reply to: Forum Disappeared!

    Is there a manual way to get someone set to KeyMaster? I registered and was user #1. There seems to be no use #0 so there is no administer for the forum. I’m totally locked out. :(

    #64373

    In reply to: Forum Disappeared!

    I found the issue. The table names were custom set to not interfear with anything that that wasn’t called out anywhere in the install process except in an advanced (hidden) area.

    I’ve re-installed BBPress 4 times now and I finally go it to work, with all my old posts, but I can’t log in. :(

    #64329

    In reply to: key master only forum

    _ck_
    Participant

    This will affect all forums:

    global $bb_roles;
    $bb_roles->remove_cap('member','write_topics');
    $bb_roles->remove_cap('member','write_posts');

    You can put it into header.php or make a real plugin ie.

    members-cannot-post.php (and install into /my-plugins/)

    <?php
    /*
    Plugin Name: Members Cannot Post
    */
    global $bb_roles;
    $bb_roles->remove_cap('member','write_topics');
    $bb_roles->remove_cap('member','write_posts');
    ?>

    I think I will make a real plugin which can control this on a per-forum basis since this seems to be a requested feature that is not too hard to handle in 0.9 Look for it in the plugin section over the next day or two.

    #64339
    _ck_
    Participant

    I have a karma plugin in development but it is not available yet and most likely will not be until early May.

    You can preview it in use at http://bbShowcase.org

    The code in brackets is BBcode so you want my BBlite:

    https://bbpress.org/plugins/topic/bbcode-lite/

    #64353

    In reply to: Uninstall forum?

    chrishajer
    Participant

    I think it is. The only issue is if you had an integrated install, then you would have bbPress users in your wp_users and wp_usermeta table. You would probably have to manually remove those entries from those tables. Don’t drop the wp_ tables, just the bb_tables.

    I think that’s about it. Once the code is gone from the filesystem, the database doesn’t matter much except for keeping things tidy.

    #64338
    chrishajer
    Participant

    <strong>like this</strong> and it will look like this. Not bbcode, HTML.

    #64337
    ajvngou_
    Member

    and i am trying use code or something… how i can type this?

    [strong] hello[/strong]

    #64348

    In reply to: Redirect problem

    JaneLitte
    Member

    I don’t have pretty permalinks on. I don’t have an .htaccess file in the bbpress install. My root .htaccess is this

    php_flag register_globals off

    RewriteRule ^([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/print/?$ /wp-print.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA,L]

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
    RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$
    RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz -f
    RewriteRule ^(.*) /wordpress/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz [L]

    RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
    RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$
    RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    #AddHandler php5-script .php

    #64319

    In reply to: Shoutbox

    thion
    Member

    Nevermind, I’ve coded it myself :). But it’s not ready for release yet…

    #64157
    refueled
    Member

    Hey,

    Just wanted to mention that I have released a matching WordPress theme, just in case anyone is using Peacemaker for bbPress. :)

    You can download it here.

    #49643

    In reply to: Emoticons For bbPress?

    exchequer598
    Member

    UPDATE!!

    Figured out a way to integrate WordPress smileys into bbPress. Use this plugin!

    http://pastebin.com/f411dfe2a

    #64262
    Sam Bauers
    Participant

    You should make that:

    *.mail.ru

    #3209
    momo-i
    Member

    Hi all,

    I’m using this in Japanese. When the user is registered, mail is garbled. It seems that it is because the mail body is submitted with raw UTF8 (not MIME-encode) also this is because of mail in Japanese(encoded iso-2022-jp) being provided as shown in RFC1468.(See http://www.ietf.org/rfc/rfc1468.txt)

    However, it is possible to display it even in Japanese with UTF8 normally by doing appropriate treatment.

    1. Add Content-Type header and etc.

    $headers[] = “MIME-Version: 1.0”;

    $headers[] = “Content-Type: text/plain; Charset=UTF-8”;

    $headers[] = “Content-Transfer-Encoding: 8bit”;

    2. MIME encodes the header.

    use mb_encode_mimeheader().

    http://www.php.net/manual/en/function.mb-encode-mimeheader.php

    Regards,

    #64322
    psheerin
    Member

    I installed bbPress in http://paara.org/forum/ because that’s what I wanted the URL of the forum to be, and the installation instructions didn’t indicate any preference for where.

    Just one blog, with the WP files at http://paara.org/WordPress/ but with the public URL being simply http://paara.org/, as described in https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    And after moving the bbPress directories to http://paara.org/WordPress/bbPress/, I still can’t get the install to run, or anything but the “no content” message to appear.

    What am I missing?

    #64327
    citizenkeith
    Participant

    I know just enough PHP to be dangerous. Very dangerous. :-D In other words, not much…

    Maybe this is the opportunity for me to learn more. We’ll see…

Viewing 25 results - 27,851 through 27,875 (of 32,495 total)
Skip to toolbar