Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,976 through 28,000 (of 32,495 total)
  • Author
    Search Results
  • #63801
    chrishajer
    Participant

    Seems pretty silly to me too. They could at least put that code in the template and comment it out if they don’t want it to appear, like you see in WordPress themes sometimes.

    icesar
    Member

    Thanks for the reply Chris. Yes, I’m using 2.3.3 right now. The content of the plugin code is exactly as above:

    function mbob_flush_rewrites() {
    global $wp_rewrite;
    $wp_rewrite->flush_rules();
    }
    add_action('init', 'mbob_flush_rewrites');

    function mbob_add_rewrites($wp_rewrite) {
    add_rewrite_rule('forums/topic', 'forums/topic.php');
    add_rewrite_rule('forums/forum', 'forums/forum.php');
    add_rewrite_rule('forums', 'forums/index.php');
    $wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
    }
    add_action('generate_rewrite_rules', 'mbob_add_rewrites');

    And I’m not getting a specific error really. Simply that when I upload no404s.php with this code to my wp-content/plugins directory, there is no listing in the Plugins tab to even activate it.

    #63810
    kernow
    Member

    I have xammp (installed on a USB key) and upgraded to WP 2.5 and since then the forum no longer works. Will test on localhost first before I go live I think :)

    #58947
    parabolart
    Member

    in functions.php find function get_profile_admin_keys() {, and move $bb_table_prefix . 'title' => array(0, __('User Title')) from that function’s array to function get_profile_info_keys()

    icesar
    Member

    So close! I have this same issue with my regular installation of WP, and I only realized today (after 3 months) that this is the reason my forums – http://argentinastravel.com/forums/ – are not getting indexed!

    I tried creating a plugin from the code above, but I couldn’t activate it. Can someone please help me with a step by step fix for a regular WP install? Gracias!

    #63808
    chrishajer
    Participant

    Well, it was imminent 19 hours ago :-)

    https://bbpress.org/forums/topic/bbpress-084-release-date?replies=39#post-14842

    It will be here soon enough. Hang in there.

    #63804

    In reply to: Conditional tag?

    chrishajer
    Participant

    How about in your WordPress header.php try to wrap the breadcrumb call with something that happens only on bbPress pages. So, if your forum is in a directory called “forum” or something, maybe you could check the REQUEST_URI for the presence of forum. Then you wouldn’t show the breadcrumbs if you were on a forum page. Something like that?

    #63819
    chrishajer
    Participant

    Looks very nice, nice job.

    I clicked on a link in one of the forums though, and Firefox wanted to open the file with WordPad rather than open in the browser. This was the link:

    <a href="http://www.refueled.net/forum/topic.php?id=106">No Page Templates to Chose From?</a>

    PHP files normally open just fine for me on the Internet, this seemed sort of weird.

    UPDATE: the second time I clicked the link, it opened fine in the browser. I always forget to take a screenshot when this happens since i figure it will just happen again. Oh well. Sometimes, I think Apache or PHP fail to parse the PHP files and they get sent through with the wrong mime type or something. I have had this happen once before where I saw the source of a PHP file, which would be bad, since there are sometimes passwords and connection details in there. Of course, I didn’t capture a screenshot of that either.

    Anyway, your forum looks very nice. Nice job.

    #63796

    In reply to: plugin directory

    chrishajer
    Participant

    Right now, go ahead and create these two directories in the same folder where your config.php is:

    my-templates
    my-plugins

     

    Then, put your plugins into the my-plugins directory. I think these bare directories should be included in the download package. Maybe there’s a good reason they’re not, but it just seems silly to me.

    #63799
    chrishajer
    Participant

    No plugin, just add this code wherever you want the search to appear (probably header.php):

    <?php search_form( $q ); ?>

    I agree, this should be better documented. Or maybe it is documented and I just never read the docs.

    #63365
    Sam Bauers
    Participant

    There are two people committing code for bbPress and one of them (mdawaffe) was heavily involved with the WordPress 2.5 release.

    If there have been two release candidates for WordPress, that means there have been changes to WordPress that we have to match in that time.

    It’s just a matter of limited resources at this stage. We also have identified one blocker which needs to be fixed before we can release 0.9

    #3094

    Topic: plugin directory

    in forum Plugins
    darksprite
    Member

    i see no where to add these plugins?? where is my main bbpress directory???

    please help :)

    #63789
    chrishajer
    Participant

    I can access this:

    http://cialar.com/foro/bb-images/bbpress.png

    Which means the files (at least that file) are there.

    I can also access these and get directory listings:

    http://cialar.com/foro/bb-admin/

    http://cialar.com/foro/

    That tells me that the index.php file in each directory is not getting processed by the web server. Looks like some sort of configuration problem with the server.

    Can you put a simple file in the foro directory, call it info.php and put this into it:

    <?php
    phpinfo();
    ?>

     

    Then access that at http://www.cialar.com/foro/info.php. See what that tells you. If that is not processed by the web server, then it’s a problem with the server, not bbPress.

    I don’t have a lot of experience on an IIS server, so there may be something simple I’m not familiar with that would cause this.

    I am guessing PHP is not enabled here:

    http://www.cialar.com/foro/ (IP: 74.208.22.70)

    It is however enabled here:

    http://www.foro.cialar.com/ (IP: 74.86.125.241)

    Those are two completely different machines. The one where phpBB is now is a Linux/Apache machine with PHP 5.2.5. The cialar.com one if IIS.

    I am pretty sure this is a configuration thing with your server, and where you have bbPress installed does not support PHP.

    #3091
    nisus
    Member

    I really like the new theme they are using and was wondering if anyone knew if they had released it or where they got it from?

    Also on a non-bbpress note, how do you turn avatars on in WP2.5? I can’t find it at all. =/

    #54428

    In reply to: Add nofollow to links

    geld-lenen-1
    Member

    It worked fine with me, I’ll just manually delete the entry of the spammers! :)

    #63384
    benbeltran
    Member

    I’ve done this but I use the bbpress database. If you can make a relationship between the bbpress database and your user database I’m sure you can work something.

    #63359
    felixbruin
    Member

    @lostdeviant

    I guess, they’ve taken a long vacation ;)

    #63784
    chrishajer
    Participant

    I *believe* someone becomes inactive only if you mark them inactive. You can change the user status by going to their profile page, then clicking the edit tab, as keymaster.

    I’ve never seen it happen automatically. And, on the edit tab of the profile page, there is a description on the bottom of what blocked and inactive mean.

    Inactive users can login and look around but not do anything.
    Blocked users just see a simple error message when they visit
    the site.

    Note: Blocking a user does not block any IP addresses.

    #56776

    In reply to: Plugin: Avatar Upload

    CoreForce
    Member

    Hi,

    I’m very pleased with the Avatar Upload, great work. Also I like the integration into bbpress a lot, it’s really straight forward.

    Only one small visual glitch that I noticed is that for avatars even when resized to 100×100 max, with small (1 line) posts the avatar image will overlap into the portion of next post, rendering the next user name unreadable. The callout for the img code has been included where suggested by the docs. Anyone else did recognize this as a problem?

    I’m using version 0.8.3 of the plugin (avatar-upload.0.8.3.zip).

    Thanks.

    #63426
    sealedsun
    Member

    Yes, I use a custom german language file (The forum is completely integrated with WP i.e. both configurations are loaded).,

    I just tried posting links while not using the language file: no change, href still gets stripped.

    Deactivating all my plugins doesn’t help either.

    Also, for some reason ” does not get unescaped. I get ” all over the place. This I was able to fix with a custom stripslashes-filter. Its strange though that forum software comes with such bugs out of the box…

    The href must be stripped when saving a post, as it does not appear in the database tables. Some pre_post filter maybe?

    My german forum is located at http://www.sphaerenriss.ch/forum/

    Thanks for your help

    #63748
    sealedsun
    Member

    Eight so far. But the forum is far from complete. :-)

    I would much rather have stuff like “Unread Posts” and a post preview integrated into the bbPress core than having to hunt down each and every piece of functionality my users expect from a forum.

    #63424
    sealedsun
    Member

    I have the exact same problem. An yes, I already tried deactivating the “Allow Images” plugin. ;-)

    #63770
    jom
    Member

    I think WordPress.org already had Gravatar support for quite a long time, but I’m also interested, if they do run 0.9 by now? :)

    #63769
    felixbruin
    Member

    Some thing like this !? ;-)

    http://bbshowcase.org/forums/

    #63767
    felixbruin
    Member

    They’ve a bit slow with releasing the new 0.9 version ;)

Viewing 25 results - 27,976 through 28,000 (of 32,495 total)
Skip to toolbar