Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 5,851 through 5,875 (of 6,774 total)
  • Author
    Search Results
  • #72923

    It’s in here bb-includes/functions.bb-template.php (line 680):

    function forum_description( $args = null ) {
    if ( is_numeric($args) )
    $args = array( 'id' => $args );
    elseif ( $args && is_string($args) && false === strpos($args, '=') )
    $args = array( 'before' => $args );
    $defaults = array( 'id' => 0, 'before' => ' – ', 'after' => '' );
    $args = wp_parse_args( $args, $defaults );

    if ( $desc = apply_filters( 'forum_description', get_forum_description( $args['id'] ), $args['id'], $args ) )
    echo $args['before'] . $desc . $args['after'];
    }

    So you could probably whip up some function to override it.

    You both have one dash, most likely, but different fonts :)

    #5143

    Topic: Cannot Get Admin

    in forum Installation
    johanh
    Member

    Hi When installing I am getting to the point http://domain.com/forums/bb-admin/install.php?step=3 where I need to *select* the keymaster account. In the screen cast video there’s a drop down menu on this page where you select admin (it’s a default drop down menu that shows Admin.

    I am not getting that default and ..for some reason I need to enter a new username, email etc. This indicates to me that something went wrong and I am not talking to MU.

    Can you please tell me how to correct this situation?

    Thanks and regards

    Johan

    P.S. I am setting myself up to delete my database tables again and reinstall but need advice before I do.

    #72884

    In reply to: I NEED HELP!

    chrishajer
    Participant

    1. To explain how to do this, we need to know what versions you installed.

    2. https://bbpress.org/plugins/topic/post-count-plus/

    3. Depends on your version, I think. For the 0.9.0.4 version there are avatar plugins:

    https://bbpress.org/plugins/tags/avatar

    https://bbpress.org/plugins/tags/avatars

    For the alpha version, I think avatars are built in.

    4. https://bbpress.org/plugins/topic/allow-images/ or https://bbpress.org/plugins/topic/bb-attachments/ if you want to store the images for the member as well.

    5. Links are allowed by default. They’re auto-linked as well. Just type in http://www.example.com and it becomes a link (should work here.)

    6. https://bbpress.org/plugins/topic/bb-topic-views/

    You can find all the answers you need by searching or browsing the forums here or the plugin repository. https://bbpress.org/plugins/

    #5114
    jwoelfel
    Member

    The Avatar Upload works fine on my site, but I cannot access any admin functions to change preferences. I have looked everywhere. I want to change the max dimensions for the pictures because my template doesn’t handle the default 150-pixel limit very well. I already tried changing the php file through its code and re-uploaded, but that did not do anything.

    The plugin states that admin functions for avatar should be available. Suggestions, anyone?

    #72697
    _ck_
    Participant

    Poedit will automatically re-save the .mo file when you edit and save the .po file by default unless you’ve changed the default settings.

    the mo file is in here, it’s all you need

    http://ayudawordpress.com/?dl_id=96

    in bbPress 0.9 put it into bb-includes/languages/

    in bbPress 1.0 put it into my-languages/

    and change in your bb-config.php

    define('BB_LANG','es_ES');

    #56785

    In reply to: Plugin: Avatar Upload

    Billy Wilcosky
    Participant

    Thank you chrishajer! There was not only a space at the top of the code, but there was also a space at the very bottom. I removed the space at the top and still got the error except it said line 142 instead of line 1… so I figured out there was a space at the bottom.

    I have another question if you are familiar with this plug in. In the bb-avatar-upload.php file there is an option you can turn on that will show the avatars from thumbnails. This is turned off by default. If I turned this on, would it just create a seperate thumbnail image for each avatar? If so, what is the advantage? Faster page load time?

    bedbugger
    Participant

    Actually, the huge number of topics per forum is because I did not know how to break down the forums categorically by subject when I started.

    Now, I can either keep it as it is, or add some subtopics, I guess.

    Most people who post don’t bother selecting a forum. So the “meta” forum (About the Forums) has almost no legit topics, and about 2000 uncategorized ones. I should have made the default: uncategorized. But it is late for that now!

    Thanks again for all your help!

    _ck_
    Participant

    That’s actually very interesting, and I suspect something was wrong on there side.

    Max PHP execution time is typically 30 seconds by default. There is no way it takes that long.

    Unless maybe they set it to some ridiculously low number like 1 second.

    The RSS for topics loads in just under one second for me however.

    I do see that you allow a HUGE number of topics per forum page.

    I suspect that is for google, yes?

    #70089
    mspecht
    Participant

    I’m having the same issue it seems line 212 of functions.bb-topics.php is where things go south. I am running bbPress is 1.0-Alpha-6 and WPMU 2.7.

    Effectively bbPress tries to insert an empty string into the topic_id field, which is an INT with auto increment and of course MY SQL returns in error “Incorrect integer value: ” for column ‘topic_id’ at row 1″.

    Digging into the code further the defaults array is setting topic_id = false on line 151, remove topic_id from the defaults and things work fine. Looking at trac it seems this was fixed in r2014. I’m going to install and see what happens.

    #72590
    _ck_
    Participant

    Just install my bbpress theme switcher plugin, disable the dropdown.

    Then replace function bb_ts_get_theme() {

    with something like this (untested, will need some editing)

    function bb_ts_get_theme() {
    $theme="kakumei"; // default fallback
    $domain=strtolower($_SERVER['HTTP_HOST']);
    if (strpos($domain,"first-domain.com")!==false) {$theme="1st-theme";}
    if (strpos($domain,"second-domain.com")!==false) {$theme="2nd-theme";}
    return $theme;
    }

    merlin214365
    Member

    Is there a way remove a specific forum category from the latest discussion list?

    I have tried editing in functions.bb-topics.php

    From

    function get_latest_topics( $args = null ) {

    $defaults = array( ‘forum’ => false, ‘page’ => 1, ‘exclude’ => false, ‘number’ => false );

    to

    function get_latest_topics( $args = null ) {

    $defaults = array( ‘forum’ => false, ‘page’ => 1, ‘exclude’ => 13, ‘number’ => false );

    13 being the category number I wish to remove. This does work in removing forum 13 from latest discussion unfortunately it also removes forum 13 completely lol

    #70993
    LaFaucon
    Member

    Argh, this was driving me batty. Thank you!

    #72633
    wpitn2shape
    Member

    I only visited the forum URL which leads to install page. I couldn’t get further.

    I just downloaded the latest version. Didn’t set any language or upload language folders (I read that was optional.)

    I’m not sure how to compare on my server versus the one on my computer, which is default. Well I think I might know how, but I’m really tired right now, I’ll attempt that soon.

    I don’t have secret keys. Did I miss that in the install instructions?

    The whole error message is:

    Parse error: syntax error, unexpected T_STRING in /home/.ufo/elladesigner/new.pursedlips.net/forum/bb-includes/functions.php on line 2256

    Thanks, I’ll look into it more when I’m able.

    #72632
    chrishajer
    Participant

    What are you doing when you get that error? Are you integrated with WordPress? What version of bbPress did you install? Are you using a language other than the default?

    Can you compare the version of bb-admin/functions.php to the default one for whatever version you’re using (to make sure the whole thing was uploaded properly)?

    Do your secret keys have any weird characters in them (things that work properly in WordPress have created problems in bbPress before. Things like ‘ / > <.)

    Can you post what you were trying to do and the whole error message?

    #72534

    Thanks for the input _ck_, as always :)

    I’m not often trying to replace an entire function from template-functions.php, i just want to overwrite one function once. But i get now that it has to be in pluggable.php, which is cool.

    I suppose my issue here is this: why are many functions that output hardcoded HTML hardcoded into templates-functions.php in the core and not in pluggable.php so that theme / plugin developers can’t overwrite them?

    In my opinion (and it’s just my opinion) there are far too few hooks in BBpress and some of them are in the ‘wrong’ or difficult place for theme development or front-end plugin development. This may seem daft to alot of people and long time BBpress contributors, but with the likes of _ck_ writing so many great back end plugins, most of mine focus on making BBpress work in a slightly more modern way (ajax, nestings, wysiwyg, etc); and i keep hitting these ‘walls’ of where BBpress has hardcoded something.

    Basically I struggle to see why BBpress doesn’t have a functions.php file in the theme directory. As it stands we’ve got to create a theme the way we want it, then integrate it into the WordPress theme, then remove the conflicts for the WP and BBpress theme as the standard BBpress theme came with a different div structure to the standard WP one (madness), then add the hooks for all the stuff thats not got a hook, then move hooks for the one in a ridiculous place, then write a plugin to load up all the functions that your theme will use as standard (cos god forbid we’d have a functions.php like wordpress).

    It makes developing a theme that does anything more than background colour of posts and what happens around/outside the forum a real nightmare. And what’s worse, it means that any theme to stray away from the ‘default’ kakumei theme, needs to have a plugin installed as well.

    While this may seem like no big deal to people (and it’s not a huge deal), given that we use a different structure for our folders to WP (again – crazily stoopid given the market BBpress’s aimed at even at this stage), we’re reliant on the user to install and activate everything properly.

    example:

    Instructions with a theme if we had a functions.php and WP structure:

    • Copy theme folder to your theme directory.
    • Load up admin section, and select the new theme.

    Instructions with a theme as is:

    • Create a my-themes folder in your BBpress directory
    • Copy the theme folder into that directory
    • Create a my-plugins folder in the your BBpress directory
    • Copy the plugin folder into that directory
    • load up admin section, and select new theme
    • activate new plugin to make theme reliant functions work

    Now, obviously there is nothing too taxing on the second version, but it’s long been my experience that the less steps users have to undertake the less errors are made. Especially, and this is the bit I don’t get, when WordPress does things in a really simple manner (and has done so for ages).

    I appreciate that forums of the nature we create are never going to be the most exciting or ground breaking in the world, but for those who think i’m wrong about more modern / different theme’s being available for bbpress let me ask this:

    1. If you look at the Top 20 forums in _ck_’s list (http://bbshowcase.org/forums/view/top100), can you tell it’s a BBpress forum before seeing the “powered by BBpress” at the bottom? If you’re bored do the same for the rest of the top100 and see how many you need to check are running BBpress.
    2. By comparison, when you go to a non-BBpress forum on the internet, can you automatically tell what forum software it is every time?
    3. But i bet you can tell it’s NOT BBpress straight away. Why do you think that is?

    (infact the first one i’d to scroll to the bottom to check it was made my bbpress and it was – a number have switched away form bbpress – was http://soccerlens.com/forum/ which is using one of my template hacks from last year. the other worth mentioning is http://www.dragonballalcine.com/foro/ which is lovely and innovative – so that’s 2 out of the top100)

    #70908
    _ck_
    Participant

    Very nice conversion and I am very partial to the blue vs default green of bbPress.

    #72577

    Rather than using the crazy structure of BBpress’s header.php file – actually while i’m on that can i ask why BBpress DID NOT use the same div nesting as WP so that integration was simple? madness – if you use this one, your BBpress forum should automatically look 90% like it’s in your WordPress page if you use the default theme, default K2 or sandbox.

    You will have to tweak bits of course, this isn’t fool proof, but in terms of the basics, it makes life alot easier.

    I mentioned these changes back in October, so i’m used to the copying and pasting of them now as it doesn’t look like making thing easy for the end user is part of the goal here; hence the plugin. I too hope we get an answer on the bug soon :)

    #72556

    In reply to: Install help

    chrishajer
    Participant

    > 1, Do I create database first before running install.php?

    > Both I try ( no database to install and after create database

    > to install), it doesn’t work.

    You need to create a database first, then supply that database name to the installer. In addition, you will need a database user, password and maybe host name.

    > 2, I can’t find the path where is I created database save in, so

    > I entered localhost in the Database Host. I really don’t understand

    > what is the database host and search it in internet, is it belong

    > to company? I use Mysql 5.0.45 . and bbpress-0.9.0.4 . How can find

    > the path about my database in Linux.

    This information comes from the company that hosts your website. If they allow you to set up a database, somewhere on that page or near that page will show the database name, user name, password and maybe host.

    > 3, I don’t choose the Show Advanced Settings (default), it is still stuck step 1.

    You probably need to do this, but first you need to get the host name from your website host.

    > It is always (There was a problem connection to the database you specified.

    > Please check the settings, then try again.)

    I am going to guess this is because you have not entered all the proper information, or you entered incorrect information. Your host may have to help you with some of these details.

    > Is it terrible to install it?

    No, not once you have all the correct details. If you can’t tell bbPress how to connect to your database, you’re going to be stuck right there until you get some help.

    #72555

    In reply to: Install help

    DTI
    Member

    Thanks, Chrishajer.

    More question:

    1, Do I create database first before running install.php? Both I try ( no database to install and after create database to install), it doesn’t work.

    2, I can’t find the path where is I created database save in, so I entered localhost in the Database Host. I really don’t understand what is the database host and search it in internet, is it belong to company? I use Mysql 5.0.45 . and bbpress-0.9.0.4 . How can find the path about my database in Linux.

    3, I don’t choose the Show Advanced Settings (default), it is still stuck step 1.

    It is always (There was a problem connection to the database you specified. Please check the settings, then try again.)

    Is it terrible to install it?

    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 :)

Viewing 25 results - 5,851 through 5,875 (of 6,774 total)
Skip to toolbar