Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 14,251 through 14,275 (of 26,846 total)
  • Author
    Search Results
  • #43545
    ericaski1
    Member

    Just installed bbpress 2.0.2 in WordPress 3.3.1. I am going to want the user databases to be shared. Have read forums for hours on this issue but most deal with much older versions. I am new at WordPress so this may be simple and I am just missing it.

    An article I found on this forum indicates the following:

    In the “WordPress Integration” section of the “Settings” area in your bbPress admin you will find a “User Role Map”. I do not see a WordPress Integration section in the Settings area of bbpress. It only has a few main settings and slug stuff.

    Please advise?

    #112256
    highexistence
    Participant

    @johnjamesjacoby – Here is the error, verbatim:

    WordPress database error: [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 'http://hethens.com/people/jordan/' rel='nofollow'>@jordan</a>, <a href='http://h' at line 1]
    SELECT ID FROM wp_posts WHERE post_type = 'reply' AND post_status != 'trash' AND post_author = 2382 AND post_content = '<a href='http://hethens.com/people/jordan/' rel='nofollow'>@jordan</a>, <a href='http://hethens.com/people/jaygran7/' rel='nofollow'>@jaygran7</a>, hello!' AND post_parent = '60294' LIMIT 1

    Looks like an issue with using @replies?

    #43502
    gsp
    Member

    Hi

    We installed bbpress in our wordpress site

    We created some forms using bbpress

    Also we created some posts inside the created forms using bbpress

    From this link http://bbpress.org/forums/topic/bbpress-20-shortcodes we found short codes.

    We used

    [bbp-topic-index] – this is listing forms

    [bbp-topic-index] – this is listing topics.

    Is there any way to list form wise topics that is we need to list first form name then all topics in that then second form name then all topics in that etc. Please advise.

    In some sample bbpress sites we could able to see all form names listing and then if we click on any one form name all topics in that form will be listed like http://singletrackworld.com/forum/forum/classifieds-wanted Please advise how to achieve this.

    Thanks

    #110542
    harnold007
    Member

    I changed bbpress.css in folder /bbp-theme-compat/ which I was able to get it they way I want it to look.

    However, it is using my wordpress default page theme. I would like it to use a full width page theme that I have.

    Example it is using:

    <div id=”main-wrapper”>

    <div id=”main”>

    <div id=”post”>

    <h3 class=”section-title”>testing 2</h3>

    <div class=”post-entry”>

    // Then it goes to the forums tag

    <div id=”bbpress-forums”>

    Also, under the default page theme it grabs the sidebar, which I do not want it to do.

    If someone can please point me in the right direction on changing the wordpress page theme that is being used for the forums. Thank you!

    #112509
    #112498

    I’m not sure if that would cause the problem, but that’s still something you should be fixed.

    You need to set the permissions on your .htaccess file so WordPress can modify it.

    Should be able to do that through your FTP client.

    #43493
    Adam
    Participant

    I found that I had to add these to the kses.php file in wordpress include, which you should NEVER do in order for them to show up. can some one tell me why this code isnt working and adding these tags to the available tags usable for non admin based users?

    I have tried with the add_filter above and or bellow, like you see it now, the function.

    I have this in my themes function.php file. Not in the bbpress theme function file because I am using my current wordpress theme as the theme for the bbpress theme (if that makes sense)

    Thoughts?

    function extraTags($tags)
    {
    $tags['a'] = array(
    'href' => array(),
    'title' => array(),
    'class' => array()
    );

    $tags['div'] = array(
    'class' => array()
    );

    $tags['img'] = array(
    'src' => array(),
    'width' => array(),
    'height' => array(),
    'alt' => array(),
    'title' => array()
    );

    $tags['ol'] = array();
    $tags['ul'] = array();
    $tags['li'] = array();
    $tags['pre'] = array(
    'class' => array()
    );

    $tags['h1'] = array();
    $tags['h2'] = array();

    return $tags;
    }

    //Add a new filter.
    add_filter('bbp_allowed_tags', 'extraTags');

    ZikRasta
    Member

    But that does not solve my problem!

    I had to disable my site can not provide an operational service!

    I work on this installation of wordpress to find a solution : http://rootserv.fr/?topic=test

    I contacted support WPbakery

    And they lead me to you! Cool their support!

    Canned as spam, carry on :)

    #111690
    santonic
    Member

    Wow… thanks a lot for the help… one can’t guess it indeed…

    one more tip : when on translate.wordpress.org, beware that the translations for your language may be not validated yet. The default export link exports only “current” translations, i.e. validated ones. Use “Only the matching filter” option and you will be able to export all the messages.

    use the “file” unix command to check the content of the .mo file. e.g.

    $ file wp-content/languages/bbpress/bbpress-fr_FR.mo

    GNU message catalog (little endian), revision 0, 732 messages

    by using the default export, I was only retrieving one message, and thus nothing was translated…

    ZikRasta
    Member

    What should I understand this very constructive response ?

    ZikRasta
    Member

    Hi all !

    The problem is that the forum of my site (bbpress plugin), responses to issues are offset in the page width (hula, not very clear!), See this page ….

    http://circuit-rouen-les-essarts.fr/?topic=accident-de-jo-schller-1968

    Sorry for my bad english !

    I’m fairly certain this is disabled because it’s a big security issue. You wouldn’t want users to have access to all your shortcodes.

    Similar thread https://bbpress.org/forums/topic/shortcodes-from-other-plugins

    This is mentioned in that thread and is probably what you will want https://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/

    #112492

    Reading through the code is actually a great way to learn.

    Having a giant list of functions doesn’t help explain what they do or where they are called.

    If you happen to be using bbP 2.1 beta then you can use this plugin and it will neatly show you all the hooks available.

    https://wordpress.org/extend/plugins/bbpress-visual-hooks/

    #112437

    If you don’t have a forum yet, now isn’t the time to worry about if it will scale.

    Scaling is about spreading the pain around. As you outgrow one technology (or set of technologies) you upgrade to another as needed, not as predicted or as planned.

    This isn’t to say you shouldn’t have a plan, but it’s awful early to know if it’s worth the time spent worrying about.

    If you’re 100% certain that you’ll have +1million posts a year with billions of hits a month, then you wouldn’t be asking this question because you’d already know the answer: no, it won’t scale out of the box; you’ll need caching, memcached, and countless servers and data centers to manage it all.

    The short answer, don’t be afraid to start out small. When it’s time to grow, you can pretty easily export specific post types with WordPress’s export tool and shard it across multiple multi-site blogs if you wanted; shard the database(s) across multiple servers; whatever you need to do to get by.

    If your forums grow quickly and you find performance gains, it’d be great to have them contributed back to the project. It’s true that moving from bbPress standalone to plugin traded some performance for convenience, but it’s been the # 1 most requested feature since it’s introduction.

    Also, there’s nothing *wrong* with bbPress 1.1. If you’re more comfortable using something purpose built from the ground up as a simple forum, you can still use it. Just know that nothing but fairly significant code changes or bug fixes are actively going in.

    #112435
    synergywp1
    Member

    Thanks Jaredatch,

    So the WordPress support forums have been around for as long as I’ve worked with WP. Well after that though, bbPress was still in standalone form, thus a different database. Is it better to have a site with lots of posts and comments (essentially posts) on the same database as the bbPress forums? (essentially posts)

    #43456
    Millen
    Participant

    I have run into some problems while theming bbp-twenty ten on my site. BBpress is installed, The forum fits within my custom theme after changing the template files. But some CSS does not seem to stick and my forum got issues with padding/margins and width or height at many places.

    Some guidance would be much appreciated!

    Here is my forum: http://www.fruitpickingjobs.com.au/forums

    I started with copying all files from bbp-twenty ten folder to my own wp theme folder. I have also changed all template files so the forum fits within my theme with sidebar.

    I have also added nesecery code to functions.php

    like instructed here: http://www.youtube.com/watch?v=lB2Oodx2GJw

    This is how my functions.php file looks like:

    // bbpress functions below this line

    add_theme_support( ‘bbpress’ );

    /**

    * Functions of bbPress’s Twenty Ten theme

    *

    * @package bbPress

    * @subpackage BBP_Twenty_Ten

    * @since Twenty Ten 1.1

    */

    // Exit if accessed directly

    if ( !defined( ‘ABSPATH’ ) ) exit;

    /** Theme Setup ***************************************************************/

    if ( !class_exists( ‘BBP_Twenty_Ten’ ) ) :

    /**

    * Loads bbPress Twenty Ten Theme functionality

    *

    * Usually functions.php contains a few functions wrapped in function_exisits()

    * checks. Since bbp-twenty-ten is intended to be used both as a child theme and

    * for Theme Compatibility, we’ve moved everything into one convenient class

    * that can be copied or extended.

    *

    * See @link BBP_Theme_Compat() for more.

    *

    * @since bbPress (r3277)

    *

    * @package bbPress

    * @subpackage BBP_Twenty_Ten

    */

    class BBP_Twenty_Ten extends BBP_Theme_Compat {

    /** Functions *************************************************************/

    /**

    * The main bbPress (Twenty Ten) Loader

    *

    * @since bbPress (r3277)

    *

    * @uses BBP_Twenty_Ten::setup_globals()

    * @uses BBP_Twenty_Ten::setup_actions()

    */

    public function __construct() {

    $this->setup_globals();

    $this->setup_actions();

    }

    /**

    * Component global variables

    *

    * @since bbPress (r2626)

    * @access private

    *

    * @uses plugin_dir_path() To generate bbPress plugin path

    * @uses plugin_dir_url() To generate bbPress plugin url

    * @uses apply_filters() Calls various filters

    */

    private function setup_globals() {

    global $bbp;

    // Theme name to help identify if it’s been extended

    $this->name = ‘bbPress (Twenty Ten)’;

    // Version of theme in YYYMMDD format

    $this->version = ‘20110921’;

    // Setup the theme path

    $this->dir = $bbp->themes_dir . ‘/bbp-twentyten’;

    // Setup the theme URL

    $this->url = $bbp->themes_url . ‘/bbp-twentyten’;

    }

    /**

    * Setup the theme hooks

    *

    * @since bbPress (r3277)

    * @access private

    *

    * @uses add_filter() To add various filters

    * @uses add_action() To add various actions

    */

    private function setup_actions() {

    // Add theme support for bbPress

    add_action( ‘after_setup_theme’, array( $this, ‘add_theme_support’ ) );

    // Enqueue theme CSS

    add_action( ‘bbp_enqueue_scripts’, array( $this, ‘enqueue_styles’ ) );

    // Enqueue theme JS

    add_action( ‘bbp_enqueue_scripts’, array( $this, ‘enqueue_scripts’ ) );

    // Enqueue theme script localization

    add_filter( ‘bbp_enqueue_scripts’, array( $this, ‘localize_topic_script’ ) );

    // Output some extra JS in the <head>

    add_action( ‘bbp_head’, array( $this, ‘head_scripts’ ) );

    // Handles the ajax favorite/unfavorite

    add_action( ‘wp_ajax_dim-favorite’, array( $this, ‘ajax_favorite’ ) );

    // Handles the ajax subscribe/unsubscribe

    add_action( ‘wp_ajax_dim-subscription’, array( $this, ‘ajax_subscription’ ) );

    }

    /**

    * Sets up theme support for bbPress

    *

    * Because this theme comes bundled with bbPress template files, we add it

    * to the list of things this theme supports. Note that the function

    * “add_theme_support()” does not /enable/ theme support, but is instead an

    * API for telling WordPress what it can already do on its own.

    *

    * If you’re looking to add bbPress support into your own custom theme, you’ll

    * want to make sure it includes all of the template files for bbPress, and then

    * use: add_theme_support( ‘bbpress’ ); in your functions.php.

    *

    * @since bbPress (r2652)

    */

    public function add_theme_support() {

    add_theme_support( ‘bbpress’ );

    }

    /**

    * Load the theme CSS

    *

    * @since bbPress (r2652)

    *

    * @uses wp_enqueue_style() To enqueue the styles

    */

    public function enqueue_styles() {

    // Right to left

    if ( is_rtl() ) {

    // TwentyTen

    wp_enqueue_style( ‘twentyten’, get_template_directory_uri() . ‘/style.css’, ”, $this->version, ‘screen’ );

    wp_enqueue_style( ‘twentyten-rtl’, get_template_directory_uri() . ‘/rtl.css’, ‘twentyten’, $this->version, ‘screen’ );

    // bbPress specific

    wp_enqueue_style( ‘bbp-twentyten-bbpress’, get_stylesheet_directory_uri() . ‘/css/bbpress-rtl.css’, ‘twentyten-rtl’, $this->version, ‘screen’ );

    // Left to right

    } else {

    // TwentyTen

    wp_enqueue_style( ‘twentyten’, get_template_directory_uri() . ‘/style.css’, ”, $this->version, ‘screen’ );

    // bbPress specific

    wp_enqueue_style( ‘bbp-twentyten-bbpress’, get_stylesheet_directory_uri() . ‘/css/bbpress.css’, ‘twentyten’, $this->version, ‘screen’ );

    }

    }

    /**

    * Enqueue the required Javascript files

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_is_single_topic() To check if it’s the topic page

    * @uses get_stylesheet_directory_uri() To get the stylesheet directory uri

    * @uses bbp_is_single_user_edit() To check if it’s the profile edit page

    * @uses wp_enqueue_script() To enqueue the scripts

    */

    public function enqueue_scripts() {

    if ( bbp_is_single_topic() )

    wp_enqueue_script( ‘bbp_topic’, get_stylesheet_directory_uri() . ‘/js/topic.js’, array( ‘wp-lists’ ), $this->version );

    if ( bbp_is_single_user_edit() )

    wp_enqueue_script( ‘user-profile’ );

    }

    /**

    * Put some scripts in the header, like AJAX url for wp-lists

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_is_single_topic() To check if it’s the topic page

    * @uses admin_url() To get the admin url

    * @uses bbp_is_single_user_edit() To check if it’s the profile edit page

    */

    public function head_scripts() {

    if ( bbp_is_single_topic() ) : ?>

    <script type=’text/javascript’>

    /* <![CDATA[ */

    var ajaxurl = ‘<?php echo admin_url( ‘admin-ajax.php’ ); ?>’;

    /* ]]> */

    </script>

    <?php elseif ( bbp_is_single_user_edit() ) : ?>

    <script type=”text/javascript” charset=”utf-8″>

    if ( window.location.hash == ‘#password’ ) {

    document.getElementById(‘pass1’).focus();

    }

    </script>

    <?php

    endif;

    }

    /**

    * Load localizations for topic script

    *

    * These localizations require information that may not be loaded even by init.

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_is_single_topic() To check if it’s the topic page

    * @uses is_user_logged_in() To check if user is logged in

    * @uses bbp_get_current_user_id() To get the current user id

    * @uses bbp_get_topic_id() To get the topic id

    * @uses bbp_get_favorites_permalink() To get the favorites permalink

    * @uses bbp_is_user_favorite() To check if the topic is in user’s favorites

    * @uses bbp_is_subscriptions_active() To check if the subscriptions are active

    * @uses bbp_is_user_subscribed() To check if the user is subscribed to topic

    * @uses bbp_get_topic_permalink() To get the topic permalink

    * @uses wp_localize_script() To localize the script

    */

    public function localize_topic_script() {

    // Bail if not viewing a single topic

    if ( !bbp_is_single_topic() )

    return;

    // Bail if user is not logged in

    if ( !is_user_logged_in() )

    return;

    $user_id = bbp_get_current_user_id();

    $localizations = array(

    ‘currentUserId’ => $user_id,

    ‘topicId’ => bbp_get_topic_id(),

    );

    // Favorites

    if ( bbp_is_favorites_active() ) {

    $localizations = 1;

    $localizations = bbp_get_favorites_permalink( $user_id );

    $localizations = (int) bbp_is_user_favorite( $user_id );

    $localizations = __( ‘favorites’, ‘bbpress’ );

    $localizations = __( ‘?’, ‘bbpress’ );

    $localizations = __( ‘This topic is one of your %favLinkYes% [%favDel%]’, ‘bbpress’ );

    $localizations = __( ‘%favAdd% (%favLinkNo%)’, ‘bbpress’ );

    $localizations = __( ‘×’, ‘bbpress’ );

    $localizations = __( ‘Add this topic to your favorites’, ‘bbpress’ );

    } else {

    $localizations = 0;

    }

    // Subscriptions

    if ( bbp_is_subscriptions_active() ) {

    $localizations = 1;

    $localizations = (int) bbp_is_user_subscribed( $user_id );

    $localizations = __( ‘Subscribe’, ‘bbpress’ );

    $localizations = __( ‘Unsubscribe’, ‘bbpress’ );

    $localizations = bbp_get_topic_permalink();

    } else {

    $localizations = 0;

    }

    wp_localize_script( ‘bbp_topic’, ‘bbpTopicJS’, $localizations );

    }

    /**

    * Add or remove a topic from a user’s favorites

    *

    * @since bbPress (r2652)

    *

    * @uses bbp_get_current_user_id() To get the current user id

    * @uses current_user_can() To check if the current user can edit the user

    * @uses bbp_get_topic() To get the topic

    * @uses check_ajax_referer() To verify the nonce & check the referer

    * @uses bbp_is_user_favorite() To check if the topic is user’s favorite

    * @uses bbp_remove_user_favorite() To remove the topic from user’s favorites

    * @uses bbp_add_user_favorite() To add the topic from user’s favorites

    */

    public function ajax_favorite() {

    $user_id = bbp_get_current_user_id();

    $id = intval( $_POST );

    if ( !current_user_can( ‘edit_user’, $user_id ) )

    die( ‘-1’ );

    if ( !$topic = bbp_get_topic( $id ) )

    die( ‘0’ );

    check_ajax_referer( ‘toggle-favorite_’ . $topic->ID );

    if ( bbp_is_user_favorite( $user_id, $topic->ID ) ) {

    if ( bbp_remove_user_favorite( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    } else {

    if ( bbp_add_user_favorite( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    }

    die( ‘0’ );

    }

    /**

    * Subscribe/Unsubscribe a user from a topic

    *

    * @since bbPress (r2668)

    *

    * @uses bbp_is_subscriptions_active() To check if the subscriptions are active

    * @uses bbp_get_current_user_id() To get the current user id

    * @uses current_user_can() To check if the current user can edit the user

    * @uses bbp_get_topic() To get the topic

    * @uses check_ajax_referer() To verify the nonce & check the referer

    * @uses bbp_is_user_subscribed() To check if the topic is in user’s

    * subscriptions

    * @uses bbp_remove_user_subscriptions() To remove the topic from user’s

    * subscriptions

    * @uses bbp_add_user_subscriptions() To add the topic from user’s subscriptions

    */

    public function ajax_subscription() {

    if ( !bbp_is_subscriptions_active() )

    return;

    $user_id = bbp_get_current_user_id();

    $id = intval( $_POST );

    if ( !current_user_can( ‘edit_user’, $user_id ) )

    die( ‘-1’ );

    if ( !$topic = bbp_get_topic( $id ) )

    die( ‘0’ );

    check_ajax_referer( ‘toggle-subscription_’ . $topic->ID );

    if ( bbp_is_user_subscribed( $user_id, $topic->ID ) ) {

    if ( bbp_remove_user_subscription( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    } else {

    if ( bbp_add_user_subscription( $user_id, $topic->ID ) ) {

    die( ‘1’ );

    }

    }

    die( ‘0’ );

    }

    }

    /**

    * Instantiate a new BBP_Twenty_Ten class inside the $bbp global. It is

    * responsible for hooking itself into WordPress where apprpriate.

    */

    if ( ‘bbPress’ == get_class( $bbp ) ) {

    $bbp->theme_compat->theme = new BBP_Twenty_Ten();

    }

    endif;

    ?>

    neosin
    Participant

    I’ve got bbpress as the forum for my wordpress installation on localhost.

    I’ve created a new page and inserted the bbcode to show the forum index in that page (page name is “forums”).

    In my navigation I have “Forums” and when i click it and it is the active page, it does not receive a “current_page_item” class from the navigation.

    How can I make it have the “current_page_item” class when it is selected?

    While I am using Buddypress, I do not have a page associated in buddypress with my bbpress forums because it causes the forums to not function when i do associate a page.

    In the default Buddypress template header this is the menu code:

    <div id=”navigation” role=”navigation”>

    <?php wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘nav’, ‘theme_location’ => ‘primary’, ‘fallback_cb’ => ‘bp_dtheme_main_nav’ ) ); ?>

    </div>

    dpmcalister
    Participant

    I’m working on a website that has the eShop and bbPress plugins installed. The eShop plugin alters the WordPress profile to include fields for the user’s address while this doesn’t happen with the bbPress profile. Is it possible to either:

    1. Force bbPress to use the WordPress profile which has these fields, or

    2. Code it so that the bbPress profile grabs these fields from the WordPress profile

    I know a little php but both of these options are beyond my skills so any help would be gratefully appreciated.

    Thanks.

    #43333

    Topic: Which stylesheet?

    in forum Themes
    Number_6
    Participant

    I made a terrible mistake. I allowed Buddypress to install bbPress for me.

    Now I can’t find which CSS file handles the colour scheme. I’m using a dark WordPress theme so I need to adapt the background colours to it.

    Can anyone point me towards the appropriate CSS file please?

    ddlg2007
    Member

    Well I come here 1 more time because I really can not do more and I need a little help please.

    I am using a child theme called Arras Classical Gamer. I test many times and try a lot of tutorial but is really impossible fix problem with bbpress.

    You can see my website here http://www.site.teamcyanide.eu working perfectly with buddypress and pluging like BuddyPress Template Pack. That was my first hard mission but I do it well and everything work good with some change on CSS.

    Now the only problem I have is that forum bbpress dont work good. For example I creat a forum called Starcraft 2 and when I clic on view look what happen:

    http://site.teamcyanide.eu/board/forum/starcraft-2

    I create a category of Starcraft 2 forum and look:

    http://site.teamcyanide.eu/board/forum/starcraft-2/protos

    So is simple, dont work but I continue looking here on forum and google then I try use Shortcodes from here http://bbpress.org/forums/topic/bbpress-20-shortcodes, and look what happen:

    http://site.teamcyanide.eu/example-forum

    You can see ok I can fix the CSS to make it look better, but if you clic on forum or category continue with same problem, just test yourself and can see it.

    So guys please, some one can tell me please what can I do for implement my forum of bbpress in my website?

    I know on internet I have other forums and scripts, but I really love bbpress and all software make it by wordpress, buddypress, etc.

    Someone have mercy on me and help me a little? :)

    Thanks.

    Xtars
    Member

    I’ve looked at solutions around here and found some that i thought would work but they didn’t.

    This is a fresh WordPress, Buddypress, bbPress install. (Installed in that order)

    When I installed all of the everything went fine(i think) until i wanted to access the site wide forums from the site.

    When i click on the forums link in the menu it i get a red square that says “The forums component has not been set up yet.”

    In Settings>Forums>Archive Slugs i get one error.

    Forums base: Forums Possible BuddyPress conflict: Forums page

    Other then that i’m not able to see the forum index (list of categories and their sub forums) even if i add [bbp-forum-index] to the forums page.

    anyone got and idea of what’s wrong (except that i’m a complete beginner at wordpress).

    #57501

    In reply to: WordPress and PHPBB

    #57500

    In reply to: WordPress and PHPBB

    majamaki
    Member

    How is bbPress for a forum just shy of 200,000 posts and over 16,000 members? Can bbPress handle the growth to 500k to 1 million posts? Are there any good plugins/mods that help sync user data and unify the experience?

Viewing 25 results - 14,251 through 14,275 (of 26,846 total)
Skip to toolbar