Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,726 through 15,750 (of 32,522 total)
  • Author
    Search Results
  • #115991
    aaclayton
    Participant

    Hey Jared, thanks for the reply. Unfortunately (perhaps due to misconfiguration on my part) these actions are firing on all site pages. Specifically I believe that bbPress is responsible for:

    link rel='stylesheet' id='bbp-child-bbpress-css'
    

    and

      /*  */
    

    I have bbPress configured to use theme compatibility base settings, upon which I am hand tuning templates within my theme directory. Any ideas why the child-css is getting called ubiquitously? The AJAX reference also showed up only after I installed bbPress, and I’m not convinced that it’s necessary…

    Any ideas would be great, thanks again. Andrew

    EDIT: Wow, I’m having a lot of trouble getting this code to display in blocks without getting stripped, so I had to throw in some unneccesary single quotes, but you get the idea…

    • This reply was modified 14 years ago by aaclayton.
    • This reply was modified 14 years ago by aaclayton.
    • This reply was modified 14 years ago by aaclayton.
    • This reply was modified 14 years ago by aaclayton.
    • This reply was modified 14 years ago by aaclayton.
    #115989
    Siobhan
    Member

    Mason and I started to come up with a task list after talking to John at WCNYC. Here’s what we came up with:

    Setting up and running your forum
    bbPress settings (I have some content for this somewhere – will add it as a draft)
    Customizing how bbPress works
    Useful plugins that extend bbPress
    Moderating and managing your forum

    We also had:
    WordPress User Roles and bbPress
    Getting Started with bbPress

    They are complete though.

    Since you guys are on the ground supporting bbPress users, what things in the docs would you like to see prioritized?

    #115966
    atomnet
    Participant

    Thanks to all,
    with this shortcode i see only my forum/post index and not internal post (image and text).
    I try this [bbp-single-topic id=$topic_id=name post] but with /%postname%/ dont works.

    Thanks again.

    #115963
    mrjarbenne
    Participant

    Since updating to bbpress 2.1 the Forum Index is blank (whether pulled up through http://domain.com/?post_type=forum, or with the shortcode), and the descriptions entered for each of the Forum posts are not showing up. When all of the forum topics are set to private, a user who is not logged in sees the dialogue “Oh bother! No forums were found here!” But once the user is logged in, that dialogue disappears, but none of the Private Forums appear.

    I’ve reset the permalinks in Settings and in the Forum slugs area, and tried the Repair functions as well.

    #115961
    Stephen Edgar
    Keymaster

    I’m not sure if I’m reading what you want correctly but is this shortcode what your looking for?

    [bbp-topic-index] – This will show the most recent 15 topics across all your forums with pagination.

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

    #115957
    aaclayton
    Participant

    Hi bbPress community,

    Thank you for all your collective hard work on this great plugin. I’m working on an integration of the new 2.1 plugin into my own theme, and I had a question about scripts and styles that bbPress enqueues into the wp_head.

    In general, for plugins which are highly localized on the site (ones that only get used in very specific places), I prefer to conditionally enqueue styles and scripts to keep the head section of the main site relatively clean. bbPress currently initializes the following code site-wide:

    /** Scripts ***********************************************************/
    
    add_action( 'bbp_enqueue_scripts',      array( $this, 'enqueue_styles'        ) ); // Enqueue theme CSS
    add_action( 'bbp_enqueue_scripts',      array( $this, 'enqueue_scripts'       ) ); // Enqueue theme JS
    add_filter( 'bbp_enqueue_scripts',      array( $this, 'localize_topic_script' ) ); // Enqueue theme script localization
    add_action( 'bbp_head',                 array( $this, 'head_scripts'          ) ); // Output some extra JS in the 
    

    Normally I’m fairly handy with actions and filters in my functions.php file, but I’ve had a load of trouble getting these scripts to conditionally enqueue. Ideally, I would want to condition them on is_bbpress(). Can anyone offer a snippet to filter these unless is_bbpress() is true?

    Thanks in advance, and let me know if my question is unclear in any way.

    Andrew

    #115950

    Here on bbPress.org, I used the forums shortcode, and used CSS to hide a few columns. I did not use bbp_list_forums(), which has a specific purpose outside of what you’re trying to do.

    #115938
    quiksilver189
    Participant

    Hello,

    I’ve seen a lot of talk on these forums about Anonymous posting, and I was wondering how easy/feasible it would be to have an anonymous posting system work like the following:

    Users need to register in order to post. They have their own username, password, etc. etc., but when they post their username doesn’t show up whatsoever to other posters. Guests CANNOT post at all, which is how this is very different from the previously used versions of Anonymous posting.

    I would hope it’d be fairly simple in the posting code, but I’m not experienced enough to know exactly what I’d do. In the simplest terms, whenever there is a post, remove the field that shows the Username of the poster. Similarly, in the Topic view, remove the username from that field as well. Is that possible?

    Any help would be greatly appreciated. Thanks!

    #115921
    Stephen Edgar
    Keymaster

    Currently available shortcodes are list with a brief explanation of each:

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

    WP Version: 3.4.1
    bbPress Version: 2.1.1
    Permalink Custom Structure: /%category%/%postname%/

    User Settings:
    Show Toolbar when viewing site – Unchecked
    Username (all small w/o spaces) – forumuser

    bbPress Login Widget is used to provide login box which displays user profile image as well as name of user with the link to its profile page:

    http://domain.dom/forums/users/forumuser/

    I am having problem in accessing the above user profile page. The error displayed on the page is:

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    However, if admin logins and goes to the url “http://domain.dom/forums/users/admin/” then bbPress’s profile page for admin is displayed correctly.

    What could be the problem? Can someone here help me to rectify it so that proper user profile of all respective users are displayed correctly?

    Thanks.

    #115916
    Anonymous User 5853594
    Inactive

    I think you can show the content of a single topic with the [bbp-single-topic id=$topic_id] shortcode in a post.
    Haven’t tried how exactly that would work, but it might be what you’re looking for.

    Stephen Edgar
    Keymaster

    No it wasn’t an auto reply to your post.

    I presumed what you were looking for is in point 4 of ‘Creating your first forum’ where you can define if a forum is a parent category or straight forum. In the case you were asking you simply create the forum as a forum and not a category.

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    > Adjust your Forum attributes. These are:

    > Types: choose whether you are creating a Forum or category.

    > Forum – can contain topics and be the parent of other forums.

    > Category – can only contain forums (no topics). Use for organizing your forums.

    > You may, for example, have a Category “Open Source Software” with the > Forums “bbPress” and “WordPress”.

    And yes forum wide search is planned for a future release

    • This reply was modified 14 years ago by Stephen Edgar.
    • This reply was modified 14 years ago by Stephen Edgar. Reason: quote formatting
    #115881
    Stephen Edgar
    Keymaster

    There are plans to improve bbPress’s moderation features.

    You can see whats planned thus far, contribute more ideas or even code here:
    https://bbpress.trac.wordpress.org/ticket/1721

    #115880
    Stephen Edgar
    Keymaster

    Create a page (or edit an existing page) and add the [bbp-topic-index] shortcode to that page.

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

    Stephen Edgar
    Keymaster
    #115856
    Stephen Edgar
    Keymaster
    #115851
    Anonymous User 5853594
    Inactive

    You could create a page and use the shortcodes to display the forum there. You can then set the page as home, instead of the blog (under Settings > Reading).

    From there you’ve got the forum index on the frontpage. You could create other pages to handle registration and other account related things.

    You’ll want to read through https://codex.bbpress.org/shortcodes/ for the shortcodes.

    #115850

    In reply to: author -> bbp_user

    Starejosel
    Participant

    It turned out that the solution was to use the WP htaccess Control plugin and use it to install a custom .htcaccess file with a rewrite rule
    (using the pretty url’s generated by the permalinks):
    RewriteRule author/([^/]+)/?$ http://yourspecificwebsitename/forums/users/$1/ [R=301,L]

    #115841

    In reply to: Index page

    viktora
    Member

    No John.:-) I was using multiple methods for displaying my forum just for testing purpose. Now, the status is that I do NOT have any page with shortcode. I just modified the Forum base slug to /discussion/. Suddenly the historical /forums/ forum base slug started to work in the way I expected and the new slug /discussion/ works in the same wrong way as /forums/ did before.

    Couple of questions:
    Why is the /forums/ slug working after it was modified in the admin area (forum base slug)? It should not be visible at all.
    Why is the new /discussion/ forum base slug ignoring page-front-forums.php file? Compared to the /forums/ slug which accepts whe template file ok.

    #115832

    Asking “where are the shortcodes” would have probably helped us help you.

    Asking Google for “bbPress Shortcodes” would have eventually gotten you there, too. 🙂

    #115831
    heyw00d
    Member

    You sir are the hero of the day.

    Does that exist anyplace here for a user to find or on some backend page of the plugin so it can be referenced ? If it doesn’t it should. Hours of frustration relieved by the right code.

    If i were a woman I’d offer to bear your children

    #115830
    Stephen Edgar
    Keymaster

    Try creating a page called ‘forum-test’ and add the shortcode [bbp-forum-index]

    #115828
    Stephen Edgar
    Keymaster

    I’m pretty sure this is what your looking for https://codex.bbpress.org/shortcodes/

    #115827
    Stephen Edgar
    Keymaster

    @Siobhan I like the idea of using bbPress for a docs task list

    @labsecrets Thats some pretty impressive stuff you got there

    #115821

    I’ll take it as a compliment that you’re lost in the simplicity if it all.

    If you go to Settings > Forums, you’ll see the slugs for where your forums and topics live. You’re free to change these obviously, and also free to manipulate the output with shortcodes or customized templates in your theme.

Viewing 25 results - 15,726 through 15,750 (of 32,522 total)
Skip to toolbar