Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 51,051 through 51,075 (of 64,431 total)
  • Author
    Search Results
  • #74507
    Florian
    Member

    Found the difference: The user for whom only the login name is shown indeed does not have a bbpress display name, but a buddy press display name. I’m not exactly sure why one display name got transported over to bbpress and the other did not, but I guess that is not a topic for this forum.

    I’m still searching for a way to get the login name for users with a set display name, though…

    #73890
    timskii
    Member

    First attempt at providing Wowhead item links. Please post any bugs or weirdness. This requires BBPress 1.0 RC 3+ and PHP 5+ . It has no cache, so may not be suited to ultra-high volume forums.

    <?php
    /*
    Plugin Name: Simple Wowhead Item Links
    Plugin Description: Adds item sudo-html to create links to Wowhead.
    Author: Tim Howgego
    Author URI: http://timhowgego.com/
    Version: 0.1.rc
    */

    /*
    Requirements:

    * PHP 5 or above.
    * BBPress 1.0 RC3 or above.

    Install:

    * Copy the file to the "my-plugins" directory.
    * Active the plugin within the Admin interface.

    Customising:

    * Default language is English. For other languages, edit $lang (in bb_wowhead_item_search) below.
    * Default will color items which are uncommon or rarer. To change this edit $commonest_color (in bb_wowhead_item_search) below.

    Using:

    * Users must enter the following "sudo-HTML" code within their posts: <item>Name</item> - where name is the correct name of the item to be linked to.
    * Wowhead is queried each time a new link is posted. Once the link is created, it is stored as a complete link within the post. A cache should not be required given the amount of traffic on most forums.
    * If Wowhead is unavailable (often due to maintenance), or some other error occurs, the link created will simply point to a Wowhead search for the item.

    Thanks Drexle for some ideas.
    */

    function bb_wowhead_item_search( $find ) {

    // Edit Options:
    $lang = 'www'; // Language: www (english), de, fr, es, ru.
    $commonest_color = 2; // Only color item qualities of this number or higher. 0 colors all items. 2 does not color white and grey items. 101 (or "high") colors nothing.
    // Stop Editing

    $f = trim ( $find );
    $s = 'http://'.$lang.'.wowhead.com/?item='.esc_attr( str_replace(' ', '+', strtolower( $f ) ) ).'&xml';
    if ( function_exists("curl_init") ) {
    $ch = curl_init();
    curl_setopt( $ch, CURLOPT_URL, $s );
    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
    curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, 3 );
    $output = curl_exec( $ch );
    curl_close( $ch );
    } else {
    $h = fopen( $s, "r" );
    while ( !feof( $h ) ) $output .= fread( $h, 8192 );
    fclose( $h );
    }
    if ( $output and function_exists("simplexml_load_string") ) {
    $xml = simplexml_load_string( $output );
    $link = $xml->item->link;
    $name = $xml->item->name;
    if ( $link and $name ) {
    $quality = $xml->item->quality[id];
    $class = ( $quality and ( $quality >= $commonest_color ) ) ? ' class="q'.esc_attr( $quality ).'"' : ' class="nocolor"';
    $result = '<a href="'.esc_attr( $link ).'" title="Wowhead - '.esc_attr( $name ).'."'.$class.'>'.esc_html( $name ).'</a>';
    }
    }
    if ( $result ) return $result;
    else return '<a href="http://'.$lang.'.wowhead.com/?search='.esc_attr( $f ).'" title="Wowhead - '.esc_attr( $f ).'.">'.esc_html( $f ).'</a>';
    }

    function bb_wowhead_item_link( $text ) {
    $text = preg_replace('|(<item>)(.*?)(</item>)|e', "bb_wowhead_item_search('\2')", $text);
    return $text;
    }

    function bb_wowhead_item_tags( $tags ) {
    $tags['item'] = array();
    $tags['a'] = array( 'href' => array(), 'title' => array(), 'class' => array(), 'rel' => array() );
    return $tags;
    }

    function bb_wowhead_item_header() {
    echo '<script language="JavaScript" type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>'."n";
    }

    add_filter( 'bb_allowed_tags', 'bb_wowhead_item_tags' );
    add_filter( 'pre_post', 'bb_wowhead_item_link' );
    add_action( 'bb_head', 'bb_wowhead_item_header' ); // Comment this line out if the Wowhead javascript file already exists in the header

    ?>

    #70355
    nedsferatu
    Member

    I wrote up a quick outline of the screencast that may be helpful:

    http://1isa2isb.com/wordpress-and-bbpress-integration

    I found that I would forget some of the non-intuitive steps but not want to re-watch the whole screencast.

    Sam Bauers
    Participant

    Contact form used.

    Markus Pezold
    Participant

    Hi …

    for the stable 0.95 release there is a plugin to allow anonymous user to post:

    https://bbpress.org/plugins/topic/bb-anonymous-posting

    I use this plugin in combination with:

    https://bbpress.org/plugins/topic/human-test

    But in my test environment the plugin don’t work with the bbPress 1.0 Release Candidate.

    johnhiler
    Member

    This allows anonymous posting:

    https://bbpress.org/plugins/topic/bb-anonymous-posting/

    This allows you to add Name/email/website fields:

    https://bbpress.org/plugins/topic/post-meta/

    But it’s really tricky stuff to add post-level meta info to version .9, so this may not be a stable combo of plugins. It should get a lot easier to have post-level meta information in 1.0…

    llamaman
    Member

    Hello!

    I am getting started with bbpress and have searched Google and the bbpress forums for an answer to this to no avail – Can I let anybody, even people who aren’t logged-in, post to my bbpress forum? If so, how can I set this up?

    Thanks!

    #69733
    jurasiks
    Participant

    bbpress 0.9.0.5 and phpbb 3.0.5 at localhost:

    when i click on “converting users data”

    i have:

    SQL ERROR [ mysqli ]

    Data too long for column ‘user_url’ at row 1 [1406]

    to small? how to fix and convers users data properly?

    updated: fixed!

    ALTER TABLE bb_users CHANGE user_url user_url VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL

    #74895

    In reply to: 404.php Not working

    chrishajer
    Participant

    What version bbPress are you using? The 404.php was a recent addition, I think.

    #74640

    In reply to: Deep Integration Issue

    Immelody
    Member

    Okay.. Figured out the first part of the problem. It was an issue with bbPress Live. Now doing some stuff to make sure it’s not something I’ve done.. Hopefully it’s not the plugin.

    I think it’s just the plugin.. Going to consider this resolved for now. If for some reason it’s not the plugin, I’ll unmark it resolved.

    #74881
    johnhiler
    Member

    Ah ok. We’re using a dedicated server…

    This post reported that MT grid uses NFS, which supposedly isn’t good for bbPress?

    https://bbpress.org/forums/topic/mysql_connect-cant-connect-through-socket

    I used MT grid for a long time and had a lot of problems. But it could’ve been their growing pains, which I hear they’ve grown past. We’ve had a great experience with their dedicated servers, although it’s a totally different setup.

    That topic also mentioned a tweak that the user made just for the 1.0 alpha on the MT grid – dunno if that would help at all, but thought I’d share the link anyway.

    #74638

    In reply to: Deep Integration Issue

    johnhiler
    Member

    I’m not really familiar with deep integration, so I don’t have any insight beyond just looking for similar errors reported on the forums.

    That error has only come up twice that I can see:

    http://www.google.com/search?q=Premature+end+of+script+headers+site%3ABbpress.org

    The first user didn’t report the fix, although a few other users in that same thread reported alternate approaches that resolved the issue for them.

    The second user mentioned a conflict with a plugin.

    #74637

    In reply to: Deep Integration Issue

    Immelody
    Member

    [Sun Jun 21 20:04:07 2009] [error] [client 64.183.193.41] Premature end of script headers: /var/chroot/home/content/a/m/a/amaron11/html/bbpress/index.php

    [Sun Jun 21 20:04:12 2009] [error] [client 72.167.232.7] Premature end of script headers: /var/chroot/home/content/a/m/a/amaron11/html/bbpress/index.php

    [Sun Jun 21 20:04:17 2009] [error] [client 72.167.232.7] Premature end of script headers: /var/chroot/home/content/a/m/a/amaron11/html/bbpress/index.php

    #15061
    citizenkeith
    Participant

    When I moved to a new host (Media Temple), I also upgraded to RC1. I skipped RC2 and I’m currently running RC3.

    Ever since I switched, I have had three occasions in which bbPress informed me that I needed to upgrade the database. I get this message when I go to the admin panel. Fist I notice that certain plugins aren’t activated (which were activated previously), and so I go to the admin panel and get the upgrade massage.

    Here are the upgrade messages:

    Beginning upgrade…

    Tags copied to taxonomy tables: bb_upgrade_1080

    Display names populated: bb_upgrade_1090

    Index forum_stickies dropped: bb_upgrade_1100

    >>> Done

    Is this a problem with my host? A bbPress bug? Hacking? Could it be related to my recount problem (see my previous post for info)?

    Thanks in advance…

    #74724
    Tynan Beatty
    Member

    RC3 works flawlessly on integration with WP2.8 on all my sites now. Great work Sam! As for images, I could never use them unless using both allow images and bbcode lite in combination (bbcode buttons helps here). I just tested it with RC3 and that combo still works just fine :)

    peace~

    #74723

    Did you try removing Page links for bbPress (1.0.4)? It’s included in the 1.0 series, so you shouldn’t need it.

    #74885
    johnhiler
    Member

    1. Yup, there’s something similar in bbPress! Both versions are listed here:

    https://bbpress.org/forums/topic/bbpress-faster-than-wordpress#post-20920

    2. This plugin should do the trick:

    https://bbpress.org/plugins/topic/edit-history/

    3. That’s a tough one! I don’t know how to do it. Are you going to be changing X a lot? If not, maybe it’s a pain but you could hardwire X into the template…

    #15062
    infected
    Participant

    Hi!

    I´m new to bbPress and try to create a theme that suites to my wp-theme. It´s based on the blank theme by refueled. At the moment i have 3 little questions:

    1) I´d like to show the amount of db-queries and the duration of loading the page in my footer. In WP i can add this information by adding a code like this <?php echo $wpdb->num_queries; ?> Queries, <?php timer_stop(1); ?> Seconds. Is there something similar in bbPress?

    2) Is there a way to display a text if a post was edited by a user? Something like “this post was last edited on X at X?

    3) The last point: In the backend i can define how long a post is editable. Is it possible to display this value somewhere above the textarea when writing a post? I´d like to add a short notice like “You can edit your post for X minutes after saving it.” The X-value should change if i change it in the backend.

    That´s it for now… :-) I hope someone can help me.

    Thanks in advance!

    infected

    #74722
    the_Wish
    Member

    • No more images… bbpress just eats the code. allow images plugin installed, and activated.

    This, however, is still true. Has anyone else encountered this trouble?

    Trying to determine if it’s a plugin in need of update, or if it’s an error on my part, or an actual issue in RC3

    Yep, I’m having the same issues since RC2, see this topic (starting bottom page 1):

    https://bbpress.org/forums/topic/final-release-candidate-10-rc-2-is-available

    #74877
    johnhiler
    Member

    Just edit the post.php file in your active template – it probably looks something like this:

    https://trac.bbpress.org/browser/trunk/bb-templates/kakumei/post.php

    Remove the line that prints the role of the user:

    <?php post_author_title_link(); ?>

    Make sure to backup your templates before you edit them. Good luck!

    #74875
    johnhiler
    Member

    This page on bbshowcase links to various translations, including one for French:

    http://bbshowcase.org/forums/topic/bbpress-translation-internationalization-into-local-languages

    It looks like you can download the version you are looking for here:

    http://svn.automattic.com/bbpress-i18n/fr_FR/tags/

    #15008
    Immelody
    Member

    Okay. I figured out what I was doing wrong with everything else, but this one has me stumped.

    I’m attempting to deep integrate WP 2.8 and BP 1.0 RC3.

    I’m using the following:

    if ( !defined( ‘ABSPATH’ ) ) {

    include_once( ‘/home/content/a/m/a/amaron11/html/wp-load.php’ );

    }

    From here: http://bbpress.org/forums/topic/first-pass-at-a-fix-for-deep-integration-in-trunk#post-21572

    I will note that even changing that to wp-blog-header.php gives me the same problem.

    When not commented out, that set of lines causes a 500 Internal Server Error when attempting to access the dashboard.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    However, it does not cause this error for either the blog page or the forum page. They do load quite slowly though.

    I’m utterly confused by this one. And ready to go to bed. I hope someone has some sort of guidance when I wake up in the morning!

    #74630
    onel0ve
    Member

    General Error

    SQL ERROR [ mysqli ]

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘s links’, ’21’, ’20’, ’80’, ‘157’)’ at line 1 [ 1064 ]

    An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

    when i try to convert i get this errror massage please help

    cheinyeanlim
    Member

    The plugin was designed to stop hackers from gaining access to your blog via trial and error, something which is quite common with WordPress blogs since most people use the default username login ‘admin’….

    http://www.pupuweb.com/blog/protect-blog-with-login-lockdown/

    #74719
    jimgroom
    Member

    Hey everyone,

    Testing out RC3, and it works in terms of bbPress/BuddyPress/WPMu 2.7.1 integration far better than RC2, which had me stumped. I do have one lingering issue with the integrated signon between WPMu and bbPress for anyone who might have a lead. When I login to either WPMu or bbPress it logs me into both applications, however, if I try and logout of bbPress when I originally logged in to WPMu, for example, it won’t log me out. I have to actually go and logout of WPMu to be logged out of bbPress. This was a similar/common issue in a version that was in the 0.7.x or 0.8.x series. And I have the sneaky suspicion there is something in my config files that is baling it. Anyone having a similar issue? Anyone know of a fix? Below are my config files for both wp and bbPress.

    Right now I have this in my wp-config:

    define( ‘COOKIE_DOMAIN’, ‘.umwblogs.org’ );

    define( ‘SITECOOKIEPATH’, ‘/’ );

    define( ‘COOKIEPATH’, ‘/’ );

    define( ‘COOKIEHASH’, ‘#################’ );

    And this in my bb-config:

    // WordPress cookie integration speedup

    $bb->wp_siteurl = ‘http://umwblogs.org&#8217;;

    $bb->wp_home = ‘http://umwblogs.org&#8217;;

    $bb->cookiepath = ‘/’;

    $bb->authcookie = ‘wordpress_###################’;

    $bb->secure_auth_cookie = ‘wordpress_sec_###################’;

    $bb->logged_in_cookie = ‘wordpress_logged_in_###################’;

    $bb->admin_cookie_path = ‘/forums/bb-admin’;

    $bb->core_plugins_cookie_path = ‘/forums/bb-plugins’;

    $bb->user_plugins_cookie_path = ‘/forums/my-plugins’;

    $bb->sitecookiepath = ‘/’;

    $bb->wp_admin_cookie_path = ‘/wp-admin’;

    $bb->wp_plugins_cookie_path = ‘/wp-content/plugins’;

    // End integration speedups

    define( ‘WP_AUTH_COOKIE_VERSION’, 1 );

Viewing 25 results - 51,051 through 51,075 (of 64,431 total)
Skip to toolbar