Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 13,776 through 13,800 (of 26,880 total)
  • Author
    Search Results
  • #114001
    #114324

    single-forum-edit.php is used by BuddyPress, for group forums. You can also do /edit on a forum, and it will use that template.

    Twenty Ten missing the feedback-no-replies.php reference was an oversight, just fixed now. r4049

    #46901
    wpmhweb
    Participant

    Hello,

    I am trying to avoid visitors to get to any page that has to do WordPress. I would like that when they try to login and fail be redirected to a new page telling them that the login failed and they need to try again. How can I accomplish this?

    Thanks,

    #114358

    In reply to: Is BBPress responsive?

    tulisan
    Participant

    So let me get this straightened out. I have a wordpress site that has bbpress integrated. Do I need to use a different theme – a responsive one? or could I just stylize the current bbpress theme to make it responsive?

    #114243
    AAShepAA
    Participant

    functions.php are also standard twentyten:

    <?php

    /**

    * 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;

    ?>

    #114316

    In reply to: How install bbpress

    WordPress.com does not offer bbPress.

    To use bbPress you need to be running WordPress stand alone install (from WordPress.org).

    rvlak
    Member

    P.S. This may be valuable information for a possible solution / bug fix: Users immediately DO see the new topic or reply after logging out and logging back into WordPress.

    rvlak
    Member

    I keep having a problem within my bbPress forums: when a registered user posts a new topic or reply, it does not show up immediately or not for all users:

    – In some cases the new topic or reply only shows up the next day, in other cases after half an hour, it’s completely unpredictable.

    – Sometimes user X can see the latest addition, while user Y (with exactly the same role / rights) can not see it.

    – Some new replies do not even show up in my WP-admin dashboard.

    – The freshness displayed in the frontend is lagging very much behind.

    I have tried various things that I found in related support calls:

    – Recount – no effect

    – (re)Save permalinks settings and bbPress settings

    – Disable Akismet – no effect

    – Deactivate and reactivate bbPress – no effect

    – Deleting the entire forum and creating a new one – no effect

    I am using WordPress 3.4.1 and bbPress 2.0.3 in conjunction with the Twenty Eleven theme. The problem occurred also in earlier versions of WordPress by the way.

    Does anybody have a clue how to resolve this? I am at the end of my wits…

    #46504
    tungdo
    Member

    Inside the bbPress 2.1 twentytwen theme, there’s a new file single-forum-edit.php, but I don’t see it used or referenced anywhere else.

    When editing forums, we are using the WordPress admin ui so is this file necessary?

    p.s. – same goes for feedback-no-replies in bbp-twentyten/bbpress/

    #114320
    Le Duy Quang
    Participant

    Options didn’t allow to do that. “Fancy editor” disable rick bbpress tinymce.

    http://wordpress.com.vn/forums/

    #46309

    Hello,

    I would like to try this plugin with my wordpress.com blog, but I could not find the ‘add plugin’ option in my wordpress admin section.

    Can you please explain how I can install this, step by step?

    I have already downloaded the bbpress folder to my desktop

    Thank you.

    #114199

    In reply to: Members only forum

    bollocks187
    Member

    Rex -Ijusttried to download yourplugn from wordpressandgot this:

    Downloading install package from https://downloads.wordpress.org/plugin/forum-restrict.1.1.zip…

    Unpacking the package…

    Installing the plugin…

    The package could not be installed. No valid plugins were found.

    Plugin install failed.

    Return to Plugin Installer

    wpmhweb
    Participant

    Hello,

    I would like if someone could please tell me all the things should I look for before going live with bbPress. For example security, integration, and recommended plugins.

    Thanks,

    PS: I am running bbpress 2.0.3 with WordPress 3.4.1

    #46269
    marizka
    Member

    I have a WordPress (v 3.4.1) site with a custom theme. I have my permalinks set to %postname% and my navigation is hard coded with relative urls (<a href="about">About</a>)

    I have installed bbpress (v 2.0.3) and everything works great until I try to leave the forum page. From the forum page, when I click on any link in the nav, it adds /forum to all my urls resulting in a 404 error.

    In the bbpress settings I have unchecked the “Prefix your forum area with the Forum Base slug (Recommended)” option, and that did not fix it.

    Any help would be appreciated as this site is due to a client by the end of today and I don’t want to use a different Forum plugin.

    #46268
    rabbitrabbit
    Participant

    I had a phpBB forum that I was trying to migrate into my WordPress MU blog.

    I used the bbConverter WP Plugin and found that when I tried to migrate the phpBB Forum it imported everything but the users.

    So I thought I would do the migration in two stages.

    1. Migrate phpBB forum to Standalone WP Blog (with bbPress Plugin obviously)

    2. Move standalone WP Blog to MU WP Blog

    Stage 1 worked fine so my issue (and question) is NOT with phpBB or bbConverter

    Stage 2 however didn’t work, when I tried to import the WP backup into a blog in my MU set-up none of the users, forums, topic or replies would import.

    So, is there an easier way of migrating a WP Blog using the bbPress plugin INTO a WP MU Blog ?

    Cheers

    David

    Erlend
    Participant

    To my knowledge, bbPress 2.1 would not yet be integrated into BuddyPress groups, as indicated by this punted ticket. Yet in the settings of bbPress 2.1 RC3, there’s a BuddyPress heading, sub-titled “Forum settings for BuddyPress”.

    It gives me the option to “Allow BuddyPress Groups to have their own forums”, as well as setting a parent forum for these group forums. I’ve tried playing around with these settings but they don’t seem to have any effect. Am I not understanding its intended use or is the functionality not actually present yet?

    #114296

    That’s fairly accurate.

    You don’t have to create a child theme or any of that unless you want to customize the default bbPress theme (bbp-theme-compat). In that case just copy the files you want to customize into your WordPress theme directory and bbPress will use those instead.

    George
    Participant

    IE9 SUCKS! Resolved.

    #113993
    vibol
    Member

    Does 2.1 RC2 remedy slowness issues on installations with more than a million posts?

    George
    Participant

    Bump for help. Thanks in advance.

    #114303
    mememe123
    Member

    I have to go to my bluehost control panel to delete the bbpress plugin and then I can access my dashboard again.

    My wordpress account is new so there isn’t much on it. So would memory still be the problem? If so, how would I fix this?

    #112850

    In reply to: "start new" link

    Create a WordPress page, and use the new topic shortcode: [bbp-topic-form]

    #46174
    mememe123
    Member

    I already have Buddypress installed on my wordpress theme. After I install bbpress, I can’t access my dashboard anymore. When I click on dashboard I get this message:

    Server error

    The website encountered an error while retrieving http://www.


    . It may be down for maintenance or configured incorrectly.

    How do I fix this?!

    #114260

    In reply to: Getting error

    Jarret
    Participant

    You need to increase the memory limit for PHP as it is being exhausted from a script.

    https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    #46074

    Topic: Getting error

    in forum Troubleshooting

    I have installed Buddypress and enabled Forums feature in my wordpress website (using NEWS child theme).

    I’m getting following error:

    Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 122880 bytes) in /home/travels/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php on line 922

    — SoundManager 2 failed to load (security/load error) —

    soundManager.disable(): Shutting down

    soundManager: Failed to initialise.

    soundManager: Verify that ./soundmanager2_debug.swf is a valid path.

    soundManager: No Flash response within expected time. Likely causes: Loading soundmanager2_debug.swf may have failed (and/or Flash 8+ not present?), Flash blocked or JS-Flash security error.

    soundManager: Getting impatient, still waiting for Flash…

    soundManager::initMovie(): Waiting for ExternalInterface call from Flash..

    soundManager::initMovie(): Got EMBED element (created via JS)

    soundManager::createMovie(): Trying to load ./soundmanager2_debug.swf

    — SoundManager 2 V2.97a.20110123 (AS2/Flash 8), normal polling —

    Can any1 help by this??

    Regards,

    Ankur

Viewing 25 results - 13,776 through 13,800 (of 26,880 total)
Skip to toolbar