Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 25,376 through 25,400 (of 32,468 total)
  • Author
    Search Results
  • #56784

    In reply to: Plugin: Avatar Upload

    chrishajer
    Participant

    Take a look at the unsharpmask.php file and see if you have a space on line one before the <?php. I just downloaded a copy of it and the first line looks like this:

     <?php

    ^ space there

    There can’t be any whitespace before the opening <?php. See if your file has whitespace there and if so, delete it so the first character in the file is <.

    #72719

    In reply to: What is what?

    chrishajer
    Participant

    Regarding blog address and WordPress address, you can get those in your WordPress admin. They’re generally the same, but not always. It pays to check. It’s located here, but on your domain:

    http://www.example.com/wp-admin/options-general.php

    #64303

    In reply to: Dutch translation

    _ck_
    Participant

    bruinfelix, your bbpress install looks very good and matches your wordpress side – I don’t understand why you don’t like the theme, it works well.

    It would be nice if you released the .mo file – all the other bbPress installs that I can find in your country have “hard coded” their templates directly with the translations which is not good.

    You’d be helping many other people and giving back to the community. I noticed you are using several of my plugins so it’s good to give back. The more people use bbPress, the more people will convert other WordPress themes.

    #64302

    In reply to: Dutch translation

    bruinfelix
    Member

    @kevinjohngallagher

    For a answer on youre question, see above ;)

    #64300

    In reply to: Dutch translation

    bruinfelix
    Member

    No, i dont release the file ;)

    And during the lack of good theme’s available, i’am planning to uninstall bbPress ;-)

    #72621
    Null
    Member

    Aaahhhh that explains a lot :) Going to add the patch en see if it works.

    #72619
    Null
    Member

    Update:

    Tested some stuff. I have this now:

    function bbport_location() {
    if (substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["REQUEST_URI"],"/")+1) == "view.php?view=port"):
    return "port-page";
    endif;
    }

    add_filter( 'get_bb_location', 'bbport_location' );

    The problem is that it doesn’t return port-page. If I echo get_bb_location tis will still show: view-page instead of port-page. So why isn”t it updated? Why isn’t it returned?

    #64299

    In reply to: Dutch translation

    _ck_
    Participant

    I see that you completed this, did you want to share the nl-NL.mo file?

    There are about two dozen other Dutch bbPress sites but it looks like they hard-coded their template translations which is a shame.

    #72659

    In reply to: Tag filtering plugin

    _ck_
    Participant

    I just realized I should also point out that my Related Topics plugin will also give the greatest weight to other topics with the most tags to the one you are on. It essentially does a multi-tag search internally.

    I don’t know what would be a good user interface to pick multiple tags but the query and resulting view are fairly straightforward to code.

    bedbugger
    Participant

    Update:

    My host was able to help.

    “Due to the amount of posts contained within the treatment forum, bbpress was reaching the maximum execution limit set by PHP which in effect caused the software to stop processing the feed.”

    They put in a custom php.ini to allow a longer execution time and now the RSS of the topics works fine.

    I may still need a consultant some time, so the question still stands, but this crisis is averted. :-)

    #5088
    mspecht
    Participant

    I have just completed a brand new install of R2014, although the issue happens with A1.6 as well. The site works fine with with both database and cookie WordPress integration (WPMU 2.7).

    When I add require_once( dirname(__FILE__) .’/../wp-blog-header.php’ ); to my bb-config.php I get the following error:

    PHP Fatal error: Call to a member function hide_errors() on a non-object in /home/site/public/wp-includes/functions.php on line 345, referer: http://mydomain.com/forums/

    Line 345 is $wpdb->hide_errors(); within function get_option

    Obviously my BB install has not fully loaded up my WP environment. I have tried all sorts of ways to get this to work without any luck.

    I even tried to build my bbPress templates by reproducing the WP functions I need but found that meant I need to re-write a huge portion WP which seems silly and a huge waste of time. Although the 8 hours I have spent trying to solve this might have built a fair bit :-).

    Any tips on how to sort this out?

    #72707

    In reply to: Spam Registrations

    Olaf Lederer
    Participant

    Hi,

    I have the same problem 50 registrations a day :(

    I removed the URL field from the registration form (and other pages) and hope that this will help.

    #72694
    bruinfelix
    Member

    I’ve translated bbPress in to the Dutch language, no problem at all. I just found a old translation file, and edited a bit. So, evry thing just works just fine ;)

    bedbugger
    Participant

    Hi _ck_,

    Ugh– I am looking but I really have no clue about this or what I am looking for.

    I did check the table and analyze the table but it came up all clear.

    I don’t suppose I can hire you for a small job? :-)

    #5080
    saintseanzy
    Member

    So first off I’d like to thank those involved for building such a great tool. I’ve enjoyed tweaking and expanding on whats currently offered… Now I’m a little hesitant to post this yet but I’m going to anyway :)

    http://saintseanzys.com/boards/

    Ofcourse I need to rub out few minor bugs but other then that i think she looks pretty damn skippy.. I’d really appreciate a sign up or two.. I’d gladly wander over to yours and give a post or two

    #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.

    #62256
    chrishajer
    Participant

    At least the system can find the file now.

    The Cannot redeclare errors are usually because a function of the same name has already been declared, thus it can’t be redeclared.

    What versions did you integrate?

    #62255
    swaymedia
    Member

    hey chris, thanks i just did that.. but i still get an error, it some what smaller though but its this:-

    Fatal error: Cannot redeclare _http_build_query() (previously declared in /home/eraxeco1/public_html/massbase.com/community/bb-includes/backpress/functions.compat.php:21) in /home/eraxeco1/public_html/massbase.com/wp-includes/compat.php on line 45

    now i haven’t touched any other file, i havent touched compat.php either.

    #62254
    chrishajer
    Participant

    Try using the file path to the file rather than a relative path. The system is telling you it can’t find the file in that location. Try this:

    require_once('/home/eraxeco1/public_html/massbase.com/community/bb-load.php');

    #72653
    copperblade
    Participant

    Wow, thanks for that. Any specific action or filter you’d recommend I attach this to so I can insert it without modifying template code? Like the sidebar? I’m new to bbPress and I don’t know what all the plugin API’s are. If I attach it to the sidebar, do you want the code?

    #62253
    swaymedia
    Member

    Im using the latest alpha version, My wordpress is on root, and my forum is on a folder called /community.

    I put this on wp-config.php :-

    require_once('/community/bb-load.php');

    im getting this error:-

    Warning: require_once(/community/bb-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/eraxeco1/public_html/massbase.com/wp-config.php on line 2

    Fatal error: require_once() [function.require]: Failed opening required '/community/bb-load.php' (include_path='.:/usr/lib/php') in /home/eraxeco1/public_html/massbase.com/wp-config.php on line 2

    #5074
    spinus
    Member

    First: Thanks to all developers and coders for coding and working on bbpress and specially to ck for great plugins.

    So, I have installed bbpress 0.9.0.2 installed (http://spinus.info/forum) and Topic Icons plugin 0.0.5

    Trouble: sticky topics are displayed only on front page in “latest discussions” field. If I try to open a sub-forum, where sticky topic is situated in separate window, a topic is not visible.

    So, there is a sticky topic: http://spinus.info/forum/topic.php?id=102&replies=1

    You can see it in a latest discussions field as sticky.

    But if you would open its parent forum http://spinus.info/forum/forum.php?id=30

    Sticky topic is not shown :( what’s a matter? Please, HELP!!!

    #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;
    }

    #72671
    _ck_
    Participant

    bbxf came out of last year’s summer of code so hopefully this year will be as good.

    #72651
    _ck_
    Participant

    You can set a cookie and make it semi-permanent.

    Because there is also a filter in that function, you do not need to hack the core.

    $locale = apply_filters('locale', $locale);

    You would make a mini-plugin something like this

    add_filter('locale', 'language_switcher');
    function language_switcher($locale) {
    if (!empty($_REQUEST['lang'])) {$locale=substr(strip_tags(stripslashes($_REQUEST['lang'])),0,30);}
    return $locale;
    }

    You still have to write the code to make some kind of pulldown/menu to select the language and set the cookie.

    There is a language switcher for wordpress that could be ported to bbPress, I think there was some talk about it around here and someone else made their own too.

    Oh here it is:

    https://bbpress.org/plugins/topic/user-languages

Viewing 25 results - 25,376 through 25,400 (of 32,468 total)
Skip to toolbar