Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 26,601 through 26,625 (of 26,732 total)
  • Author
    Search Results
  • #680
    Hyper123
    Member

    I’m trying to install bbpress and the config file is correct. The error I receive is,

    microsoft.com/kb/q176113/ if ( !function_exists(‘wp_redirect’) ) : // [WP4273] function wp_redirect($location, $status = 302) { global $is_IIS; $location = preg_replace(‘|[^a-z0-9-~+_.?#=&;,/:%]|i’, ”, $location); $location = wp_kses_no_null($location); $strip = array(‘%0d’, ‘%0a’); $location = str_replace($strip, ”, $location); if ( $is_IIS ) { header(“Refresh: 0;url=$location”); } else { status_header($status); // This causes problems on IIS header(“Location: $location”); } } endif; if ( !function_exists(‘bb_verify_nonce’) ) : function bb_verify_nonce($nonce, $action = -1) { $user = bb_get_current_user(); $uid = $user->ID; $i = ceil(time() / 43200); //Allow for expanding range, but only do one check if we can if( substr(wp_hash($i . $action . $uid), -12, 10) == $nonce || substr(wp_hash(($i – 1) . $action . $uid), -12, 10) == $nonce ) return true; return false; } endif; if ( !function_exists(‘bb_create_nonce’) ) : function bb_create_nonce($action = -1) { $user = bb_get_current_user(); $uid = $user->ID; $i = ceil(time() / 43200); return substr(wp_hash($i . $action . $uid), -12, 10); } endif; // Not verbatim WP, bb has no options table and constants have different names. if ( !function_exists(‘wp_salt’) ) : function wp_salt() { global $bb; $salt = $bb->secret; if ( empty($salt) ) $salt = BBDB_PASSWORD . BBDB_USER . BBDB_NAME . BBDB_HOST . BBPATH; return $salt; } endif; if ( !function_exists(‘wp_hash’) ) : function wp_hash($data) { $salt = wp_salt(); if ( function_exists(‘hash_hmac’) ) { return hash_hmac(‘md5’, $data, $salt); } else { return md5($data . $salt); } } endif; if ( !function_exists(‘bb_check_admin_referer’) ) : function bb_check_admin_referer( $action = -1 ) { if ( !bb_verify_nonce($_REQUEST, $action) ) { bb_nonce_ays($action); die(); } do_action(‘bb_check_admin_referer’, $action); } endif; if ( !function_exists(‘bb_check_ajax_referer’) ) : function bb_check_ajax_referer() { global $bb; $cookie = explode(‘; ‘, urldecode(empty($_POST) ? $_GET : $_POST)); // AJAX scripts must pass cookie=document.cookie foreach ( $cookie as $tasty ) { if ( false !== strpos($tasty, $bb->usercookie) ) $user = substr(strstr($tasty, ‘=’), 1); if ( false !== strpos($tasty, $bb->passcookie) ) $pass = substr(strstr($tasty, ‘=’), 1); } if ( !bb_check_login( $user, $pass, true ) ) die(‘-1’); do_action(‘bb_check_ajax_referer’); } endif; if ( !function_exists(‘bb_break_password’) ) : function bb_break_password( $user_id ) { global $bbdb; $user_id = (int) $user_id; if ( !$user = bb_get_user( $user_id ) ) return false; $secret = substr(wp_hash( ‘bb_break_password’ ), 0, 13); if ( false === strpos( $user->user_pass, ‘—‘ ) ) return $bbdb->query(“UPDATE $bbdb->users SET user_pass = CONCAT(user_pass, ‘—‘, ‘$secret’) WHERE ID = ‘$user_id'”); else return true; } endif; if ( !function_exists(‘bb_fix_password’) ) : function bb_fix_password( $user_id ) { global $bbdb; $user_id = (int) $user_id; if ( !$user = bb_get_user( $user_id ) ) return false; if ( false === strpos( $user->user_pass, ‘—‘ ) ) return true; else return $bbdb->query(“UPDATE $bbdb->users SET user_pass = SUBSTRING_INDEX(user_pass, ‘—‘, 1) WHERE ID = ‘$user_id'”); } endif; if ( !function_exists(‘bb_has_broken_pass’) ) : function bb_has_broken_pass( $user_id = 0 ) { global $bb_current_user; if ( !$user_id ) $user =& $bb_current_user->data; else $user = bb_get_user( $user_id ); return ( false !== strpos($user->user_pass, ‘—‘ ) ); } endif; ?>

    Fatal error: Call to undefined function: bb_current_user() in forums/bb-settings.php on line 146

    I got the exact same kind of error yesterday while I was trying to install wordpress 2.0.5 but was able to install 2.0.4 no problem then upgrade to 2.0.5. Any help would be greatly appreciated.

    #50666

    In reply to: Installation problems

    Some of your settings aren’t quite right.

    $bb->domain = ‘http://domain.com’;

    $bb->path = ‘/cms/forums/’;

    $bb->wp_prefix = ‘wp_’; // or whatever the prefix is. It should not be true

    Try that on, and let us know.

    Also, I’m not sure what you mean by the links being broken in the bbpress-integration WordPress plugin. Can you explain it differently?

    #50767

    I don’t know about other wiki software, but I happen to know that the blicki plugin for WP is under active development.

    http://dev.wp-plugins.org/browser/blicki/trunk/

    I couldn’t find a real webpage for it yet. Soon, I’m sure.

    #50090

    also happening is: when I click on the link “Your First Post” (or somesuch) I get this error…

    “Too many redirects occurred trying to open “http://mydomain.com/cms/bbpress/topic.php?id=1”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.”

    anyone know why this is happening?

    #827
    xxp
    Member

    Does WordPress or WordPress MU directly integrate with any Wiki engines?

    How about bbPress?

    I see that you guys use Trac, so I’m guessing that the answer currently is “no”, but just want to go to the source to be sure.

    Thanks.

    “directly integrate” = e.g.:

    – share user database and authentication

    – share tags

    – have directly shareable presentation modules for CMS purposes (e.g., for nav blocks, ad blocks, footer blocks)

    – share a common design / performance philosophy &/or strategy.

    #49808

    In reply to: FAQ

    HOW do you make the plugins work?

    the “display-name.php” file adds a header of broken links and mod info (which I don’t understand) to the beginning of every install page but otherwise appears to not do anything.

    and the “bbpress-integration.php” plug-in for WordPress (I’m using 2) adds the same “Trac” information at the top of every loaded WP page…(!!!)

    very frustrating… =(

    help?

    #50705

    In reply to: freshness = -1 years

    Ok, well that fixed the -1 year “freshness” problem. Now the post times are incorrect by 1hour.

    I’m in -5 gmt timezone and my server is in -6gmt timezone.

    One issue fixed and another created. :) I seem to remember having this problem with WordPress a loooooooong time ago. Like pre 1.0 ago. Can’t remember how that was dealt with.

    Anyway, I’ll keep tinkering until I figure it out. Thanks for the help, AphelionZ.

    #50089

    Ok. found a css sheet, a new header and image files from Fernando_Graphicos <http://fernando.dubtribe.com&gt; and got the forum up and running but it won’t let me add a forum, doesn’t recognize me as admin [after initial screen] etc…

    ??

    help?

    #50719

    aah.. ok, thanks. I tried everything but double quotes..

    It’s obviously working now, because now the warning message is gone now.

    thanks!

    #50718
    Nola1974
    Participant

    Took me a bit to figure this out… it’s not a true/false configuration.

    replace

    '$bb->akismet_key = true;'

    with

    '$bb->akismet_key = "123456789";'

    (123456789 being your key)

    #821

    Howdy,

    just tinkering around with bbpress.

    In the config.php file it has this:

    ‘$bb->akismet_key = true;’

    How do I enter my key into that? Let’s say my key is 12345678. How would the code look after inserting the key?

    thanks.

    oh, guess I could add that I get this in my dashboard everytime I try to put the key in:

    The API key you have specified is invalid. Please double check the ‘$bb->akismet_key’ variable in your config.php file.

    #50088

    Ok….did that – got the install up – but am STILL not getting the css (or stylesheet) to load.

    Am seeing non-styled HTML – and most important – when I click a link to go to the first post, or login, I’m taken to the front page of the WordPress blog (posts and all)…

    no sign of bbPress…..

    what’s going on do you think?

    #816
    jhotchkiss
    Member

    I have successfully installed a WordPress blog and am trying to add a bbpress. Upon installation, and going to the install.php file, I get nothing but a white screen. Any ideas?

    #50675

    If bb_ really is your bbPress table prefix, and that is what is entered int the integration plugin page, users registering through bbPress should be given WordPress’ default role upon logging into WP for the first time.

    So I’m not sure what’s wrong exactly, but it may be caused by the stuff you’re doing manually (as you expect).

    #50673

    Go to the Users tab of your WordPress Admin panels.

    Under what role are these troublesome accounts listed?

    #50087
    Atsutane
    Member

    try like this

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

    require_once(ABSPATH.’wp-settings.php’);

    require_once(‘path/to/bbpress/config.php’);

    ?>

    #49834

    In reply to: Comments in WordPress

    ngetchell
    Member

    There is a plug in that posts entries from your WP blog into your bbpress bulletin board.

    http://dev.mbzeus.net/

    I think this will be what some people want in there forums.

    #50086

    so you all suggest I change

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

    require_once(ABSPATH.’wp-settings.php’);

    ?>

    to read

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

    require_once(‘path/to/bbpress/config.php’);

    ?>

    or to read

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

    require_once(ABSPATH.’path/to/bbpress/config.php’);

    ?>

    ??

    tia

    da

    #50664

    In reply to: Installation problems

    ok – I found the ultimate guide and it got me 95% through…

    I’m still having a problem (that is likely in my WordPress set up) and a problem seeing the (default stylesheet)….

    ideas?

    #50463
    zimpet
    Member

    Hi ear1grey, jepp, you are right… Maybe I am too spoilt by all the coders work on wordpress. In fact, bbpress is a good point to start with, and the idea of having a forum and a blog coming right from “one-stop” is the right decision. So, don’t get me wrong! It is really a wish of mine to have it all “together” and tools get merged this way.

    The only thing I want to highlight is, that – I’m not a coder from nature, but a tinckerer – it is not as easy as it sounds to set up the forum and integrate it into a running blog; first of all, if you are using wordpress for more than only as a “blogging-machine”. So, I will report

    all bugs I find and – if it is possible for me, give advice how to fix it. In case I have the courage… as mentioned, I’m a tinckerer, not a coder.

    #50085
    bonnyweb
    Member

    Hi guys,

    I’ve tryed to integrate bbpress in my wordpress blog, but I’ve some problems…I think in the configuration file.

    I’ll post my config file for semplicity:

    wp-config.php:

    <?php

    define(‘DB_NAME’, ‘blog_wp’);

    define(‘DB_USER’, ‘root’);

    define(‘DB_PASSWORD’, ‘root’);

    define(‘DB_HOST’, ‘localhost’);

    $table_prefix = ‘wp_’;

    define (‘WPLANG’, ”);

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

    require_once(ABSPATH.’wp-settings.php’);

    ?>

    bb-config.php:

    <?php

    define(‘BBDB_NAME’, ‘blog_wp’);

    define(‘BBDB_USER’, ‘root’);

    define(‘BBDB_PASSWORD’, ‘root’);

    define(‘BBDB_HOST’, ‘localhost’);

    $bb_table_prefix = ‘bb_’;

    $bb->domain = ‘http://localhost/neoxyty&#8217;;

    $bb->path = ‘/forum/’;

    $bb->name = ‘Neoxyty forum’;

    $bb->admin_email = ‘pippo@pluto.com’;

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    $bb->akismet_key = false;

    $bb->wp_table_prefix = false; // ‘wp_’;

    $bb->wp_home = “http://localhost/neoxyty&#8221;;

    $bb->wp_siteurl = “http://localhost/neoxyty&#8221;;

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

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

    ?>

    The intallation of the wordpress is ok and it works, and also the installation of bbpress seams to be ok, but when I try to read a post or make some changes in the admin section it doesn’t work…

    Some section are ok and other no…

    Somebody can help me…please!

    P.S. sorry if my english is not so good… :-)

    #50084
    Atsutane
    Member

    @devils_advocate

    Inside wp-config.php

    #50083

    “require_once(‘path/to/bbpress/config.php’);”

    where would this be added?

    #50082
    zimpet
    Member

    Mmmmh. Tried it and got: “Fatal error: Call to undefined function __() in /path/to/bbpress/bb-includes/capabilities.php on line 27”, it is the part with “function get_roles()”. Maybe it is beacuase I have defined a role “Key Master” within WordPress (with the plugin Role Manager)?

    #766
    zimpet
    Member

    Hi! I am truly a fan of WordPress (I use it on several websites), but I am a little bit disappointed of bbpress. I know, that it is a beta, but there are plugins for wordpress available, making integration into wordpress much better. Easier integration concerning templates, user-management, navigation etc. In spite of being a beta, the code still is “grubby” – having templates in “my-templates” does not mean that all functions will work with them. Eg. “bb-login.php” still include “login.php” from “bb-templates”. So, it means wasting time by seacrhing and fixing these things… And truly: who did directly understand “how-to-integrate-bbpress-into-wp” ? Or otherway round?

    And why do I always have “Ok. The document has moved here”? After login, logout – using IE. Using Firefox, nothing happens – no redirect, no link. I am enervated. Sorry. I have expected a bit more. Perhaps my fault…

Viewing 25 results - 26,601 through 26,625 (of 26,732 total)
Skip to toolbar