Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 47,976 through 48,000 (of 64,515 total)
  • Author
    Search Results
  • #80595
    Jiyong
    Member
    #80467

    If you click on Admin, it redirects back to the bbPress core directory if you’ve logged in on the WordPress side, but works fine if you log in on the bbPress side. Clearing browser cookies has no effect.

    #32096
    KillerSneak
    Member

    So i need some help. I have integrated BBPress with WordPress but the template I’m running only loads the Jquery SuperFish menu when it finds WP 2.8 – i need to alter the code so it also loads when it find BB press 1.0 / 1.0.2

    here’s the code

    <?php

    if ( $wp_version != '2.8')

    {

    wp_deregister_script('jquery');

    wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-1.3.2.min.js', null, '1.3.2', false);

    wp_enqueue_script('jquery-ui', get_template_directory_uri() . '/js/jquery-ui-1.7.1.min.js', 'jquery', '1.7.1', false);

    } else {

    wp_enqueue_script('jquery-ui-tabs', null, array('jquery', 'jquery-ui-core'), null, false);

    }

    if ( $bb_version != ‘1.0’)

    {

    wp_deregister_script(‘jquery’);

    wp_enqueue_script(‘jquery’, get_template_directory_uri() . ‘/js/jquery-1.3.2.min.js’, null, ‘1.3.2’, false);

    wp_enqueue_script(‘jquery-ui’, get_template_directory_uri() . ‘/js/jquery-ui-1.7.1.min.js’, ‘jquery’, ‘1.7.1’, false);

    } else {

    wp_enqueue_script(‘jquery-ui-tabs’, null, array(‘jquery’, ‘jquery-ui-core’), null, false);

    }

    wp_enqueue_script(‘jquery-cycle’, get_template_directory_uri() . ‘/js/jquery.cycle.all.min.js’, ‘jquery’, null, false);

    wp_enqueue_script(‘jquery-validate’, get_template_directory_uri() . ‘/js/jquery.validate.min.js’, ‘jquery’, null, false);

    if ( !function_exists(‘pixopoint_menu’) ) {

    wp_enqueue_script(‘hoverintent’, get_template_directory_uri() . ‘/js/superfish/hoverIntent.js’, ‘jquery’, null, false);

    wp_enqueue_script(‘superfish’, get_template_directory_uri() . ‘/js/superfish/superfish.js’, ‘jquery’, null, false);

    }

    if ( is_singular() ) {

    wp_enqueue_script(‘comment-reply’);

    }

    wp_enqueue_script(‘arras-base’, get_template_directory_uri() . ‘/js/base.js’, ‘jquery’, null, false);

    wp_head();

    arras_head();

    if ( !function_exists(‘pixopoint_menu’) ) :

    ?>

    <script type=”text/javascript”>

    $(document).ready(function() {

    $(‘.sf-menu’).superfish({

    delay: 1000, // one second delay on mouseout

    animation: {opacity:’show’,height:’show’}, // fade-in and slide-down animation

    speed: ‘fast’, // faster animation speed

    autoArrows: false, // disable generation of arrow mark-up

    dropShadows: false // disable drop shadows

    });

    });

    </script>

    <?php endif ?>

    #80597
    ZoiX
    Member
    #80596
    chrishajer
    Participant

    What plugin are you using? Is it this?

    http://klr20mg.com/bbpress-syntax-highlighter-en/

    What version of bbPress did you install?

    #32097
    ZoiX
    Member

    Hi all!

    I have a problem with BBPress:Syntax Hiliter plugin and simple quotes (‘) or normal quotes (“).

    When in my code I have a quote, the plugin (or bbpress?) change it by the hexadecimal code.

    For example, if in my code I have a simple quote (‘), appear in the code &#39.

    .

    I was reading an issue about it and maybe the functions.bb-formatting.php file have an answer, anyway, I don’t have what I need to edit.

    Anyone have any idea?

    Thank you :)

    #56797

    In reply to: Plugin: Avatar Upload

    dangerousape
    Member

    @wilcosky and everyone else who’s asked here and on the other thread, having cracked it this afternoon with the aid of a couple of online code snippets and my limited PHP skills, here’s how to display your avatars from this plugin in WP if you have WP and bbPress integrated and sharing the same user table.

    In your sidebar, or wherever you want to have them (or a “welcome, guest” message or whatever) appear, put this code snippet…

    <?php global $user_login;
    get_currentuserinfo();

    if ($user_login == '') {
    echo('Welcome Guest');
    } else {

    $directory = '/your/DOCUMENT_ROOT/path/to/forum/avatars/';
    $flag = false;
    $ext = array( '.jpg' , '.gif' , '.png' );

    for( $i = 0; count( $ext ) > $i; $i++ )
    {
    if( file_exists( $directory . $user_login . $ext[$i] ) )
    {

    $flag = true;
    $name = $user_login . $ext[$i];
    }
    }
    if( $flag == true )
    {
    echo "<img src="http://www.yoursite.com/forum/avatars/".$name."" />";
    }
    }
    ?>

    Note that the path for $directory is your DOCUMENT_ROOT one (you can use an ‘echo’ or ‘print’ PHP command to find it if you don’t know it, google for instructions; it’s usually something like ‘/home/user/public_html/’), while the later image source path is the standard http one. If your avatar directory is somewhere other than /yoursite.com/forum/avatars/ then, obviously, you’ll need to edit accordingly.

    If you use a different set of possible image file extensions than the usual .jpg, .gif and .png trio you’ll also need to edit the $ext array (so if you don’t allow .gifs, it’d be $ext = array( '.jpg' , '.png' ) for instance).

    #80501
    chrishajer
    Participant

    Hopefully you have a database backup since that will be the easiest way to fix this. If you used the same database prefix for WordPress and your bbPress installation, bbPress tried to install into some existing WordPress tables.

    Here is a list of the tables created by both packages:

    bbPress tables:

    forums
    meta
    posts
    terms
    term_relationships
    term_taxonomy
    topics
    users
    usermeta

    WordPress tables:
    terms
    term_taxonomy
    term_relationships
    comments
    links
    options
    postmeta
    posts
    users
    usermeta

    From that list, it looks like the following tables have the same names in bbPress and WordPress:

    posts
    terms
    term_relationships
    term_taxonomy
    users
    usermeta

    So, if you used the same prefix, I think bbPress would just happily write into those tables. I’ve never done it, so I’m not certain, but I think that’s what would happen.

    I guess it’s possible also that it just leaves the existing WordPress tables alone, but the tables are not usable in bbPress, so there could be weirdness. It’s also possible that bbPress tries to alter the tables and fails in some places, making the table unusable for bbPress and probably WordPress.

    It’s easiest to just replace the database with a recent backup. If you don’t have that, then you will have to look at the database directly with a tool like phpMyAdmin and see exactly what happened.

    #80466
    chrishajer
    Participant

    When you click “Admin” what happens?

    And did you log in at bbPress or WordPress?

    Did you try clearing your browser cookies?

    #80465

    I have this problem, always ended up concluding bbPress admin just doesn’t like login cookies set from the WordPress side. It’s a relatively common problem too, so it’s probably worth checking if it’s ever been reported to Trac.

    #32063
    weildish
    Member

    (As an afterthought, this ought to be in troubleshooting, but I can’t change it… sorry!)

    Hello. Let me introduce myself. I am an idiot.

    I installed bbPress to my server. I wanted to have user integration with my WordPress installation. Great. I ran the installation, but I knew I’d have to do a lot of things manually because of my server set up. I entered the appropriate information for the config file, and it prompted me to create the config file with certain information in it because it didn’t have permissions to do so. Exactly what I expected. I ran the rest of the setup as it should go, and when I had it commence with the installation, it said that it had installed but with some minor errors. I looked at the config file, and the keys hadn’t been saved. So I entered in the keys as they should have gone, but then I stupidly changed the blasted database prefix to the same prefix as my WordPress installation thinking for some stupid reason that I was changing the setting for WordPress integration! IDIOT! It installs again with some “minor errors,” but this time going to the address of the forum actually brought up the forum instead of the installation prompt. I mozy on over to my WordPress installation (http://ipfcubed.com&#8211; which I’ve currently set to be inaccessable to the public– you’ll see why). Now every single draft and scheduled post (as well as unapproved submissions from contributors in the community) is now visible on the main page. When I make a new post, it says the year is 1999 (EDIT: Sorry– the date is still correct, but the post’s address says that it’s 1999: http://ipfcubed.com/1999/11//. The published posts count is also off– it says I have zero published posts in the dashboard. I can see that I’ve majorly messed up the posts table. Can someone PLEASE help me fix it? Any and all suggestions are welcome! Below I’ve provided both the error message and the installation log that it gave me:

    THE LOG (errors below this):

    Referrer is OK, beginning installation…<br />
    >>> Setting up custom user table constants</p>
    <p>Step 1 - Creating database tables<br />
    >>> Modifying database: jordan_wp (localhost)<br />
    >>>>>> Table: ipf3_forums<br />
    >>>>>>>>> Creating table<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_meta<br />
    >>>>>>>>> Creating table<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_posts<br />
    >>>>>>>>> Adding column: post_id<br />
    >>>>>>>>>>>> SQL ERROR! See the error log for more detail<br />
    >>>>>>>>> Adding column: forum_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: topic_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: poster_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: post_text<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: post_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: poster_ip<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Setting default on column: post_status<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: post_status<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: post_position<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Dropping index: PRIMARY<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: PRIMARY<br />
    >>>>>>>>>>>> SQL ERROR! See the error log for more detail<br />
    >>>>>>>>> Adding index: topic_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: poster_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: post_time<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding index: post_text<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_terms<br />
    >>>>>>>>> Changing column: term_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: name<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_term_relationships<br />
    >>>>>>>>> Changing column: object_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: term_taxonomy_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Adding column: user_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_term_taxonomy<br />
    >>>>>>>>> Changing column: term_taxonomy_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: term_id<br />
    >>>>>>>>>>>> Done<br />
    >>>>>>>>> Changing column: parent<br />
    >>>>>>>>>>>> Done<br />
    >>>>>> Table: ipf3_topics<br />
    >>>>>>>>> Creating table<br />
    >>>>>>>>>>>> Done</p>
    <p>Step 2 - WordPress integration (optional)<br />
    >>> WordPress address (URL): http://ipfcubed.com/<br />
    >>> Blog address (URL): http://ipfcubed.com/<br />
    >>> WordPress cookie keys set.<br />
    >>> WordPress "auth" cookie salt set from input.<br />
    >>> WordPress "logged in" cookie salt set from input.<br />
    >>> Fetching missing WordPress cookie salts.<br />
    >>>>>> WordPress "secure auth" cookie salt not set.<br />
    >>> User database table prefix: ipf3_</p>
    <p>Step 3 - Site settings<br />
    >>> Site name: IPF³ Forum<br />
    >>> Site address (URL): http://forum.ipfcubed.com/<br />
    >>> From email address: jordanspencer@ipfcubed.com<br />
    >>> Key master role assigned to existing user<br />
    >>>>>> Username: admin<br />
    >>>>>> Email address: jordanspencer@ipfcubed.com<br />
    >>>>>> Password: Your existing password<br />
    >>> Description: Just another bbPress community<br />
    >>> Forum name: The General of Electric<br />
    >>>>>> Topic: Your first topic<br />
    >>>>>>>>> Post: First Post! w00t.<br />
    >>> Key master email sent

    There were some errors encountered during installation!

    ERRORS:

    SQL ERROR!<br />
    >>> Database: jordan_wp (localhost)<br />
    >>>>>> ALTER TABLE <code></code>ipf3_posts<code>ADD COLUMN</code>post_id

    bigint(20) NOT NULL auto_increment;

    >>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key

    SQL ERROR!

    >>> Database: jordan_wp (localhost)

    >>>>>> ALTER TABLE ipf3_posts ADD PRIMARY KEY (post_id);

    >>>>>> Key column ‘post_id’ doesn’t exist in table

    Thank you!

    #80463
    chrishajer
    Participant

    If login works normally, what do you see next to your name after you log in?

    Welcome, ChrisHajer! View your profile (Admin | Log Out)

    or

    Welcome, ChrisHajer! | Log Out

    In the first case, I am keymaster and have admin access. In the second case, I am just a member and have no admin access. I you have the first, click on Admin and you will have access to the bbPress back end.

    If you have the second, the account you’re logging in with might not have keymaster access. There was a plugin to restore keymaster access, but it was good only for up to 0.9. Not sure if it works with 1.0.

    https://bbpress.org/plugins/topic/fix-admin-access/

    If it doesn’t work, then you will need to edit the permissions directly in the database.

    #32094

    I just set up a bbpress in a subfolder of my wordpress blog /forums and everything seemed to be working fine until I tried to install some plugins.

    I would click on “Plugins” on the left side of the menu and be directed to a blank page: /forums/bb-admin/plugins.php

    I have really no idea what to do right now and could use any kind of help you guys can offer.

    #80496
    chrishajer
    Participant

    If you just want solid green, don’t use an image. bbPress uses an image tiled across because there is a gradient in it. If you just want solid color, just set the background-color of the div to whatever you want it to me, and remove the reference to the background image url.

    #80556

    In reply to: errored when installed

    chrishajer
    Participant

    bbPress is not a plugin for WordPress – you already figured that out and moved it.

    To reinstall, I would drop the tables from the database, then delete your bb-config.php and start the installation again in the new location. If you have errors after a clean install like that, post them here.

    chrishajer
    Participant

    If you think it’s a bug you should open a ticket at http://trac.bbpress.org

    #32091
    hokejzinas
    Member

    Now I try to set up my own web, so I choose WordPress. And when i try to install bbpress there is one problem

    First of all I upload all bbPress files in subdirectory /Forum

    All installation went fine, and finish succesfully, but when I try to reach my forum/admin panel (http://…&#8230; .com/Forum), than there is error message:

    “Oh dear!

    bbPress is already installed.

    Perhaps you meant to run the upgrade script instead?”

    What I should to do, to avoid it, and set up bbPress correctly?

    Thanks!

    #80555

    In reply to: errored when installed

    adtv
    Member

    sr now i want to have a new install and i move bbpress folder to wordpress (http://localhost/wordpress/bbpress) but i don’t know how can i uninstall it?

    i moved bbpress folder to wordpress and change name to forum and type http://localhost/wordpress/forum but still error:

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpressforumbb-adminincludesclass.bb-install.php on line 1280

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpressforumbb-includesfunctions.bb-l10n.php on line 484

    Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocswordpressforumbb-adminincludesclass.bb-install.php:1280) in C:xampplitehtdocswordpressforumbb-adminincludesclass.bb-install.php on line 390

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpressforumbb-includesbackpresspomomo.php on line 171

    Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocswordpressforumbb-adminincludesclass.bb-install.php:1280) in C:xampplitehtdocswordpressforumbb-includesfunctions.bb-core.php on line 1101

    plz help me!

    #80511
    InvTrdr
    Member

    I made a div called “min-height” in the footer.php file and set it to “px” in the CSS stylesheet. With “px” it goes to the bottom of this example page http://invictatrader.com/bbpress/forum/why-watts-trading-system in Firefox but it still hangs in IE. Is there a way to set the “min-height” in the Stylesheet to something other than “px” so that the footer will always hug the bottom of the page? I tried “auto” and “%” but they did not work. Doing this pushes it down on all pages, which is not needed on all my pages as some are long enough to push the footer to the bottom.

    Thank you.

    #32089
    adtv
    Member

    plz help me.

    my error:

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-settings.php on line 186

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesbackpresspomomo.php on line 171

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesfunctions.bb-l10n.php on line 484

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581

    Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-adminincludesclass.bb-install.php on line 1280

    Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-settings.php:186) in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-adminincludesclass.bb-install.php on line 390

    Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-settings.php:186) in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesfunctions.bb-core.php on line 1101

    For the record — I am completely and totally new to bbPress but I have a pretty good knowledge of wordpress and themes.

    I am setting up a forum for french speaking people so the interface has to be completely french BUT, I am english and need the admin area to be english. We installed version 1.0.2 thinking we could get a plugin but now I wonder if I have the right installation.

    Can anyone help me figure this out?

    Thanks!

    Helen

    #80522
    johnhiler
    Member

    Chris had some great advice for a user in a similar situation here:

    https://bbpress.org/forums/topic/problems-trying-tlo-install#post-58763

    Is it possible that there’s a missing BB in front of your constant names in bb-config.php?

    #80526
    thekmen
    Member

    I copied all the required styles from WP to the bbPress theme.

    If you look at the source of the WP end, you will see I placed 2 <–COPY–> here markers for the Page & Cat nav, then in the bbPress backend theme options you just paste that code.

    #80516
    nickaster
    Member

    Yeah, I did, but it’s still happening with new posts. I followed the instructions here, by Adam Kayce and made the changes he suggested.

    Apostrophe and or quotation marks cause backslash to appear.

    No luck at all, still got those slashes!

    #80552
    johnhiler
    Member

    It sounds like your old account was possibly Bozo’d:

    https://bbpress.org/forums/topic/bozo?replies=4#post-248

    I’ll add the tag “modlook” to this post so that a moderator knows to check your old account for a Bozo flag!

Viewing 25 results - 47,976 through 48,000 (of 64,515 total)
Skip to toolbar