Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,501 through 13,525 (of 32,585 total)
  • Author
    Search Results
  • #138785
    Mailhilfe
    Participant

    Thank you!
    This works, but how can I save the code before an update?

    #138778
    raduszeged
    Participant

    To moderators: please, remove the blog links and images from my post! My server is under heavy load 🙁

    #138772
    raduszeged
    Participant

    nicoblue: I checked your website and – as far as I can see – you solved the problem. I’ve the same issue now; could you help me with the solution?

    Wordpress version: 3.5.1
    BBpress version: 2.3.2
    Theme: Default Twenty-eleven (from earlier WP) with my own minor modifications

    The problem is the same: the bbpress forum style on the full-width pages are working flawless. But when I use the shortcode, the floating elements are broken, for example the pagination is messed up. The styling was okay a year ago, but I updated bbpress not so long ago, after I did not checked the shortcode pages (my bad…), and yesterday I faced with the problem.

    I show you the difference:

    On full-width page, without shortcode (perfect):

    Link: http://www.radu.hu/forum/f/kerdesek-a-pontos-adatokkal-kapcsolatban/

    With shortcode, pagination and other styles are broken:

    Link: http://www.radu.hu/hasznos-eszkozok/jo-minosegu-backteszt-adatok/adatok-letoltese/

    At the bottom of the page, the new topic box (the border) is wrong:

    Link: http://www.radu.hu/hasznos-eszkozok/jo-minosegu-backteszt-adatok/adatok-letoltese/

    If anyone could give me a hint… 🙂

    #138768
    connielk
    Participant

    I was right. There was a file missing.

    I took archive-forum.php and renamed it search-forum.php. Then I changed this line:

    <?php bbp_get_template_part( 'content', 'archive-forum' ); ?>

    to this:

    <?php bbp_get_template_part( 'content', 'search' ); ?>

    Then I copied it into my theme folder. And voila. Search now works.

    I get the gold start today.

    #138767

    In reply to: Forum Access Question

    Robin W
    Moderator

    This will take you several stages but should get you where you want to be

    1. For your forum page

    Create a page called forum or forums. In the body of the page type the following code

    [bbp-forum-index]

    And save

    If your menu auto-creates then this will appear, if not go into dashboard>appearance>menus

    2. Create a register form

    Download contact form 7

    https://wordpress.org/plugins/contact-form-7/

    set up a page called ‘register’, and put a registration for in there

    3. Download bbpress WP tweaks

    https://wordpress.org/plugins/bbpress-wp-tweaks/

    This will give you a bbpress sidebar that your forum page will use

    Go into dashboard>appearance>widgets and populate this with

    (bbpress) login widget

    The url for register will be the page you set up under 2 – so populate this with “/register”, and the lost password url will be “/lost-password”

    (bbpress) forums list

    (bbpress) recent topics

    (bbpress) recent replies

    And anything else you want to add

    4. When someone sends in a form (it’ll be emailed to you) then you can set them up, and ensure that they don’t get the toolbar. They will have “no role for this site” for wordpress, and “participant” form bbpress.

    That should be enough to get you going, but come back if you need more !

    #138766
    tristanojbacon
    Participant

    I have tried to install bbPress, but am having issues with the Forum Index page.
    This is the forum index: Forums. However, the actual forums work fine, as you can see on a test forum I created called Suggestions.

    Any ideas as to why it’s doing this? I’ve followed the few instructions I could find, including the page about Theme Compatibility. I added the bbPress theme files to my own theme, as suggested in those intructions.

    Also, is there a way for the link to just be ‘http://thewhitesharks.co.uk/forums/suggestions/&#8217; instead of ‘http://thewhitesharks.co.uk/forums/forum/suggestions/&#8217;? Seems a bit long to me…

    #138760
    connielk
    Participant

    It’s as if there is a php file missing in pugins\bbpress\templates\default\extras that displays the search results. Where can I find that?

    #138758
    connielk
    Participant

    That’s a great tutorial. And close to what I did yesterday, just without the child theme. I used this: https://codex.bbpress.org/theme-compatibility/

    However this had no effect on the search page and I can’t find what page to edit.

    #138748
    neotrikz
    Participant

    Follow this link for the tutorial :http://technotip.org/bbpressplugin-theme-compatibility/

    #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.

Viewing 25 results - 13,501 through 13,525 (of 32,585 total)
Skip to toolbar