Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,426 through 22,450 (of 32,481 total)
  • Author
    Search Results
  • #83200
    dougjoseph
    Member

    Thanks.

    Well, at least I’m not crazy. :-)

    OK, I am using IE on a Win XP SP3 system. Problem is reproducible.

    Now, I am using Firefox 3.0.16 on a Win XP SP3 system. Problem is reproducible.

    @ipstenu

    What OS are you using? And what browser?

    Thanks for your help.

    dougjoseph
    Member

    Hello!

    I just downloaded and installed the latest version of bbPress — version 1.0.2.

    In the database ( bb_option | uri ), we see the full URL to the forum:

    http://domain.com/folder/

    Now, if I type that address into a browser, the forum loads fine.

    However, if I type it this way (without the trailing frontslash)…

    http://domain.com/folder

    … I get redirected to this:

    http://domain.com/domain.com/folder/

    Which leads to nowhere!

    To see this in action, paste or type these two URIs into your browser:

    http://authorstock.com/forum/

    http://authorstock.com/forum

    …With the only difference being the trailing frontslash.

    Argh! Can anyone help me know how to fix this?

    Thanks!

    #81793
    citizenkeith
    Participant

    This is what I want from future bbPress releases:

    1. Open Source, always and forever

    2. Less (code) is more

    3. Simplicity is a feature

    4. Speed and security are the foundation of any good user experience

    5. Put the user first

    This list can be found here:

    https://bbpress.org/about/

    Thanks to chrishajer for pointing it out earlier in the thread… I think it sums things up nicely.

    #32646
    Michael
    Participant

    Greetz! :)

    Once I have a new top-level domain for my forum, I would like to implement changes to make each member have a sub-domain. For example, mydomain.com/profile/member-name would become member-name.mydomain.com.

    I know exactly how to do this through htaccess. What I’d like to know is this:

    If I do it manually, what else do I have to configure to make all the profile links point to the new pretty permalink?

    There’s no rush at all for this — looking to implement it in a few months.

    Thanks in advance

    Peace, Michael

    #83182
    Ben L.
    Member

    http://phpxref.ftwr.co.uk/bbpress/bb-includes/backpress/class.wp-users.php.source.html#l506

    That error can only be caused by plugins. What plugins are you running?

    If you can, search for WP_Users::update_meta in their source code.

    Michael
    Participant

    I haven’t seen this issue, but I must just say that you have done an awesome job of editing the forum to blend in with your site. Great work! :) I think you’ve inspired me to make some changes to my (very simple) one. :)

    Peace, Michael

    #72279
    Gautam
    Member

    Make it:

    if (strtolower($thats_all->post_title) == "forum" || strtolower($thats_all->post_title) == "forums") {
    $addclass = ' class="current_page"';
    } else {
    $addclass = '';
    }

    #83096
    chrishajer
    Participant

    Sounds like it cannot write the file. Maybe permissions, maybe a path problem. Access to logs would be nice :-)

    #83062

    Can you share directions for other people? :)

    #83115
    Gautam
    Member

    This is the CSS from the default (kakumei) theme:

    /* Page navigation
    =================================== */

    a.page-numbers,
    span.page-numbers {
    border-right: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
    padding: 4px 4px 2px 5px;
    margin-left: 5px;
    background-image: url('images/page-links-background.gif');
    background-repeat: no-repeat;
    background-position: 0 0;
    }

    span.page-numbers.current {
    color: #ffffff;
    background-position: 0 -100px;
    }

    #latest a.page-numbers {
    font-size: 0.8em;
    padding: 3px 3px 1px 4px;
    margin-left: 3px;
    }

    a.prev.page-numbers,
    a.next.page-numbers,
    span.page-numbers.dots {
    border-width: 0;
    padding: 0 4px;
    background-image: none;
    }

    span.page-numbers.dots {
    padding: 0;
    }

    a.page-numbers:hover {
    background-position: 0 -100px;
    }

    a.prev.page-numbers:hover,
    a.next.page-numbers:hover {
    color: #006400;
    }

    #83051
    Michael
    Participant

    Steven: Good idea – I think LeftCoastMichael should maybe wait until you do so that he makes no mistake. :)

    #82997
    gerikg
    Member

    # 1

    WordPressMU user integration with bbPress

    1 When installing wordpressmu/bbpress do NOT use “www.” Example: use http://bbpress.org not http://www.bbpress.org and use the same database. You do not need to change the prefix, I prefer you don’t because you’ll run into problem later.

    2 Make sure bbpress is in a folder in wordpress. example: wordpress/bbpress/ not on the same level.

    3 The folder does not have to be named bbpress, most people make it “forum” or “forums”.

    *After successfully installing both programs open wp-config.php file (in the wordpress folder). Around line # 45-# 48 you’ll see define(‘AUTH_KEY’…. go to this URL (https://api.wordpress.org/secret-key/1.1/salt) and get the EIGHT keys and REPLACE the FOUR keys that are there. Save and upload. Keep the file open for now.

    4 Open bb-config.php (in the bbpress folder) do the same thing here. With the SAME keys you put in the wordpress file put in the bb-config file around line # 41-45. You have to add BB_ to the front of the names. Example: BB_AUTH_KEY to all eight. Save and upload. Keep the file open for now.

    5 Clear your cache on your browser. Log into your bbpress dashboard and go to Settings->Wordpress Integration-> WordPress Administrator should be keymaster. Every other option should be member for now. WordPress address (URL) should be the URL again NO www. Blog address (URL) the same as before. The last 3 should be LOCKED if not repeat the steps 3&4.

    6 Login to your wordpress dashboard. Go to Plugins->Add New-> search for “bbPress Integration” it should be the first one. Install it and activate.

    7 Go to Settings-> bbPress Integration. Enter the bbPress URL without the www. Your plugins URL leave blank. Check WordPressMU. Click on Save Changes. On the bottom box you’ll see some text copy it. Most likely it will say

    define( 'COOKIEHASH', 'xxxxxxxxxxxxxxxxxxxxxxx' );
    define( 'COOKIE_DOMAIN', '.xxxxxxxxx.com' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );

    8 Paste the all FOUR lines in wp-config.php file around line # 16 (MUST be on top. Don’t know why) and paste the LAST THREE (leave out cookiehash line) in bb-config.php in line # 13 (Must be on top). Save. You can delete the plugin, it’s no longer needed.

    9 Clear your cache on your browser and you’re done.

    Known Problems

    *Two different database, one for WP and one for BBP, does not always work.

    *Changing the database prefix. There are tutorials out there that tell you to do it, just don’t.

    *Hosting companies that offer free databases, have buggy databases.

    *BBpress not being in WordPress folder. I don’t think the plugin takes that into account.

    *When you upgrade from an older version (wordpressmu/bbpress) the XX-config.php files are different than what you already have. Check wp-config.php against wp-config-sample.php & bb-config.php against bb-config-sample.php should be fairly simple.

    #81974
    chucklehead
    Member

    I have the same issue, and clearly many others from the looks of a google search.. the TRAC ticket here (https://trac.bbpress.org/ticket/1187) just dies. Is there an update?

    Also, and this surprises me, I have put the following in my bb-settings.php file: ‘error_reporting(0);’ and yet I *still* get one remaining error: ‘Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocslamplightercommunitybb-settings.php on line 186’ and I cannot Admin the bbpress installation (it also returns the same error). At this point I have no choice but to abandon bbpress. :(

    Any help is appreciated. I am running bbpress 1.0 and wordpress 2.9. Let me know if there is anything else needed to diagnose

    #81788
    paamayim
    Member

    :(

    #82959
    skipcollege
    Member

    Still haven’t been able to figure out how to get bbPress installed within a WPMU subdomain blog site.

    Anyone know how to go about accomplishing this??

    Maybe some fancy virtual host or mod rewrite code is needed??

    Thanks!

    Greg
    Participant

    I recently discovered that I was getting quite a few crawl errors for a bbPress installation (1.0.2) and the common denominator was special characters in the title. The Google crawler was changing the hex characters in the encoded URL to uppercase, and this was causing a 302 redirect.

    I tracked the 302 redirect to bb_repermalink(), which detects the uppercase hex as a discrepancy with the “correct” permalink. I made a simple plugin that works around the issue (see below).

    Has anyone else seen this issue? How did you deal with it?

    I’ve described this in a little more detail at http://theblogeasy.com/2009/12/26/bbpress-and-encoded-urls-with-uppercase-hex/.

    function _permalink_fix( $permalink, $location )
    {
    $matches = array();

    /* are there any URL encoded hex characters with uppercase in the request URI? */
    if (preg_match( '#%([0-9][A-F]|[A-F][0-9]|[A-F][A-F])#', $_SERVER['REQUEST_URI'], $matches ))
    {
    /* replace ALL URL encoded HEX parameters with uppercase versions */
    $patterns = array(
    '#%([0-9])([a-f])#e',
    '#%([a-f])([0-9])#e',
    '#%([a-f][a-f])#e' );
    $replacements = array(
    '"%" . $1 . strtoupper("$2")',
    '"%" . strtoupper("$1") . $2',
    '"%" . strtoupper("$1")' );

    // print_r( $patterns ); print_r( $replacements );

    $permalink = preg_replace( $patterns, $replacements, $permalink );
    }

    return $permalink;
    }

    add_filter('bb_repermalink_result', '_permalink_fix', 10, 2);

    #82256
    hpguru
    Member

    Find a bb-config.php. Open and edit.

    If your language file is pt_BR.mo than you edit bb-config.php language to pt_BR

    Just save and enjoy. :)

    #78039
    paamayim
    Member

    Looks like

    $row = $bbdb->get_row(“

    SELECT um.meta_value AS role

    FROM $bbdb->users AS u, $bbdb->usermeta AS um

    WHERE u.ID = um.user_id

    AND um.meta_key = ‘bb_capabilities’

    AND u.user_status = 0

    AND u.ID = $user_id

    “);

    returns NULL

    I temporarly fixed this by adding:

    if(is_array($arr)) { on line 177

    and a closing bracket } on line 186 just before return $is_mod.

    #82230
    hpguru
    Member

    I have my bbPress forum in subdomain and without any problem. :)

    #82228
    hpguru
    Member

    Do you get a subdomain to your forum from cPanel? I think, bbPress need this before you go to install. Just add subdomain to bbPress folder. :)

    #83032
    jurasiks
    Participant

    chrishajer, it’s great! but don’t works with 1.0.2 :(

    #81786
    Anonymous User
    Inactive

    Why isn’t bbpress just WordPress with a slightly different ‘loop’ ?

    The only differences between a ‘blog’ and a ‘forum’ I can see are:

    • Posts are ordered by last comment, not by original posting date
    • Database remembers the last comment you have seen for each post

    Otherwise, are there any basic code differences? (“Forums” just become “Categories” so that should just be window-dressing, not code.) Why can’t we build bbpress right into WordPress as-is?

    #82736

    Hi Marius,

    Thanks for contributing. I suppose that the issue comes down to one of stats and hard facts versus beliefs – and as we all know stats dont always win.

    I think you are giving Facebook way too little credit.

    I’m not, its a wonderful website and tool that i use often.

    But these exact arguements were heard during the rise of MySpace, Okurt, LiveSpaces, MSNmessenger, AoL, Bebo etc etc etc.

    Nothing lasts forever, and in the internet world, becoming the most popular and staying the most popular are two different things.

    The question remains though, and no-ones given me any data otherwise to come up with a case we could debate, how benefitial would spending the time on an FBconnect plugin be for BBpress?

    When it comes to instant messenger, MSN has been top dog for ever, contradicting your philosophy about topdogs

    Except, that isn’t true!

    AoL was top dog for a very very long time. Infact, MSN piggybacked onto AoL’s AIM service for its first 2 years, because by that time, AoL had been top dog for 5 years.

    Then Yahoo and MSN were tied for years, infact Yahoo prospered greatly during Microsoft’s failed Hailstorm/myPassport/MSN-messenger-is-tied-into-outlook-express failed rollout.

    Its easy to say with hindsight that MSN has always been top dog, but if you were there, you’d know its simply not true.

    MSNmessenger really took off with WindowsXP, and as a Microsoft developer at the time, i can tell you that before then its market share of IM chat was alot lower than its percentage of possible users.

    Everyone in my country uses MSN, and has for the last 10-12 years

    Awesome. Its only been out 9 years though (unless you had Windows ME where this could be in your 10th by 7 weeks), but i’ll not quibble. The problem with these sort of statements is that “Everyone” is a statistical statement that means 100%. I’m confident not 100% of people (that use internet or even instant messaging) in your country use MSN messenger for the last X years.

    The same is my issue with these generalisations about Facebook (or any website) once it become incumbant in its field. “everyone” uses facebook, like “everyone” or “most” use MSN simply isnt true.

    Facebook has redefined the whole genre of social communication on the internet

    I fail to see how it has redefined it actually. Simplified? Unified? Sped-up? I’ll grant you all those.

    But publishing data to a group of people who’ve you’ve preselected to be allowed to see said data is not new; Neither is the instant messaging, sharing of photos, emailing each other etc.

    It has become so widely used, that it’s incorporated in Playstation 3, Xbox 360, several cellphones, and in many countries – Facebook has been the platform for actual change

    Thats a massive leap there mate, loads of things are on PS3, Xbox360, Cellphones etc.

    Heck they all have an API so people can develop applications for them.

    Bebo is on all of those platforms, are we now suggesting that Bebo is the platform for change? (and btw, Bebo is the # 1 social network in my country – not facebook).

    My phone in 2004, and as i recall to some degree my xBox in 2005 – at least in signing in, had MSNmessenger on it. Sharing status updates, chatting, emailling and sending photos. Surely, given that this was on game consoles and cell phones over 5 years ago, this would be far more likely to be the platform for actual change than Facebook (was wasn’t even built then).

    I think Facebook is pretty much gonna be the number one social website for a very long time

    Again, its based on “i think” and not stats. For the record, I also think the same as you, but when it comes to committing resources, i base them off facts and not randoms hunches. Plus, i’m sure there were countless people who said the same about AoL, MSN, MySpace etc etc.

    =====================================================

    I’m real happy for these conversations, but i’m worried that we’re getting away from teh original point. I am not being disparaging of Facebook the website, platform, nor movie (is it still going to be Aaron Sorkin writing??).

    But with so many people posting so often about how Facebook Connect should be the top priority/feature in BBpress, i am asking for your data so we can see if its worthwhile :)

    #83018

    In reply to: cannot post at all!

    brayjason
    Member

    I am using the default template. The kakumei one.

    I have not done too much work yet at all. Unfortunately I deleted all of the files off of my server and the reuploaded them via ftp (cyberduck)

    After that I had to go through the installation step one and when I entered in the information it said its already installed! (weird since I had deleted everything)

    I’m going to try and delete everything again. Re download the files from bbpress, and re upload them. Maybe it will work =)

    thank you so much for a quick reply btw

Viewing 25 results - 22,426 through 22,450 (of 32,481 total)
Skip to toolbar