Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 276 through 300 (of 32,294 total)
  • Author
    Search Results
  • #238558
    robfaich
    Participant

    OK so I found the shortcode [bbp-display-topic-index show=’5′ forum =’10,11,12′] which should have done what we want if we’d specified all forums except the one we want excluded.

    However, this doesn’t seem to work properly, only two of the six forums specified have topics displayed despite all six being represented in the default view (15 topics, using [bbp-topic-index]).

    jesoh
    Participant

    As said in the title, I want the options to choose Topic Type and Topic Status gone for normal users. When posting a topic, it would post them with Topic Type as Open by default, and Topic Status as Normal by default.

    It’s just to simplify the process of posting topics. I know not enough PHP to make my own form, so I’ll be grateful for any help customizing the Topic Form (that you get from the shortcode [bbp-topic-form forum_id=$forum_id]

    #238484
    gameinpost
    Participant

    Corrected: the photos vanish as soon as I publish the page. However, they are seen in the preview.

    And I added the bbpress shortcode, the images, and everything else to a newly created page before doing this. No images when using the bbpress shortcode. Absent the photos bbpress shortcode.

    How to Upgrade Windows 7 to Windows 10 for Free

    #238478
    user8472
    Participant

    Correction – as soon as I publish the page, the images disappear. But they are visible in preview.

    And this was on a new page I created by adding the bbpress shortcode first, then the images and everything else. With bbpress shortcode – no images. Without bbpress shortcode – images.

    #238477
    user8472
    Participant

    I think I found a solution that makes me confused.. It works if I add the forum using shortcode first, and then add pictures.

    #238476
    user8472
    Participant

    I run:
    Wordpress 6.4.2
    bbpress 2.6.9
    bbPress WP Tweaks 1.4.4

    When I remove the shortcode for the single forum. The images work again.

    #238475
    user8472
    Participant

    So I added a forum on a wordpress page using shortcode. After that all the images on the page (outside the forum) disappeared. And I cannot add any – well I can add images, but they will not show (and no error messages). I have searched the posts here but cannot see an answer to this issue.

    I run the widget for all forums at the bottom of the page.

    #238447

    In reply to: Forum

    Robin W
    Moderator

    so with root set as chats and a chats page and the shortcode, you can then add your desired shortcode above the forums one.

    #238396
    Robin W
    Moderator

    it is unusual to see index.php included in a url

    https://meltdowncnc.com/wordpress2/index.php/forums/topic/website-test-committee-input/

    what theme are you using?

    #238392
    electech1313
    Participant

    I deactivated AWPCP. When I hover over the edit button, it shows the same link as before. It now takes me to the Edit Page with only the shortcode [AWPCPEDITAD] showing.

    #238381
    Robin W
    Moderator

    ok, so if you hover the mouse over the edit bitton, you should see in the bottom left hand corner where that button will take you – ie a url such as

    https://meltdowncnc.com/forums/topic/xxx/edit

    can you tell me what you one says please

    #238378
    electech1313
    Participant

    I recently installed bbpress and AWPCP Classifieds. Whenever a user clicks the edit button to edit their post, it takes them to a page that asks for the Ad email and access key. This page is default with AWPCP and is called -Edit Ad. Inside that page is the shortcode [AWPCPEDITAD]. I disabled the AWPCP plugin to test and the result was when a user clicked the edit button, it then just shows the shortcode text from the -Edit Ad page. I am little more than a beginner when it comes to web development. I have built a few websites but they are all basic and mostly wordpress sites. This is the site address if you would like to look at it. https://meltdowncnc.com/wordpress2/

    The site is for testing. Hopefully once it is done, I can put it into service for my club. Thanks if anyone can help.

    #238335

    In reply to: Forum

    testdevs
    Participant

    I have created a forum page with the URL ‘/chats’ and titled it “Forums”. Also, I have added a heading to the page and inserted the shortcode ([bbp-forum-index]) directly below it. Additionally, I removed the root slug option in the Forum settings page and left it as a blank field, saving the changes. As a result, the root slug was automatically generated as ‘forums’.

    is it correct?

    View post on imgur.com

    #238334
    albertmart
    Participant

    hi Robin. Can we add these 2 codes to functions.php of the child theme?

    #238333

    In reply to: Forum

    Robin W
    Moderator

    ok, so you can add text below the heading, just create this as normal text.

    Then where you want the forums put in the shortcode

    [bbp-forum-index]

    If you are using blocks, then there is a shortcode block you should use.

    #238332

    In reply to: Forum

    testdevs
    Participant

    No. could you please provide any option or code to add a shortcode on this page.

    #238296
    Robin W
    Moderator

    ok, it could be due to loots of things, not possible to resolve without site access top a live example.

    But try accessing from a different browser (maybe cache on your browser), or clearing cache on your site if you have it.

    otherwise try :

    #bbpress-forums span.bbp-admin-links a, #bbpress-forums span.bbp-admin-links {
    	font-size: 13px !important;
    }
    #238290
    kelixirr
    Participant

    Hi, I want to highlight the first topic that the user creates to ask his doubts so that it can stand out from other replies. I tried this code but I don’t know what’s missing here. I could not find the CSS classes for the first topics in their documentation.

    .bbpress-forums .bbp-topics:first-child {
    	
    	background-color: #000;
      font-weight: bold;
    }

    Additionally, I want to highlight the best reply either by changing it’s color or by pinging it to the main topic so that new visitors won’t have to check every other reply. It will be helpful for the new users.

    is there any way I can solve these two issues using css:

    1. Highlight the first issue so that it stands out from the crowd of replies
    2. Highlight or ping the correct/solution contained reply thread so that new visitors won’t have to read everything.

    #238277

    In reply to: Forum

    Robin W
    Moderator

    The ‘Forums’ heading is created by your theme.

    which method in the below are you using to create the forum page?

    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/ item 3

    #238268

    Topic: Forum

    testdevs
    Participant

    we need to add a shortcode on this page https://www.clevercafecompany.com.au/chats/ above ‘Forums’ heading.
    Is it possible to add through in function.php?

    #238253
    markwilliams21
    Participant

    Certainly! In the WordPress REST API, creating a new topic and assigning it to a parent forum involves utilizing the wp/v2 endpoints for both forums and topics. To achieve this, you can follow these steps:

    ### 1. Get the Forum ID
    Firstly, you’ll need to know the ID of the parent forum to which you want to assign the new topic. You can retrieve this ID by making a GET request to the forums endpoint, typically /wp/v2/forums.

    For example:
    `http
    GET /wp/v2/forums
    `

    ### 2. Create a New Topic
    Make a POST request to the topics endpoint, usually /wp/v2/topics, providing the necessary parameters including title, content, and forum to link it to the specific forum.

    For example:
    `http
    POST /wp/v2/topics
    Content-Type: application/json

    {
    “title”: “New Topic Title”,
    “content”: “Content of the new topic”,
    “forum”: <forum_id>
    }
    `
    Replace <forum_id> with the ID of the parent forum retrieved from step 1.

    ### Example Using cURL
    Using cURL, the process might look something like this:
    `bash
    curl -X POST -H “Content-Type: application/json” -d ‘{“title”:”New Topic Title”,”content”:”Content of the new topic”,”forum”:1}’ https://yoursite.com/wp-json/wp/v2/topics
    `
    Replace https://yoursite.com with your actual WordPress site URL and 1 with the ID of the desired forum.

    Remember to authenticate the API request if your WordPress site requires authentication for creating new content.

    This approach allows you to create a new topic and assign it to a parent forum via the WordPress REST API. Adjust the endpoint URLs and parameters as needed based on your specific WordPress configuration.

    #238241
    gozazomo
    Participant
    #238219
    Robin W
    Moderator

    put this in the custom css of the style pack plugin.

    #bbpress-forums span.bbp-admin-links a, #bbpress-forums span.bbp-admin-links {
    	font-size: 13px;
    }
    #238180
    getfree
    Participant

    I have 3 categories (main forums) and a bunch of sub forums. I would like to display 1 main forum/category, the blogs, separate from the rest on the front page, but I don’t find the option to do it.

    This only works for specific forums, not categories [bsp-display-topic-index show=”5″ forum=”10,11,12]
    and this style adds a different style (the original) that I don’t want [bsp-display-topic-index].

    So, how to display one or more categories using short templates?

    #238178

    In reply to: Export/Import

    Robin W
    Moderator

    sort of…

    It is doable, but requires a series of steps and some code.

    I am trying in spare time to get this into a workable solution, but needs more work.

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