Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,426 through 22,450 (of 32,468 total)
  • Author
    Search Results
  • #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

    #82779

    Hi Chris,

    Thats it yes, your example works nicely.

    The thing is, i could always write a plugin todo a recurring loop through all parent/child nodes and count forums posts and update the latest one for each parent – but really this should be something in the core.

    Effectively its a bug, and one i raised a year ago :(

    #82338
    Ben L.
    Member

    No, it would go in the template folder.

    #82990
    Michael
    Participant

    Looks like an awesome plugin – much better than the previous ones made.

    I will implement as soon as I get my new laptop. (Using Linux Live right now as my HDD crashed…)

    Also changing the icons. I’m glad this has been made. :)

    #82337
    Michael
    Participant

    I thought there was something wrong with my ever-so-simple code. Would that page1.php be stored in the root?

    #82336
    Ben L.
    Member

    Instead of <?php require_once('my-templates/xxxxxx/page1.php ?>, use <?php require_once( 'bb-load.php' ); bb_load_template( 'page1.php' ); ?>

    #82335
    Michael
    Participant

    That was really something that came off the top of my head. Does it not do anything? If not, you should keep your iFrames thing going. It must work well. :)

    #82334
    bb-lover
    Member

    script not working….. Michael are you sure you tell me right thing……………………………….think about it

    #82975

    In reply to: list of unread posts

    Mikado
    Member

    In fact, I would like to add a view in footer.php but I do not know how to make.

    <?php if ( bb_is_user_logged_in() ) : ?><br />
    <div id="viewdiv" class="widget"><!--Accès direct --><br />
    <h2><?php _e('Views'); ?></h2><br />
    <ul id="views"><br />
    <li class="view"><a href="#">Messages non lus</a><br />
    <?php foreach ( bb_get_views() as $the_view => $title ) : ?><br />
    <li class="view"><a>"><?php view_name( $the_view ); ?></a><br />
    <?php endforeach; ?> </p>
    <p> </div><br />
    <?php endif; // bb_is_user_logged_in() ?>

    #82954
    grassrootspa
    Member

    @kriskl:

    I like where are going. Perhaps you are on to something. Building off your initial idea, what about some sort of 2010 plugin development contest?

    As you noted, several people here chipped into _ck_ and got their money returned. I’m sure those same people might be open to something like this.

    Heck, if we had some ‘bbPress plugin contest’ I’ll chip in something.

    Anyone else like have any thoughts on this? Would anyone else be willing to donate toward a bbPress plugin development contest?

    If we can get 10 folks to match one another at $25 or $50 each we can get a small but sizable initial pot built.

    The Sandbox development contest back in 2007 initially had $500 total to distribute between 1st, 2nd and 3rd place (http://weblogtoolscollection.com/archives/2007/05/31/announcing-the-sandbox-designs-competition/) After some sponsorships the total in competition prizes rose to $1950. (http://sndbx.org/details/)

    Look, the top prize is most likely not going to be a zillion bucks, but it its not a bad idea to stick a steroid shot in the plugin development arm and get some more people fired up (or fired up once again) about bbPress development.

    Heck, even if someone took an existing plugin that didn’t work with bbPress 1.02 and updated it, this would be an improvement.

    Perhaps this plugin contest could be scheduled/built around around the revamping/relaunching of the bbPress.org site and the introduction of the new bbPress codex section.

    Thoughts? Anyone else willing to match a small donation toward such a contest? Haha, if people like this idea, the bbPress Theme contest comes next ;)

    #82778
    chrishajer
    Participant

    kjg (sorry, too tired to type):

    see this http://www.lawserver.com/forums/

    Do the totals work the way you want for forums/parents/subforums? That is bbPress installation I integrated with Joomla of all things. I believe I fixed the problem with a plugin or some custom code so if this is the end result you’re looking for, let me know and I will look back at how I did it.

    #81783
    Dailytalker
    Member

    Kevin, before I changed from SMF to bbpress I checked the extensions. I use the following plugins:

    Activated:

    allow images

    image rezizer

    bbvideo

    Bavatars

    BBcode Buttons Toolbar

    BBcode Lite

    bbPM

    bbpress signatures

    bbpress smilies

    bbpress user directory

    bozo users

    members online

    Not activated:

    Askimet (do not like it)

    Remove topic forum (unfortunately there is no updated version, it would be a cool thing for users who like SEO-friendly pretty urls)

    open-ID (no facebook login and does cause problems with the current bbpress version; wait until its updated)

    bbpress polls (causes some problems with my template)

    bb topic views (did not find out how to change the language; does not work with poedit and in the files I did not fiend the word “views” so I cannot translate it in german)

    ignore user (needs to be updated for the current bbpress version)

    All this plugins are nice but with all this bbpress is ways apart from SMF. Thats why former members complaint about the change from SMF to bbpress. SMF allowed to write drafts before posting and other things not mentioned yet…

    Regarding the spam problem: SMF and wordpress did solve that problem (wordpress has a lot of good spam protection plugins as well..no need for askimet). I have a pr 5 page and no problems with spam. Register option 3 usually is secure enough. Email-address needs to be proved and there is a captcha-code. If this is not enough you can use register option 4 (member approval) With member approval the admin has to activate new members. With this spam can be avoided. Further SMF had a sophisticated bozo-user ban protection. You could ban by member-name, ban by IP-Number, ban by email address etc.

    Regarding the design of the new forum:

    The new forum design is better than the design of the old forum. I am not a designer, therefore I don’t think like a designer. I am somebody who likes to have the overview. The new theme is better to keep the overview. On the top you have the latest posts. Beneath you have the different categories and subcategories. This structure is easy to understand. Further the new design allows me to place more ads. Also I work with a drop down menu. Did you use it? It helps too to keep the overview.

    #82953

    Personally,

    i doubt _ck_’s main reason for leaving the project was money – she just wasn’t that sort of person. She’d thrown so much time and effort into a project that had gone off at a tangent to what it set out to do, and then its lead developer (actually, only developer) quit. _ck_ was basically left holding the bag, and (again, my own opinion) it may have appeared to her that things weren’t going to change for the better any time soon.

    Your idea’s a lovely one, but a little impractical. Given the lack of documentation, huge changes to the codebase, and amount of hardcoded outputs – writing any sort of plugin for BBpress easily becomes somewhat of a quagmire. It gets to the stage where the cost (in terms of time) for developing the plugin would be huge, and i’m not sure that donations from the board are ever going to come close to matching that.

    A slightly modified suggestion, is that if someone pays for a developer to edit/fix/create something for their own BBpress installation, then they could donate that code to the site. That’d be far more likely to produce tangible results.

    Merry Christmas

    #82731

    What we’re suggesting Dailytalker mate, is that just because you have Facebook Connect does not mean that people will want to leave Facebook to join your forum.

    People on the internet go where other people are. Aol > MSN > MySpace > Facebook. Yahoo > Hotmail > Gmail. wtc.

    For people that use Facebook, and facebook connect, there is the belief that not having it is somehow stopping people from using your forums. The thing is, we have no way of knowing how correct that is, we have no stats.

    What we do have is stats for people that did implement Facebook Connect on their websites, and those stats tell us that people who want to join in the discussion will do so regardless of FBconnect or not.

    The largest success story of FBconnect has been the HufingtonPost, which has seen a spike in the number of people using FBconnect to use its website. Thats a positive for FBconnect for sure, but when you look at their stats they get 1 new person signing up via FBconnect for every 3000 people (*this is the published average) that see their “news story” on someone’s Facebook page/link. Almost all (over 95%) of people that use FBconnect on their site come directly from Facebook itself.

    There is no data to suggest that FBconnect helps people sign-up or join-in discussions on websites. Infact, there’s alot of data to suggest that people will only use FBconnect if they come directly from facebook to your forum post, and that in the best case scenario, you’ll get 1 sign-up for every 3000 people that see what you’ve written on facebook.

    I dont know about you, but nothing i write on Facebook gets seen by more than 100,000 people (for a charity news), which would result in 33 new people on that charities forums. Thats not worth the development time, nor the hassle of constantly updating.

    As always, good talking to you :)

    Merry Christmas

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