Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,101 through 13,125 (of 32,585 total)
  • Author
    Search Results
  • #140724
    Stephen Edgar
    Keymaster

    bbPress might not have many settings but it does have this one ๐Ÿ˜‰

    https://codex.bbpress.org/forum-settings/#forum-features

    Topic Tags
    This will disable topic tags site wide and will no longer show topic tags associated with each topic or the topic tag input form.

    #140723
    Stephen Edgar
    Keymaster

    The ‘User Role Editor’ will not fix this issue, it has nothing to do with bbPress and will probably hinder your troubleshoot rather than helping.

    Have you tried running the ‘Remap existing users to default forum roles’ repair tool?
    https://codex.bbpress.org/repair-forums/

    #140722

    In reply to: BBpress Widget

    Stephen Edgar
    Keymaster

    As per https://codex.bbpress.org/widgets/

    You can set the forum/category ID in the widget but only a single ID at this stage.

    (bbPress) Forums List – A list of forums with an option to set the parent.

    Options:
    Title: Here you can set the title of the widget as it will be displayed in the sidebar.
    Parent Forum ID: โ€œ0โ€ณ to show only root โ€“ โ€œanyโ€ to show all

    #140713
    Stephen Edgar
    Keymaster

    Add some custom CSS to your theme:

    Eg. For the ‘Notรญcias’ forum

    #bbp-forum-709 .bbp-forum-topic-count, 
    #bbp-forum-709 .bbp-forum-reply-count {
    display: none;
    }

    Yes, that was spam, now deleted

    #140711
    BelleO
    Participant

    Hello everyone! Thanks in advance for your help,

    I cannot for the life of me figure out how to get my root forum page to show properly

    This is my site: http://www.ladiesbalance.com/forums/

    I have created a page title forum and inserted the code [bbp-forum-index],
    when i go the forum page, it works fine but in the breadcrumbs, the root page shows up incorrectly. I have tried changing the page name but that doesn’t work. Can someone help please! thanks

    #140710
    Stephen Edgar
    Keymaster

    But eventually I got rid of them all and the Topics display returned to normal.

    Still an odd issue but glad you have it sorted now. If you see this again a couple of screenshots would be great to try and work out what exactly is going on.

    I am not sure why Akismet didnโ€™t get block them. Perhaps it can only respond to certain language texts?

    Akismet handles any spam irrespective of the language in use or being used for the spam.

    Is your Akismet API key up to date and valid? /wp-admin/plugins.php?page=akismet-key-config

    #140703
    Josh Zandman
    Participant

    I’ve got it!

    I copied the bbpress.php file to my child theme.
    Copy/pasted my full-width.php code into the beginning of the bbpress.php code and it works perfectly.

    Thanks!

    #140702
    e-motion
    Participant

    Hi.

    I am still running bbPress v1.0.3. I have not upgraded it since due to complexity and lack of time. I am now all full at it.

    I am running a copy of my site locally (on WAMP2) due to obvious reasons.
    I have tried as per <fontadoni> instructions to update to v1.2, which was successful. Now I am trying to import everything to newest bbPress plugin (v2.5.2) via included import tool. What I get is:

    Calculating forum hierarchy (0 - 99)
    Converting forums (0 - 99)
    Starting Conversion

    And it hangs there (on hierarchy calculation). When I check the forums, I can see that forum categories are there, but no subforums, no topics and no users present.
    I do reset and recalculate everything before importing. I have tried various checkbox combinations …
    I was running bbPress integration btw (common users between wp and bbPress v1.2).

    help…

    #140701
    RyanSSealey
    Participant

    Site: http://dubiousdata.net/forums/forum/news
    WP Version: 3.8
    bbPress Version: 2.5.2

    I would like to modify the new post form that displays below the current topics in a forum. I was trying to do it with only CSS, but I have run into a problem.

    I want to remove the “Topic Tags” field below the body area. I initially tried with the following CSS:

    label[for=bbp_topic_tags],
    input[id=bbp_topic_tags] {
    display: none;
    }

    This removed the form and label themselves, but there is a <p> </p> tag around these with no Class or other identifier, leaving a noticeable space.

    What is the best way to accomplish this or modify the form?

    #140700
    Josh Zandman
    Participant

    Thanks for the reply.

    Do I copy the template code and paste it into the bbpress.php file? Or do I copy the template as a file and add it to a folder in the bbpress folder nested under plugins?

    #140685
    Stephen Edgar
    Keymaster

    Have you tried the ‘Remap existing users to default forum roles’ repair tool?
    https://codex.bbpress.org/repair-forums/

    #140683
    Stephen Edgar
    Keymaster

    Have you set the forum slug to forum? (i.e. the same slug as your page slug)

    https://codex.bbpress.org/forum-settings/#forum-root-slug

    #140682
    Stephen Edgar
    Keymaster

    A quick look at the source code…

    It should be convert on the topic admin links where you see edit,close,stick,merge,trash,spam etc

    #140680
    Stephen Edgar
    Keymaster

    Copy whatever template your theme uses for the full width template eg page-no-sidebar.php to bbpress.php in your themes folder ๐Ÿ™‚

    #140675
    Aqeart
    Participant

    I’ve been using WordPress for a long time but I’m new to bbpress. I’m trying to figure how to add sidebar to my forum so that users can login or check out the latest posts from the forum. Hence I’ve decided to create a page with -forum slug so It won’t overlap default -forums slug of bbpress. I added the shortcode [bbp-forum-index] to that page and edited. Everything was working fine until I clicked on any of the forums I created. It redirected me to a page with -forums slug and breadcrumbs was on the same direction, as if shortcode was just a decoy. Unfortunately, I wasn’t very successful at altering bbpress files as I wanted. My question is about those slugs. Is there any way to override bbpress’ own page system and force it to use the page I inserted the forum code.

    Thank you

    #140660

    In reply to: Forum Icons ?

    WPDragon
    Participant

    Hi @netweb – I am trying to do exactly the same thing with adding a small image icon next the Forum name.

    I tried to follow your CSS example, but im abit confused….Can you please help with how to get it working properly.

    Your Example:

    .bbp-forum-34 i:before {
      content: "\e112"; /* glyphicons_ */
    }

    So – .bbp-forum-34 <— this I change to the name of my forum id.
    – content: "\e112"; <— what is this & goes here?
    /* glyphicons_ */ <—- what is this & goes here?

    Any type of response would be appreciated! Thanks!

    #140645
    Aqeart
    Participant

    Thank you for this amazing addon.
    I’m sorry but I really don’t know how to get this code working. I tried to copy-paste the first github file to my bbpress-functions.php, however my website got crashed due to a string error. Can you please explain a beginner like me how to do that from scratch?
    Thanks!

    #140632
    Stephen Edgar
    Keymaster

    I’d suggest adding a tag ‘featured’ to the topics you want featured and then use the short code [bbp-single-tag id=$tag_id] to display a list of all topics associated with a specific tag. eg.[bbp-single-tag id=64]

    #140611
    Will Brownsberger
    Participant

    Stumbled into a solution for this.

    In this file:
    /public_html/wp-content/plugins/bbpress/includes/users/functions.php

    Comment out lines 34 and 35. Lines 33 through 35 as appearing in the original are shown below. Line 33 contains the comment from the original.

    33	// $url was manually set in wp-login.php to redirect to admin
     34	elseif ( admin_url() === $url )
     35		$url = home_url();

    Hate to edit the core functions, but it works.

    Please note: Running Theme-my-login Version 6.3.8, bbPress Version 2.5.1, WordPress 3.8.

    #140602
    dansearle
    Participant

    Hi,

    I’m running WP 3.8 with BuddyPress 1.9 and bbPress 2.5.1.

    I’m writing my own theme and I want to create a new WP user role, “Special Admin” which is a normal admin user but with restrictions that I’ve manually applied in my theme functions.php.

    What I now need to do is to give that user the KeyMaster rights for bbPress, but I can’t see how to do that.

    My site actually comprises 3 themes, and this user will use all 3, so to avoid code repetition I’m setting up the rights in a bespoke plugin I’m writing.

    I thought from reading the bbPress source that I could use the filter bbp_get_user_role_map to add. Here’s the code I’m trying:

    // Give the Special Administrator the Keymaster capabilities.
    
    add_filter('bbp_get_user_role_map', 'add_keymaster_to_special_administrator');
    
    function add_keymaster_to_special_administrator($role_map){
        $role_map['special_administrator'] = bbp_get_keymaster_role();
    
        return $role_map;
    }

    The problem is that the filter is never processed – I’ve thrown a die in there to check and it’s not being executed.

    Can anyone tell me what I’m missing?

    #140599
    jumpmobi
    Participant

    hi guys what code do i need to modify users profile url?

    its currently pointing to:

    http://mydomain.com/community-forums/forumusers/username

    i just need to change the format to point to:

    http://mydomain.com/membership-services/view-profile/username

    wouldn’t have thought it be difficult to change but been at it over 6hrs… cant find where or what changes to make, searched google and forums and see other people asking but nothing resolved…

    thanks in advance for any guidance

    cheers

    jay

    #140589
    Robin W
    Moderator

    Have you got a page associated with the forum?

    If not try creating a page called “forums” with a sidebar.

    This should work.

    If not try adding the following shortcode to that page

    [bbp-forum-index]

    You can also use a plugin called bbPress WP tweaks to add a specific forum sidebar

    #140585
    Stephen Edgar
    Keymaster

    Firstly, that field is the ‘Post ID’ and everytime WordPress creates a post, page or bbPress topic, reply etc this gets incremented. This issue could happen ‘if’ there were 100 edits to a WordPress post, page or bbPress topic etc, though I think you might have mentioned that if that was the case.

    I would suggest the quickest way to see what is going on would be in ‘phpMyAdmin’ and have a look at the wp_posts table and have a look at the ID field in this table, these will match the ID’s you mention above and then you can look at the id’s in betwwen those values and the other fields should give you an idea of what content is in those posts which will help you track down the issue.

    #140578
    bffnb
    Participant

    Hi, i need some help!

    I run my mainsite with frontend registration and frontend user profiles like: xxxxxxxxx.com/user/anyusername

    I also installed bbpress and ONLY ALLOW USERS TO REGISTER FROM THE MAINPAGE – mentioned above.
    I show the Forum in a page wiht the shortcode… the forum url is: xxxxxxxxx.com/forum/
    SO far it works great!

    My setting for the forum user profile slug is like that:
    xxxxxxxxxx.com/forum/mitglied/anyusername (“mitglied” is for “user” in german)

    My Question ๐Ÿ™‚
    In the users FORUM PROFILE page i have on the left site under the users Profile the menu links. The first of them links to the users FORUM PROFILE like:

    xxxxxxxxxx.com/forum/mitglied/anyusername

    Now i need the same URL LINK to the users MAINSITE PROFILE wich should be like:

    xxxxxxxxxx.com/user/anyusername

    IN …..bbpress/templates/default/bbpress/user-details.php it calls the url for the USERS FORUM PROFILE with this line of code:

    <a class="url fn n" href="<?php bbp_user_profile_url(); ?>" title="<?php printf( esc_attr__( "%s's Profile", 'bbpress' ), bbp_get_displayed_user_field( 'display_name' ) ); ?>" rel="me"><?php _e( 'Profile', 'bbpress' ); ?></a>

    How can i get the users MAINSITE PROFILE URL? (xxxxxxxxxxx.com/user/anyusername)
    I cant find anything in the bbpress and wordpress docs ๐Ÿ™ or im not intelligent enough to find a solution… i think to remove the slugs from the url is not possible to get a desired url structure for the link. I think there must be a other filter function for the users MAIN SITE PROFILE url…???

    I think i must mention this:
    I already managed to show the USERS AVATAR from the MAINSITE in the forum page with this code:

    <?php $user_info = get_user_by('id', $wp_query->query_vars['author']); echo get_avatar($user_info->ID, '150'); ?>

    The avatar call works great – hope it is possible to get the USERS PROFILE URL too ๐Ÿ™‚

    Thank you so much!

    #140565
    Subtopic
    Participant

    Hey guys. I am messing around with implementing Local Simple Avatars, and BBPress, and I have an issue. My Recent Topics widget, the picture of the user who recently posted something, that image is blurry.

    I have edited the code in firebug, and even when I expand the image, its still blurry.

    My website is http://www.subtopic.org check it out!

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