Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,651 through 24,675 (of 32,468 total)
  • Author
    Search Results
  • chrishajer
    Participant

    Also, can you get phpinfo() for your server? Just put this into a file and call it up in a browser:

    <?php
    phpinfo();
    ?>

    If you save that as a file called info.php, you can load in your browser at http://www.example.com/info.php or http://www.example.com/bbpress/info.php depending on where you installed it.

    #75114
    johnhiler
    Member

    When you run this query, does your old URI show up anywhere?

    SELECT * FROM bb_topicmeta WHERE meta_key=’uri’

    As for the word “slugs”, I’m pretty sure it comes from typesetting. :-)

    http://en.wikipedia.org/wiki/Slug_(typesetting)

    #75033
    r-a-y
    Participant

    Hi Sam,

    Did the var_dump.

    Here’s the result:

    array(2) {
    [0]=>
    string(1) "2"
    [1]=>
    string(1) "1"
    }
    string(0) ""

    [EDIT]

    I should state that I forgot to clear the memcached service. How do I go about doing that?

    #75109
    _ck_
    Participant

    It sends all the invisible code before the webpage that your browser requires to understand the language, etc.

    In theory commenting it out is very bad but for some reason with bb-gzip it’s being triggered twice which should not happen and is bad. The fix I gave you is a lazy workaround for now until I have time to address it properly one day (and might need a completely different fix with bbPress 1.0.1 etc)

    Sam Bauers
    Participant

    The favourites RSS feed was always public, for some reason the page was made private in the past. We decided (me and mdawaffe) to just make it public from now on instead of getting rid of the RSS feed.

    If you don’t want it to be public then you’ll need to write some plugin code to make that happen, just remember to kill the RSS feed as well.

    #51708
    lemonade-joe
    Member

    Hi, I am trying to use this plugin on a site running in Slovak language, that means, I need to use special characters. I am not good with php, so forgive me, if am not technical enough :)

    The system e-mails (like registration) are working fine. However, when sending mail through Post Notification, the special characters are messed up.

    When I was checking the source code of the mails, I have discovered, that the registration mails contain the line “Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=”UTF-8″”.

    The Post Notification mails (also the Report Post plugin mails) do not contain any charset specification (the source code contains this: X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char C3 hex).

    Can that be the source of my problem, if yes, how can I solve it?

    #15104
    lemonade-joe
    Member

    Hi, I am trying to use Post Notification and Report Post plugins on a site running in Slovak language, that means, I need to use special characters. I am not good with php, so forgive me, if am not technical enough :)

    The system e-mails (like user registration) are working fine. However, when sending mail through Post Notification, or Report Post plugin, the special characters are messed up.

    When I was checking the source code of the mails, I have discovered, that the registration mails contain the line “Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=”UTF-8″”.

    The Post Notification mails (also the Report Post plugin mails) do not contain any charset specification (the source code contains this: X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char C3 hex).

    Can that be the source of my problem, if yes, how can I solve it?

    #75048
    Josh Leuze
    Member

    Thanks so much for the links Ipstenu!

    I figured if there was a way out of YAF, it would most likely be to phpBB. Surprised I didn’t find this in my own searches.

    If I can just get this data out of YAF, I think it will all be downhill from there :)

    #75107
    _ck_
    Participant

    Michael3185, something in your setup is causing bb_send_headers to be sent twice.

    Try commenting out line 10 in super-search-init.php

    // bb_send_headers();

    #75083
    Detective
    Member

    I also have this in my .htaccess:

    # BEGIN ANTISPAMBLOG REGISTRATION
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .register.php*
    RewriteCond %{HTTP_REFERER} !.*ryuuko.cl.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://www.dii.uchile.cl/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION

    The dii.uchile.cl url is an internal joke :P

    #75030
    Sam Bauers
    Participant

    @r-a-y

    Can you please do a var_dump($cached_ids) so we can find out exactly what the value of $cached_ids is?

    Just before line 71 in that file would be the spot, before $_cached_ids = join( ',', array_map( 'intval', $cached_ids ) );

    It should output something useful to the screen.

    #75029
    r-a-y
    Participant

    Hi Sam,

    Thanks for that detailed post. I’ve added this post to my favorites so I can come back to it.

    However, at this time, I’m not going to upgrade until bbPress reaches official version 1 status.

    I’ve temporarily gotten rid of the warning messages by doing the following:

    Line 71 of bbPress 1.o alpha 6:

    $_cached_ids = join( ',', array_map( 'intval', (array)$cached_ids ) );

    Lines 86-89 of bbPress 1.o alpha 6:

    if(!empty($cached_ids)) {
    foreach ( $cached_ids as $cached_id )
    $this->results[] = $trans[$cached_id];
    }

    Yeah I know it isn’t ideal as I’m probably not using the latest, optimized build of bbPress, but it gets rid of the warning messages.

    #74846
    crimsonmai
    Member

    They are named header.php and footer.php in the Kakumei directory :)

    Just make sure you’re looking at the default Kakumei directory and not, for example, the alternate blue one.

    #75028
    Sam Bauers
    Participant

    @r-a-y

    OK then, you really need to upgrade.

    Here’s how I would do it…

    1. De-integrate cookies, clear out all cookie settings in bbPress/WordPress including hardcoded ones in configs with the exception of you secret keys (BB_AUTH_KEY and friends)
    2. Upgrade to the latest Trunk of bbPress
    3. Upgrade to the latest release of the bbPress Integration plugin
    4. Clear all relevant cookies in your browser
    5. Setup integration in WordPress first, go to the admin panel for the plugin – use the settings it gives you to use in your wp-config.php file
    6. Setup integration in bbPress second, if the plugin in WordPress tells you to add a special constant to bb-config.php, do that now too. You’ll need to login to bbPress separately at this stage. Only enter settings into the admin, don’t try to add anything back into your bb-config.php except that one line from the WordPress plugin
    7. Now you should be good to go again, clear your browser cookies and try various ways to login and logout

    #75080
    johnhiler
    Member

    Ah ok, that looks pretty similar to johnbillion’s plugin. Glad it worked out. :-)

    #75027
    Sam Bauers
    Participant

    Visit the WordPress Codex and search for information on apply_filters().

    You can filter that array with a simple plugin.

    #75078
    frooyo
    Member

    Hmm … looks like it’s hardcoded in the bb-include/functions.bb-core.php

    /meta_key => (required?, Label, hCard property). Don’t use user_{anything} as the name of your meta_key.

    function bb_get_profile_info_keys( $context = null ) {

    return apply_filters( ‘get_profile_info_keys’, array(

    ‘first_name’ => array(0, __(‘First name’)),

    ‘last_name’ => array(0, __(‘Last name’)),

    ‘display_name’ => array(1, __(‘Display name as’)),

    ‘user_email’ => array(1, __(‘Email’), ’email’),

    ‘user_url’ => array(0, __(‘Website’), ‘url’),

    ‘from’ => array(0, __(‘Location’)),

    ‘occ’ => array(0, __(‘Occupation’), ‘role’),

    ‘interest’ => array(0, __(‘Interests’)),

    ), $context );

    }

    Anyone know of a good way to remove Occupation and Interests without having to modify the bb-core.php file (to make future upgrading easier)

    #75077
    frooyo
    Member

    @johnhiler

    Thanks, I’m looking into the database right now myself. ;)

    If you find anything, please let me know. Back to looking myself

    #75073
    johnhiler
    Member

    That’s not standard… did you add a plugin to support this? If so, turning off the plugin should do the trick. :-)

    #74487
    Markus Pezold
    Participant

    After the Update to bbPress Version 1.0-rc-3 my problems are gone. I think everyone should test there used plugins, backup and then test the update. Can’t wait for bbPress 1. :)

    https://bbpress.org/forums/topic/cookie-integration-problem-wp28-bb-10-rc-2

    #74954
    stevebooth
    Member

    Know what? I got fed up with my hosting service. ;P

    I spent the entire morning working on my bbPress implementation, and had an epiphany about ten minutes ago. I asked myself… ‘Why in the name of the seven seas are you using Concentric?’ When I couldn’t come up with a better answer than ‘it’s what I always use’, I whipped out Google, entered the term ‘best wordpress hosting service’, was routed to WordPress’ hosting page, and I just signed up with bluehost.

    So… this is now all moot (hopefully). I’m planning on just working on CONTENT after my nameserver updates happen! YAY!!!!!!!

    I feel like going on vacation :P

    #75060

    You just want to change the output from <a href="http://mbforum.letsdoo.org/profile/michael">Key Master</a> to <a href="http://mbforum.letsdoo.org/profile/michael">Profile</a>?

    Try this:

    <div class="threadauthor">
    <?php avatarupload_display(get_post_author_id()); ?>
    <p>
    <strong><?php post_author_link(); ?></strong><br />
    <small><a href="/profile/<?php post_author(); ?>">User Profile</a></small>
    </p>
    </div>

    #74953

    @johnhiller – On the other hand, going gold will mean more people using it and thus more people screaming for help and bitching at bugs ;) Which is stressful, but honestly there’s nothing like a real-world test. (She says, having spend 6 months beta testing new software, had NO bugs in her queue, and then twenty minutes in the wild had a fill ticket queue again :/ You just can’t test everything.)

    #75012

    CSS doesn’t control everything. Yet. ;) Actually, it can control that, but not reliably or consistently, due to browser independence.

    chris’s idea is probably best in the long run.

    #73363

    In reply to: Menu Links

    I’m not sure why they decided it should be that way, I just go with the flow :)

    What are the folder permissions on my-templates, when compared to bb-templates?

Viewing 25 results - 24,651 through 24,675 (of 32,468 total)
Skip to toolbar