Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,001 through 32,025 (of 32,294 total)
  • Author
    Search Results
  • #917
    Sonika
    Member

    I integrating my blog with bbpress and when I add require_once('z:/home/test2.ru/www/wp-blog-header.php'); in config.php some buttons in bbpress forum don’t work — ADD NEW» and edit profile

    Any ideas?

    #51206

    In reply to: IE6 problem

    kannued
    Participant

    The source code shows fine in IE6. So it has to do with the css.

    This part I question:

    ul id=’profile-menu’

    in the template-functions.php file.

    I would think that IE6 would want a

    ul id=”profile-menu”

    but that just produced an error.

    #915
    #51212

    In reply to: 0.74

    mozey
    Member

    oh OkAy!, :)

    it also said that 1.0 is 30% done!. Thats cool.

    #51142
    cqcrz
    Member

    Don’t worry.If his user_level is not enough,he can’t post on blog.

    When someone register in bbPress,WordPress is not know his user role.You need change WordPress’ code or the WordPress’ plugin synchronize bbPress registrations with WordPress.

    I do it in the former way.After that,the user who register in bbPress is Subscriber in WordPress.So the user can post in bbpress,but can’t post in WordPress.

    #50996
    Atsutane
    Member

    Thanks :) U can edit the size from css file. Find this inside your css file

    .postform textarea {

    height: 12em;

    margin: 5px 0;

    padding: 5px;

    width: 720px; //Edit the width to fit your page.

    display: block;

    }

    #50995
    Nola1974
    Participant

    Atsutane, you are THE MAN. Mine still looks like garbage, but It’s coming along. Thanks! This really should be included in the package.

    Basically, to clarify the process even more…

    /// open ‘/bbpress/conf.php’ and at the top, after the opening ‘<?php’ put the following:

    ‘”require_once(‘/path/to/wp-blog-header.php’);”‘

    Then, in your ‘my-templates’ directory, create the following files:

    header.php

    ‘<?php get_header(); ?>

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

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

    <div class=”entry”>’

    footer.php

    ‘</div>

    </div>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>’

    You will still have to tweak the code, but that’s all it took for me.

    You’ll need to add the styles from the non-header/footer portions of the bbpress css files to your WP style sheet.

    Check my test-forum out… http://nolageek.com/forums

    One thing I can’t figure out though… when you’re viewing a topic, the “reply” form is WAAAAYYYY too long. I’ve edited this in every form I can see, but this isn’t changing..

    Why are there so many edit forms? Where is this one?

    #51072

    Glad you got it working :)

    #910

    Hello,

    Within bbpress-integration.php file, where do I have to input my bbPress table prefix? Refer to excerpt below.

    Thanks for your support.

    Robert Richard.


    <?php _e(“Enter the table prefix for your bbPress installation below. The table prefix is found in your bbPress installation’s config.php file. You may list multiple table prefixes by separating them with commas.”); ?>

    71 <?php _e(‘Example’); ?>: Add here = bb_

    72

    73 <h3><label for=’bbpress-integration’><?php _e(Or over here = ‘bbPress table prefixes’); ?></label></h3>

    #909
    kannued
    Participant

    I am trying to use this to allow images in my posts: <img src=”http://example.com/image.gif&#8221; />

    I tried this in my, but my post then converts the opening and closing tags to special characters.

    Or is the above code supposed to go in config.php?

    #50437

    In reply to: Google sitemap

    ear1grey
    Member

    I have a fairly simplistic one operating on my site. You’re welcome to have a go.

    Its just out of the oven, so please be aware that it might be hot to the touch and remember to feedback any problems, ideas and patches :)

    http://boakes.org/talk/tags/bbpress-sitemap

    #51134
    Aaron
    Participant

    err, change that.

    It installs great, and the buttons click. But thats it. It isnt updating the code, inserting images, links, etc. On images and links it does bring up the window to enter the address / location but nothing is inserted into the post.

    I checked the header and the javascript is loaded, and in the correct location.

    anythoughts.

    #905

    I adapted the

    WordPress plugin Comment Quicktags + by Dan Cameron so you can add a quicktags toolbar over textarea for inserting or editing posts in the various bbPress pages.

    Te plugin already support the IMG tag to include images inside a topic. To make this tag works you need to install another plugin to support the img tag.

    The plugin page with info, instruction and download link is

    here, happy discussions :)

    #51112

    In reply to: cookie timeout

    Trent Adams
    Member

    I had this happen to me. I would imagine that the same thing is happening with you. What my problem was not with the actual integration because it even tells you that you are logged in, but that the ‘URL’ in the config.php file was wrong. I had to really look close at the directions. Using your URL from above I couldn’t make heads or tails because the link wouldn’t resolve, but it most likely is in the following section:

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = 'http://yourdirectory.yoursite.com'; // Example: 'http://bbpress.example.com'

    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.

    $bb->path = '/forum/'; // Example: '/forums/'

    Maybe check that out.

    #51076

    The fr_FR.mo file has been put in the following path/languages folder /public_html/blogue/bbpress/bb-includes/languages; it doesn’t translate my bbPress.

    Once configured within Config.php file by: define(‘BBLANG’, ‘fr_FR’); I get the following error within my bbPress pages:

    Parse error: syntax error, unexpected $end in /home/patrimoi/public_html/blogue/bbpress/bb-includes/gettext.php(307) : eval()’d code on line 1

    Thanks for your reply.

    Robert Richard.

    #50788

    In reply to: bbPress posts from WP

    Trent Adams
    Member

    I have talked it over with the author of the plugin and we are trying to figure out some code for older mySQL databases. He wrote the plugin for mySQL over version 4 and I have 3.23.58. While the plugin works for me (with many errors) I just need to make a couple of changes to the mySQL statements in the plugin to get rid of the errors.

    The plugin in question is located at:

    http://dev.mbzeus.net/downloads/bbpress_post_en.zip

    The first error I recieved was on the ‘admin page’:

    WordPress database error: [You have an error in your SQL syntax near

    '; ' at line 1]

    SELECT forum_id,forum_name FROM bb_forums ;

    The second errors were when I tried posting a topic in wordpress:

    WordPress database error: [You have an error in your SQL syntax near

    '; ' at line 1]

    SELECT post_id FROM bb_posts WHERE forum_id=21 AND topic_id=242

    AND poster_id=14 AND post_time = '2006-11-05 07:20:10' LIMIT 1;

    WordPress database error: [You have an error in your SQL syntax near

    'topic_posts=1 WHERE topic_id=242 LIMIT 1' at line 1]

    UPDATE bb_topics SET topic_last_post_id=,topic_posts=1 WHERE

    topic_id=242 LIMIT 1;

    Warning: Cannot modify header information - headers already sent by

    (output started at/www/html/wp-includes/wp-db.php:104) in

    /www/html/wp-includes/pluggable-functions.php on line 269

    If anyone could help me with this I would be greatly appreciated. I am sure it is just changing around the mySQL statements in their formatting, but I can’t seem to figure it out!

    #50022

    In reply to: bbPress new Theme

    :) thank you.

    #50915
    Atsutane
    Member

    Maybe it gonna be possible :) Why don’t you try this http://dev.mbzeus.net/

    #50914
    edwinkort
    Member

    Nevermind. it doesn’t seem like what I want is possible :(

    #50912
    edwinkort
    Member

    Going to try this one out. Can’t get that BBpress to install :(

    #899

    Hello,

    Need some support configuring my bbPress Config.php file at http://patrimoineacadien.com/bbpress . My WordPress blog can be found at http://patrimoineacadien.com .

    Have patience reason I don’t have advance programming knowledge.

    Please continue reading below to find my bbPress Installation related questions.

    Thanks a million for your support.

    Robert Richard.

    _______________________________________

    A) Did create a new MySQL database title patrimoi_bbpress, in my cPanel, for my new bbPress installation. Then, I inputted my already known/existing MySQL username and password. Is this correct?

    <?php

    // ** MySQL settings ** //

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

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

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

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

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

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    B) Everything seems to look fine for the URL. What do you think?

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://patrimoineacadien.com&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/bbpress/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Babillard PatrimoineAcadien.com’;

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

    $bb->admin_email = ‘***’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    C) Getting the –1 years behavior. I’m Eastern Standard Time. How do I resolve?

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = -4;

    D) Did create new folder title languages in the following path bb-includes/languages; then I added fr_FR.mo file into above new folder. French language doesn’t seem to be working. How can I resolve?

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.

    define(‘BBLANG’, ‘fr_FR’);

    E) Did I input the Akismet key at the right location?

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/

    $bb->baacc67278bb = true;

    F) How do I configure the following in order to integrate my bbPress with my existing WordPress?

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave the rest as it is.

    $bb->wp_table_prefix = false; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

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

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

    ?>

    #49469
    teknoseyir
    Member

    Hi,

    I’ve finished translating bbPress into Turkish from that given .po file. Thanks Falo. But, is this an official .po file?

    There are some problems, for example time items are not translatable, some missing strings and a problem in profile page.

    If I translate “Edit” into my language the link of edit page also changes; and we cannot edit the profile. And also, similar problem in “Favorites” string. If we translate “favorites” the link of favorites page changes as well.

    Finally, I’ve translated “Allowed tags: a em strong code ul ol li blockquote.
    Put code in between backticks.” string, but it does not affect on site.

    Thanks!

    Hasan.

    #50358

    In reply to: Cannot select DB.

    bskiba
    Member

    I am in the same camp. SuSE linux server, copied code up and keep on getting “Cannot Select DB”.

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

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

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

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

    Tried other DB names (began with bbpress as per sample).

    Are there any other directory rights or other things that need to be set?

    #51054

    In reply to: login message

    peiqinglong
    Member

    bb-press/bb-includes/template-functions.php

    You’ll find this on line 77:

    function login_form() {

    global $bb_current_user, $bb;

    if ( bb_is_user_logged_in() ) {

    printf('<p class="login">'. __('Welcome, %1$s!'). ' <a href="' . get_user_profile_link( $bb_current_user->ID ) . '">'. __('View your profile') ."&raquo;</a>n<small>(",get_user_name( $bb_current_user->ID ));

    #51048

    This sounds like a problem with your host. Contact them and ask them if they have disabled PHP’s mail function.

Viewing 25 results - 32,001 through 32,025 (of 32,294 total)
Skip to toolbar