Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,251 through 6,275 (of 6,780 total)
  • Author
    Search Results
  • #54383
    lkessler
    Member

    I also am working in Windows via localhost. I also get the “Theme not found. Default theme applied.” error message that flaerpen does.

    After a few hours debugging, I got a fix:

    In themes.php, change the line:

    $activetheme = bb_get_option(‘bb_active_theme’);

    to

    $activetheme = stripslashes(bb_get_option(‘bb_active_theme’));

    I believe that fixes the double slashes added by the webserver.

    #62681
    John Conners
    Participant

    I’ve experienced this problem in 0.8.3.1. If you follow the password reset link you get emailed and then try to log in from that page you’ll get the key not found error. The reason is the ‘re’ value in the login form is getting set to that password reset link (bb-reset-password.php?key=xxxxxx) so when you log in bbPress bounces you back to that page (as it would do if you logged in from a specific topic) and now that the password has been reset, the key xxxxxx is no longer in the database and the ‘key not found’ error pops up.

    The way I’ve worked around it is to do the following prior to calling login_form() on password-reset.php in my template:

    <?php global $re; $re = bb_get_option(‘uri’); ?>

    The trouble is that in the default template login_form() is in the header so you’ll need to set $re elsewhere or come up with another solution.

    Hope that helps!

    #62756

    In reply to: rss result is empty

    Graeme
    Member

    I have tried a number of things:

    • slashed out the extra slash
    • progressively deactivated plugins to see of a plugin was at fault
    • tried switching to the default theme

    Each was unsuccessful in resolving the problem.

    #62704
    _ck_
    Participant

    bb-load essentially loads the entire bbpress framework

    It just doesn’t generate any template output

    It’s how RSS feeds, etc. are done

    You can indeed evaluate the user login via loading the entire framework. But you can also write a very small subset of code to check the cookie and then read the database directly too.

    However note that if your bbpress cookies are locked to a path (ie. /forums/) as they are by default, they will not be valid outside of the path and no user will be detected. So you have to change the cookiepath in config.php

    Otherwise neither method will work.

    #62698
    _ck_
    Participant

    Without going through the bbpress functions or mimicing the login authentication system (look in pluggable.php) you could never tell if a user is actually logged in, or being spoofed.

    However the bbpress/wp cookie will persist and if the cookie path is set to the website root (instead of locked to “/forums/” – you’d have to change the default cookiepath) you could read the cookie and see if the visitor has a bbpress username. But if several people used the same computer there possibly could be several cookies.

    In theory you could force sessions to always be on via a plugin for bbpress and watch it that way too. But note that sessions slow down server performance if it’s an active site.

    Best bet is to change the cookiepath and decode the cookie with a smaller subset of code.

    #62664

    In reply to: Databases

    chrishajer
    Participant

    Use the same database, and make sure the table prefix is different that what you are using for WordPress. By default, it’s bb_ in the config.php and you can leave it as is so long as you’re not using that already.

    #62650
    Olaf Lederer
    Participant

    Sure this “upgrade” is not for current functionality. To make this function clear it would be useful to have a working example in the default template ;)

    there are so many unused functions in the include map, why is this unused function included in the default template (makes no sense to me)

    @fel64, believe me I know the bbpress files maybe a little too much, hehe…

    #62649
    _ck_
    Participant

    In plain english it essentially replaces the need for things like “Sticky:” to be hard coded into templates. Long overdue but at least it got put in there finally.

    However when making templates for backwards compatibility, you’d have to detect if that function exists before relying on it.

    The only themes I’ve seen that uses it already outside of the built-in default is “K2 for bbPress” (and now my “FutureKind”).

    It allows tricks like I’ve done to replace “sticky” with a post-it-note-like yellow rectangle. But it also could be filtered via plugin to change it to a little graphic icon, etc. which was impossible before the function existed.

    #62535
    lookfab
    Member

    Thanks very much for the kind words.

    WordPressl, I mock up a few different design options in PhotoShop and when I’m happy there I move to the code. Since this was my first exposure to bbpress I ended up iterating between PS and the code a lot as I got to understand bbpress better. The challenge was to keep the flavor of the blog, but still make it clear to the user that they are somewhere different.

    The mechanics of the template are similar to the default theme. The different look is achieved mostly through the CSS stylesheet. One major change to the layout is to add a floating div for the sidebar on the left. All the rollovers are CSS. I do the tabs simply in php by checking which forum the user is in and displaying the tab bar appropriately. Most of the other changes are actually about hiding some of the power of bbpress.

    I’m glad the “tabs” resonate. I had a full working site in beta without them, but just wasn’t happy. The breadcrumb is a little subtle (particularly for folks who are new to a forum), and with only 4 forums and no sub-forums seems like overkill. But without the breadcrumb the user is lost once they’re in one of the forums or topics. The tab solves that and makes it easy to get to any forum from almost everywhere.

    #62645
    Burkie
    Participant

    have tried the default rewrite rules

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^forum/([^/]+)/?$ /forum.php?id=$1 [L,QSA]

    RewriteRule ^people/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^people/([^/]+)/?$ /topic.php?id=$1 [L,QSA]

    RewriteRule ^location/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 [L,QSA]

    RewriteRule ^location/([^/]+)/?$ /tags.php?tag=$1 [L,QSA]

    RewriteRule ^location/?$ /tags.php [L,QSA]

    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 [L,QSA]

    RewriteRule ^profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 [L,QSA]

    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 [L,QSA]

    RewriteRule ^profile/([^/]+)/?$ /profile.php?id=$1 [L,QSA]

    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 [L,QSA]

    RewriteRule ^view/([^/]+)/?$ /view.php?view=$1 [L,QSA]

    RewriteRule ^rss/?$ /rss.php [L,QSA]

    RewriteRule ^rss/forum/([^/]+)/?$ /rss.php?forum=$1 [L,QSA]

    RewriteRule ^rss/people/([^/]+)/?$ /rss.php?topic=$1 [L,QSA]

    RewriteRule ^rss/tags/([^/]+)/?$ /rss.php?tag=$1 [L,QSA]

    RewriteRule ^rss/profile/([^/]+)/?$ /rss.php?profile=$1 [L,QSA]

    </IfModule>

    #2838
    Burkie
    Participant

    I want to change the default topic/ folder to people/ for a new project I am working on, firstly I tried just renaming topic.php in the root to people.php which works when pretty urls is set to false, but using mutliviews or even modifying the rewrite-rules manually it still appears as topic/ any ideas?

    #62630
    healthstatus
    Member

    the .htaccess is the default one with:

    Options +MultiViews

    nothing else

    I checked the directory path and it is all ok

    #61669

    In reply to: User Registration

    rslater
    Member

    Log file

    01/22/08 16:52:25 [xxxxxx794F3BBD4EA70AC6DBC2D6.MAI] from (SMTP) [SMTP:r @ doubleweb.com]->[SMTP:r@doubleweb.com] System Default Route Applied.

    and

    Debug

    [01/22/08 12:28:15]****************** LOG FILE STARTED *******************

    01/22/08 12:28:15 Service Starting

    01/22/08 12:28:15 Service Loading Agents

    01/22/08 12:28:15 Resetting messages in inbound queue for List Server Connector

    01/22/08 12:28:15 No outgoing message files in inbound queue for List Server Connector

    01/22/08 12:28:15 Resetting messages in inbound queue for POP Connector

    01/22/08 12:28:15 No outgoing message files in inbound queue for POP Connector

    01/22/08 12:28:15 Resetting messages in inbound queue for SF Connector

    01/22/08 12:28:15 No outgoing message files in inbound queue for SF Connector

    01/22/08 12:28:15 Resetting messages in inbound queue for SMTP Connector

    01/22/08 12:28:15 No outgoing message files in inbound queue for SMTP Connector

    01/22/08 12:28:15 Initalised MTA Connector Collector Thread for POP Connector

    01/22/08 12:28:15 Initalised MTA Connector Collector Thread for SMTP Connector

    01/22/08 12:28:15 Initalised MTA Connector Collector Thread for List Server Connector

    01/22/08 12:28:15 Initalised MTA Connector Collector Thread for SF Connector

    01/22/08 16:52:25 Processing file xxxxxx8794F3BBD4EA70AC6DBC2D6.MAI from queue SMTP

    01/22/08 16:52:25 ME-MTA-ROUTE [xxxxxx4F3BBD4EA70AC6DBC2D6.MAI] from [SMTP] Connector queued to [SMTP] Connector as [xxxxxxx5444A809973864743822928.MAI]

    #62548
    Göran
    Member

    Thanks for help. I am moving forward. I deleted both WP and bbPress and started again and made progress. The blog and the forum are integrated but I cannot get bbSync to work. Both work by temselves and I can log in with same id and password but cannot get posts into forum.

    Installation:

    Blog at http://www.goranlin.se/blogg/wordpress/

    Forum at http://www.goranlin.se/blogg/wordpress/bbpress/

    WordPress 2.3.2 installed 22 january 2008

    theme WordPress Default 1.6 changed colors in head with panel

    bbPress 0.8.3.1 installed 22 january 2008

    sv_SE.mo for WP installed 22 january 2008

    sv_SE.mo for bbPress installed 22 january 2008

    bbSync version 0.94 installed 22 january 2008

    bbSync gave message “It needs your config!:)

    I did that! succesfully I thought.

    But when trying to write new post in blog:

    Fatal error: Cannot redeclare class streamreader in /mnt/home/_g/goranlin/www.goranlin.se/blogg/wordpress/bbpress/bb-includes/streams.php on line 26

    but going back to blog the new post is there but still not in Forum

    line 24-26 in streams.php is:

    // Simple class to wrap file streams, string streams, etc.

    // seek is essential, and it should be byte stream

    class StreamReader {

    // should return a string [FIXME: perhaps return array of bytes?]

    function read($bytes) {

    return false;

    I have no clue how to do anything about this! All help is welcome!

    #62375
    chrishajer
    Participant

    The default theme is working here. Maybe something is cached with your browser. Clear the cache or use a different browser. The path to the theme in the source HTML is correct as well: http://www.guitarfxdepot.com/forum/bb-templates/kakumei/style.css

    #62372

    Thanks guys, I’ve got that part working, but now the default theme isn’t working. I activate the theme in the admin panel, yet it still looks like it’s missing a style sheet. Any ideas?

    #62378
    edwinfoo
    Member

    Gee, that is brilliant. Thank you.

    Just one little problem. When I’m logged in as admin, and activate the plugin in an account other than mine, it’s checked and looks like it’s ready to go. However, when I log back in as the member, it’s not checked and of course not activated.

    Log back in as admin, and it’s checked and looks like it’s ready to go.

    Actually, when logged in as admin it looks like for all existing accounts the plugin is checked active as default. From the member accounts, it’s not.

    As admin, I’d like to go through and activate this for my members but it is not possible. Only the member can activate this plugin.

    What’s required to enable admin to activate this plugin in member profiles?

    #2786
    intellivision
    Participant

    New users have no role, even though I have New User Default Role set to Subscriber in WP Admin -> General.

    Perhaps this is because I didn’t have the WP integration plugin, so I installed that. Then I get “Cannot redeclare bb_int_set_current_user()” 404 for any forum page.

    #62291
    basher
    Member

    Thanks fel64, I got through the setup now. :) I installed BBpress without WP integration because it told me that I’ll be able to do after install, in the admin menu.

    So I did. After install I logged in and went to the Integration with WordPress menu and filled in the required fields. After saving changes I couldn’t go back to the Admin menu, because the option went away.

    In the upper left corner it says: “Welcome, admin! View your profile (Log out)” Before integration there was an Admin option too to access the Admin menu.

    The only thing now I can do is to post into the default forum as a member. Any idea?

    #62296
    fel64
    Member

    No, from the PHP docu glob only returns false when it encounters an error. No files found makes it return an empty array. (I don’t have any underscored files and it works for me, too.)

    But I agree with you, those folders should be in there by default. What plugins could be included that could be interesting to everyone? Avatars?

    #62295
    chrishajer
    Participant

    I’ve seen two or three seemingly unrelated problems pop up related to something like this:

    if ( is_callable( 'glob' ) )
    foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )
    require($_plugin);

     

    Seems like if there are no underscore plugins, this fails. I don’t follow the code exactly, but further up in that file, it defines BBPLUGINDIR if it’s not already defined as (basically) my-plugins/. But this line just says “if glob is callable, then go through the directory for all underscore plugins”. What happens if there are no plugins there? This would return false, maybe, instead of an array?

    And, is there a good reason NOT to include a blank directory for my-templates and my-plugins? At least then people would know where to put stuff. I mean, what IS the reason? WordPress comes with wp-content/themes/ and wp-content/plugins/ directories, and by default, two themes and two plugins. That eliminates the possibility of something missing. Of course, people could delete those, but right off the bat, they wouldn’t and things would just work when they started out.

    At the very least, I think this should be fixed to have a conditional looking for underscore plugins before looping through them (i.e. if there are none, you can’t loop through them.)

    Maybe someone with a better read on it can explain to me exactly what’s happening.

    #62274
    Graeme
    Member

    Yes you can however it is fiddly as it requires coding! It involves crafting a bbPress theme manually to make use of the same stylesheet and page structure as your WordPress theme. Your theme stylesheet will also need certain rules for bPress.

    I found when developing my themes that bbPress will use template files from the default theme if they are non-existent in a theme. This means that you can keep the number of .php template files in the theme to a minimum of 3 php files for a 1 column theme or 5 php files for a 2 column theme (i.e. with sidebar).

    If you had someone create your WordPress theme for you, then direct theme to bbpressraw.com since these themes are a bare-bones starting point for creating a new bbPress theme. They save some time in stripping down a bbPress theme to its bare essentials.

    #58827
    ajg
    Member

    There is no additional space nor new line in front of the <?xml version="1.0"?> line in rss2.php

    This file is identical to the default (kakumei) theme rss2.php file

    I deleted the “old” and replaced it with the one from kakumei folder.

    And yes, I did upgrade to a newer version. ;)

    —-

    Update:

    It’s fine now. :)

    We had this _blah.php file in my-plugins dir that had just a typed space in it. I deleted it and now the rss feed is fine.

    Thanks for all your help

    I deleted the space from file and it’s fine now.

    #2754
    Trent Adams
    Member

    From Sam’s Post on the main bbPress blog:

    Due to popular demand we have bundled a bug-fix release for bbPress. 0.8.3.1 (still called “Desmond” I believe) and it is now available for download.

    This version is not the latest development release so as to remain as compatible as possible with the current version of WordPress.

    The primary reason for the release is to fix some bugs in the MySQLi implementation. We anticipate that MySQLi support will be dropped in the future and to this end we have made MySQL the default extension instead of MySQLi.

    A few other fixes and enhancements have also snuck in:

    • Deep forum breadcrumbs with thanks to baptiste
    • More consistent topic labeling methods – users of the support forum plugin will probably need to upgrade to version 2.3.3
    • Some fixes to stop orphaned sub-forums from disappearing from all view
    • There is now one of those fancy checkboxes to mark a user as a bozo

    A couple of those changes will affect existing themes. If you have questions about adapting your theme to be compatible with the new topic labeling and forum breadcrumb features, then ask over on this forum topic.

    #2748
    Simon99
    Member

    I’ve recently enabled the hard cache, to see how it handles on a test forum with only a few users. The first problem I’ve come across has been an error with $bb_cache->get_forums() – the array it was returning when cached was 0, instead of containing the forum ids.

    I fixed it by a simple reversal of the sections of code within the get_forums() function in cache.php:

    $forums = (array) $bbdb->get_results("SELECT * FROM $bbdb->forums $where ORDER BY forum_order");
    if ( $this->use_cache && $normal && $forums )
    $this->write_cache(BBPATH . 'bb-cache/bb_forums', $forums);

    $_forums = array();
    foreach ( $forums as $forum )
    $_forums[(int) $forum->forum_id] = $bb_forum_cache[(int) $forum->forum_id] = $forum;

    After reversing them (the above are their original positions), I then made sure the write cache line was using $_forums, instead of $forums.

    No idea if this may have other consequences I’ve yet to unearth, but I thought it may be worth noting here.

    I’ve also used the “load all options” function from wordpress as a basis for creating a global array containing all topicmeta options. By default (even with cache enabled, although maybe I’ve missed a setting), there were several calls to to topicmeta, whereas only one was really required.

Viewing 25 results - 6,251 through 6,275 (of 6,780 total)
Skip to toolbar