Stephen Edgar (@netweb)

Forum Replies Created

Viewing 25 replies - 926 through 950 (of 3,353 total)
  • @netweb

    Keymaster

    Cool, have a look around the site here also as there a few interesting topics, like this one.

    Let us know if you need anything else, will try to answer any Q’s you have.

    p.s. Our vBulletin importer is pretty awesome, works well, and is included free, the downside is waiting for those MySQL queries to finish πŸ˜‰

    @netweb

    Keymaster

    So to be clear, you feel that if I were to implement a work around for β€˜last active time’ or wait to install BBPress version 2.6 that I can confidently run BBPress on a forum that size?

    Indeed, as you stated you need a fairly robust server though it sounds like you already have that. As bbPress 2.6 continues development I’d suggest you set yourself up a test install on your local PC and do some benchmarks and test the vBulletin importer as ~6.5 million posts will take a bit of time to import and familiarising yourself with how this works is worth knowing so you know what has to be done before you switch over your live site.

    Is β€˜last active time’ really the bottle neck? As I understood this issue, it had to do with bbPress sharing the DB table with the WordPress posts.

    Yes, ‘last active time’ is the primary bottleneck as by default we sort topics based on the latest reply in a topic, though if a topic has no replies this is slotted in also.

    The full technical details of this are here https://bbpress.trac.wordpress.org/ticket/1925, it is not the easiest read and as there are two potential methods discussed. Primarily because of this ticket is why bbPress 2.6 is running late as there is a boat load of testing to be done to make sure we don’t break backwards compatibility.

    Lastly, do you have a target date for v2.6?

    3 weeks late πŸ˜‰

    @netweb

    Keymaster

    Hi,

    The issue discussed in the thread you linked to is being updated/fixed for the next bbPress release, version 2.6, we are currently just working through some other bits as part of 2.6 before finalizing this update.

    I don’t see the size of your vBulletin forum being an issue for bbPress 2.6, the ‘last active time’ is a bit of a pain for large sites though there are also a couple of workarounds already implemented in these large sites.

    What version of vBulletin are you currently using?

    bbPress has built in importers for vBulltin 3.x and 4.x, I also have a ‘development’ version for vBulletin 5.x that will be in a future release of bbPress.

    In reply to: bbbPress performance

    @netweb

    Keymaster

    @jonathanbardo Interesting, will take a look when I get some spare time.

    In reply to: Error on Embing Media

    @netweb

    Keymaster

    This is expected, to embed YouTube videos or any of the other WordPress embeds such as Twitter, Flickr etc the URL must be on its own line with no other text.

    @netweb

    Keymaster

    You could use BuddyPress’ Groups… Each BuddyPress Group you would make ‘public’ allowing all your users to read each of the forums, and set the invites to admin can invite, admin/moderators can invite or group members can invite, thus only accepted members can actually post in each of your group forums.

    @netweb

    Keymaster

    No, from memory the widget does not support adding a category to then show all the topics from all the sub forums in the widget.

    We have a ticket tracking some enhancements for the widgets in a future bbPress version, I’ll add this request to that.

    In reply to: Forum Structure error

    @netweb

    Keymaster

    If you can’t change the slug to forum and it stays as forum-2 check the trash folder, the permalink won’t be released until the deleted item is removed from the trash πŸ˜‰

    @netweb

    Keymaster

    Uncheck the bbPress setting “Forum Prefix – Prefix all forum content with the Forum Root slug” will be as close as you get giving you mydomain.com/blog/forum/

    The thing here is bbPress is a WordPress plugin so it ‘runs under’ WordPress.

    I am quite sure with a few tweaks of how your WordPress install is configured (you might also need some .htaccess rewrite rules) I think you could achieve what you are looking for though.

    See the following link on where I would start, will take a bit of planning and backups or course

    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    In reply to: Content Not Showing

    @netweb

    Keymaster

    I understand your frustrations throughout your posts above, but this is not bbPress, WordPress nor even Windows Azure fault, this all stems from somewhere along the line you were given bad advice that stated you have to use MSSQL and that is simply not true and is not supported by any of these parties.

    So based on your previous post to mine above, I suggest you delete WordPress from your Windows Azure site, create a Windows Azure MySQL database and install phpBB or whatever, I wish you luck.

    In reply to: Content Not Showing

    @netweb

    Keymaster

    bbPress’ system requirements are the same as WordPress’ system requirements:

    Requirements


    https://wordpress.org/about/requirements/

    PHP version 5.2.4 or greater – MySQL version 5.0 or greater

    Using ‘Project Nami’ or whoever suggested it to you to use it I do not know, I would not recommend it and nor do the Microsoft Azure team recommend it.

    You should use a MySQL database and that is also what Microsoft Azure recommend and have ‘one click install’ for Windows Azure, Microsoft work with the WordPress Core team to include compatibility with each release of WordPress for both Windows IIS installs and Azure installs.

    The majority of bbPress ‘in theory’ should work with ‘Project Nami’ but there are specific parts of bbPress that never will, if WordPress Core supports MSSQL one day then we will update bbPress to also work with MSSQL, until that day though bbPress will only work 100% using MySQL.

    Here is my Windows Azure bbPress test site and it is using MySQL
    http://azure.netweb.com.au/forums/topic/this-is-bbpress-running-on-windows-azure-with-mysql/

    You should look to backing up your site including files and database and then export your WordPress content and start again using MySQL.

    Details on setting up WordPress with MySQL on Windows Azure are here:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-php-web-site-gallery/

    @netweb

    Keymaster

    Make a copy of your full width template, maybe page.php and rename it bbpress.php πŸ™‚

    @netweb

    Keymaster

    Yes, it should NOT go there, you should add it to your child themes functions.php file.

    Remove it from where you added it.

    See https://codex.wordpress.org/Child_Themes on creating a child theme.

    And this is where you add that code https://codex.wordpress.org/Child_Themes#Using_functions.php

    @netweb

    Keymaster

    Thanks @lyhiz, indeed that plugin does add some a spoiler BBCode, thanks.

    @netweb

    Keymaster

    Probably the best ‘step by step’ guide I know of at the moment is this one, though sssshhh, it’s not quite ready to published to the world and is still getting a few tweaks and updates πŸ˜‰

    https://make.wordpress.org/training/modules-in-progress/child-theme-module/

    @netweb

    Keymaster

    That’s weird, did you add it twice?
    Fatal error: Cannot redeclare ntwb_bbp_theme_before_topic_form_notices() (previously declared..

    It could be my hastily quick copy and paste job, here is the same thing with an alternate function name, make sure you remove the previos function. πŸ˜‰

    
    function ntwb_custom_topic_form_notice() {
    	?>
    	<div class="bbp-template-notice">
    		<p>Something here...</p>
    		<p>Something else...</p>
    	</div>
    	<?php
    
    }
    add_action( 'bbp_theme_before_topic_form_notices', 'ntwb_custom_topic_form_notice' );
    

    @netweb

    Keymaster

    This ^^^ πŸ™‚

    @netweb

    Keymaster

    That is not the correct patch to use, please do not use that patch.

    If you look further down the ticket you will see the actual changeset and commit that was made to to bbPress /trunk, changeset r5417

    Also, you should not be using WP_DEBUG on live sites….

    @netweb

    Keymaster

    Do it the same way you would for WordPress and use the bbPress custom post types, forum, topic, and reply.

    @netweb

    Keymaster

    I don’t see anything wrong in either the code you added above or in your post you linked to.

    I see that long lines of solid text do not ‘wrap’ but this isn’t really a WordPress/bbPress issue, if you need to support code/content like that you should look at adding a plugin that will format this type of text for you.

    Maybe Crayon Syntax Highlighter….

    @netweb

    Keymaster

    That is an issue you should raise with the plugin author on their support forum if you want a feature implemented.

    @netweb

    Keymaster

    Go and do a search of the plugin repo https://bbpress.org/plugins/ https://wordpress.org/plugins/

    @netweb

    Keymaster

    This is one way…

    
    function ntwb_bbp_theme_before_topic_form_notices() {
    	?>
    	<div class="bbp-template-notice">
    		<p>Something here...</p>
    		<p>Something else...</p>
    	</div>
    	<?php
    
    }
    add_action( 'bbp_theme_before_topic_form_notices', 'ntwb_bbp_theme_before_topic_form_notices' );
    

    And another is to modify the form-topic.php template.

    @netweb

    Keymaster

    Quickest way in your child theme remove the nickname form the form-user-edit.php template.

    https://codex.bbpress.org/theme-compatibility/

    Functions files and child themes – explained !

    @netweb

    Keymaster

    Drupal v7 is supported, I have had a quick play with Drupal v8 alpha/beta but I have never looked at Drupal v6 so what the database tables look like I have no idea πŸ™

    Two options:

    1) Can you copy your Drupal v6 database to a test server and upgrade it to Drupal v7?

    2) We create a new Drupal v6 import tool

Viewing 25 replies - 926 through 950 (of 3,353 total)