Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 62,526 through 62,550 (of 64,427 total)
  • Author
    Search Results
  • #1405

    Topic: No Stylesheet

    in forum Troubleshooting
    marky
    Member

    I recently installed bbPress to localhost to experiment before I put it on a live site. Strangely, the stylesheet was being ignored. Looking at the source brought up this:

    <link rel="stylesheet" href="http://localhost#support/bb-templates/kakumei/style.css" type="text/css" />

    Edit: OK, I can’t seem to type a backslash here, but the # symbol in the above code snippet is actually a backslash (opposite of /)

    I have no idea why the slash after localhost is backwards. It appears correctly in all other locations. For what it’s worth, here is the relevant section of my config.php file:

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
    // Adjust the domain and path to suit your actual URL.
    // Just the domain name; no directories or path. There should be no trailing slash here.
    $bb->domain = 'http://localhost'; // Example: 'http://bbpress.example.com'
    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.
    $bb->path = '/support/'; // Example: '/forums/'

    Any help?

    #1404

    Topic: Navigation Theme

    in forum Themes
    Jim S.
    Participant

    I’ve made my first attempt ever at theme-building by trying to port the Navigation theme for WordPress over to bbPress. You can see it in action on my test setup:

    http://open-dialogue.com/bbpress

    I’m not entirely happy with the way the forum tables display. It looks ok on a 1024×768 resolution, but they mass to the left a bit too much for my liking on higher resolutions (I use 1280×1024). I’m at a bit of a loss, though, to know how to stretch them out enough to fill out the extra white space to the right. I’d be open for suggestions on how to tweak the stylesheet further.

    I’m also not real crazy about the login form location, but I’m not sure of a better place to put it.

    Everything else seems to look and operate alright. Any suggestions and tips would be greatly appreciated. I’m still figuring out some the latest nuances in stylesheeting (it’s been a few years since I’ve done much site design).

    #54199
    ear1grey
    Member

    It looks nice and clean, although, I notice in your own forum it doesn’t currently validate. Once you get that all happy, don’t forget to validate the css too.

    #54198
    drhallows
    Member

    I go to translate… sorry…

    chrishajer
    Participant

    Right now, all my users are members, and I don’t want to make them moderators, but is there a user level I can assign to them to bypass the akismet check, so their posts go through without being checked for spam? What happens now is that if they user tinyurl for long urls or put more than about 3 or 4 (not sure exactly) links, akismet flags them as spam. I would like to use akismet, but I don’t want my regular member’s posts to be filtered.

    Can that be done?

    I am using .73 but am upgrading to .80 in the next couple of days, if that matters. And I am half-way integrated with WP – the users appear in the WP users page. Oddly, there, most are marked “no role for this blog” although in bbPress > Users they are marked as members.

    edit: I should have said “specific user’s posts” – right now, I have akismet turned off so no member’s posts are checked by akismet, but I wonder if there’s a way to “approve” certain members?

    #54256
    mrpapasworld
    Member

    having problems getting this to worked… because of mods, applying the patch by hand… so its probably me but really stumped…

    after doing the changes, had an error, so double checked everything… still no dice… so I decided to bite the bullet and do it the patch way… as luck would have it my host doesnt seem to allow patch to work – diff issue I will take up with him…

    anyways, started from a clean 0.8 install and applied the patch by hand again… end up getting the same error again… double checked and everything looks good…

    Here’s the error:

    Fatal error: Cannot redeclare get_categories() (previously declared in /xxxxxx/wp-includes/category.php:14) in /xxxxxx/forums/bb-includes/functions.php on line 3

    oh man… AAARGGH… as I sit here typing this in, it just hit me what is wrong and why I wasted time into the wee hours trying to solve it…

    has anyone tried this category patch in a bbpress integrated with wordpress?? it seems the category functions are clashing between the two…

    geez… I dont know how many times I read that last night and never noticed that… another reason why you do work real late at night 😉 helps if you can read too 😛

    any thoughts on this working with a bbpress/wordpress integrated situation?

    #54190

    Updated.

    #54533

    In reply to: Step two errors

    “The database used was one from a bbpress install of over one year ago.”

    Are you trying to run the install script or the upgrade script? If you already have a database, you should be running the upgrade script:

    bb-admin/upgrade.php

    Is it a complete database, or did you only keep certain tables?

    In your PHPMyAdmin, what bb_ tables do you see before and after running the install/upgrade script?

    #54381

    flaerpen,

    Could you try on your localhost version two of the plugin you tried?

    https://trac.bbpress.org/attachment/ticket/575/path-to-url.2.php

    (Download link at the bottom.)

    First delete the first version of the plugin you have installed.

    #52559

    travelsuperlink (and others seeing this problem),

    If you could help us debug the problem, that’d be very helpful.

    https://trac.bbpress.org/ticket/585

    You can log in with your bbpress.org username/password.

    #1401
    intellivision
    Participant

    …like in WordPress? The additional use of “template” will tend to divide and confuse, no?

    Like how, across software, plugins are either “mods”, “modules”, “extensions” or “addons”.

    Now’s the time! We can still consolidate the concept into one term.

    I’m splitting hairs, I know ;-). bbPress is wonderful. Thanks so much to the developers. I’m a phpBB veteran (admin), and bbPress is so nice I want to cry.

    #54531

    In reply to: Step two errors

    chrishajer
    Participant

    I saw this in bb-admin/upgrade.php

    // Very old (pre 0.7) installs may need further upgrade utilities. Post to https://lists.bbpress.org/mailman/listinfo/bbdev if needed

    I wonder what version you were using? In bb-includes/functions.php, there is a section for version.

            case 'version' :
    return '0.73';
    break;

    Maybe that will help someone help the upgrade script for you.

    #54483
    jefgodesky
    Member

    Success! The Allow Images plugin does nearly the same thing I’m trying to do here. The “pre_post” hook applies the filter when the post is saved, and ideally I’d prefer if the filter were applied when the post is displayed instead, but this can manage all the same. I’ve had to make some changes to accomodate escaping of single quotes, and I’ve expanded the filter to also include aliases for “internal” links, so this will cover MediaWiki’s markup for:

    • Bolding
    • Italicizing
    • Basic internal links

      • With aliases
      • Not including template transclusion, image embedding, or anything fancy like that.

    • External links

      • External links without descriptions are numbered
      • Descriptions are handled

    So, fairly basic mockup, but already meeting all the most common usage. Here’s the working plugin in whole as I have it now. I’ve put in a request to include it in Subversion repository with the other plugins.

    <?php
    /*
    Plugin Name: MediaWiki Markup for bbPress
    Plugin URI: https://bbpress.org/forums/topic/713
    Description: Add a subset of MediaWiki markups to bbPress
    Version: 0.1
    Author: Jason Godesky
    Author URI: http://anthropik.com/
    */

    /* Copyright 2006 Jason Godesky (email : jason@anthropik.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    */

    /*
    These parameters specify the functioning of this plugin.
    Edit accordingly for your specific situation.
    */

    # Wiki root; "internal" links will point to the concatenation
    # of this root and the link specified.
    $mediawiki_filter_params["wiki"] = "http://en.wikipedia.org/wiki/";

    /*
    Stop editing; actual plugin functionality follows.
    */

    function bb_mediawikitext($text) {
    global $mediawiki_filter_params;
    // BASIC FORMATTING
    // Bold and italic
    $text = preg_replace("|(''''')(.*?)(''''')|",
    "<strong><em>2</em></strong>", $text);
    // Bold
    $text = preg_replace("|(''')(.*?)(''')|",
    "<strong>2</strong>", $text);
    // Italic
    $text = preg_replace("|('')(.*?)('')|",
    "<em>2</em>", $text);

    // LINKS
    // Internal links with aliases
    $text = preg_replace("|((.*?)()|",
    "<a href=".'"'.$mediawiki_filter_params["wiki"]."2".'"'.">3</a>",
    $text);
    // Internal links without aliases
    $text = preg_replace("|()(.*?)()|",
    "<a href=".'"'.$mediawiki_filter_params["wiki"]."2".'"'.">2</a>",
    $text);
    // External links with descriptions
    $text = preg_replace("|([)(.*?) (.*?)(])|",
    "<a href=".'"'."2".'"'.">3</a>", $text);
    // External links with no description
    $count = 1;
    $replace = TRUE;
    while ($replace) {
    $before = $text;
    $text = preg_replace("|([)(.*?)(])|",
    "<a href=".'"'."2".'"'.">[".$count."]</a>",
    $text, 1);
    if ($before==$text) { $replace = FALSE; }
    $count++;
    }

    // HEADINGS
    $text = preg_replace("|(======)(.*?)(======)|",
    "<h6>2</h6>", $text);
    $text = preg_replace("|(=====)(.*?)(=====)|",
    "<h5>2</h5>", $text);
    $text = preg_replace("|(====)(.*?)(====)|",
    "<h4>2</h4>", $text);
    $text = preg_replace("|(===)(.*?)(===)|",
    "<h3>2</h3>", $text);
    $text = preg_replace("|(==)(.*?)(==)|",
    "<h2>2</h2>", $text);

    // RETURN
    return $text;
    }

    add_filter('pre_post', 'bb_mediawikitext', 1);

    ?>

    The parameter array is overkill at the moment, but hopefully this plugin will continue to expand, and that array could become much more useful.

    Note: Heh, well, it looks like the formatting I needed to get the bold and italics to work got stripped out. What you need to do is to replace ”’ with \’\’\’ — it’s a Perl regex so that basically means ‘ which is what you’ll get from the escaped MySQL string.

    #54522
    chrishajer
    Participant
    #54482
    jefgodesky
    Member

    I’ve yet to find any way of significantly improving on spencerp’s method, linked above. I am hoping to get them all to share a single login cookie, but I haven’t figured out how to do that yet. As far as a unified user table, though, spencerp’s solution really hits the spot; he also blogged the solution in full here. If I figure out the unified cookie problem, I’ll post it here and on spencerp’s thread

    The markup issue has me really frustrated with bbPress’ lack of documentation, though. I haven’t even been able to find the proper filter by looking through the source code. In terms of functionality, this should be a fairly straightforward filter, but it seems to be completely stuck on so simple a question as what the right hook is called…

    #54481
    Nate
    Member

    @jefgodesky: I don’t want to sidetrack this thread, but I’m more interested for now in the authorization/integration issue. As you point out in your first post, there have been a number of fragmented discussions on this forum about MediaWiki integration, but it seems like a bit more persistent and focused effort would benefit a lot of people. I’m interested to learn how you’ve fared on this front with your own setup, what you think the best way forward would be for a community-wide effort to develop a more integrated framework, etc.

    As I say, I want this thread to yield something useful for you regarding your question about markup–I can’t offer any help there, so my apologies–so if you’d rather take this up somewhere else, we can start a new thread.

    #54197
    bbolman
    Participant

    Yeah. it looks nice, I just can’t read spanish so I didn’t know what all the post says.

    #1400

    Topic: Step two errors

    in forum Installation
    amsports
    Member

    Installation went smoothly thru step one.

    When the step two page came up it displayed the following errors.


    bbPress database error: [Incorrect table definition; There can only be one auto column and it must be defined as a key]
    ALTER TABLE bb_users ADD COLUMN ID bigint(20) unsigned NOT NULL auto_increment

    bbPress database error: [Key column 'ID' doesn't exist in table]
    ALTER TABLE bb_users ADD PRIMARY KEY (ID)

    1. Added index bb_users PRIMARY KEY (ID)

    bbPress database error: [Unknown column 'ID' in 'where clause']
    SELECT * FROM bb_users WHERE ID = 1

    bbPress database error: [Unknown column 'ID' in 'where clause']
    SELECT * FROM bb_users WHERE ID = 0

    I checked via MyphpAdmin and have been unable to determine how to correct the errors, or even understand what they are.

    Below the error list it appears as though step two partially worked, i.e. it displays a login link and user name and P-word.

    However the login link returns (paraphrased) “it appears you have not installed bbpress” and a link to the install page.

    The database used was one from a bbpress install of over one year ago.

    I also made a second, but new, database with the same results as described above.

    #54196
    drhallows
    Member

    We are working on it, we release this version because some people want it, if u dont like it, no problem, after we will release the theme with more changes.

    #54195
    bbolman
    Participant

    Ah. So is it just an updated version? Are there any new changes?

    #54529

    I don’t know why this error appeared, but it’s harmless.

    Go forth and bbPress!

    #54528
    Trent Adams
    Member

    I got this error when upgrading as well. It won’t make a difference to your bbPress install, just something that needs to be sorted out on the upgrade script. Thanks for reporting!

    Trent

    #54525

    In reply to: admin email change

    chrishajer
    Participant

    My guess is that the email in the config.php is used for setup only. Afterward, I changed mine in my profile and it gets updated in my WordPress user table. I changed the email address in my WordPress user table, and it’s changed in the profile in bbPress. None of those changes affected the setting in config.php. I requested a new password with the forgotten password link, for admin, and it went to the email address in the user profile, not the one in config.php.

    I am pretty sure the email that is used on an ongoing basis is the one in the profile, and the one in config.php is used for setup only.

    That’s my best guess. For consistency, I think I would update both, even if only so that when you do an upgrade in the future, the one in config.php is still accurate.

    #54194
    drhallows
    Member

    Download refresh and try to use it in 0.80.

    #53600
    Trent Adams
    Member

    No problem! Good to here!

    Trent

Viewing 25 results - 62,526 through 62,550 (of 64,427 total)
Skip to toolbar