Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,276 through 14,300 (of 32,503 total)
  • Author
    Search Results
  • Tbermudas
    Participant

    Please, I’m waiting a response to set up my site… And I can’t find anything on bbpress codex.

    Walid
    Participant

    oh sorry, I forgot to mention that I unchecked the ” prefix the forum slug with forums base ”
    so mine would be only domain.com/forum/topic/
    so aside of links conflict is it okay for performance?

    It’s probably not great to have domain.com/forum/forum/foo/

    Think of what your community is about, and do something creative instead.

    domain.com/discussion/about/foo/

    #134057
    Sam Rohn
    Participant

    hmm, the other plugin i listed earlier seems to have been pulled from the wp plugin directory, authors page for that plugin is here – http://www.vinojcardoza.com/cardoza-wordpress-poll/

    this poll plugin is still avail and also works fine w bbpress 2.3.1 via shortcode

    https://wordpress.org/extend/plugins/wp-polls/

    note that shortcodes in bbpress may create other probs as jared mentioned above, using plugins like these will allow you to specify allowed shortcodes via whitelist and exclude [bbp_login] etc

    https://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/

    https://wordpress.org/extend/plugins/bbpress-bbcode/

    and this one will allow shortcodes by user role

    https://wordpress.org/extend/plugins/gd-bbpress-tools/

    sam

    #134055
    Trollkjeft
    Participant

    Hi Jared, and thanks for your reply! Well, the child theme’s is supporting bbPress it seems, and function file read the following from row 73 to 93:

    /*———————————————————————————–*/
    /* Initialize the Options Framework
    /* http://wptheming.com/options-framework-theme/
    /*———————————————————————————–*/

    if ( !function_exists( ‘optionsframework_init’ ) ) {

    define(‘OPTIONS_FRAMEWORK_URL’, PARENT_URL . ‘/admin/’);
    define(‘OPTIONS_FRAMEWORK_DIRECTORY’, PARENT_DIR . ‘/admin/’);

    require_once (OPTIONS_FRAMEWORK_DIRECTORY . ‘options-framework.php’);

    }

    if ( class_exists( ‘jigoshop’ ) ) {
    require_once (PARENT_DIR . ‘/jigoshop_functions.php’);
    }

    if ( class_exists( ‘bbPress’ ) ) {
    require_once (PARENT_DIR . ‘/bbpress_functions.php’);
    }

    require_once (PARENT_DIR . ‘/shortcodes.php’);

    The strange thing is that this problem appeared after using the childtheme (unmodified) for a while. The first week it rolled just s expected.

    Hmm…

    #134047

    It sounds like your child theme is trying to load bbpress_functions.php which doesn’t exist.

    Go to your child theme’s functions.php file and comment out line 89 which is portably the culprit.

    Unless your theme was specifically designed to support bbPress (which honestly, most themes are not) it shouldn’t be trying to include said file so you can comment it out.

    #134040

    Look into the bbPress shortcodes that are available.

    https://codex.bbpress.org/shortcodes/

    #134014
    redkite
    Participant

    Ack – that’s not right. Here’s what it looks like in the email:

    <p>Hello, this is a reply to the test.</p>

    I’m using the latest versions of both WordPress and bbPress.

    #134008
    Ted Thompson
    Participant

    I’ve set things up so that you get the regular TinyMCE editor for making posts, and for MAKING posts it works great, but when you attempt to edit the post you get the HTML back in it’s “sanitized” form.

    By which I mean (JIC I’m using the wrong term) you get ‘Test‘ rather then seeing Test as you’d expect in the text box.

    The code comes back the & l t ; and & g t ; rather then the < and >.

    #134004
    Robin W
    Moderator

    Kate t

    Thanks for posting this, saved me hours of trying to work out which file I needed to change, and how to code it.

    For those that want to add fields to their users, as well as Kate’s Meta pro, the following link shows how to add and use custom field, and the combination of these two made it quick and simple

    Adding and using custom user profile fields

    I also added the ability within BBpress for the user to change their location within the built in profile amend by changing Form-user-edit.php (located in web/wp-content/plugins/bbpress/templates/default/bbpress

    The following was added after line 125
    <?php bbp_edit_user_display_name(); ?>
    BBpress version 2.3.1

    <div>
    			<label for="town"><?php _e( 'Town', 'bbpress' ); ?></label>
    			<input type="text" name="town" id="town" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'town' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
    		</div>
    #134000
    ZachMatthews
    Participant

    All right, and I am now making progress.

    I made a complete copy of page.php within the /wp-content/themes/pinboard/ directory. I then created a blank file and titled it “forums.php” (with an ‘s’ on forums). I copied the complete text of the page.php file into the forums.php file and started tweaking.

    This is the code I have so far:

    <?php get_header(); ?>
    	<div id="container">
    		<section id="content"  <?php pinboard_content_class(); ?>>
    			<?php if( have_posts() ) : the_post(); ?>
    				<article class="onecol" id="post-<?php the_ID(); ?>">
    					<div class="entry" >
    						<header class="entry-header">
    							<<?php pinboard_title_tag( 'post' ); ?> class="entry-title"><?php the_title(); ?></<?php pinboard_title_tag( 'post' ); ?>>
    						</header><!-- .entry-header -->
    						<div class="onecol">
    							<?php the_content(); ?>
    							<div class="clear"></div>
    						</div><!-- .entry-content -->
    						<?php wp_link_pages( array( 'before' => '<footer class="entry-utility"><p class="post-pagination">' . __( 'Pages:', 'pinboard' ), 'after' => '</p></footer><!-- .entry-utility -->' ) ); ?>
    					</div><!-- .entry -->
    					<?php comments_template(); ?>
    				</article><!-- .post -->
    			<?php else : ?>
    				<?php pinboard_404(); ?>
    			<?php endif; ?>
    		</section><!-- #content -->
    		<?php if( ( 'no-sidebars' != pinboard_get_option( 'layout' ) ) && ( 'full-width' != pinboard_get_option( 'layout' ) ) ) : ?>
    			<?php get_sidebar(); ?>
    		<?php endif; ?>
    	</div><!-- #container -->
    <?php get_footer(); ?>
    

    That spreads the forums page out to the appropriate onecolumn width and also completely fixes the profile page. It looks like the entry headers are being called from another php file, so I need to do some more tweaks, but here’s the result as is:

    http://www.itinerantangler.com/blog/podcasts/boards/

    If I can get it fully tweaked up I’ll post how here. I know others were looking to do this.

    #133998
    ZachMatthews
    Participant

    Thanks for the replies guys. Jared no it does not. The theme is pretty popular – Pinboard. I am seeing other Pinboard users with the same issue, too.

    What I have done is followed the instructions here to carve out a separate forums.php page which is working as intended and rendering the bbPress plugin separate from the rest of the site.

    That is allowing me to tweak the code for just this one section, but I haven’t worked out how to force it over to the .onecol layout yet. Worse, it looks like this layout issue persists through various sub-parts of the forum software, such as profile pages.

    #133994

    That shouldn’t go in bbPress. Never modify the plugin, everything gets lost when you update.

    It should go in your theme’s functions.php file.

    #133990
    web2010
    Participant

    I am creating forums where a specific user [plus me being the site administrator] will be the only moderator per forum, not all forums. How do I do this?

    I have installed:
    WP 3.51
    Members plugin
    bbpress
    bbPress2 BBCode
    bbPress WP Tweaks

    Thank you

    deboerdave
    Participant

    Workaround in place:

    i am using the “Redirection” plugin as a work around for now.

    The broken “forum” will go to the top of the forums regardless of where you are at
    and am making a new page to use the latest topics shortcode in to direct the broken “topic” link to (so it at least has some sense in where it brings the user to).

    would rather remove these lines though.

    #133980
    NewSha
    Participant

    Thank you for your reply John!
    Excuse me my stupidity, but I don’t really get how to implement this code.
    Could you explain to which file in “wp-content/plugins/bbpress” should I add this piece of code?
    Should I download any extra plugins?
    Thanks!

    #133970
    Sachin Mishra
    Participant

    Hi,

    I am using DAP on my website. I tried to install bbpress 2.3.1 along-with DAP. As I installed bbpress, it takes me to an error page saying “You don’t have permissions to access this page”. Though I logged in as superadmin. I tried deactivating all my plugins. I checked the htaccess file as well but there is only the default code for permalinks. But nothing is working.

    Any suggestions?

    Thanks,
    Sachin

    #133969
    Tbermudas
    Participant

    Hello

    I have the same problem also with the default theme. @johnjamesjacoby you can see an example here:

    http://triangulodelasbermudas.net/editor/forums/topic/prueba-de-paste/

    I have detailed in the replies the version of bbpress and you can see the result when copy from any web and paste to publish. The same problem when you apply any format like bold, italic…

    The reply created with bbpress 2.3.1 is with the visual editor activated via adding the code to theme functions.php:

    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    With bbpress 2.2.4 all works fine.

    #133959

    In reply to: Topics Disappeared

    Sounds pretty strange. First things I’d do:

    • Check which accounts might have moderator/super admin access
    • Check trash/spam
    • Check access logs, see if someone removed them</lill of>

    All of bbPress’s trash/delete actions perform capability checks against the currently logged in user, so it’s impossible for an unauthorized user account to delete content inside of WordPress.

    It’s also possible someone deleted all of the forum content without your knowledge, using the “Reset Forum” tool under Admin > Tools > Forums > Reset Forum

    #133955
    Nate
    Participant

    Jared,
    Here’s an example: I just ran a bunch of test posts on a private forum, and they all parsed fine, with two exceptions.

    First, the blockquote function isn’t working. It moves it forward in the Visual editor, but doesn’t parse at all.

    Second, I decided to create a bulletted list, and this was the result.
    <span style=”line-height: 13px;”>slkdfjsdklajf</span>
    (bullet) sdafkaldjfklsad
    (bullet) sdafkasldfsjda

    So two of the three bullets parsed, but in the top one, it didn’t parse and the code itself surfaces instead.

    #133943

    What is the exact code?

    #133942
    Nate
    Participant

    I need it to parse and it isn’t parsing (it will work intermittently, but when it does, if you go in to edit, it only displays the code block). Extremely frustrating and new to the latest update .

    #133940

    I’m confused. Are you posting HTML that you want to _parse_ or are you posting HTML that you want in a code block like:

    
    <html>
       <title>Howdy!</title>
    </html>
    
    #133939

    I’d make sure your theme (or a plugin) isn’t disabling wpautop

    https://codex.wordpress.org/Function_Reference/wpautop

Viewing 25 results - 14,276 through 14,300 (of 32,503 total)
Skip to toolbar