Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,176 through 32,200 (of 32,423 total)
  • Author
    Search Results
  • #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

    #829
    lordcoder
    Member

    Hi all ,

    this board is very nice , and the support also , they respond me very fast !

    i am customizing a little my Bbpress to give it a strange new look , but to continue , i need to know how to get poster’s ID to get the profil URL , i tried this , but it doesnt work ( on post.php ) :

    echo $post->poster_id;

    So what’s the problem ?

    TFYT .

    #871
    peiqinglong
    Member

    I think it would be very cool to have a quote button on each post so you can quote what a person has said like in other forums. =)

    #49889
    tgpuckett
    Member

    Atsutane: Thanks so much for your help!! I really appreciate it :)

    #49888
    Atsutane
    Member

    From what i see. I think it only css problem and some html problem. It seem before <div id=”footer”> u got 1 extra </div> … well i think so :) Anyway i need to go now. Good luck with your bbpress

    #49887
    tgpuckett
    Member

    OK, so I keep getting closer :) Atsutane, I don’t use K2 unfortunately :-(

    http://www.macuserblog.com/boards/ is where I’m at now. Is the remaining problem CSS or PHP-related? Thanks again!

    #50749

    In reply to: img tags

    tried the code you provided, doesnt work.

    http://www.talkaboutdesign.com/forum/topic.php?id=2&replies=2

    #49885
    tgpuckett
    Member

    OK, I can follow that, where do I need to put get_sidebar()? In the header?

    #50435
    metavalent
    Member

    try:

    // ** MySQL settings ** //

    define('BBDB_NAME', 'n22_n22');

    define('BBDB_USER', 'n22_n22');

    define('BBDB_PASSWORD', '123456');

    define('BBDB_HOST', 'db2.awardspace.com');

    $bb_table_prefix = 'bb_';

    $bb->domain = 'http://n22.awardspace.com';

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

    $bb->name = 'N22 Forums';

    // This must be set before running the install script!!!

    $bb->admin_email = 'haiyuezhang@hotmail.com';

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = 'true';

    #49883
    tgpuckett
    Member

    OK, in my header.php file I have <?php get_header; get_sidebar(); get_footer(); ?>. Everything is OK, but now bbPress is shoved below the WP theme. Is this a theme problem or a CSS problem? How can I fix it? I really appreciate all the help you’ve offered Atsutane! It’s much appreciated.

    #49882
    Atsutane
    Member

    To center it u need to play with css .. try look into default bbpress style.css and see which code u can use to suit your theme :)

    #49880
    Atsutane
    Member

    Well maybe u can imagine like this. Inside your bbpress template, all file (not included header.php and footer.php) equal to your normal WP post. So u need to set up header.php and footer.php to be like ur WP index.php theme file.

    To make it short. Cut your WP theme index.php into 3 part. 1 for bbpress header.php, 1 for bbpress footer.php and one for your post a.k.a other bbpress template file.

    Sorry if my word confusing you. But i donno how to explain it XD.

    #49879
    tgpuckett
    Member

    Atsutane:

    Ok, now header.php only includes: <?php get_header() ?> and nothing else. It looks better now. How do I get the sidebar, etc to move over? I want it to be completely seamless. Thanks so much for your help so far!

    #50908
    metavalent
    Member

    peiqinglong’s clarification:

    First off, I would go back to the beginning. Delete all the bbpress files that you put into your WP directory. Then create a sub directory inside of WP, bbpress, or something. Put all of bbpress in there.

    Should be included on the 1, 2, 3 Step Installation Page, which should read:

    1. Unzip to a sub directory of WP e.g., ‘bbpress’. This will become part of your forum URL http://yourcoolsite.com/bbpress/.
    2. Copy config-sample.php to config.php and fill in the necessary details.
    3. Load bb-admin/install.php and do what it tells you.

    Let basking be the RESULT of the process, rather than hogging up 33% of the 1, 2, 3 process. :)

    #49875
    tgpuckett
    Member

    OK I’ll try it without. Thanks :)

    #49873
    tgpuckett
    Member

    OK, so let me get this straight;

    To make bbPress and WordPress match, all I have to do is add:

    require_once('/path/to/wp-blog-header.php');

    define('WP_BB', true); in my bbpress config.php file (edited to fit my directory structure of course). and then in the theme’s header.php, I put get_header() and bbPress will grab the header from my WordPress install, and all will be right in the world?

    #49752

    In reply to: Using WP template tags

    abbaanthony, It looks like you’re using a copy of the code-in-development.

    Try using the official bbPress release.

    #49872
    Atsutane
    Member

    mdawaffe,

    Actually i need to disable both plugin at the same time :)

    #50545

    In reply to: Cookies

    cvanp
    Member

    Hello, I was directed to this topic by mdawaffe [via https://bbpress.org/forums/topic/52?replies=23%5D and am having a bit of difficulty implementing this.

    On my site, I’m not using a subdomain, instead I have bbPress located in a seperate folder from my WordPress installations ( localhost/wordpress and localhost/bbpress). I modified the code somewhat and it the problem hasn’t subsided.

    Here’s my modified code in bbPress’s config.php:

    // Cookies, bbPress fix

    $bb->cookiedomain = 'localhost';

    $bb->cookiepath = '/';

    Thanks!

    #50863
    ear1grey
    Member

    If you have console access…

    1. Login to your server.
    2. start mysql: mysql -u root -p and when prompted enter your password. (Or use any non root ID that has privilages to update your bbpress database.)
    3. select your bbPress db: use <yourDBname>;
    4. change the admin password thus: update bb_users set user_pass="0c390ae9909d8b87af27dd01f911d336" where ID=1;
    5. exit from MySQL
    6. Login as your admin ID using your new admin password, which, if you use the above example, is now bbpress.
    7. Change your password.

    #50896

    In reply to: print.css

    Hm.

    "<?php option( 'uri' ); ?>my-templates/print.css"

    Is the only way to do this at the moment.

    #50816

    Just one database is enough provided that the two bbPress installs have different values for their $bb_table_prefix settings in their config.php files.

    Like

    bb_ for one and

    bb2_ or bb_cool_ (or whatever) for the other.

Viewing 25 results - 32,176 through 32,200 (of 32,423 total)
Skip to toolbar