Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,376 through 6,400 (of 6,788 total)
  • Author
    Search Results
  • #59507
    _ck_
    Participant

    All these problem are both cookie path

    and forbidden character problems.

    Both are poorly documented (or not mentioned at all)

    but the good news is that fixes exist for both issues.

    I have to find my previous instructions on this but

    because bbpress search is so poor, this may take awhile.

    Could someone please get this into a wiki or faq at some point:

    Steps required for more complete and problem-free bbPress+WordPress integration:

    1. cookies paths need to be changed to the same path in both WordPress and bbPress (change to domain root recommended)

    https://bbpress.org/forums/topic/wordpressbbpress-single-sign-on?replies=22#post-9010

    2. the integration plugin should be installed

    https://bbpress.org/plugins/topic/4?replies=26&more=1

    3. the allow spaces in usernames plugin should be installed (also add my underscore hack for characters bbPress by default forbids but WordPress allows – see my message later in same thread)

    https://bbpress.org/forums/topic/usernames-with-spaces-do-not-work?replies=28#post-7904

    4. add the ” set default role when registering new user though forum” mini plugin should be installed:

    https://bbpress.org/forums/topic/yet-another-integration-bug-no-role-set-on-registration?replies=10#post-8768

    5. search your bbpress templates and force all registrations/logins through wordpress from the several places they are buried on the forum (the WP login interfaces are far more developed) – unfortunately at least one bbPress login location is hard coded in the core which will require a direct hack everytime you upgrade. ie:

    <?php $request_uri=$GLOBALS["HTTP_SERVER_VARS"]["REQUEST_URI"]; ?>
    <a href="/wordpress/wp-login.php?redirect_to=<?php echo $request_uri; ?>"><?php _e('Login'); ?></a>
    <a href="/wordpress/wp-register.php?redirect_to=<?php echo $request_uri; ?>"><?php _e('Register'); ?></a>

    6. optional but highly recommended, install the “use display name” plugin for mods+admin:

    https://bbpress.org/plugins/topic/2?replies=6&more=1

    #60208
    benbeltran
    Member

    SamBauers is right, text/html is right and “application/xhtml+xml” + IE6 = headaches. And it’s really not that important.

    On the other hand, the inline styling parts are more of a problem for people who want to design a theme. To edit the tag cloud I had to edit the code so it could support changing colors. If you could make a class for each step, it would be easier to customize the cloud.

    point 4 .. .well I wouldn’t know about it since I don’t have a colour deficiency, but I can barely notice the change of color. Still, because of the structure of the forum, I am able to differentiate between topics easily, might be something to think about.

    Why not help the project out by editing the default theme so it validates properly and is more accessible (I wouldn’t change the text/html part though) without changing the current looks, if it’s properly executed and it doesn’t make things harder for developers, it might become the official one. Collaborate :)

    #2278
    mazdakam
    Member

    hi again :))

    al of you know that notification email is very important for tracing a post

    i am using post – notification plug in

    but it need to be better:

    don’t send any email until you visit the post from your email link

    i got crazy this month because for every new post i will give notification email and the trafficked of my forum is high

    many other forum systems have this feature

    so i recommend this:

    an option for users to select didgist summary or per post or until he/she visit(default!)

    bobbyh
    Member

    I had a user write a post with this title:

    =)

    This creates a post like this:

    * http://www.kosmosity.com/forums/topic/?replies=1#post-2

    I’m using the “slug” option on this test forum which uses the default theme and bbPress 0.8.2.1. It looks like the =) is being sanitized to “” (an empty string), which confuses bbPress and leads to that topic resolving to an error page. On the test forum to which I just linked, I have no plugins except WordPress Integration.

    Has anybody else run into this bug? Is there an existing workaround? If other people can replicate this bug, I’ll create a ticket in Trac. Also, if there’s no existing workaround, I’ll try to create a plugin workaround.

    Thanks,

    Bob

    #60137

    In reply to: help with new install!

    mikeinspain
    Member

    Never mind, had to default back to a Vanilla Forum..

    #60160

    In reply to: Wrong user count

    Elias
    Member

    Arrgh! Horrors!

    The problem is caused by the bb_append_meta invocation in line 2075 of functions.php. The query destroys the last SQL_CALC_FOUND_ROWS and so the count is wrong. A quick and dirty workaround is to change 'append_meta' => false to 'append_meta' => false in the $defaults array in line 2021 of functions.php. But this only works if the append_meta argument is not given in the bb_user_search call.

    Now the problem is more complicated as I suspected earlier. It is a problem for the hackers that make bbPress. No further searching for bugs from me, the problem should be clear. (It is clear enough to me after reading lots of code from other people.) I expect it to be fixed in the next release.

    #2266
    dennylin93
    Member

    I installed bbPress version 0.8.2.1 on Windows XP Pro SP2 with Apache 2.2.4 and PHP 5.2.3. I installed a few plugins, and everything worked fine. However, when I tried to register a new user for testing, I couldn’t receive the e-mail with the password.

    I checked the error log and found this:

    [Sat Aug 18 21:18:09 2007] [error] [client 127.0.0.1] PHP Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\forums\bb-includes\registration-functions.php on line 105, referer: http://127.0.0.1/forums/register.php

    Most things on Apache and PHP are set to default, so I’m not sure if I skipped any processes. I’ve been having trouble with SMTP for a long time now.

    #59827
    Inquirer
    Member

    The following code is in the front-page.php file

    <th><?php _e(‘Freshness’); ?></th>

    What file contains the code to change the Freshness of post format from the default of Days to the Date – Hours – Minutes ?

    #52550
    Sam Bauers
    Participant

    Ummm, I probably won’t add that sort of functionality to the plugin. Perhaps you should try to hack together a plugin yourself?

    #52549
    outchy
    Member

    Thank you for doing this, it’s a great update.

    One more humble request. Is there a way to add a view link that shows all open topics from both “support-forum-no” and “support-forum-mu”?

    (Reason being, I changed the “Not a support question” title to “Important” so I could have two severity levels of open cases instead of just one.)

    #52548
    Sam Bauers
    Participant

    I’ve added the option to create views for all support status types in the plugin

    The new version is 2.2, should be available here soon:

    https://bbpress.org/plugins/topic/16

    #52547
    Sam Bauers
    Participant

    I assume you are using the plugin now and not a really old version of bbPress…

    Although you can now change the default status, the view still only shows the unresolved topics.

    It shouldn’t be too hard to add this as an option to the plugin.

    I’ll see what I can do.

    #59992
    _ck_
    Participant

    Ah, here’s SMF’s secret against bbPress – sheer number of files + size.

    This definitely makes me want to go ahead with making a “quick loader” that will concat all the includes and then all the plugins as two blobs that can be either loaded from disk or mysql at user discretion based on the weakness of their shared server:

    Front pages compared:

    (keep in mind SMF actually has even more features than the dozen plugins loaded with bbPress, online user tracker, etc)

    SMF 1.1.3
    files for front page: 8 files, 338.45 Kb

    index.php : 14.31 Kb
    Settings.php : 3.71 Kb
    Sources/QueryString.php : 18.84 Kb
    Sources/Subs.php : 132.37 Kb
    Sources/Errors.php : 15.94 Kb
    Sources/Load.php : 92.47 Kb
    Sources/Security.php : 29.88 Kb
    Sources/MessageIndex.php : 30.93 Kb
    =====================================================

    `

    bbPress 0.8.3 alpha

    files for front page: 40 files, 437.15 Kb

    index.php : 0.44 Kb

    bb-load.php : 0.46 Kb

    config.php : 2.28 Kb

    bb-settings.php : 7.14 Kb

    bb-includes/db-mysqli.php : 12.77 Kb

    bb-includes/functions.php : 71.73 Kb

    bb-includes/wp-classes.php : 3.37 Kb

    bb-includes/classes.php : 37.98 Kb

    bb-includes/formatting-functions.php : 8.73 Kb

    bb-includes/template-functions.php : 59.12 Kb

    bb-includes/capabilities.php : 13.15 Kb

    bb-includes/cache.php : 8.52 Kb

    bb-includes/deprecated.php : 8.17 Kb

    bb-includes/wp-functions.php : 36.06 Kb

    bb-includes/kses.php : 17.65 Kb

    bb-includes/l10n.php : 1.76 Kb

    bb-includes/bozo.php : 10.1 Kb

    bb-includes/akismet.php : 8.14 Kb

    bb-includes/default-filters.php : 4.45 Kb

    bb-includes/script-loader.php : 9.2 Kb

    bb-includes/compat.php : 0.57 Kb

    my-plugins/_bb-benchmark.php : 4.79 Kb

    my-plugins/_cookie-year.php : 0.92 Kb

    my-plugins/bb-polls.php : 21.04 Kb

    my-plugins/bb-signatures.php : 11.52 Kb

    my-plugins/report-post.php : 3.92 Kb

    my-plugins/user-topics-to-favorites.php : 0.59 Kb

    my-plugins/bb-topic-views.php : 5.91 Kb

    my-plugins/my-views.php : 10.13 Kb

    my-plugins/notification.php : 2.26 Kb

    my-plugins/my-views-started-participated-topics.php : 1.52 Kb

    my-plugins/my-views-most-least-views.php : 2.7 Kb

    my-plugins/plugin-browser.php : 21.72 Kb

    my-plugins/my-views-installed-available-plugins.php : 6.61 Kb

    bb-includes/pluggable.php : 8.86 Kb

    bb-includes/locale.php : 6.91 Kb

    bb-templates/kakumei/front-page.php : 3.03 Kb

    bb-templates/kakumei/header.php : 1.6 Kb

    bb-templates/kakumei/logged-in.php : 0.21 Kb

    bb-templates/kakumei/footer.php : 1.13 Kb

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

    #58887
    neyoung
    Member

    I’m learning slowly :) Figured it out.

    #60017
    neyoung
    Member

    Well, it turns out I shouldn’t play with bbpress/wpmu when I’m tired at 2am. I never ended up activating the plugin o.O . Anyways, I got the code that Detective wrote to work once I pulled my head outta my butt!

    Here’s for anyone else that has this problem…

    toss this into a file called default-role.php and put it in your my-plugins directory within your bbpress install folder.

    <?php

    /*

    Plugin Name: bbpress wpmu default role

    Plugin URI: https://bbpress.org/forums/topic/yet-another-integration-bug-no-role-set-on-registration?replies=5

    Description: Sets a default WPMU role for all new bbpress users.

    Author: Detective

    Author URI: http://www.ryuuko.cl/

    */

    function wpbb_add_user_role_rk($user_id) {

    $user = new WP_User($user_id);

    $user->set_role(get_option(‘default_role’));

    }

    add_action( ‘bb_new_user’, ‘wpbb_add_user_role_rk’);

    ?>

    #55098
    chrishajer
    Participant

    The bbPress forum is not really a part of the blog, it’s sort of next to it. With integration, you get login information shared between WP and bbPress, but you will need to do the CSS customization to a bbPress template to make it look like your blog.

    And yes, you can play all you want with the bbPress CSS, it won’t affect your blog at all. They’re totally separate files. I would making a new directory for your new template, so you can always revert to the default template if something goes wrong.

    If you search the forums, there are some people who have had a lot of success making their bbPress installation look like their blog.

    #60016
    neyoung
    Member

    I’ve got μ loaded through the config.php file. I’ll look into some of the μ functions and see what I can do.

    I don’t think that trk_addDefaultRole function is being called from bb_new_user at all. Is there a way I can test to see if it is?

    #60015
    fel64
    Member

    I don’t know why nothing would happen, but I’d advise you to use the API instead of a db query. If μ isn’t already loaded when you load bb, it might be good to load it when someone registers and use a μ function to set their role instead.

    #60014
    neyoung
    Member

    Sorry for the duplicate post, I think I was tired when I posted the other one and I’d sort of forgot about it.

    Anyways, I’ve been playing with the two bits of code and I think I’ve ‘almost’ got it working. If I execute Detectives query manually from the terminal it works, but for some reason when I put it all in a little plugin nothing happens. Is there a type-o or a noob error somewhere?

    `<?php

    /*

    Plugin Name: bbpress wpmu default role

    */

    function trk_addDefaultRole($user_id) {

    global $bbdb;

    $bbdb->query(“INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘$user_id’, ‘wp_1_capabilities’, ‘a:1:{s:10:”subscriber”;b:1;}’ )”);

    }

    add_action(‘bb_new_user’, ‘trk_addDefaultRole’);

    ?>

    #60013
    Trent Adams
    Member

    I would imagine that since no one answered the first time, you won’t get much more on a duplicate type thread…..

    Trent

    #2246
    neyoung
    Member

    As everyone knows, if a user registers in bbpress instead of through wordpress(mu) that user doesn’t get a default role set.

    I’ve dug and dug on both the bbpress and wpmu forums and haven’t found a fix for this. I did find a fix that apparently works for wordpress, but I tried it for wordpress mu with no luck.

    The 4th post in this thread explains a way to set roles in wordpress mu.

    I imagine that a plugin with the combination of the two solutions would allow users to register through bbpress and get a default role on the main wordpress mu blog. But, unfortunately I have no clue what I’m doing. If anyone has a free minute or two to look at the bits of code and maybe hack something together that would be awesome.

    Oh, and I’m using the latest versions of both bbpress and wpmu.

    #2235
    neilogic
    Member

    Hi there, here’s my first attempt on BBpress , although I have been pretty good at making website’s with WordPress but this was my first attempt to have a forum’s at my very new blog.

    Here’s the link to my forums powered by BBpress.

    http://www.aguywitha.com/_main/forum

    I had a choice of integrating it with wordpress using the wordpress header and footer … but in my case i felt that designing a bbpress in itself like my wordpress theme was a bit easy for me as I was having some difficulties with integrating it with my blog interface … so I managed to make the default kakumei theme look my original wordpress blog theme … and integrate the users …

    Although there will always be small changes being made on the forums as this was the first time i went through the BBpress code and I just love the simplicity.

    Thanks a lot …

    #2227
    _ck_
    Participant

    I worked overnight to bring the My Views plugin up to date for public release. I am pleased to announce it now works with both 0.8.2.1 and the trunk!

    But it now goes way beyond that. Be sure to read the readme.txt

    http://bbpress.org/plugins/topic/67

    You can see a demo here: http://bbpress.nfshost.com/forums/view/most-views

    (My Views is a powerful addition to the default “views” in bbPress. It will let you customize output and adds several new views. My Views consists of a main plugin and several optional “module” plugins that can be added if desired for additional new views.)

    Appended bbPress Views by My Views:

    * Latest Discussions

    * Topics I’ve Started

    * Topics I’ve Participated In

    Extended bbPress Views by My Views if optional “bb Topic Views” plugin by Mike Wittmann is installed http://bbpress.org/plugins/topic/53

    * Topics with the most views

    * Topics with the least views

    Extended bbPress Views by My Views if optional “Plugin Browser for bbPress” plugin by Sam Bauers is installed http://bbpress.org/plugins/topic/57

    * Installed bbPress Plugins

    * Available bbPress Plugins

    and many little other tweaks to views including proper titles and headers as well as a dropdown views list box.

    #59863

    In reply to: bbMenu 1.2 released!

    Null
    Member

    Adding new links will be supported in version 2, for now you will have to do it using phpMyAdmin or using a plugin :)

    Excample plugin (not yet tested and the bbmenu plugin needs to be active/working):

    <?php
    /*
    Plugin Name: add bbMenu tab
    Plugin URI: http://www.bbportal.org/
    Description: Adds a tab to the bbMenu list
    Author: Maurice de Regt
    Author URI: http://www.mauricederegt.nl/
    Version: 1.0

    NOTES:
    - for xxxx use something normal like: "googletab" if you make a tab to the google.com page
    - for 'YOUR-TITLE': This will be the text you can edit, make sure it is between the 'tags'
    - for 'URL-OF-PAGE': This will be the page you'll go to when you click the menutab, make sure it's between the 'tags'
    - These added tabs WILL NOT stay highlighted when you are on that page. This requires some more complex stuff
    */

    // Check if the bbPortal menu tab exists
    function xxxx_check_tab() {
    global $bbdb;
    $bbdb->hide_errors();
    $bxxxx_tab = true;
    if (!$bbdb->query("SELECT * FROM ~$bbdb->menu~ WHERE ~location~ = 'xxxx-page'")) {
    return xxxx_add_tab();
    }
    $bbdb->show_errors();
    return $xxxx_tab;
    }

    // If it doesn't, install the menu tab
    function xxxx_add_tab() {
    global $bbdb;
    $query = "INSERT INTO ~$bbdb->menu~ VALUES
    (DEFAULT, 'YOUR-TITLE', 'inactive', 'URL-OF-PAGE', 'xxxx-page', 0);";

    $bbdb->query($query);
    }

    ?>

    NOTES:

    – for xxxx use something normal like: “googletab” if you make a tab to the google.com page

    – for ‘YOUR-TITLE’: This will be the text you can edit, make sure it is between the ‘tags’

    – for ‘URL-OF-PAGE’: This will be the page you’ll go to when you click the menutab, make sure it’s between the ‘tags’

    – These added tabs WILL NOT stay highlighted when you are on that page. This requires some more complex stuff

    REPLACE ALL ~ with backticks, since this forum filters them out

    #59817
    fel64
    Member

    If you’d be so kind as to take all that code out of your post and put it in http://pastebin.ca/ then link to it, that’d be nice. Also, bb doesn’t by default use bbCode. Code is delimited by ` backticks.

Viewing 25 results - 6,376 through 6,400 (of 6,788 total)
Skip to toolbar