Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 58,301 through 58,325 (of 64,448 total)
  • Author
    Search Results
  • #63303
    techhost
    Member

    Wait, what’s this:

    Warning: version_compare() has been disabled for security reasons in d:hostingarock1rockline_forumbbpressbb-includesdb-base.php on line 479

    Cannot select DB.

    I don’t know what this is either .. .. I got this the first time i tried the install.php . .. .. .. Then I fixed the (uri)line, because I had forgotten the ‘.com’ in the address

    $bb->uri = ‘http://www.rocklineproduction.com/rockline_forum/bbpress/’;

    then first part of the error went away and all I had was the ‘Connot selectDB’ .. . .and now

    the first part is back again .. … …

    #63298
    chrishajer
    Participant

    Wait, what’s this:

    Warning: version_compare() has been disabled for security reasons in d:hostingarock1rockline_forumbbpressbb-includesdb-base.php on line 479
    Cannot select DB.

    You didn’t post the first part of that message which I received when trying to access your forum.

    Do you know what version MySQL is installed? You could probably work around that. The fact that you still have a “Cannot select DB” error after the warning means there is probably still a problem with your four connection details.

    #63296
    techhost
    Member

    here are my settings for the config.php Sorry for not posting it at first.

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘sameasUSER’);

    define(‘BBDB_USER’, ‘sameasDB’);

    define(‘BBDB_PASSWORD’, ‘xxxxxxxxx’);

    define(‘BBDB_HOST’, ‘localhost’);

    define(‘BBDB_CHARSET’, ‘utf8’);

    define(‘BBDB_COLLATE’, ”);

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

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

    // The full URL of your bbPress install

    $bb->uri = ‘http://www.rocklineproduction.com/rockline_forum/bbpress/’;

    // What are you going to call me?

    $bb->name = ‘Rockline Production Forum’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘myemail@hosttechs.net’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based 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;

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

    $bb->gmt_offset = 8;

    // 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’, ”);

    // 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->akismet_key = ”; // Example: ‘0123456789ab’

    // I didn’t change anything below that which is above .. . .. .

    #63258
    _ck_
    Participant

    Wow I can’t believe bbPress doesn’t do that.

    I’ve whipped up a function to do it, should be in the plugin browser soon or try this:

    <?php
    /*
    Plugin Name: New User Notification Email
    */
    add_action('bb_new_user', 'new_user_notification');

    function new_user_notification($user_id=0) {
    if (!$user_id) {$user_id=bb_get_current_user_info( 'id' );}
    $user=bb_get_user($user_id);

    $message = sprintf(__('New user registration on %s:'), bb_get_option('name')) . "rnrn";
    $message .= sprintf(__('Username: %s'), stripslashes($user->user_login)) . "rnrn";
    $message .= sprintf(__('E-mail: %s'), stripslashes($user->user_email)) . "rnrn";

    $message .= sprintf(__('Agent: %s'), substr(stripslashes($_SERVER["HTTP_USER_AGENT"]),0,80)) . "rnrn";
    $message .= sprintf(__('IP: %s'), $_SERVER['REMOTE_ADDR']) . "rnrn";

    $message .= sprintf(__('Profile: %s'), get_user_profile_link($user_id)) . "rnrn";

    @bb_mail(bb_get_option('admin_email') , sprintf(__('[%s] New User Registration'), bb_get_option('name')), $message, '' );
    }
    ?>

    #63323

    In reply to: Fatal Error?

    chrishajer
    Participant

    I use 1&1 without any trouble with many bbPress and WordPress installations. If you need help, just post. Every host is a little bit different, but I have 3+ years of experience with 1&1 on all types of servers.

    Cheers.

    #63270
    Sam Bauers
    Participant

    That plugin is old and won’t work with 0.8.4 (and maybe not with 0.8.3.1)

    Once 0.8.4 is released this should work as a plugin for both WordPress and bbPress:

    <?php
    /*
    Plugin Name: Lax user names
    Plugin URI:
    Description: Makes all user name sanitisation non-strict
    Author: Sam Bauers
    Version: 0.0.1
    Author URI: http://unlettered.org/
    */

    function i18n_sanitize_user($username, $raw_username = false, $strict = false) {
    if ($strict) {
    return sanitize_user($raw_username);
    } else {
    return $username;
    }
    }

    add_filter('sanitize_user', 'i18n_sanitize_user');
    ?>

    #53367
    _ck_
    Participant

    It unzips for me, what utility are you using?

    web.archive tends to add stray characters to the header or afterwards and that may be confusing your program. I use WinRar.

    I might make a local archive on my site for abandoned themes.

    #63269
    _ck_
    Participant

    This should fix it: https://bbpress.org/plugins/topic/usernames-i18n-fix/

    I need to find out if this is fixed by default in 0.8.4

    #53201
    _ck_
    Participant

    This would be a good beginning project for a first bbPress plugin, I’d encourage you and just ask for help if you need it.

    Basically you’d want to store within and display within the topic meta adding the user id number to a list so people can’t thank twice – or so you can list the names of those that thanked. Use “implode” and “explode” to make the list and count the names.

    As a shortcut you could store the actual username and output the raw string with the commas to show all the names that thanked. Then by counting the commas (+1), or exploding into an array and counting the array, you’d get the number of people that thanked. You could give admin the option to show the list of names that thanked or just the count (or both).

    The trickiest part is you have to give a button to thank with, which gives you either a form or an href. Then you have to look for the get/post data and process it. I recommend using a href via a GET instead of POST so bbPress doesn’t have to redirect to clear the post data (it’s nasty to reload twice).

    I just realized you mentioned “posts” vs “topic” and the problem with that is that bbPress doesn’t have a per-post metadata table. This would make it a bit more complicated as you’d have to track which post number within a topic was thanked and store it in the topic’s meta anyway. But if somehow a post is moved to another topic, this becomes a problem as the meta would not move with it (rare but could happen with plugins like move-it).

    #53366
    ironbound
    Member

    except it doesn’t unzip

    #53365
    ironbound
    Member

    _ck_ = the best!

    #2971
    ironbound
    Member

    Everything is working fine except the post and forum links. I can use the admin area perfectly. I can log in and out, and register new users fine.

    However, I cannot access:

    *View your profile

    *Your first topic

    *bbPress (under Hot Tags)

    *Main forum under MAIN THEME (1st post)

    * Topics with no replies

    * Topics with no tags

    Clicking any of the above brings me to a 404 error page

    Please help me through this one. Thank you for your time and patience.

    #2970
    Sam Bauers
    Participant

    [Update: this release will now be version 0.9 instead of 0.8.4]

    bbPress 0.9 will be released on the 10th of March, 2008 to coincide with the release of WordPress 2.5

    A full blog post on the bbPress blog will outline all the changes in the near future.

    In the meantime if anyone wants to give the latest 0.9 beta a test run, simply download a zip package of the current version of the “0.8 branch” at the bottom of this page.

    If you find any problems then please login to the bbPress Trac site and create a new ticket to report it as a bug. Alternatively, you can see if either sambauers or mdawaffe is in the #bbPress IRC channel on irc.freenode.net and report the problem directly to them.

    #63322

    In reply to: Fatal Error?

    ironbound
    Member

    Thank you for your help chrishajer. I did eventually figure it out… after 13 different installations. It was easy (bbpress) but shared hosting is difficult to deal with.

    #63321

    In reply to: Fatal Error?

    ironbound
    Member

    The problem is that I have this stupid shared hosting BS with 1and1. Right now I have mysite.com which is actually mysite.com/forum. Then I have the files under mysite.com/forum/bbpress. It installs fine but then I get 500 errors on any of the forum links.

    #63238

    In reply to: Integration questions

    harryworld
    Member

    zappoman,

    Thanks for your sharing. I am exactly looking for the features. Could I help somehow to make this work? (Even I’m quite new to bbPress :P)

    You may send me an email at harryworld(at)gmail(dot)com

    #2968
    crossroads
    Member

    Does anybody know why when a forum is clicked from the main menu does it go to my wp index page. I suspect it has to do with bbpress files being in a folder not on the main root, but i can’t figure out what i need to change.

    Same thing happens when I go to my profile page.

    Thanks for any help.

    #62668

    In reply to: Databases

    crossroads
    Member

    Does anybody know why when a forum is clicked from the main menu does it go to my wp index page. I suspect it has to do with bbpress files being in a folder not on the main root, but i can’t figure out what i need to change.

    Same thing happens when I go to my profile page.

    Thanks for any help.

    #2967

    Topic: Themes in FireFox

    in forum Themes

    I’m having what looks to be a common problem, my forum has no style in Firefox.

    I read up on this post:

    http://bbpress.org/forums/topic/themes-in-firefox#post-5089

    and it seems I need to change a backslash to a forward slash, I just can’t figure out where the offending backslash is located. What file do I need to look at to find and change this backslash?

    Thanks!

    #63265

    In reply to: PHP Error

    chrishajer
    Participant

    OK – I still don’t see those actual line numbers in that release (in fact bb_settings.php has only 209 lines.) So, can you open up /home/www/web316/html/ps-t/bb-settings.php and post line 294 (maybe a couple before and after as well) and /home/www/web316/html/ps-t/bb-includes/pluggable.php and post lines 193 and 231. The code on those lines will help point the way to solving these problems.

    My hunch is this is related to the glob issue and there being no underscore plugins in a bb-plugins directory. Because there are no plugins that begin with an underscore, and due to problems with the way the glob function is tested for, an error like this can occur.

    You can try installing this plugin to see if it fixes your error, even though the line numbers and messages really don’t match up:

    https://bbpress.org/plugins/topic/bb-benchmark/

    I think you can also just create a bb-plugins directory in your installation root, then in it create a file called something like _nothing.php – I think that also causes this block of code to NOT fail, so you wouldn’t see these warnings.

    #63310
    chrishajer
    Participant

    Put it here:

    /home/"mywordpressblogsname"/public_html/bbpress/

    Then in config.php set bb->uri:

    $bb->uri = 'http://"mywordpressblogsname"/bbpress/';

    (assuming your blog is visible at http://”mywordpressblogsname”/ not http://”mywordpressblogsname”/public_html)

    You can name the bbpress folder whatever you want. Sometimes people call it forums. Just be sure to change it to the same thing in config.php.

    #2966

    At first I uploaded the folder bbpress-0.8.3.1.zip to

    /home/”mywordpressblogsname”/public_html/wp-content /plugins

    where I unzipped it and modified the necessary files. Obviously, that didn’t work, as it’s not a plugin (I think I was on autopilot, as I’ve only installed plugins up to now).

    So, where do I upload bbpress to exactly? I have some ideas, but I’d rather get some help than bumble around again.

    FYI I am not integrating my forum users with my wordpress blog users (actually, my blog doesn’t allow user login at all).

    Thanks!

    #63264

    In reply to: PHP Error

    sensifreak
    Member

    https://bbpress.org/latest.tar.gz

    this file here i think ists the 0.8.3.1

    #63181
    janellers
    Member

    I do some more testing:

    if i use the “bb_is_user_logged_in() )” Function on the entry site it returns false every time. but if I go to the register.php wich uses the same function for displaying the content it shows: “You’re already logged in, why do you need to register?”

    If I now go back to the front page by clicking a link on the register page, bbPress recognize that I’am logged in. Due this process I never used the “Log in” Button of the Forum. I was justed logged in by my WP Site.

    Another test:

    If I login thru my bbPress site all works fine. But if i go back to my WP Site and return to the Forum I have to log in again…

    #2962
    Göran
    Member

    My name is Göran but when I test bbPress and use my name as username I am called Gran and when I try to use Göran to get around the problem I get Goumlran as my name. How can I solve this? I want users to be able to use their real names including all Swedish letters.

Viewing 25 results - 58,301 through 58,325 (of 64,448 total)
Skip to toolbar