Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 24,326 through 24,350 (of 32,468 total)
  • Author
    Search Results
  • #76142

    In reply to: Step two questions

    All that means is you should go into your wp-config and copy the whole lines for AUTH and SALT. Then paste those into bb-config, but name ’em BB_AUTH and BB_SALT :)

    Example:

    In wp-config.php I have

    define('AUTH_KEY',        'blahblah');
    define('SECURE_AUTH_KEY', 'blahblah');
    define('LOGGED_IN_KEY', 'blahblah');
    define('NONCE_KEY', 'blahblah');
    define('AUTH_SALT', 'bliddyblah');
    define('LOGGED_IN_SALT', 'bliddyblah');

    In bb-config.php I have

    define('BB_AUTH_KEY',        'blahblah');
    define('BB_SECURE_AUTH_KEY', 'blahblah');
    define('BB_LOGGED_IN_KEY', 'blahblah');
    define('BB_NONCE_KEY', 'blahblah');
    define('BB_AUTH_SALT', 'bliddyblah');
    define('BB_LOGGED_IN_SALT', 'bliddyblah');

    #76155

    I cannot find any tutorials online, i’ve been looking all afternoon. :(

    Any chance somebody could give me a step by step guide? :(

    #76190

    In reply to: Can I edit my tags?

    deadlyhifi
    Participant

    sorry, it’s actually

    ul#tags-list li (missed the s off)

    I think you need to do some reading about stylesheets and how they work. It’s quite straight forward and will stand you in good stead.

    #76188

    In reply to: Can I edit my tags?

    No, we just need to include CSS.

    Take a look at the page source, its tags-list not tag-list

    try ul#tag-list li { display: inline; }

    #75835
    citizenkeith
    Participant

    Yeah, it’s too late to go back now, huh? :)

    Like I said, this isn’t a mission critical forum… it’s a place for my friends to chat and hang out. My other site, which is a public forum that gets decent traffic, is still on 0.9.

    Just hoping my posts are helping development, and not just wasted bandwidth…

    #76187

    In reply to: Can I edit my tags?

    I put the code in style.css and it’s not refecting the change.

    Is there a specific area in style.css where the code has to go?

    #76179

    In reply to: Adventure Canoe Forum

    Utilize the space on the right properly. How about expanding the width of tables? ;)

    #76185

    In reply to: Can I edit my tags?

    I can’t seem to find exactly where to put that code?

    Any help?

    #15333

    Topic: Can I edit my tags?

    in forum Themes

    At the moment my tags are in a list, which causes a lot of empty space on my page when a lot of tags are entered. Is there any way I can change the coding to make it go in a line? Or Limit the amount? Or both?

    Thanks guys. :)

    #76173
    johnhiler
    Member

    I sometimes see plugins patched by people other than the original developer… usually they just upload the patch to a private server or to pastebin, and then submit a link to the path on the plugin comments page. The original author then often releases a patched version using the code fixes. :-)

    If the plugin is completely abandoned, there have been cases where a new developer has taken things over. Those situations are pretty rare though…

    You should definitely submit your patches in the comments of the plugin pages, if you’re willing!

    #76171

    If WordPress is any indication, people just spin-off the abandoned plugins and make newly named ones with credit given. A branch, if you will.

    Go ahead and submit them as ‘new’, but be a mench and credit where it’s due :)

    #76151

    Thanks a bunch!

    I’m trying to copy over my nav bar from my wordpress website, would that be possible?

    Every time I try and copy over the code under “main” there an place it under “main” on the forum header.php it doesn’t appear.

    #15330
    deadlyhifi
    Participant

    There appear to be quite a few plugins that have been abandoned by their developer.

    Under open source is it allowed to take over the development of someone else’s plugin, and then resubmit it (obviously crediting the original author)?

    Perhaps all the current plugins should be thrown into some kind of code vault for people to use, and actively developed plugins be resubmitted?

    I’ve just fixed two plugins to work with V1.0 but have no way of knowing if their original authors are planning on updating them at any point. I’d want to do more work on them if I was going to resubmit them, but I’m not sure whether to wait a bit to see if the original developer decides to do anything with them.

    I know _ck_ is holding off a little bit for bbP to get more established before making fixes (which is fair enough). Have we just entered a stage of limbo?

    #76170

    Ok I think I resolved it. I downloaded the new files and uploaded the newer version of Akismet which still says its 1.0

    But it seems to be working. Thanks for pointing me in the right direction.

    Now its time to do a full upgrade to 1.0.1 and make sure to recode all my fancy core changes.

    Thanks for the help

    James

    #76119

    Birdy, can you link to the plugin page instead? If you want to show code, you have to put it between backticks (and when I figure out how to post them without zooming into code formatting…)

    #76150
    _ck_
    Participant

    Open your header.php template and find the <div id="main"> near the end.

    Put any kind of html you want after there for navigation.

    Put it before the php profile part.

    #76138

    In reply to: Step two questions

    kipperman, if the database has the tables in it, it’ll show up as needing to upgrade. You have to delete the tables, not just wipe them.

    In regards to the KEYs and SALTs, you should be able to pull them right from the wp-config.php file for WPMU. It’s not quite right in the setup, I noticed last week.

    Can I give the forum the same database as my WP and enter the same settings in the set up?

    Yes you can :)

    Stoke me a flipper, I’ll be back by lunch.

    #76146

    What part isn’t working? Just not at all, you can’t log in with the same ID on both, or is it the logging in on one logs you out on the other? There are a few similarish errors, but they’re debugged differently.

    As always, re-copy/paste the KEYs and SALTs from WPMU to BB, flush your cache and cookies, and try again. Even if you’re sure they’re right, it doesn’t hurt :)

    Also:define( 'WP_AUTH_COOKIE_VERSION', 1 ); should be in your bb-config, not wp-config.

    #15326

    Wondering how I would go about doing this?

    I want it to consist for 3-4 buttons.

    I seen a thread about this a little lower down but it had been locked without a answer.

    So was wondering how i’d go about this? :)

    #76118
    birdy404
    Member

    i downloaded the plugins ADSENSE FOR BBPRESS and GOOGLE ADSENSE CONFIGURATION. The former gives an option to insert codes but when i put in my OpenX code nothing shows up. The latter, however, displays my OpenX ads, only problem is it shows up in the footer when i want it in the header and between posts. i tried inserting the html codes directly in my themes but it shows as html codes and not as an ad. am i doing something wrong? please let me know.

    Also, can any of you please help me configure it to not only show up in the footer? here’s the coding for that plugin:

    <?php

    /*

    Plugin Name: Simple Google Adsense

    Plugin URI: http://www.strapontins.org/people/rentendre/simple-google-adsense-bbpress/

    Description: Add Google Adsense code in your bbPress forum, in the footer :) All users are welcome to improve on it :p

    Author: Frédéric Petit

    Author URI: http://www.strapontins.org/

    Version: 0.2

    License: CC-GNU-GPL http://creativecommons.org/licenses/GPL/2.0/

    */

    add_action(‘bb_admin_menu_generator’, ‘bb_gad_configuration_page_add’);

    add_action(‘bb_admin-header.php’, ‘bb_gad_configuration_page_process’);

    function bb_gad_configuration_page_add() {

    bb_admin_add_submenu(__(‘Google Adsense Configuration’), ‘use_keys’, ‘bb_gad_configurtion_page’);

    }

    function bb_gad_configurtion_page(){?>

    <h2><?php _e(‘Google Adsense Configuration’); ?></h2>

    <form class=”options” method=”post” action=””>

    <fieldset>

    <label for=”ga_key”>

    <?php _e(‘Google Adsense User Id:’) ?>

    </label>

    <div>

    <textarea class=”text” name=”ga_key” id=”ga_key” value=”<?php bb_form_option(‘ga_key’); ?>” ></textarea>

    <?php _e(‘Put your adsense code, without the code of the script pagead2.googlesyndication.com/pagead/show_ads.js’); ?>

    </div>

    </fieldset>

    <fieldset>

    <?php bb_nonce_field( ‘ga-configuration’ ); ?>

    <input type=”hidden” name=”action” id=”action” value=”update-ga-configuration” />

    <div class=”spacer”>

    <input type=”submit” name=”submit” id=”submit” value=”<?php _e(‘Update Configuration »’) ?>” />

    </div>

    </fieldset>

    </form>

    <?php

    }

    function bb_gad_configuration_page_process() {

    if ($_POST == ‘update-ga-configuration’) {

    bb_check_admin_referer(‘ga-configuration’);

    if ($_POST) {

    $value = stripslashes_deep( trim( $_POST ) );

    if ($value) {

    bb_update_option(‘ga_key’, $value);

    } else {

    bb_delete_option(‘ga_key’ );

    }

    } else {

    bb_delete_option(‘ga_key’);

    }

    $goback = add_query_arg(‘ga-updated’, ‘true’, wp_get_referer());

    bb_safe_redirect($goback);

    }

    if ($_GET) {

    bb_admin_notice( __(‘Configuration saved.’) );

    }

    }

    // Bail here if no key is set

    if (!bb_get_option( ‘ga_key’ ))

    return;

    function createGAdCode($accountId) {

    $code .= ‘<div class=’bbpress_adsense’>’ . “n”;

    $code .= ‘ ‘ . $accountId . ‘ ‘ . “n”;

    $code .= ‘<script type=’text/javascript’ src=’http://pagead2.googlesyndication.com/pagead/show_ads.js’></script>&#8217; . “n”;

    $code .= ‘</div>’ . “n”;

    return $code;

    }

    function insertGAdCode() {

    $accountId = bb_get_option(‘ga_key’);

    if ($accountId != ”) {

    echo createGAdCode($accountId);

    }

    }

    add_action(‘bb_foot’, ‘insertGAdCode’);

    ?>

    #69738
    MrPresident
    Member

    Just done this myself on a live phpBB3 forum, worked like a dream, no issues. Thanks very much! =)

    #15325
    deanes02
    Member

    Its just not working! Please help.

    define( 'BB_AUTH_SALT', '' );
    define( 'BB_LOGGED_IN_SALT', '' );
    define( 'BB_SECURE_AUTH_SALT', '' );
    define('BB_NONCE_KEY', '');

    matches it wp-config equivalent (with values obviously).

    Used the bbPress Integration plugin to get new values for the wp-config file and entered them

    /*** bbPress integration ***/
    define( 'COOKIEHASH', '998c6cb0a1fda1b22e40b1a75220d390' );
    define( 'COOKIE_DOMAIN', '.www.MYSITE.com' );
    define( 'SITECOOKIEPATH', '/' );
    define( 'COOKIEPATH', '/' );
    define( 'WP_AUTH_COOKIE_VERSION', 1 );

    I have checked through all the settings in bbPress WordPress Integration settings (in bbPress) and they all look correct.

    XML-RPC is enabled.

    I have seen that oterh people seem to be able to get this working. I have followed a few of these guides, but still can’t get it to work.

    Would be great if you have any ideas! Thanks!

    #75469
    _ck_
    Participant

    Can someone test this new version of Freshly Baked Cookies with bbPress 0.9 + WP 2.8.1 and let me know if it works and cookie sync is maintained?

    http://bbshowcase.org/plugins/freshly-baked-cookies.zip

    Don’t forget to copy over your settings at the top of the plugin and remember to set the AUTH_COOKIE_VERSION to 2 for WP 2.8

    I have a hard time believing it’s that simple to fix for WP 2.8 vs 2.7 but here’s hoping.

    _ck_
    Participant

    As with all programming, the best way to learn is to do. Make some plugins.

    @johnhiler

    Yes, I have gone through it.

    Waiting for more suggestions!

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