Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,751 through 24,775 (of 32,570 total)
  • Author
    Search Results
  • #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
    Anonymous User
    Inactive

    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?

    #71873
    Anonymous User
    Inactive

    Hi Sumit,

    i have the same problems today … the problems lies in the msig_plural-Tag in the POT-File.

    Poedit must have the right configuration in the catalog settings to work with the plural forms.

    For a german translation the Plural-Forms is: nplurals=2; plural=n != 1;

    #: bb-admin/content-forums.php:46

    #: bb-admin/index.php:23

    #, php-format

    msgid "%d topic"

    msgid_plural "%d topics"

    msgstr[0] ""

    msgstr[1] ""

    #74952
    stevebooth
    Member

    Nope, no offense at all. And I’m more than happyto work with the community as a contributing member. I second your thoughts regarding the release. I don’t think we’re ready either. I suspect WP is under a lot of pressure to bet bb out.

    I’ll make it work… sooner or later ;)

    #15097
    michael3185
    Member

    I’m trying to change the post author link which is displayed as ‘Key Master’ (for example) to ‘User profile’. Tried lots of variations having looked through the bbPress template functions file, but can’t get it to work. The top part of my post.php code is this at present;

    <div class="threadauthor">
    <?php avatarupload_display(get_post_author_id()); ?>
    <p>
    <strong><?php post_author_link(); ?></strong><br />
    <small><?php post_author_title(); ?></small>
    </p>
    </div>

    The post_author_link() line becomes;

    <a href="http://mbforum.letsdoo.org/profile/michael">Key Master</a>

    I realise I’m just not grasping how the PHP code/functions work, so if anyone thinks, “Oh yeah, all you do is…” I’d be very grateful for an answer.

    #74641

    In reply to: Deep Integration Issue

    crimsonmai
    Member

    Immelody, just curious if you could give a quick run through of how you were able to apply (or convert) your wordpress theme to bbpress. I’ve been trying to learn how to do it, and so far what I’ve read is to copy the header and footer from wordpress to bbpress. Problem is I’m not that great at programming so it’s a bunch of guess work. I’ve been trying to do it unsuccessfully for about 3 months now…

    Sorry to bother you, but if you could help I’d really appreciate it and I’m sure it would help others as well!

    Edit: I forgot to mention I have the databases integrated although I’m not sure how I managed that :) It’s just recreating the theme that is really stumping me.

    #74951
    johnhiler
    Member

    By going gold, I just meant that the bbPress staff is about to officially declare a release as version 1.0:

    http://en.wikipedia.org/wiki/Software_release_life_cycle#RTM

    I personally think that there have been a lot of code changes (and new features) recently, and some extra time to focus as a community on identifying and debugging issues would be really good for the release. But obviously it’s not my call.

    After version 1 comes out, a wiki-based codex will be added to the site and we’ll work as a community to get the documentation up. Hopefully there can be more documentation around what functions like bb_permalink are intended to do. I’ll do my best to see if we can’t nail down bb_permalink’s specs asap!

    Hope I didn’t say anything to offend… I’m just a bbPress user, trying to help out another user. :-)

    #75020
    Sam Bauers
    Participant

    That article on the BuddyPress Codex is a little confused.

    Are you using WP-Super-Cache (output caching) or an object based cache like the memcached object cache?

Viewing 25 results - 24,751 through 24,775 (of 32,570 total)
Skip to toolbar