Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,101 through 32,125 (of 32,315 total)
  • Author
    Search Results
  • #49864

    doubter,

    $bb->wp_home = 'http://www.captainsdead.com';

    That line in the code you pasted is missing a single quote at the end (before the semi colon).

    Hope that works :)

    #50727

    jessind,

    I tried your site in firefox and http://jessanastasia.com/forums/topic/1 gave a 404 not found reply (which was then caught by your WordPress for some reason and I ended up at your blog).

    Which method did you use to set up permalinks? MultiViews or the rewrite stuff? Did you put the .htaccess file in the forums directory?

    #50874

    In reply to: AWESOME!

    marky
    Member

    There’s a phpBB importer script available in this thread: https://bbpress.org/forums/topic/3

    But it doesn’t convert BBCode yet. I think that feature is in the works, though.

    #49862

    mokona,

    The error is actually caused by the line above that on. Delete the line that says:

    define(WPp_BB', true);

    #49860
    mokona
    Member

    Hi, I think I’ve got the same problem.

    I’m trying to install bbPress into a subdirectory of wordPress and I want it to have the same template of my main site.

    I’ve looked this topic and I’ve uninstalled bbPress and made some changes to my config.php, that now looks like:

    <?php

    require_once('/home/wererabbit/demon.wererabbit.net/wp-blog-header.php');

    define('WP_BB', true);

    define('BBDB_NAME', '*****');

    define('BBDB_USER', '*****');

    define('BBDB_PASSWORD', '******');

    define('BBDB_HOST', 'mysql.wererabbit.net');

    $bb_table_prefix = 'bb_';

    $bb->domain = 'http://demon.wererabbit.net/';

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

    $bb->name = 'Forum';

    $bb->admin_email = 'lum@wererabbit.net';

    $bb->mod_rewrite = true;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    $bb->akismet_key = false;

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://demon.wererabbit.net';

    $bb->wp_siteurl = 'http://demon.wererabbit.net';

    define(WPp_BB', true);

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

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

    ?>

    Now when I try to install I get a parse error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/.nevermore/wererabbit/demon.wererabbit.net/forum/config.php on line 57

    line 57 is:

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

    I think there’s something missing but I do not catch it.

    #50792

    In reply to: bozo’s?

    ear1grey
    Member

    I hadn’t spotted that bit, I was pointing towards midwife’s description; honest! :)

    #49600

    In reply to: Emoticons For bbPress?

    tekhawk
    Member

    quick note

    i had to add this line to my header.php file

    <script type="text/javascript" src="'. bb_get_option('uri') .

    'my-plugins/bb-emoticons.php?bb_grins_output=javascript"></script>

    add that to the steps to get this to work if you are having troubles with clicking on the icons not working

    Hope that this feature gets added to the package soon :-)

    #851

    Topic: <code> block

    in forum Themes
    tekhawk
    Member

    anyone got some good css for code block areas right now all mine is, is a dashed border id like something like you see on most programming help forums

    code {

    display: block;

    width: 400px;

    border: 1px dashed lime;

    background: #FFFFFF;

    }

    #50791

    In reply to: bozo’s?

    AphelionZ
    Participant

    Er… thanks haha.

    The first thing I read at that topic is “a bozo could be a person that doesnt search the forums before posting”

    but I did! I swear I did!

    Thanks :)

    #50054

    In reply to: Can’t Login…

    cvanp
    Member

    Nope, my layout is as follows:

    http://localhost/wordpress

    http://localhost/wordpress2

    http://localhost/bbpress

    All three share the same database, with the prefixes wp1_, wp2_, and bb_. I have the second WordPress (wp2_) hacked up a bit so it uses wp1_users and wp1_usermeta, enabling me to have a Gawker Media style Blog Network (multiple blogs, single logins). I was hoping to share that wp1_ table with bbPress, and it appears to have done so, just didn’t let me log in.

    Also, I don’t get an error message, I just get directed back to the homepage as if I had done nothing.

    #49467
    stigi
    Member

    i just started a german one:

    find it at http://stigi.seidbereit.de/bbpress_de_DE.po

    its far from finished. i just started at the beginning. and when i was bored i started again at the end and hoped i would meet up in the middle.

    but there are still like 800 lines not translated. but contribute! :)

    #50696
    ear1grey
    Member

    There isn’t currently a filter on the title, so there’s no quick answer that I can see, however:

    You could copy bb-templatesheader.php to my-templatesheader.php (if you don’t have a copy of it already), then change its call to bb_title(); to another function, which you could write in a plugin, stealing code from the bb_get_title() function in template-functions.php.

    Something like: my-title-plugin.php

    <?php

    // edit this so it returns whatever you want

    function my_title() {

    global $topic, $forum, $static_title, $tag, $user;

    $title = '';

    if ( is_topic() )

    $title = get_topic_title(). ' &laquo; ';

    if ( is_forum() )

    $title = get_forum_name() . ' &laquo; ';

    if ( is_tag() )

    $title = wp_specialchars( get_tag_name() ). ' &laquo; Tags &laquo; ';

    if ( is_bb_profile() )

    $title = get_user_name( $user->ID ) . ' &laquo; ';

    if ( !empty($static_title) )

    $title = $static_title . ' &laquo; ';

    $title .= bb_get_option('name');

    return $title;

    }

    ?>

    #50810
    Nola1974
    Participant

    Perfection… now, what would the forum name be? :)

    using this…

    <td><img src="/my-templates/images/topic.gif" /> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a>by <?php topic_author(); ?> in [forum name] </td>

    to give me this…

    [ ] I guess I’ll be the first. :)

    by admin in

    #50853

    Yes, and you’re right :)

    #50052

    In reply to: Can’t Login…

    whitelion, If you’re logged in, but can’t admin, it may be that there are no users with admin capabilities. This can happen if you install bbPress and then later intograte it with WordPress.

    To fix this, try setting $bb->new_keymaster = true; in bbPress config.php and then re-running /bb-admin/install.php.

    You should be able to type in your username if there are not any keymasters already. Delete that new line in config.php once you’re done.

    #849

    Topic: img plugin bug

    in forum Installation
    AphelionZ
    Participant

    sorry to be posting a bug so soon, but ive been using the Allow Images plugin and everything seems to be in order, but then suddenly it started rejecting img tags and now i cant seem to get it back… if i do a full on <img src="whatever"> it just returns this: <img>

    Anyone have any ideas why this might be happening?

    #50235

    In reply to: Cookies and WPMU

    mozey
    Member

    suleinman, sure thing,

    okay, first of all, my bb and my mu are sharing ONLY the usertable and the login sessions. THATS IT, no common functions, nothing like that.

    and in order to do that, i added the following lines to my config.php on my bb.

    __________________________________________________

    //These are for the information about the database into which bbPress should store its content

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘bbdbname’); // The name of the database

    define(‘BBDB_USER’, ‘bbdbuser’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘bbdbpassword’); // …and password

    define(‘BBDB_HOST’, ‘127.0.0.1’); // 99% chance you won’t need to change this value

    // This is the information about mu’s database. bbPress will look for users in this database

    define(‘USER_BBDB_NAME’, ‘mudbname’);

    define(‘USER_BBDB_USER’, ‘mudbuser’);

    define(‘USER_BBDB_PASSWORD’, ‘mudbpass’);

    define(‘USER_BBDB_HOST’, ‘127.0.0.1’);

    //if your using one database, its cool, just replicate the mu/bb data!

    //now your about to tell bb to look for users in the wp table

    define(‘CUSTOM_USER_TABLE’, ‘wp_users’);

    define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);

    //and now, your about to tell bb to user the same sessions as wp

    $bb->usercookie = ‘wordpressuser’;

    $bb->passcookie = ‘wordpresspass’;

    $bb->cookiedomain = ‘localgigs.fm’; // or .example.com if there was a . above

    $bb->cookiepath = ‘/’;

    // Change the prefix if you want to have multiple forums in a single database.

    __________________________________________________

    i hope this helps. do reply back with questions, :)

    #840
    andyro
    Member

    I noticed someone had done this (lotsofcars blog??), where bbPress loads into a standard static wordpress page. I have the ‘execphp.php’ plugin installed, should this be as simple as copy-pasting the index code into the body of the page text (using html view), and making sure the paths to the rest of bbPress files are correct?? Or is there another, smarter method?

    #50051

    In reply to: Can’t Login…

    cvanp
    Member

    I have two WordPress blogs (2.0.5) sharing a user database and attempted to get bbPress to share that user db as well. It installed successfully, but I can’t log in either!

    I know it’s pulling the info though from my User Database, because the username in the sample post is linked to the same site I’ve set in WordPress. I checked my config.php values, and I know the syntax is correct based on the comments in config.php and the comments above, so I’m a bit confused.

    I should note that I’m attempting this on a local test server, so all my config.php values are “localhost” values (such as $bb->domain = 'http://localhost';), I don’t know if this would throw things off at all.

    #842

    Topic: detail of Style.css ?

    in forum Themes
    n22
    Member

    In which line of style.css describ those color????

    f.ex: sticky color is on the line 161 of style.css

    1) the color of your forums name? (the one on the right-top corner)

    2) the background color of forums ?

    3) the title of table ?(the gray one on the top: Topic — Add New » Posts Last Poster Freshness …)

    4) the original topic color ? (there 2 colors i think)

    5) those words color? (Hot tags, Latest Discussions, Forums, View..)

    6) the white line under under those title: Hot tags, lastest discussions…?

    7) all link words ?( add new, no-reply, untag… the original color is green)

    8) all link words ?(when mose hover)

    8) background color of the bottom section of forums ?(there is : xxxxxxx is proudly powered by bbPress)


    9) Now, when u add a new topic, theres a table which ask u the subjet, the content, the tag and the ection. i want to change the background color of this table, which line it is?

    10)Now, when u look at a topic, theres the original post and reply. the background of each one is on which line?


    11)last thing..: i want to also change those word (the word, not the color) : ‘Enter a few words(call tag)separeted by spaces to help someone find your topic’ and ‘ pick a section’

    Thank you a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    #50093
    andyro
    Member

    Thanks, I will try this (first need to figure out how to access .htaccess – reading about this now! :)

    #50794

    try

    if ( bb_current_user_can( 'administrate' ) ) {

    // do something

    } else {

    // do something else

    }

    If you look in bb-includes/capabilities.php, you’ll see a list of available capabilities you an check for, if you want more fine grained control than the above.

    #50234

    In reply to: Cookies and WPMU

    suleiman
    Member

    mozey, would you mind helping out a fellow mu’er and post the code to your working mu/bbpress integration?

    I’ve been stumbling again and again on getting the user integration to work, let alone the cookies!

    #50603

    In reply to: hello from Russia

    mbyte
    Member

    dyduiryuituio8t

    You can translate it for yourself. In dir bb-templates you have files, which you can translate.

    Now I translate it to Russian, and if you wait for 3-4 days, I upload files on my ftp, and post link in this topic ;) .

    #50602

    In reply to: hello from Russia

    hello to America! does that really matter, AphelionZ? :)

    just a random sequence of letters, i think…

Viewing 25 results - 32,101 through 32,125 (of 32,315 total)
Skip to toolbar