Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,451 through 13,475 (of 32,503 total)
  • Author
    Search Results
  • #138746
    connielk
    Participant

    As per the theme support page, I went to bbpress\templates\default\ and copied the bbpress and css folders into my theme folder. I also copied archive-forum.php and single-user.php in to the theme folder.

    I made a few modifications to archive-forum.php and single-user.php to fit into the page and remove the sidebar.

    Seems like most functions are working now except Search. It still goes to a wonky page. Where do I go to look to fix that?

    #138744
    connielk
    Participant

    Do you mind posting again? I don’t see a link to a tutorial.

    In the mean time I found a post about Theme support. It helped somewhat. The page is too wide and I want to remove the sitemap. I can probably find that in the php. And Search still doesn’t work. Not sure how to fix that. Any pointers there?

    OrgSpring
    Participant

    For those still struggling with the garbled forums page in a stock woothemes canvas installation (or child theme off canvas) this support post at WooThemes really helps:
    http://support.woothemes.com/entries/24051302-Fix-bbPress-forum-search-in-Canvas

    The woo team created a simple bbpress template for use in canvas and included the attached files – one template file and a some code for functions.php.

    Works like a charm.

    #138738
    Robin W
    Moderator

    Your first “forum” is actually your home page – most people run forums as a sub to their main site -the site sort of thinks it is displaying

    home>forums>Digital terrestrial

    Interesting thread here

    How do I edit bbPress breadcrumbs?

    Which makes me think this plugin might be what you need to lose the “home” page bit in the breadcrumb.

    https://wordpress.org/plugins/bbpress-string-swap/

    It that doesn’t work, come back and I’ll try to work out where in the plugin you put some code.

    #138735
    neotrikz
    Participant
    #138731
    connielk
    Participant

    I removed the page with the shortcode, since the links in it to users and search send it to the slug that doesn’t work. It has just confused everyone. So what you see in the menu now goes directly to the slug that doesn’t work.

    #138729
    connielk
    Participant

    So now what do I do. The entire rest of the site is ready. The forum is imported. What do I do???

    #138727
    neotrikz
    Participant

    Your blog’s theme does not have support for bbpress, the same happened with me.

    #138713
    Robin W
    Moderator

    Unfortunately can’t see your issue, as the page is coming up with just the shortcode

    #138710
    channelwiki
    Participant

    channelwiki.org/forums

    I see Forums >> Forums >> Digital Terrestrial

    Whereas only one forum link should be included.

    The root Forum slug is ‘forums’. I have a page called forums (which includes the index shortcode) which is set as the site’s homepage.

    the single forum slug is ‘f’.

    Also, how can I display post count under usernames?

    #138708
    connielk
    Participant

    Notice that when you use the search function, it also sends the user to the unusable page at forums.

    #138706
    connielk
    Participant

    That’s the Forum Root Slug. As set under Settings, Forums.

    Forum Root Slug

    Customize your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.
    Forum Root=forums
    Forum Prefix=Checked Prefix all forum content with the Forum Root slug (Recommended)
    Forum root should show=Forum Index

    The page with the shortcode is:
    redhorsecrm.com/forum

    #138701
    Stephen Edgar
    Keymaster

    Is this a page or a post? redhorsecrm.com/forums

    #138698
    Stephen Edgar
    Keymaster

    Having a quick look you should be able to export the ‘questions’ via /wp-admin/export.php

    As the plugin uses ‘Custom Post Types’ you should be able to then edit the exported XML file and find do a search and replace:

    Find <wp:post_type>question</wp:post_type>

    Replace <wp:post_type>topic</wp:post_type>

    I had issues with the plugin on my site so I am not sure if it uses ‘question’ for the answers or uses ‘answers’ as a CPT for them, if it does use ‘answers’ then search and replace:

    Find <wp:post_type>answers</wp:post_type>

    Replace <wp:post_type>reply</wp:post_type>

    Once you have done that then import them back into WordPress and see how they look, no doubt there will be a few issues such as topics not associated with a forum and depending on how many of these you have editing them in bbPress topic/reply panels should help you fix up any issues, if you have thousands then doing some more tweaking in the XML would be your best bet.

    To get an idea of what you would need the best idea would be to export some bbPress forums, topics & replies and have a look at the XML and this should help you work out what values you need to use for search and replace.

    #138697

    In reply to: Custom Import

    Stephen Edgar
    Keymaster

    Cool, things look good on your site now 🙂

    For the users simply check the following box when you are importing your forum 😉
    Convert Users - Attempt to import user accounts from previous forums
    (Yes, you will have to reset bbPress and run your import again https://codex.bbpress.org/reset-forums/)

    #138685
    connielk
    Participant

    I tried that and it broke the page I was using the shortcode on. Then nothing worked.

    #138683
    channelwiki
    Participant

    Same issue. My URL: channelwiki.org/forums

    Have you set your forum slug to that of the page you created?

    #138682

    In reply to: Custom Import

    connielk
    Participant

    The code that the other dnn conversion used actually pointed to the ParentPostID and should have pointed to the ThreadID as the parent. Once I fixed that, I got forums, topics and replies all linked up correctly.

    Only remaining issues is users.

    #138681
    connielk
    Participant

    I am having an issue displaying the forums on the standard url that bbpress uses.

    See this page:

    redhorsecrm.com/forums

    This is the page I’m told to use by bbPress as to where the forums should display correctly. It does not look correct at all.

    Then see this page:

    redhorsecrm.com/forum

    This page is one that I created and put a shortcode on to display the forums. It looks correct.

    I don’t mind using the shortcode, since it displays the forum correctly. However, the breadcrumb points to the page that does not display correctly. So if a user uses the breadcrumb, they will be lost.

    I understand this may be a theme issue, but this is a pretty standard theme Customizr and it “should” be compatible. Yes, I did ask Customizr but they didn’t have a clue.

    Any ideas how to fix this?

    channelwiki
    Participant

    I am currently using BBPress and will integrate it with MediaWiki.

    However, the problem is as my forum’s index is set to display as a shortcode on a page called ‘Forums’, which is set as my site’s homepage the breadcrumbs display as follows:

    Forums >> Forums >> Digital Terrestrial

    See: http://www.channelwiki.org/forums/?forum=digital-terrestrial

    As you can see the second ‘forums’ link takes a user to the default BBPress Forum index (not my sites homepage). How can this second ‘Forums’ link be removed?

    The second issue is, as users are signing in via MediaWiki and will then be signed in to WordPress when they access the site automatically, how can I disable sign in via WordPress and registration, but still allow access to private messages and sign in via the wiki? The WP-Admin bar will also be hidden

    Another issue is that I do not know how to redirect users back to the wiki. I’ve though about placing a ‘Log in’ link in the site’s main navigation, which links to the wiki’s login page but I’m not sure how to redirect them back.

    Many thanks in advance,
    channelwiki

    #138672

    In reply to: Custom Import

    connielk
    Participant

    Geez. I guess that didn’t work either. Let’s try this.

    & l t ; p & g t ; I

    I’ve added a space between every character to see if it will not try to mess with it.

    #138671

    In reply to: Custom Import

    connielk
    Participant

    Hm. Seems I must need to wrap that. This is what the body looks like in the table before importing:

    <p style=&quot;text-align: left;&quot;>&..

    Here is what it looks like displayed on the page:

    <p style="text-align: left;"> 

    #138670

    In reply to: Custom Import

    connielk
    Participant

    After I posted the code to you, I saw and fixed the ForumGroupID to ParentID. However I got the same result of dashes. But it seems logging out and then back in helps. Now I have some data.

    Here’s what I’m seeing:

    I got topics and replies but not the forums themselves.

    I got code in the bodies. See this page http://redhorsecrm.com/forums/topic/windows-v8-1-and-redhorse-v5-6/
    It seems the data in the body field in the posts table looks like this and it doesn’t display as html in the web:
    <p style="text-align: left;">&.. etc etc

    The users are all anonymous. How does the user import actually work? This is a new site and I was planning on importing users with Members Import and then having a welcome email sent to them telling them their account has been migrated from the old site to the new site. Do I need to wait until after I do that to import the forums so that the users already exist or can I import the forums now and then import the users. Not sure what order to do that in without knowing how this forum import works with users.

    JeremyPark123999
    Participant

    I disabled all of the plugins except bbpress, and I also tried adding that code to bbpress/includes/common/functions.php and also to my themes functions.php . Maybe I am doing something wrong though, is there perhaps a way to hide the check box? That would work just as well for me.

    #138658

    In reply to: Custom Import

    Stephen Edgar
    Keymaster

    Everything looks pretty good 🙂

    I could only see the one issue

    You have:

    // Forum parent id (If no parent, then 0. Stored in postmeta)
    $this->field_map[] = array(
    'from_tablename' => 'forum_forums',
    'from_fieldname' => 'ForumGroupID',
    'to_type' => 'forum',
    'to_fieldname' => '_bbp_forum_parent_id'
    );
    

    And this should be either 'from_fieldname' => 'ParentID', or 'from_fieldname' => 'GroupID'

    I tried it again using my cpanel login which should be a sql login and now it’s got a growing line of dashes across the screen. It’s been running for over 30 minutes and there are less than 200 posts, so I’m not sure what it’s doing. Is there anything I can check to see what it’s doing? If anything?

    This looks right in that using your cPanel login, I would double check your webhost help section to confirm what your MySQL user/pass are (You can also grab these typically from your WordPress wp-config.php file via FTP.

    The ‘——–‘ is a horrible bug that happens more than I would like but debugging this has been a pain to say the least and I haven’t been able to find what causes it yet alone a fix for it. Typically logging out and logging back in ‘seems to fix it’ most of the time.

    With all that said though if you can get past that ‘bug’ then it looks like you are good to go.

    EDIT: With ~200 posts the whole process should be completed in under 5 minutes.

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