Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,351 through 13,375 (of 32,503 total)
  • Author
    Search Results
  • #139180
    Stephen Edgar
    Keymaster

    Did you use single or double quotes around wp_?

    The error you show above showing the error as \”wp_\”forum_forums is an odd one, if things were working correctly I would expect the error to look more like this wp_forum_forums.

    Open up your wp-config.php file again:

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'database_name_here');
    
    /** MySQL database username */
    define('DB_USER', 'username_here');
    
    /** MySQL database password */
    define('DB_PASSWORD', 'password_here');
    
    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    Make sure the values above are the ones you are using on the bbPress import settings and that you select Mingle as the import type.

    If you still have the same issue you might have to have a chat with your web host to see if there is some extra SQL settings needed by them.

    Robin W
    Moderator

    It’s quite simple to get ti up and running – just work you way through the following resource

    Step by step guide to setting up a bbPress forum – Part 1

    If you are using a default core theme, it’ll be going in a couple of hours. if you have a custom theme, the functionality will be there, but the look and feel might be a little different from your theme, and you’ll need to style it – not that hard to do, but does require some knowledge of using FTP and a code editor.

    I’ll be finishing this article during the next week.

    #139172
    Robin W
    Moderator

    is_user_logged_in()

    is the function you want

    $user = ( bbp_get_reply_author_id( $reply_id )) ;
    will get you the username, so probably
    is_user_logged_in($user) should get you there

    #139171
    Stephen Edgar
    Keymaster

    They should be renamed to bbpress-ru_RU.po & bbpress-ru_RU.mo
    They should go here -> /wp-content/languages/bbpress/
    (If you put them in /wp-content/plugins/bbpress/languages they will be deleted when bbPress is updated)

    Full details are here -> https://codex.bbpress.org/bbpress-in-your-language/

    And Russian here -> https://codex.bbpress.org/bbpress-in-your-language/russian-%d1%80%d1%83%d1%81%d1%81%d0%ba%d0%b8%d0%b9-ru_ru/

    #139169
    Stephen Edgar
    Keymaster

    It looks like you used wp_forums_\ as the table prefix on the importer settings, as a quick guess I think it should be wp_

    Edit: You can confirm what this value should be by opening the wp-config.php file in the root of the WordPress install that has Mingle forums installed.

    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each a unique
     * prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix  = 'wp_';
    #139168

    In reply to: phpBB Import speed

    Stephen Edgar
    Keymaster

    Typically the ----- dashes occur once you are no longer logged into your site, opening up another page and refreshing it every 2-3 hours eg. http://example.com/wp-admin/index.php should get you around this issue.

    As long as you don’t hit memory issues drop the delay time from the default 1 second down to 0.1.

    I’d have at a guess the 5,000 & 10,000 settings you tried might have actually been too much, I’d love to be able to get some more SQL debug messages into the output display though to achieve this much of the importer needs to be rewritten so that will happen in a future release.

    Down the track I’d like to write some bash scripts to do this directly (using WP-CLI) but this is a way down the track and is not planned at this stage.

    Stephen Edgar
    Keymaster

    Thanks for this and yes, confirmed 🙁

    I have added a patch to the bbPress Trac Ticket #2472

    I also added the full Mingle.php with the patch included, could you download this and test it.

    It should fix both the issue where multiple topics have the same title and also renamed topics.

    #139163
    siomer
    Participant

    FreeWPress could you show us what code you use ? i want it to display also on my site http://tinyurl.com/qyxul3j

    I would be grateful for this tip 🙂

    Thanks and best regards!

    David2013
    Participant

    $retstr = sprintf( esc_html__( 'This forum contains %1$s, and was last updated by %2$s %3$s.', 'bbpress' ), $topic_text, $last_updated_by, $time_since );

    bbPress error

    Warning: sprintf() [function.sprintf]: Too few arguments in /xxx/xxx/xxx/wp-content/plugins/bbpress/includes/forums/template.php on line 187

    bbPress Version 2.4.1
    WordPress 3.7.1.
    Buddypress Version 1.8.1
    WPML Version 3.0.1
    .
    .
    .
    I need help please,
    David

    #139143
    David2013
    Participant

    $retstr = sprintf( esc_html__( 'This forum contains %1$s, and was last updated by %2$s %3$s.', 'bbpress' ), $topic_text, $last_updated_by, $time_since );

    bbPress error

    I still didn’t figure it out whats wrong.

    #139142
    Robin W
    Moderator

    Yes totally.

    You can create a full width page forum if you wish – if your theme has a full width page option then just create a full width page, put the index shortcode within it [bbp-forum-index].

    But it may be better to have a separate sidebar, so that you can have login and latest posts – see http://www.gospbc.co.uk/forums for an example.

    Once you have installed bbpress, then install a plugin called bbPress WP tweaks. it gives you a forum specific sidebar, so you can add login and latest posts widgets

    You can also use a plugin called “widget logic” with your normal sidebar to control what widgets are seen on what pages. For instance a widget will not appear if you use the logic !is_bbpress()m or will appear if you use is_bbpress()

    #139140

    In reply to: Layout errors and 404

    Robin W
    Moderator

    Yes, create a page called say “foumsd2 and put the following shortcode in

    [bbp-forum-index]

    There’s a full list of shortcodes at

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

    #139135
    CouponCodePlugin
    Participant

    Hello, I have installed bbpress and added a forum and topic.
    WordPress and BBPress are both the latest version.

    The forum shows in a really odd way with items stacked on top of each other.
    http://imagphoto.com/forums/forum/new-forum/

    Secondly, the breadcrumb link to the forum results in a 404 http://imagphoto.com/forums/forum/
    Yet the parent link in the breadcrumb works http://imagphoto.com/forums/

    Is it possible to use pages and the shortcodes to have the forum within a page so that I can control the settings of the page and maybe dump the sidebar to see if that corrects the issue? I checked the documentation but could not see anything about this specific issue.

    Many thanks for your help 🙂

    #139127
    javierduce
    Participant

    You should check if the table wp_bb_posts has been created in your database. Otherwise, you should create it manually:

    CREATE TABLE IF NOT EXISTS wp_bb_posts (
    post_id bigint(20) NOT NULL auto_increment,
    forum_id int(10) NOT NULL default 1,
    topic_id bigint(20) NOT NULL default 1,
    poster_id int(10) NOT NULL default 0,
    post_text text NOT NULL,
    post_time datetime NOT NULL default ’0000-00-00 00:00:00′,
    poster_ip varchar(15) NOT NULL default ”,
    post_status tinyint(1) NOT NULL default 0,
    post_position bigint(20) NOT NULL default 0,
    PRIMARY KEY (post_id),
    KEY topic_time (topic_id, post_time),
    KEY poster_time (poster_id, post_time),
    KEY post_time (post_time),
    FULLTEXT KEY post_text (post_text)
    ) ENGINE = MYISAM;

    Hope it works.
    It did for me.

    #139118
    Stephen Edgar
    Keymaster

    I’m not seeing this on any of my installs, try running the ‘Repair BuddyPress Group Forum relationships’ repair tool https://codex.bbpress.org/repair-forums/

    I am not that familar with mod_fcgid but a quick search landed me here if that might help
    https://wordpress.org/support/topic/500-internal-error-when-creating-package?replies=6#post-4873684

    #139117
    Stephen Edgar
    Keymaster

    Dropbox are using the old bbPress ‘Standalone’ 1.x version with some custom theming, though I wouldn’t recommend installing this old version as I am quite sure they have lots of customizations in the backend to get around the known numerous issues with the old version.

    Go with the new version https://wordpress.org/plugins/bbpress/installation/

    Then start customizing the templates to the style you want
    https://codex.bbpress.org/theme-compatibility/

    #139114

    In reply to: phpbb import hanging?

    Stephen Edgar
    Keymaster

    Same problem, it’s just hanging.

    What stage do you get to though now?
    (As you shouldn’t be seeing “Delete users WordPress default passwords Deleting previously converted data” etc)

    “Deleting Conversion Table… Failed”

    This is fine, it just depends on if bbPress used a conversion table to do the conversion or it used the source database tables correctly.

    As well as the actual users there are a lot of bots etc. (e.g. AdsBot Google, Ask Jeeves Bot)

    These are special phpBB user accounts that I haven’t found a way to ignore importing just yet and must be manually removed after importing, see the follwing for a list of them all.
    https://codex.bbpress.org/import-forums/phpbb/

    #139113
    shearamariz
    Participant

    Hi,

    I wonder if there is a notification box or area for a user to see if his topic is under moderation? or a page. It seems to be hassle for the user to receive it via email. Also, I know there is a plugin called bbpress moderation but I don’t want to use it as it will slow down my site. I want everything to be just php code under the bbpress.

    Can anyone help me? Thanks.

    #139107
    5ngua
    Participant

    Currently the Forum Root is titled Forum Archive by default and there is no way to change it from the back-end. This is still impossible even when the Forum Root is partnered with a wordpress page optimized with a SEO pluggin like All In One SEO or WordPress SEO By Yoast.

    So I think I going to modify the code to get this done, but I need your instruction, please help.

    And how can I request this possibility as a default feature in the next BBPress realease? I think many people will thank it.

    Thanks in advance,
    Hung.

    #139099
    FreeWPress
    Participant

    Every css template can have different class and code.. We must to see a specific code to made one solution for you.. If you have possibility to run this site in one webserver we can help you, but in this conditions is titanic…

    #139098
    bbp-fan
    Participant

    No, unfortunately not. 🙁 Also not with ! important.
    Although these are exactly the two titles that I want to enlarge! The only that works is the solution with inherit, but that just increases all fonts in the forum and I do not want that. It also destroys the layout. I’m certainly not a CSS professional, but I have changed so much and it all worked. Why does this one not work?? I really do not understand what’s going on.

    Is there any way to ask one of the bbpress-people?

    #139097

    WP 3.7.1, BP 1.8.1, bbPress 3.4.1. Forum is within a Group.

    I’ve recently been seeing Internal Server Errors when trying to make new forum posts and replies. After clicking the Submit button it takes about 40 seconds and then the error appears. Interestingly, the UTL in the address bar changes to that of a recent post.

    I have checked the server logs and see these 2 lines:

    [warn] mod_fcgid: read data timeout in 40 seconds
    [error] Premature end of script headers: index.php

    This is a recent development and, to the best of my recollection, I haven’t changed anything.

    Any insights would be much appreciated.

    Cheers

    #139095
    squid1974
    Participant

    Following is my loop-forums.php – I still don’t understand where the title is coming from…

    
    <?php
    
    /**
     * Forums Loop
     *
     * @package bbPress
     * @subpackage Theme
     */
    
    ?>
    
    <?php do_action( 'bbp_template_before_forums_loop' ); ?>
    
    <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">
    
    	<li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-forum-info"><?php _e( 'Forum', 'bbpress' ); ?> </li>
    			<li class="bbp-forum-topic-count"><?php _e( 'Topics', 'bbpress' ); ?></li>
    			<li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-forum-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li><!-- .bbp-header -->
    
    	<li class="bbp-body">
    
    		<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-forum' ); ?>
    
    		<?php endwhile; ?>
    
    	</li><!-- .bbp-body -->
    
    	<li class="bbp-footer">
    
    		<div class="tr">
    			<p class="td colspan4">&nbsp;</p>
    		</div><!-- .tr -->
    
    	</li><!-- .bbp-footer -->
    
    </ul><!-- .forums-directory -->
    
    <?php do_action( 'bbp_template_after_forums_loop' ); ?>
    
    #139092
    squid1974
    Participant

    Hi all,

    I can’t find where the title output is coming from. I want to wrap it in a <h1>. In the default templates it starts with <div id="bbpress-forums"> and the title’s output is before that. But where is it coming from? I can’t find it.

    P4p3Rc1iP
    Participant

    Alright, so just making a php scrip with this:

    <?php mail(‘MyEmailAddress@domain.com’,’Subject of the e-mail’,’This is the body of the e-mail!’); ?>

    sends me an e-mail. This leads me to believe the problem is indeed not with my host but with WP/BBP…

Viewing 25 results - 13,351 through 13,375 (of 32,503 total)
Skip to toolbar