Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 32,126 through 32,150 (of 32,409 total)
  • Author
    Search Results
  • #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.

    #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&#8217;;

    $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&#8217;;

    $bb->wp_siteurl = ‘http://blog.siliconholler.com&#8217;;

    /* 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”

Viewing 25 results - 32,126 through 32,150 (of 32,409 total)
Skip to toolbar