Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 376 through 400 (of 1,687 total)
  • Author
    Search Results
  • #179920
    wrspoon
    Participant

    Wordpress Version 4.7
    bbPress Version 2.5.12

    I’m very new to all of this and I just installed and activated bbpress. I’ve searched and I cannot find instructions for connecting a menu item I created “Discussion Forums” to the actual forums. I see that there are slugs and short codes in the settings menu of the dashboard, but I can’t figure out how to make it all work.

    Please help. thanks

    #179545
    Robin W
    Moderator

    in the file

    bbpress\includes\common\shortcodes.php and amend the ‘bbp-single-forum’ shortcode

    #179510
    vizcano
    Participant

    Yes @netweb that is the correct post.
    i just made it sticky again.

    the thing is that normal and super sticky work fine.

    i dont understand anything about the codes thats why i cant find the problem by myself 🙁

    Thanks.

    #178721
    cinquantesix
    Participant

    Wordpress 4.4.5
    bbPress 2.5.10

    Hello, when I create a page and insert a shortcode (like bbp-forum-index for example), my whole page is displayed properly.

    http://www.legofftechnique.com/forum

    But if I get inside a topic, my footer is not displayed properly anymore. Instead, I see Visual Composer shortcodes.

    http://www.legofftechnique.com/forums/forum/discussion-generale

    Do I need to add something in my bbpress.php template ?

    If anybody can help me, I would appreciate it very much !

    #178699
    ricky9
    Participant

    Hi all

    Fairly new to WordPress and the use of plugins (and the complications of interacting with themes) so please bare with me!

    I am using the them Accelerate Pro theme, Version 2.5.10 of bbpress on a managed WordPress 4.6.1 site provided through godaddy. I have installed bbpress but I have come across two problems.

    Firstly I do not seem to get the bbpress sidebar in widgets after installation? I have been trying to work round this by utilising Widget Logic options and codes (from a community help page) but is there anyway of getting this sidebar on my theme which would be a lot easier!

    Secondly (and more importantly!) – the display of the fields on the registration page (I have create using shortcodes) gives the full width for the username and email fields but the rest (First Name (required), Last Name (required), Company/Organisation (required), Confirm Email (required), Password (required), Confirm Password (required) only display across about 1/8th of the page and look horribly bunched up. I suspect this is a problem across bbpress on my site but it is most noticeable here.
    The url of the page is:

    Register Forum Account

    Other pages created are:

    Forum


    and

    Restore Forum Password

    I have not done much in the way of setting up forums and topics as I wanted to get it displaying correctly first.

    Help! You advice and guidance is most welcomed to ease my frustration!

    Kind regard

    Ricky

    ricky9
    Participant

    Hi all

    Fairly new to WordPress and the use of plugins (and the complications of interacting with themes) so please bare with me!

    I am using the them Accelerate Pro theme, Version 2.5.10 of bbPress on a managed WordPress 4.6.1 site provided through godaddy. I have installed bbPress but I have come across two problems.

    Firstly I do not seem to get the bbPress sidebar in widgets after installation? I have been trying to work round this by utilising Widget Logic options and codes (from a community help page) but is there anyway of getting this sidebar on my theme which would be a lot easier!

    Secondly (and more importantly!) – the display of the fields on the registration page (I have create using shortcodes) gives the full width for the username and email fields but the rest (First Name (required), Last Name (required), Company/Organisation (required), Confirm Email (required), Password (required), Confirm Password (required) only display across about 1/8th of the page and look horribly bunched up. I suspect this is a problem across bbPress on my site but it is most noticeable here.
    The url of the page is:

    Register Forum Account

    Other pages created are:
    http://ruralengland.org/forum/
    and

    Restore Forum Password

    I have not done much in the way of setting up forums and topics as I wanted to get it displaying correctly first.

    Help! You advice and guidance is most welcomed to ease my frustration!

    Kind regards

    Ricky

    #179080
    Jochen Gererstorfer
    Participant

    Hello,
    there is a problem with bbpress, that prevents SEO Plugins to do there job.

    The problem exists only for the forum index page. Also if you use a standard page an paste the [bbp-forum-index] shortcode.

    * That page is not handled anymore as a page, so it gets a noindex tag by the SEO plugins.
    * It’s also not possible to add a custom title, description or other meta tags.

    The bbpress forum index is completely ignoring all of that settings.
    The result is a noindex forum index without a reasonable title and description.

    Example:
    Forum index

    Screenshot of the ignored settings:

    I talked with the codes a the German WPseo plugin.
    They told me, that bbpress is using so crude things for that index and doesn’t use wordpress standards.

    I also found here in the forum and on Google, that Yoast and All in one SEO Pack have the same problems with bbpress.

    Is there a way to get that fixed?

    A forum index with nofollow makes no sense at all.

    thanks
    Jochen

    #178929
    oris6791
    Participant

    I have tried so many codes on my child theme css to add custom codes. I can’t seem to get it done.

    my website is: theceoafrica.com
    theme: tdMacro theme

    Can anyone PLEASE help me figure out how to:

    1. To remove the blue link colour after mouse click on each menu item
    2. To add a white border on current/active menu item
    3. Please i also need to adjust the width of my website. It doesn’t fit into the window.

    I would really appreciate your help. Thank You.

    #178926
    Robin W
    Moderator

    for main page then use the forum shortcode in the main page

    [bbp-topic-index]

    or use on of the other shortcodes

    Shortcodes

    Julia_B
    Participant

    I want to switch the Top Five Topics widget on my site to a Topics With No Replies widget.

    I think I’ve found the code referring to the Top Five Topics widget in functions.php – this looks like it:

    function rk_top_five_view() {
    bbp_register_view( ‘top-five’, __( ‘5 Most Popular Topics’ ), array(
    ‘meta_key’ => ‘_bbp_reply_count’,
    ‘posts_per_page’ => ‘5’ ,
    ‘ max_num_pages’ => ‘1’,
    ‘orderby’ => ‘meta_value_num’ ),
    false );
    }

    add_action( ‘bbp_register_views’, ‘rk_top_five_view’ );

    And I think this is the relevant code on the page where the widget is displayed:
    [bbp-single-view id="top-five"]

    According to https://codex.bbpress.org/features/shortcodes/ the code for No Replies is:
    [bbp-single-view id=’no-replies’]

    So I’m guessing that on the page I just need to replace top-five code with no-replies…?

    But what about the code in functions.php?

    I found this on github:

    bbp_register_view(
    ‘no-replies’,
    __( ‘Topics with no replies’, ‘bbpress’ ),
    apply_filters( ‘bbp_register_view_no_replies’, array(
    ‘meta_key’ => ‘_bbp_reply_count’,
    ‘meta_value’ => 1,
    ‘meta_compare’ => ‘<‘,
    ‘orderby’ => ”
    )
    ) );
    }

    Is this what I need? Or should it start with function like the current code I posted at the top?

    Please excuse me if I’m missing something obvious here – I’m just the website owner, not a developer.

    Thanks in advance 🙂

    #178627
    marissafairy
    Participant

    Problem 1:
    Using builtin importer, whole system is being imported by phpbb3. Anonymous users who does not have any accounts are allowed for posting but they are showing up as anonymous, in the system.
    I have collected the usernames_of_the_visitors from posts_from_current_users and created those users, using a query:

    INSERT INTO wp_current_visitors (using_the_login)
        SELECT DISTINCT usernames_of_the_visitors
        FROM posts_from_current_users

    Step 2:
    I am creating multiple tables (in this case:3), some of the code is:

    SELECT ID FROM wp_current_visitors 
    INSERT INTO current_live_posts(author_current_posts)
    WHERE current_live_posts(post_time_and_date) = posts_from_current_users(posted_time)
      AND posts_from_current_users(usernames_of_the_visitors) = wp_current_visitors(using_the_login)

    You can see this is not the correct way contain syntax errors. First I have to correct it. Second, I have to find a way to tell the mySQL that ID is connected with ‘using_the_login’ (see the first line). Am I right?

    Please help in this regard?

    Queries after up-gradation:

    SELECT ID FROM wp_current_visitors
    SELECT post_time FROM posts_from_current_users = post_time_and_date
    SELECT post_username FROM posts_from_current_users = using_the_login

    The are working in the correct way. But, I don’t know where to insert the WHERE information correctly.Only possible solution in my mind is to create sub-queries.

    Problem 2:
    I am installing bbpress on my own(for the first time on a client website, as an evaluation task). I am creating a simple forum, with necessary plugins for login and flow control. But, an important requirement, I am unable to configure is that client wants to create a new page for each directory page. And whenever a new page is added, he wants to add a forum page, automatically. Like, if the directory page is Directory page of militarybases – Cheyenne mountain Air Force base Colorado Springs Colorado. When, he made the page using wordpress, it’s forum page like website/forum/cheyenne-mountain-air-force-base-colorado-springs-co automatically created.

    Is this possible? If yes, how will achieve this? Please don’t tell codes other than javascript and php. Please only provide the full solution, in case of others.

    #178402

    In reply to: Multiple Forums

    Robin W
    Moderator

    depends

    if you are just talking about having two forums, then if you want you use shortcodes

    single forum [bbp-single-forum id=$forum_id] – Display a single forums topics. eg. [bbp-single-forum id=32]

    and have

    page 1

    [bbp-single-forum id=32]

    Page 2

    [bbp-single-forum id=35]

    #178316
    Robkk
    Moderator

    It works fine for me, remember to use a topic tags id instead of a name.

    [bbp-single-tag id=$tag_id] – Display a list of all topics associated with a specific tag. eg. [bbp-single-tag id=64]

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

    To find a topic tags id, you can go to Topics > Topic Tags in the WordPress backend, then edit a topic tag and look at the url. You should see something like this. You can also hover over each edit link and look at the bottom left and see the same url appear. You will see tag_ID=(number).

    yoursite.com/wp-admin/term.php?taxonomy=topic-tag&tag_ID=4&post_type=topic&…

    To make it easier to find an ID of a post, tag, user, you can also install the Reveal IDs plugins to add a column to tables that show the ID.

    #178256
    Scopique
    Participant

    I am trying to get bbPress to work with a theme that doesn’t have support for/within bbPress, and can fake it using custom Admin-created pages and shortcodes, and would also like to know this.

    #178145
    Robkk
    Moderator

    Email address is required to post using anonymous/guest posting.

    In this stackoverflow topic, there is a php codesnippet/plugin you can use that might be helpful.

    http://wordpress.stackexchange.com/questions/131550/how-do-i-set-up-real-anonymous-posting-in-bbpress-forums

    #177781
    evanevans333
    Participant

    Oh my goodness! haha. That’s quite the coincidence, or is it? 🙂

    Regarding your widgets and shortcodes, yes I am aware, but prefer to use my current widgets. The ultimate problem though is how it’s writing information into the Activity Stream in BuddyPress without said information staying under wraps.

    Would you like to provide me a link to your support forum for your plugin (wow man, great job), and we can continue discussing these potential improvements to your plugin over there?

    Best,
    Evan

    #177775
    Robin W
    Moderator

    ok.

    I am the author of the private groups plugin, which I wrote to get over the limitations of bbpress. I have no relationship to bbpress, and can only work with what bbpress gives me, hence we end up with something that is ‘public’ and then using a plugin to make it private.

    …so those Activities are showing up in widgets and shortcode locations and archives as public information

    In the private groups plugin there are shortcodes and widgets that work with my plugin to hide stuff, go into

    Dashboard>settings>bbp private groups

    and look at the ‘widget warning’ and ‘shortcode warning’ tabs you will see the replacements.

    #177708
    Robin W
    Moderator

    @Robkk

    I usually do not say use a “forums page” as it is not recommended during setup

    1. Can’t see where it is not recommended -Indeed in dashboard>settings>forums it says “Customise your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.”

    2. There’s a massive difference between recommending something and saying ‘it is not recommended’ As far as I know bbPress is just neutral – either works fine.

    r083r7
    Participant

    I noticed that when you go to the root forum it displays all the forums to the user. Not a desired effect. I am using shortcodes and spreading my forums on different pages and some are only available to certain user roles. BUT if someone goes to the root forum they see it all.

    How would I prevent this from happening? Is there a way to maybe hide the root forum or possibly some other way to go about this.

    #177472
    Robkk
    Moderator

    @aviazz

    You already should have a way to view topics with no replies. By default bbPress has a feature called Views. It allows you to display topics with various different arguments. Topics with no replies should be one of the 2 default views which are Most popular topics and Topics with no replies

    You can link to the existing page using the Topic Views widget in your sidebar, or you can use a shortcode already provided by bbPress to display a view shortcode in a page and add it to a menu. You can also also instead add a custom link to a menu in the menus section in Appearance > Menus if you do not need to use a shortcode in a page.

    The widget is called the Topic Views widget that you will be able to see in Appearance > Widgets or you can manage your sidebars using the Customizer API in Appearance > Customize in the WordPress backend.

    https://codex.bbpress.org/features/widgets/

    The shortcode you would want to use is [bbp-single-view id='no-replies']

    https://codex.bbpress.org/features/shortcodes/#views

    If for some reason you may not already have the default view. See if its related to a theme/plugin function removing the default view by troubleshooting.

    Plugin Troubleshooting

    https://codex.bbpress.org/getting-started/troubleshooting/#plugins

    Theme Troubleshooting

    https://codex.bbpress.org/getting-started/troubleshooting/#themes

    If its not a theme/plugin issue we can check to see if its a possible bug causing an issue.

    #177469
    Robin W
    Moderator

    I’ve just added that capability to one of my existing shortcodes in my style pack plugin, so if you install

    https://wordpress.org/plugins/bbp-style-pack/

    and then see

    Dashhboard>settings>bbp style pack>shortcodes for a description of how to use it in detail, but

    [bsp-display-topic-index noreply='true']

    used in a page will get you what you want

    #177455
    smartIt
    Participant

    Hi,
    I created a forum, his id is 3569159-2 and it contains one topic.

    in this page of my website http://radiotounsi.com/?page_id=4862
    I tried to display this forum by using the shortcode [bbp-single-forum id=$3569159-2] but nothing is displayed, but other bbpress shortcodes work just fine like [bbp-forum-index] and [bbp-login]
    I switched the theme to twenty sixteen for testing purpose, same problem

    #177179

    In reply to: return to index

    Robin W
    Moderator

    ok that code looks like shortcodes used with your theme.

    suggest you switch back to your theme.

    can you post a link to your site?

    #177167
    Jake Hall
    Participant

    Hi,

    This is not an issue, it is a feature of the plugin you downloaded, installed and then enabled. That specific part of the plugin (the whitelist) is disabled by default, so you have enabled it yourself.

    Please read the text that is provided alongside the options in the plugin.

    The solution to this without editing the file is to simply disable the whitelist, or add the shortcodes that aren’t being displayed into the whitelist. You can do that within the ‘Extras’ tab.

    – The Plugin author.

    #177004
    Robin W
    Moderator

    2. Changing the titles

    The part that says ‘forum’ is harder – this is part of the template, so different title would require recoding that template. If you are up with changing php files, I’ll look at how easy that is

    However I suspect you have dome that layout using shortcodes? If so then you could just put a header in your page for each – not as neat but perfectly functional. If not let me know how you have done the layout.

Viewing 25 results - 376 through 400 (of 1,687 total)
Skip to toolbar