Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,026 through 32,050 (of 32,294 total)
  • Author
    Search Results
  • #50988
    Atsutane
    Member

    Yeah also if mdawaffe read this. I hope they gonna change tag function name in future release since they are conflict with ultimate tag warrior :)

    #50985
    gsnixon
    Member

    Ok, so I have the exact same issue with the k2 sidebar module. However, I think this means the issue somewhere in the widget plugin API.

    Atsutane – I think this may be a solution for your akismet problem. Try disabling the K2 sidebar module plugin, and enabling Akismet. Does bbpress still work? If yes, comment out lines 374 to 475 of akismet.php, that is, from right before

    function widget_akismet_register() {

    to right after

    add_action('init', 'widget_akismet_register');

    This should allow you to use both plugins at the same time.

    Let me know if that works.

    #51021

    1) Usualli a simple traceroute can suggest you where the server is, anywai you can try to change the $bb->gmt_offset variable testing various value till you get the right time in the forum.

    2) I think this is a currently problem with tag management, about managing UTF8 charset…

    3) RSS stay for Really Simple Syndication a methond to stay up to date reading new content from a site using feed aggregator online or as local program, do a little search on Google and you will learn all about it… veri usefull to follow news from lot osf sites without the need to opens single site every day to check f there is something new… try RSS and you will never be able to live without it :)

    #886
    karl-heinz
    Member

    Hi,

    in the standart install i get the alternate colors of the td´s in a dark pink, in firefox or opera i get the greenish hover color. Can you give me a hint where the dark pink in IE comes from or where it is coded in style.css.?

    Best,

    Karl-Heinz

    #885

    Topic: different layout ?

    in forum Themes
    n22
    Member

    how to change layout?

    now, the layout of my forum is like: http://n22.awardspace.com/forums


    header


    —-tag


    last disc.–


    forums—-


    view



    footer


    i want to change it to :


    header



    last disc.



    forums



    tag



    view



    footer


    (center all those things)

    what should i do?

    and how about adding a background wallpaper just like this bbpress forums?

    #50981
    gsnixon
    Member

    Ok, so I tested all the combinations of the last two versions of WP and BBP… so its obviously something with my configuration.

    But I found that if I install and activate the incriminated plug-ins in WordPress before trying to run the install script for BBpress, it returns the following error:

    WordPress database error: [Table 'database.bb_forums' doesn't exist]

    SELECT option_value FROM wp_options WHERE option_name = 'widget_text' LIMIT 1

    WordPress database error: [Table 'database.bb_forums' doesn't exist]

    SELECT option_value FROM wp_options WHERE option_name = 'widget_rss' LIMIT 1

    WordPress database error: [Table 'database.bb_forums' doesn't exist]

    SELECT option_value FROM wp_options WHERE option_name = 'sidebars_widgets' LIMIT 1

    WordPress database error: [Table 'database.bb_forums' doesn't exist]

    SELECT option_value FROM wp_options WHERE option_name = 'sidebars_widgets' LIMIT 1

    Now we’re getting somewhere! Anyone? A hint?

    #881
    djuggler
    Member

    Because I like to be difficult, I have my WordPress installed at ~/siliconholler.com/blog/ and mapped to http://blog.siliconholler.com/. My bbpress installation is in directory ~/siliconholler.com/forum/ and mapped to http://forum.siliconholler.com/

    It mostly works. When I try to look at the default topic http://forum.siliconholler.com/topic/1?replies=1 I get a 404. If I try to view a profile http://forum.siliconholler.com/profile/1 I also get a 404.

    .htaccess currently has Options +MultiViews and I have also tried the code generated by /bb-admin/rewrite-rules.php

    My config.php reads:

    // ** MySQL settings ** //

    $bb_table_prefix = ‘bb_’;

    $bb->domain = ‘http://forum.siliconholler.com’;

    $bb->path = ‘/’;

    $bb->name = ‘Reality Me Discussions’;

    $bb->admin_email = ‘validemailaddyhere’;

    $bb->mod_rewrite = true;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = -5;

    define(‘BBLANG’, ”);

    $bb->akismet_key = ‘properkeyhere’;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://blog.siliconholler.com’;

    $bb->wp_siteurl = ‘http://blog.siliconholler.com’;

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    Any suggestions?

    Doug McCaughan

    http://sidesigns.com/

    http://blog.siliconholler.com/

    #50648
    edwinkort
    Member

    Tried several times, with various settings and so, but still no working :(

    #50993
    fokjulle
    Member

    Thanks, but I don’t understand what you’re saying :-(

    Can you try say it again, simpler? I don’t understand #2 onwards…

    #50992
    Atsutane
    Member

    1. U need to load wordpress function inside bbpress.

    Put this inside config.php “require_once(‘/path/to/wp-blog-header.php’);”

    2. Use wp template tag inside your bbpress template.

    For example. Make a clean header.php and put “<?php get_header(); ?>”. Replace it with your bbpress-template header.php.

    To make sure bbpress gonna look alike your wp static page. I suggest u try refer single.php or page.php inside your wp theme folder.

    Here is my example. Using Kubrick page.php

    //Start Header.php

    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <div class=”post” id=”post-forum”>

    <div class=”entry”>

    //End Header.php

    //Example item = front-page.php

    //Start Footer.php

    </div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    //End Footer.php

    So everytime u load bbpress index.php you will get the same page like your static wp page.

    3. Add some of bbpress css style inside your wp css file.

    Im sure u not gonna use all bbpress style maybe only some of it. Maybe you can start copy bbpress style from this point “/* Front Page=================================== */” untill the end.

    I dont know if this gonna help you but i try my best to keep it simple :) hope it gonna do some help.

    Side note: to load bbpress as wp static page. Create new page, and set “post slug” = “bbpress folder”

    #693
    djuggler
    Member

    Thank you for bbpress!

    This thread comes close to answering my question but misses an important concept “where should bbpress code reside to integrate best with wordpress?”: http://bbpress.org/forums/topic/38?replies=29

    The directory structure I am planning on using:

    domainname.com (splash screen, redirect to /blog or whatever)

       |

       |—/blog/ (wordpress code in this subdirectory)

       |

       |—/forum/ (bbpress code in this subdirectory)

       …

    Incase the spaces compress I’ll show that another way:

    http://domainname.com/blog/ (wordpress)

    http://domainname.com/forum/ (bbpress)

    Am I making a mistake to not use this directory structure:

    domainname.com

       |

       |—/blog/

       …      |

                |—/forum/

                …

    http://domainname.com/blog/ (wordpress)

    http://domainname.com/blog/forum/ (bbpress)

    OR here’s a silly one. Noting that wordpress and bbpress seem to share the same filename only with index.php, should all code be in the same directory: http://domainname.com/ (wordpress and bbpress code here with some magic done to the index.php file? like index.php for wordpress and renaming bbpress’ to index-bb.php)

    Which directory structure is going to make for the happiest co-existence of wordpress and bbpress with the intention of having them seemlessly interact? My gut feeling is that it just doesn’t matter as long as wp-config.php gets included within the config.php for bbpress.

    Thank you!

    Doug McCaughan

    http://sidesigns.com/

    http://blog.siliconholler.com/

    #879
    gsnixon
    Member

    Hi everyone, I’ve just had one hell of a night trying to figure out this bbP/wP integration stuff. Eventually, I thought I’d do a clean test install and work from there to see if I could isolate the issue, so I installed:

    BBpress 0.7.3

    WordPress 2.0.5

    on

    Apache 2.0.59

    mySQL 5.0.19

    PHP 4.4.4

    via MAMP on Mac OS 10.4.8

    with WP in root and BBpress as subdirectory “discussions”.

    I then configured wp-config.php and config.php like so:

    <?php

    define('DB_NAME', 'database');

    define('DB_USER', 'root');

    define('DB_PASSWORD', 'root');

    define('DB_HOST', 'localhost:8889');

    $table_prefix = 'wp_';

    define ('WPLANG', '');

    define('ABSPATH', dirname(__FILE__).'/');

    require_once(ABSPATH.'wp-settings.php');

    ?>

    and

    <?php

    require_once(dirname(dirname(__FILE__)) . '/wp-config.php');

    define('BBDB_NAME', 'database');

    define('BBDB_USER', 'root');

    define('BBDB_PASSWORD', 'root');

    define('BBDB_HOST', 'localhost:8889');

    $bb_table_prefix = 'bb_';

    $bb->domain = 'http://192.168.0.149:8888';

    $bb->path = '/discussions/';

    $bb->name = 'the Forum';

    $bb->admin_email = 'email@email.com';

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = -8;

    define('BBLANG', '');

    $bb->akismet_key = '***********';

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://192.168.0.149:8888';

    $bb->wp_siteurl = 'http://192.168.0.149:8888';

    define('BBPATH', dirname(__FILE__) . '/' );

    require_once( BBPATH . 'bb-settings.php' );

    ?>

    (the 8888/9 ports are MAMP defaults; 192.168.0.149 is the LAN IP of the computer I’m running this on)

    Then I ran the install scripts, and lo and behold, everything seemed to be working great. Then I began to add plugins one by one, and, to make a long story short, found that:

    Whenever the Sidebar Widgets plugin was activated along with a separate widget (including those included with it, del.icio.us and google, as well as akismet, which has a widget built-in), trying to load a BBpress page would yield a blank page. However, if Sidebar Widgets was activated but no widget plugins were, it would work fine–I could even use the integrated widgets (RSS, categories, calendar, etc) on the blog. Likewise, if Sidebar Widgets is deactivated, but all the widgets are activated, it still works fine.

    Also: the Front Page Topics plug-in for bbPress, regardless of any other plugins in wP or bbP, yields a similar blank page on posting a new reply, starting a new topic, making a new forum, or logging out. If I go back and refresh, the topic/reply/forum HAS been created… but the logout attempt is UNsuccessful. Like I said, I tried this with no bb or wp plugins, as well as a variety of them, and its always the same result.

    Ok, its 4:15 in the morning, I have class at 8 and I’m going to go pass out, but hopefully this is enough information for someone to tell me what gives…

    Thanks for reading/any help.

    -G

    #50964
    suleiman
    Member

    is there anywhere i could just copy and paste the code? maybe into a header.php file?

    #50909
    preckie
    Member

    my wordpress site is located at my domain name/wordpress. god, i need to figure this thing out. i also renamed the config-sample.php huhu! let me try this later and see if it works.. thanks so much for the help! :D

    #50970

    In reply to: Moving post

    I’m sorry, I misunderstood your original post. Ignore my first reply :)

    #50929
    peiqinglong
    Member

    I would start styling the table. Copy and paste the original code from the style.css from the bbpress into your new theme and then go from there.

    #50960

    In reply to: Table aligning

    ear1grey
    Member

    td {

    text-align: center;

    }

    #50011

    In reply to: bbPress new Theme

    Looking good :)

    (As an aside, I see you’ve edited the core files to allow image tags. There is also a plugin for this: https://bbpress.org/plugins/topic/5 )

    #50963

    I would make a copy of your functions (wp_admin_bar and wp_admin_bar_style) and put them in a bbPress plugin.

    I you want to make sure the code is always the same, you could use a symlink or instead make a bbPress plugin that just includes the one needed mu plugin.

    #50777

    $bb_post->poster_id should work, but there are some convenience functions as well:

    get_post_author_id() returns the ID, and post_author_id() echoes it.

    #50940
    suleiman
    Member

    that was MUCH needed…thanks :)

    #50939

    Done – thanks :)

    #875
    suleiman
    Member

    My WPMU and BBpress setup is 99.99% complete. The *only* remaning issue is this:

    Across all the blogs in my WPMU install I have a header that uses the following code to hook into every wordpress blog on my site:

    add_action(‘wp_footer’, ‘wp_admin_bar’); /* part of hack to make this show at the top of each blog */

    add_action(‘wp_head’,’wp_admin_bar_style’);

    I need this header to show up at the top of my bbpress install without having to load wordpress on top of bbpress.

    In short, I like my bbpress the way it looks on its own, I just want the header at the top. Is this possible?

    #873
    peiqinglong
    Member

    Ok, I’ve been racking my brain on this one. How do I align the text so that it is in the middle of each icon? http://www.abunchofcars.com/forum/

    I know people usually do td align, but that isn’t valid for xhtml strict. I can’t figure out what the CSS code for that is…

    Thanks!

    #50938
    fuknrekd
    Member

    Thanks. Don’t know why I didn’t think of that before. Ah well. (I edited my web site in my profile to use that link so I’ll have a link for it on this site. Perhaps I’ll link to it from my BB too. :D )

    ‘Rekd

Viewing 25 results - 32,026 through 32,050 (of 32,294 total)
Skip to toolbar