Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,901 through 18,925 (of 32,499 total)
  • Author
    Search Results
  • #104878

    In reply to: bbPress 1.0.3 released

    _ck_
    Participant

    These are the changes between 1.0.2 and 1.0.3

    https://trac.bbpress.org/changeset/2958/tags/1.0.3?old=2339&old_path=%2Ftags%2F1.0.2

    unfortunately the mime property was modified on files that were otherwise unchanged, so the file list looks huge, but most of them are unaffected.

    also /jquery/interface.js was added in 1.0.3 but for some wrong reason they are using the packed version which is slower because it has to be unpacked on every page load, it should be the minified only version without packing and just let gzip do the compression work between the server and the browser

    I’ve edited down the list and removed the property-only changes

    Files changed between bbPress 1.0.2 and 1.0.3

    bb-templates/kakumei/style.css (1 diff)
    bb-templates/kakumei/favorites.php (1 diff)
    bb-templates/kakumei/view.php (2 diffs)
    bb-templates/kakumei/forum.php (2 diffs)
    bb-templates/kakumei/tag-single.php (1 diff)
    bb-templates/kakumei/front-page.php (2 diffs)
    bb-templates/kakumei/post-form.php (2 diffs)
    bb-templates/kakumei-blue/style.css (1 diff)

    bb-includes/functions.bb-users.php (3 diffs)
    bb-includes/functions.bb-pluggable.php (3 diffs)
    bb-includes/class.bp-options.php (1 diff)
    bb-includes/functions.bb-posts.php (1 diff)
    bb-includes/functions.bb-template.php (4 diffs)
    bb-includes/functions.bb-meta.php (1 diff)
    bb-includes/functions.bb-core.php (3 diffs)
    bb-includes/functions.bb-deprecated.php (1 diff)

    bb-cron.php (3 diffs)
    bb-login.php (3 diffs)
    rss.php (1 diff)

    bb-admin/tools-recount.php (2 diffs)
    bb-admin/includes/class.bb-install.php (1 diff)
    bb-admin/includes/functions.bb-upgrade.php (3 diffs)
    bb-admin/includes/functions.bb-admin.php (4 diffs)
    bb-admin/includes/defaults.bb-schema.php (2 diffs)
    bb-admin/includes/functions.bb-recount.php (added)
    bb-admin/admin.php (2 diffs)
    bb-admin/admin-base.php (1 diff)
    bb-admin/index.php (2 diffs)

    There may be additional backPress changes which are beyond my desire to track/list.

    #99777

    In reply to: bbPress 1.0.3 released

    _ck_
    Participant

    bbPress 0.9 users should install my unofficial “block-long-queries” mini-plugin to avoid the security bug that 1.0.3 fixes and similar unknown attacks in the future.

    (it also works in 1.0 and WordPress)

    <?php
    /*
    Plugin Name: Block Long Queries (for bbPress and WordPress)
    */

    if (strlen($_SERVER['REQUEST_URI'])>255 ||
    preg_match('@(eval|base64|unescape)[^a-zA-Z0-9]@si',$_SERVER['REQUEST_URI']))
    {
    header('HTTP/1.1 414 Request-URI Too Long');
    header('Status: 414 Request-URI Too Long');
    header('Connection: Close');
    exit;
    }

    #104877

    In reply to: bbPress 1.0.3 released

    _ck_
    Participant

    bbPress 0.9 users should install my unofficial “block-long-queries” mini-plugin to avoid the security bug that 1.0.3 fixes and similar unknown attacks in the future.

    (it also works in 1.0 and WordPress)

    <?php
    /*
    Plugin Name: Block Long Queries (for bbPress and WordPress)
    */

    if (strlen($_SERVER['REQUEST_URI'])>255 ||
    preg_match('@(eval|base64|unescape)[^a-zA-Z0-9]@si',$_SERVER['REQUEST_URI']))
    {
    header('HTTP/1.1 414 Request-URI Too Long');
    header('Status: 414 Request-URI Too Long');
    header('Connection: Close');
    exit;
    }

    #99764
    Super Artsy
    Member

    Alright, well I find a solution to my problem with a bit of SQL language tweaking. Apparently the issue deals with my MySQL version, but all I had to do was make a simple edit changing ‘TYPE’ to ‘ENGINE’.

    So the line:

    ) TYPE = MYISAM DEFAULT CHARACTER SET 'utf8';

    becomes:

    ) ENGINE = MYISAM DEFAULT CHARACTER SET 'utf8';

    I hope this helps those who encounter the same problem.

    Cheers.

    #104864
    Super Artsy
    Member

    Alright, well I find a solution to my problem with a bit of SQL language tweaking. Apparently the issue deals with my MySQL version, but all I had to do was make a simple edit changing ‘TYPE’ to ‘ENGINE’.

    So the line:

    ) TYPE = MYISAM DEFAULT CHARACTER SET 'utf8';

    becomes:

    ) ENGINE = MYISAM DEFAULT CHARACTER SET 'utf8';

    I hope this helps those who encounter the same problem.

    Cheers.

    This used to work but is was accidentally broken in a recent commit. Will be working soon. :)

    This used to work but is was accidentally broken in a recent commit. Will be working soon. :)

    #37740
    Super Artsy
    Member

    Alright, so after running the install. I get these errors:

    Your installation completed with some minor errors. See the error log below for more specific information.

    SQL ERROR!

    >>> Database: wp_blog (localhost)

    >>>>>> CREATE TABLE IF NOT EXISTS bbs_posts (

    post_id bigint(20) NOT NULL auto_increment,

    forum_id int(10) NOT NULL default 1,

    topic_id bigint(20) NOT NULL default 1,

    poster_id int(10) NOT NULL default 0,

    post_text text NOT NULL,

    post_time datetime NOT NULL default ‘0000-00-00 00:00:00’,

    poster_ip varchar(15) NOT NULL default ”,

    post_status tinyint(1) NOT NULL default 0,

    post_position bigint(20) NOT NULL default 0,

    PRIMARY KEY (post_id),

    KEY topic_time (topic_id, post_time),

    KEY poster_time (poster_id, post_time),

    KEY post_time (post_time),

    FULLTEXT KEY post_text (post_text)

    ) TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8’;

    >>>>>> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16

    Key master email not sent!

    I have tried dropping all the bbPress tables and reinstalling it, but the problem still persists. I get this error message everytime after running the install script. I am running PHP 5.3.5 and MySQL 5.5.8 on a WAMP localhost server. Also, I am trying to integrate bbPress with my current WordPress blog…

    Thanks in advance,

    -Deuce

    #37738
    alexchenco
    Member

    I want to remove the revision part. It seems to come from this function: bbp_topic_content(); Which file is generating it?

    #99734

    In reply to: Cannot Edit Users

    aaironman
    Member

    Good now – all you have to do is turn off permalinks after you move a directory.

    If you want the Permalinks options to work, you have to change the “options-permalinks.php” file. Mine initially looked like this:

    **********

    $permalink_options = array(

    ‘mod_rewrite’ => array(

    ‘title’ => __( ‘Permalink type’ ),

    ‘type’ => ‘radio’,

    ‘options’ => array(

    ‘0’ => sprintf( __( ‘<span>None</span> %s‘ ), bb_get_uri( ‘forums.php’, array( ‘id’ => 1 ), BB_URI_CONTEXT_TEXT ) ),

    ‘1’ => sprintf( __( ‘<span>Numeric</span> %s‘ ), bb_get_uri( ‘forums/1’, null, BB_URI_CONTEXT_TEXT ) ),

    ‘slugs’ => sprintf( __( ‘<span>Name based</span> %s‘ ), bb_get_uri( ‘/forums/first-forum’, null, BB_URI_CONTEXT_TEXT ) )

    )

    )

    );

    **********

    And so I changed it to this:

    **********

    $permalink_options = array(

    ‘mod_rewrite’ => array(

    ‘title’ => __( ‘Permalink type’ ),

    ‘type’ => ‘radio’,

    ‘options’ => array(

    ‘0’ => sprintf( __( ‘<span>None</span> %s‘ ), bb_get_uri( ‘forums.php’, array( ‘id’ => 1 ), BB_URI_CONTEXT_TEXT ) ),

    ‘1’ => sprintf( __( ‘<span>Numeric</span> %s‘ ), bb_get_uri( ‘/1’, null, BB_URI_CONTEXT_TEXT ) ),

    ‘slugs’ => sprintf( __( ‘<span>Name based</span> %s‘ ), bb_get_uri( ‘/first-forum’, null, BB_URI_CONTEXT_TEXT ) )

    )

    )

    );

    **********

    #104834

    In reply to: Cannot Edit Users

    aaironman
    Member

    Good now – all you have to do is turn off permalinks after you move a directory.

    If you want the Permalinks options to work, you have to change the “options-permalinks.php” file. Mine initially looked like this:

    **********

    $permalink_options = array(

    ‘mod_rewrite’ => array(

    ‘title’ => __( ‘Permalink type’ ),

    ‘type’ => ‘radio’,

    ‘options’ => array(

    ‘0’ => sprintf( __( ‘<span>None</span> %s‘ ), bb_get_uri( ‘forums.php’, array( ‘id’ => 1 ), BB_URI_CONTEXT_TEXT ) ),

    ‘1’ => sprintf( __( ‘<span>Numeric</span> %s‘ ), bb_get_uri( ‘forums/1’, null, BB_URI_CONTEXT_TEXT ) ),

    ‘slugs’ => sprintf( __( ‘<span>Name based</span> %s‘ ), bb_get_uri( ‘/forums/first-forum’, null, BB_URI_CONTEXT_TEXT ) )

    )

    )

    );

    **********

    And so I changed it to this:

    **********

    $permalink_options = array(

    ‘mod_rewrite’ => array(

    ‘title’ => __( ‘Permalink type’ ),

    ‘type’ => ‘radio’,

    ‘options’ => array(

    ‘0’ => sprintf( __( ‘<span>None</span> %s‘ ), bb_get_uri( ‘forums.php’, array( ‘id’ => 1 ), BB_URI_CONTEXT_TEXT ) ),

    ‘1’ => sprintf( __( ‘<span>Numeric</span> %s‘ ), bb_get_uri( ‘/1’, null, BB_URI_CONTEXT_TEXT ) ),

    ‘slugs’ => sprintf( __( ‘<span>Name based</span> %s‘ ), bb_get_uri( ‘/first-forum’, null, BB_URI_CONTEXT_TEXT ) )

    )

    )

    );

    **********

    #87905
    Techotrade
    Member

    thanks a heap….this finally got me started…:)

    #99686

    You were all over the place in the second video ;)

    #104786

    You were all over the place in the second video ;)

    Latte
    Member

    Hi,

    I’ve been searching for some hours now but I guess I don’t find the answer because it must be an easy answer :)

    I’ve successfully integrated BP 1.03 in my WO 3.1 and everything works fine so far.

    But the forum looks like it’s another site, I mean it’s basicaly due to the template.

    My wish is to have my BBPRESS installed into a WP Page (such as simple:press plugin for example) or just like it is on this very bbpress.org website !

    Any clue about how to do it ?

    Thanks for your help :)

    #37696
    Michael J Challis
    Participant

    How can I add a plugin to this site?

    I am already a WordPress plugin developer. My WordPress plugins have over 2 million downloads. I made a CAPTCHA plugin for bbPress, I would like to add it. Thanks for any help.

    I am logged on, went to this page:

    http://bbpress.org/plugins/forum/requests

    I clicked on the big button “Add your plugin”

    There is no form, just this message:


    Add Your Plugin

    You can add the plugin you’ve written to the plugin directory by filling out the form below.

    This form is only for plugin developers. If you’d like to see a plugin listed here, please contact that plugin’s author.

    Yukon Cornelius
    Participant

    Hi,

    I know there are lots of topics out there that are similar, but I can’t find an answer that works for me. Much of the paste bin code is expired, and I have a custom theme which i think is complicating things.

    So right now I my front page displays a list of all the forums. I want it to stay that way when i add child forums, and I want to click on the parent forums to go to a list of subforums/child forums.

    Instead of this, the children just get added to the end of the list.

    <?php if ( bb_forums("depth=1") ) : ?>
    <div id="forum-main">

    <?php while ( bb_forum() ) : ?>

    <div<?php bb_forum_class('bb-category'); ?>>
    <?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small>', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?>

    <span class="forum-icon"></span>
    </div>
    <?php endwhile; ?>
    </div>

    You can view the forum here: http://totallyadd.com/forum

    The last category ‘Ritalin’ is suposed to be a child of ‘medication’.

    Can anyone point me in the right direction?

    Many thanks!

    Jimmmy

    #95048
    GroceryVine
    Member

    I need some help with the CSS… I can’t seem to figure out what I need to change in the CSS so that it does not completely mess up my layout.

    http://groceryvine.com/community/forum/groceryvine/

    I’m just using the BBPress.css at the moment.

    I just want to fit the forums into my normal post/page area :(

    #37689
    tnwinn
    Member

    Can anyone tell me why my forum looks like this:

    http://gogo-gringo.com/forum/

    ?

    I have been looking for a place to change the wrapping or the width, by using Firebig Lite and looking through my CSS, but I’m a newbie and can’t find where to fix it :(

    Cheers for any help!

    #99697
    gunnsean
    Member

    @amylove

    Well, maybe too risky. :)

    I now use Instant Password, Private Forums and Role Manager to do the work, i.e. add member without sending email and random password and on a very basic level, limit unwanted registrations.

    Instant Password lets member choose their own password.

    Private Forums hides content from unregistered user.

    Role Manager: I ticked out write permission for Member and added another role called “Writer” which is exactly the same with the default “Member” role. That way newly registered cannot post anything and that pretty much prevents some newbie from messing up the forums…

    #104797
    gunnsean
    Member

    @amylove

    Well, maybe too risky. :)

    I now use Instant Password, Private Forums and Role Manager to do the work, i.e. add member without sending email and random password and on a very basic level, limit unwanted registrations.

    Instant Password lets member choose their own password.

    Private Forums hides content from unregistered user.

    Role Manager: I ticked out write permission for Member and added another role called “Writer” which is exactly the same with the default “Member” role. That way newly registered cannot post anything and that pretty much prevents some newbie from messing up the forums…

    #95045
    tyskkvinna
    Member

    I personally hope that support for existing plugins will be a possibility, if not upon its release, fairly early on. I have a good BB forum running right now with enough plugins that the idea of not having them (or figuring out how to re-write them with the new needs of the bb-plugin) is making my head hurt. :-)

    BDA4
    Member

    I found the solution to my above problem…this mistake is for the other potential newbie’s making silly mistakes :)

    My database password entered into my wp-config.php file was incorrect. My WP install was a one click install with dream host and I needed to configure the wp-config.php file – for some reason there was barely any information in it.

    Topic Closed. yay.

    ~BDA

    BDA4
    Member

    I found the solution to my above problem…this mistake is for the other potential newbie’s making silly mistakes :)

    My database password entered into my wp-config.php file was incorrect. My WP install was a one click install with dream host and I needed to configure the wp-config.php file – for some reason there was barely any information in it.

    Topic Closed. yay.

    ~BDA

    BDA4
    Member

    Hello, I’ve been struggling 8 hours on this and I would appreciate any help :)

    I’ve researched this high and low but cannot find an answer.

    Problem: At STEP 2 of bbpress installer I try to access my wp-admin page for the requested Salts, but lo and behold – I’m locked out of wp-admin! I am shown a blank page.

    WordPress and bbpress downloads share the same mysql database. bbpress is on same level as wp-admin — eg. mysite.com/forums. (see: https://picasaweb.google.com/andrews.bda/DirectoryBbpress# )

    Why would my wp-admin lock me out during the bbpress installation?

    Thanks in advance for any help!

    ~BDA

    WP 3.1

    bbpress 1.0.3

    dreamhost

    (((As an aside, maybe this has bearing on my problem….I did not have any auth or salt keys located within my wp-config.php file after dreamhost one click install. I had to manually copy and paste from wp-configsample.php!)))))

Viewing 25 results - 18,901 through 18,925 (of 32,499 total)
Skip to toolbar