Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 5,876 through 5,900 (of 6,780 total)
  • Author
    Search Results
  • tema5
    Member

    I’m with godaddy.com

    It uses php 4.x by default, but supports PHP5 for .php5 files.

    I changes handle of .php files to PHP5 too.

    But I got the same error. What to do?

    #71392
    deadlyhifi
    Participant

    the latest bleeding edge release (from subversion) adds paging to the ‘Latest Discussions’. But if any of the arguments are used in ‘get_latest_topics’ the paging doesn’t work.

    from functions.bb-topics.php

    function get_latest_topics( $args = null ) {
    $defaults = array( 'forum' => false, 'page' => 1, 'exclude' => false, 'number' => false );

    so I’ve tried it with

    $topics = get_latest_topics('forum=-3');

    and

    $topics = get_latest_topics('exclude=3');

    both have same results but no paging.

    #66148
    tliebig
    Member

    @_ck_:

    A note on deep integration: As of 0.9.0.4, deep integration will break the localization due to the localization methods being used from WP’s core files (bb_settings.php line 75), causing the system to look for bbPress-language files in the WP language directory. Here’s what to fix to make bbPress load it’s own language files from bb_includes/languages when using deep integration:

    In line 376-377 of bb-settings.php, replace

    // Load the default text localization domain.
    load_default_textdomain();

    with

    // Load the default text localization domain.
    if ( !(defined('DB_NAME')) ) { // Include localization the bbPress-way when WP is not running.
    load_default_textdomain();
    }
    else {
    $locale = get_locale();
    $mofile = BB_LANG_DIR . "$locale.mo";

    load_textdomain('default', $mofile);
    };

    #72319

    In reply to: Create multiple forums

    chrishajer
    Participant

    If you want 10 separate sites, you can have 10 separate installations of bbPress, and they can all use the same database. You just need to use a different table prefix for each one (instead of the default bb_.) But, are you going to need to share anything between the different installations? If so, then this is not the way to go.

    #72124
    Patrick Daly
    Member

    I’m having the same issue. Any other suggestions?

    My setup:

    Integrated:

    WP 2.7.1

    bbPress 1.0-alpha-6

    Using the default bb-config charset & collation:

    define(‘BBDB_CHARSET’, ‘utf8’);

    define(‘BBDB_COLLATE’, ”);

    Using the defauly wp-config charset & collation:

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    Using the default language file. In other words, I haven’t changed anything and it should be using the English.

    Database is:

    UTF-8 Unicode (utf8)

    utf8_unicode_ci

    Detective
    Member

    Also, thanks for the welcome, ck! I do more theme customizations for WP but usually do it all the quick and dirty way, cramming things into function.php file rather than packaging it up nicely, and I often just hack features into other plugins to get it all working the way I want. Right now as far as bbPress is concerned on my to-do list is to find a good solution for manually marking spam posts, work email notification into the pm plugin, and set up the post notification to send email by default. Just haven’t had time to look into all that yet… if there are any existing solutions/patches, please let me know! Otherwise I’ll probably look into it at some point and contribute what I can (if anyone else is interested).

    Great! I was going to work on that in a few weeks :)

    superann
    Member

    Thanks johnmc! I worked hard on the site; haven’t spent nearly as much time with bbPress as I have with WP so I kind of did the absolute minimum to start and was lazy about the cookie integration that didn’t work out of the box… until someone else on my forums complained…

    WP and bbPress are running side by side off the same user database, same process to set up as described in the integration thread here. No deep integration, just customized the templates to match. Registrations are routed to WP via a direct link to it in the login-form.php template, which is cool as I use the Register Plus plugin there to customize things a bit. Logins (and outs) are integrated via cookies using the plugin which you can grab here:

    http://superann.com/2009/02/26/wordpress-26-27-bbpress-09-cookie-integration-plugin/

    Also, thanks for the welcome, ck! I do more theme customizations for WP but usually do it all the quick and dirty way, cramming things into function.php file rather than packaging it up nicely, and I often just hack features into other plugins to get it all working the way I want. Right now as far as bbPress is concerned on my to-do list is to find a good solution for manually marking spam posts, work email notification into the pm plugin, and set up the post notification to send email by default. Just haven’t had time to look into all that yet… if there are any existing solutions/patches, please let me know! Otherwise I’ll probably look into it at some point and contribute what I can (if anyone else is interested).

    #71978
    chrishajer
    Participant

    Why didn’t you set a host name when installing? It’s on the same page as the database name, username and password, it’s just not shown by default. I think it’s a link that says something like “show advanced database settings.” I wouldn’t modify the core at all to connect to the database.

    The error comes from not having a host name and the software trying to connect to localhost via port 3306, but that’s not where your database lives, it’s on a machine called internal-db.s41093.gridserver.com.

    #4878
    teddyc
    Member

    Got this error script url right under my “add this topic to your favorites” option:

    (/(false|true|and|or|xor|__FILE__|exception|__LINE__|

    array|as|break|case|class|const|continue|declare|default|die|do|echo|else|elseif|empty|

    enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|for|foreach|

    function|global|if|include|include_once|isset|list|new|print|require|require_once|

    return|static|switch|unset|use|var|while|__FUNCTION__|__CLASS__|__METHOD__

    |final|php_user_filter|interface|implements|extends|public|private|protected|

    abstract|clone|try|catch|throw|this)([ .”‘{(;&<])/g)

    It links to this URL: /forums/profile.php?id=3&tab=favorites

    When I click on this: “Subscribe to your favorites’ RSS feed.” which links to this: /forums/rss.php?profile=3

    It is just a blank screen.

    This just started showing after I removed a signature from my profile. No idea if they are related…

    Using BBpress 1.0-alpha-6

    #71943
    WPAlex
    Member

    Ipstenu, thanks. To solve this problem I delete all messy code from profile-edit.php of Refresh theme and replace it with default one from Kakumei.

    #71942

    Flip back to the default themes and see if the problem persists. If no, it’s the theme. If it persists, collect the following:

    1) bbPress version

    2) Plugins

    3) WP version (if integrated)

    and report back! :)

    #4851
    pro101
    Member

    I just setup v0.9 and the default URL structure works. However if I try to select another permalink option and save settings, it saves the settings but then breaks all external URLs = page not found. All I have right now is 1 category and the 1 sample post. Both break, and become functional again when I revert back to default permalink.

    Any idea how to make this work?

    #71869
    hoppie
    Member

    Additional: I noticed that the tags field is being pre-filled when I look at the Add A New Topic form that sits below the list of posts tagged with tag X. That’s great.

    What remains is the behaviour of bbPress when sending it a URL …/tags/X where X does not exist yet. The Forum now decides to revert to the default query and shows all available tags. It could, like a Wiki, have chosen to show an empty Topic list with the pre-filled Add A New Topic form. That would make sense to me.

    chazbeaner
    Member

    I successfully integrated WP and BB and mapped the user roles and everything was going swimmingly. A user went in today (roughly 24 hrs later) and noticed that the forum was asking him to login to post a reply even though he was showing as logged in on the WP and BB sites. I went into the CMS (was recognizing me as being logged in as admin obv) and noticed that the User Roles had been reset to default, as if they had never been mapped.

    So, I remapped the User Roles between WP and BB and now everything works as it is supposed to on the front end, but on the back end BB is now telling me that I have “No Users Matching That Request” under the Users page and no matter what search I run there are no Users listed anywhere on the back end.

    Thoughts? I have integrated bbPress within the framework of WP, so maybe that is the issue, but it seems to be a DB disconnect.

    #4811
    MrPeteH
    Member

    I’m a not-quite-noob on WP/WPmu, and a total noob here on bbPress. I’m attempting my first integrated install, from scratch. WPmu latest (2.7 trunk as of a couple weeks ago) and bb 1.0 alpha 6. I thought I’d share a new-user experience… knowing that this kind of stuff is hard to remember later.

    I’m wanting integration of users and logins, and went through the install with that in mind.

    Anomalies, strangeness and bugs found:

    1) It asks for both the site URL and blog URL. WPmu doesn’t have both items, so that’s confusing. Should mention that the same value can be copied in.

    2) It doesn’t suggest the URL needs “http://&#8221; attached until after you save settings and get an error.

    3) [suggestion] why not ask for the location of the WP/WPmu install, and pull the keys etc from wp-config.php??? That would save a ton of typing and confusion.

    4) Once I got everything entered, it let me login ok… HOWEVER:

    5) It quickly LOST all my settings and the database appeared broken. Here’s how:

    * I clicked on “Admin” to go to the admin panel

    * Went to Settings->WordPress Integration

    * Set up role mappings and saved

    * Either at that point, or with one more click (Save in User Integration), I was suddenly locked out and getting mysql connect errors in the header.

    * Examining the page I was on showed the “advanced database settings” had defaulted to different info: apparently it used my admin login (user admin) rather than the WP db user/pass I had provided.

    * It was impossible to reset this info on that page due to the DB connect error. [suggestion: maintain ‘admin’ login/pw in a bb_* table for emergency admin use of the WP connection breaks!]

    * Confusingly, the DB info in bb-config.php is correct and I could not find the (wrong) wp DB info in any text file. Presumably it is stored in the bb-* database?!

    My workaround, which is now in use: hand code the settings ($bb->user_bbdb_user etc) into bb-config.php. That works.

    Bottom line: either the integrated installation process, or perhaps the settings->Integration page, is busted.

    Hope that helps!

    [PS: I’m the author of the wptuner performance analysis/debugging plugin for WP/WPmu. Would a BB version be helpful?]

    #71658
    pschena
    Participant

    Thanks for the reply Sam.

    I managed to hack my way through /bb-images and /bb-admin to fashion a type of branded error page.

    Should get us out of trouble for now.

    Will have to fiddle a heap more to make the extra fields work though.

    Am I correct in understanding that your suggestion is to make a plugin for this?

    Haven’t done that before, can you recommend a place to look to learn this at all?

    #71657
    Sam Bauers
    Participant

    The default error page is a sore spot in bbPress. It currently isn’t theme-able. That will change, but not until we get a bit further into 1.0 alpha development.

    Private forums are possible via a couple of plugins, take a look at the “Extend” area of this site.

    Adding extra profile info is pretty easy via a plugin if they are just simple text fields. You need to add the fields to the profile_info_keys. See get_profile_info_keys() function. Here is some example plugin code…

    function my_add_profile_info_keys( $keys )
    {
    $keys['ice_cream'] = array( 1, 'Favourite ice cream' );
    return $keys;
    }
    add_filter( 'get_profile_info_keys', 'my_add_profile_info_keys' );

    Adding checkboxes and dropdowns currently isn’t supported via the API.

    #70992
    slambert1971
    Member

    Unfortunately the only way I have found to do this is to edit the “content.php” and “content-posts.php” files in the bb-admin folder and edit line 9 in each file as follows:

    content.php: Change ‘topic_status’ => 1 to ‘topic_status’ => ‘all’

    content-posts.php: Change ‘post_status’ => 1 to ‘post_status’ => ‘all’

    I hate to modify core code, but I don’t see any other way to change this as it is hard coded in the files. Perhaps an option could be added under “General Settings”, but this would need to be done in the core code. It wouldn’t be that hard to do, I would think.

    #4755
    pschena
    Participant

    Super noobie to bbpress, and currently setting up an install for a client at: http://brainwave.org.au/forum

    Got most things working to a point where I am semi happy with to start with, but having a couple of problems that need help with.

    1. When logging out of a topic or forum page, I get taken to a default page. Would like to get back to the forum landing page – any ideas how to do that?
    2. Same as point 1 when using Terms of Service plugin and tick box not ticked. Looks like all error pages use the same template – can this be changed?
    3. Client wants a private, locked down forum, and needs to ask more questions at registration time. Is it just a process of adding fields to the form and database? Which file should I be editing?

    These would set me well on the way to appeasing the client.

    Thanks in advance for any help!

    Cheers,

    Paul

    #71521

    In reply to: Adding Theme Pages

    slambert1971
    Member

    So am I to assume there is no way to add pages to bbPress? Oly the default pages can be used? Darn, might have to look for something else. :(

    #71432
    mzimmers
    Member

    Here’s a first approximation of a right sidebar.

    http://scopedin.com/bbpress/

    As you can see, I need just a little more room on the right than I’m getting with the current defaults for the theme. I tried altering the width parameters in style.css, but that quickly became a rat’s nest. I concluded I wasn’t approaching it correctly.

    It’s really preferable (from my perspective) to shrink the width of the tags and/or discussions sections, so the right sidebar can fit. That way, the right sidebar can remain consistent between the forums and the blog.

    Chris: I was unaware of the wealth of other themes available; thanks for the link. Do you have any idea whether some of those might be more flexible?

    #71429
    mzimmers
    Member

    Well…I’m running into some difficulties with this. It seems that the default theme (kakumei) doesn’t like to be compressed into any less (horizontal) space than it currently uses.

    Any opinions on whether my right sidebar should be typed under main or outside of it? If I do it within, I need to chase down some width definitions, both explicit and otherwise.

    #4734
    deadlyhifi
    Participant

    When editing a profile (your own or others) the ‘website’ field does not update.

    First name, Last name, Location, Occupation, Interests, work fine.

    If I put in a website during registration it is added. However, if I try and edit this after registration the field goes blank again.

    This in version 1.06a

    I’ve also tried it in the latest version (using subversion), with default themes and my own, but no joy.

    #4733
    deadlyhifi
    Participant

    I would like to modify the bb_list_tags to show who the author of that tag was (to moderators)

    So I created a functions.php in my theme and have copied function bb_list_tags from functions.bb-templates.php file. And done the following (note the changes to the function have not yet been made)

    <?php
    // to override bb_list_tags to show tag author

    remove_filter('bb_list_tags', 'bb_list_tag');

    function bb_list_tag( $args = null ) {
    $defaults = array(
    'tags' => false,
    'format' => 'list',
    'topic' => 0,
    'list_id' => 'tags-list'
    );

    $args = wp_parse_args( $args, $defaults );
    extract( $args, EXTR_SKIP );

    if ( !$topic = get_topic( get_topic_id( $topic ) ) )
    return false;

    if ( !is_array($tags) )
    $tags = bb_get_topic_tags( $topic->topic_id );

    if ( !$tags )
    return false;

    $list_id = attribute_escape( $list_id );

    $r = '';
    switch ( strtolower($format) ) :
    case 'table' :
    break;
    case 'list' :
    default :
    $args['format'] = 'list';
    $r .= "<ul id='$list_id' class='tags-list list:tag'>n";
    foreach ( $tags as $tag )
    $r .= _bb_list_tag_item( $tag, $args );
    $r .= "</ul>";
    endswitch;
    echo $r;
    }

    add_filter('bb_list_tags', 'bb_list_tag');

    ?>

    Is this the correct way to change a core function? Changing anything within it doesn’t appear to override the original function.

    #71525
    slambert1971
    Member

    WordPress uses Magpie for doing RSS and by default will cache the feeds for 1 hour. To change this, you can add a line to your wp-config file like:

    define(‘MAGPIE_CACHE_AGE’, TIME);

    Replace the word ‘TIME’ with the length of time in seconds to cache. You can also turn off the Magpie cache with:

    define(‘MAGPIE_CACHE_ON’, false);

    Hope that helps.

Viewing 25 results - 5,876 through 5,900 (of 6,780 total)
Skip to toolbar