Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,251 through 16,275 (of 32,503 total)
  • Author
    Search Results
  • #113351

    You can use bbp_get_forum_last_active_id() to get the post ID of the latest topic or reply. From there you’ll have to use WordPress functions to get out what you need.

    (This, of course, is assuming you’re using bbPress 2.0 or beyond)

    #113320

    hi.

    Really need help with this :( i need to remove all old files and get new ones

    #44478
    engin1984
    Participant

    Hi. Is there any code to topic author profile link?

    Something like that: get_topic_author_profile_link

    I don’t want to use: “><?php topic_author(); ?>

    #44467
    Andrew
    Member

    Hi Folks, I’m hoping someone can point me in the right direction on where or what to modify.

    I’ve got BB press set up at the root slug ‘Forums’ and when I navigate there I get a list of the 5 forums I’ve created so far. The page title on that page is currently the last forum I added.

    SO the page display’s ‘Off the Mat’ as the page title in the h1 of the main content

    while below is a listing of 5 different forums (the last of which is Off the Mat).

    How can I modify that page title to be something like ‘Community Forums’ or similar?

    I understand I’ll need to create a plugin, and get a bit of bbpress code pulled into it and then modify it, but looking at the includes folder I really don’t know where to start. And once my plugin file is created it goes where?

    Thanks for any help you can give.

    chr313
    Member

    Hi everyone, I wanted to see if there are any shortcodes or code for displaying my favorites or for my topics started? If so I can just display them on a custom page. I’ve been all over the forums and cannot find anyone who has asked for this.

    Thank you for any help,

    Chris

    #113373
    Arion
    Member

    Sure.

    I have the Black Label wordpress theme on my site and as such it comes with a fullscreen background image option on every post and page. I bought this theme for this very reason. Now, when I plugged in bbpress, I had to use the shortcodes on the main forum page which was no problem but when I click on the forum or the topic links, I get sent to a page that instead of saying “edit page” in the admin bar, it says “Edit forum” or “Edit topic” and doesn’t allow me to set the background image.

    Now I looked into creating a default background image by changing some .css but this sets that image for ALL the pages, (page.php) and though it is overridden by the set background image in the theme, it isn’t pleasing to my eye to have one background image when you open and a second or two later have another one pop up on top of it. So I trashed this option.

    Did some research on how I can resolve this problem and found a previous thread here: https://bbpress.org/forums/topic/bbpress-20-shortcodes

    Needless to say that it interested me that I could create my own wrapper and have the forums and topics open up in a special page and have a set background for that page alone that won’t affect my other pages.

    Well, this is the skinny of my situation. I hope I gave you enough info this time, sorry for not doing it from the get go. Can I do this? Where do I change the default wrapper to my new one? I’m imagining it’s in the function sets. Or perhaps there is an even better solution to my situation. What do yo suggest Brandon?

    Oh, and thanks for your time :)

    #113303

    Happy to help, but I’m only one person; can’t do it all. It’s way more helpful to everyone (and the project) if you dive into the code and figure it out in your free time rather than relying on mine.

    Also, no reason to create one topic and point to your old one. It’s spammy. Closing this one.

    #106572
    wexler
    Member

    Getting the same issue as #smell-bag. Not sure why. Here’s what I’ve tried.

    Slug is set to: forum

    (went to WP screen options and [x] slug so that option became visible.

    I created a blank page and called it: Forum

    and added shortcode: [bbp-forum-index]

    I set Permalink to: http://mydomain.com/forum/

    Under WP settings/forum…

    Archive Slugs

    Forums base: forums

    Topics base: topics

    Single Slugs

    Forum Prefix [x]

    Forum slug: forum

    Topic slug: topic

    NOTE: I’ve tried combinations/permutations changing these settings and it seems to modify the breadcrumb link of the word: forum

    to something other than what my page points to.

    If I create the page with a permalink:

    http://mydomain.com/forum/

    then the breadcrumb URL for: forum(s) suggests it will link to:

    http://mydomain.com/forums/

    if I reverse it with the plural version (forums)

    then the breadcrumb URL becomes the singular format: forum.

    Suggestions?

    #113324

    In reply to: How to install

    – go to your WordPress admin backend

    – go to add new plugin

    – either search for bbpress plugin, or if you’ve downloaded the .zip already, go to upload tab and navigate to where you downloaded it to

    – press install now

    – activate it

    Then you get a new section in your dashboard – forums, topics and replies

    Off you go ;)

    #112446
    dpmcalister
    Participant

    Thanks, I’ll look into that :)

    #112888
    pimarts
    Participant

    As for the original post in this topic. You can simply hide them with CSS. Something like this should work:

    .bbPress #bbp_topic_tags, .bbPress label[for="bbp_topic_tags"], .bbPress .bbp-topic-tags, .bbPress label[for="bbp_forum_id"] {

    display:none !important;

    }

    #98947
    pimarts
    Participant

    Did any of you begging for this theme tried to mail the guy who runs css-tricks?

    Aside from that the CSS is all there, so if you know what you’re doing you could ‘easily’ code it together yourself.

    #111557

    This thread solved few of my doubts. Thanks @johnny-rocket :)

    #44242
    xspace1
    Member

    hi~ bbPress is really great and I do love it. however, when i transferred my wordpress to a new server. something bad happen.

    when I enable the bbPress, an error message shows up:”Warning: Creating default object from empty value in D:webwp-contentpluginsbbpressbbp-includesbbp-core-compatibility.php on line 84″

    I guess it has something to do with this code ‘$bbp->theme_compat->theme = $theme;’

    could anyone give me some instruction?

    the theme i use is the default Twentyeleven Century.

    thanks a lot in advance!

    #113357
    baldg0at
    Participant

    Here’s a real basic rundown of what I did.

    Add this to your theme’s functions.php file

    add_theme_support( ‘bbpress’ );

    Create a Child theme for your current theme — https://codex.wordpress.org/Child_Themes

    Copy the files from plugins>bbpress>bbp-themes>bbp-twentyten into your child theme folder.

    Go to your WP Admin and activate your child theme

    Edit the child theme as needed to match your site. You may be able to get by with just editing yourchildtheme>css>bbpress.css, but you can change any of the theme files to make the forums look however you want.

    kdoole
    Member

    Rather than hacking the core, you should put that code into your theme’s functions.php. That’s what apply_filters and add_filter is for!!!!!!!!!! :)

    Add this to your theme’s functions.php:

    add_filter( 'get_topic_title', 'strip_the_title_slashes', 20, 2);
    function strip_the_title_slashes( $title, $id ) {
    return stripslashes( $title );
    }

    add_filter( 'get_post_text', 'strip_the_text_slashes', 20, 2);
    function strip_the_text_slashes( $text, $id ) {
    return stripslashes( $text );
    }

    #113311

    i have thats the thing it saves all my forums and stuff after the reinstall :(

    #110711
    mextena
    Member

    Old custom built theme for BBpress. Most of the Automattic sites are just like that :)

    #113308

    Really need help with this :( i need to remove all old files and get new ones

    #113307

    How can i do a complete uninstall of bbpress?

    So i can reinstall and everything should work :O

    POS2012
    Participant

    I had built my own theme, but when installing the BuddyPress I did choose to use the default BuddyPress theme.

    I will probably edit my theme to work with BuddyPress. It says that I can go through a step by step edit of my theme, so I will try that :-)

    Right now I am wrestling the fact that I can not get it into my language. Yet…

    POS2012
    Participant

    Ok, I tested now on the test-server.

    Write my experience here for you who wonder yourself:

    I have Wp lasest installed

    I had installed and tested bbPress 2.1 the last week

    I now installed BuddyPress as a plugin and did the installation without activating the forum.

    Then did go back to the BP settings and activated site wide forums. Then voilá the forum was integrated part of BuddyPress.

    Way to go!

    I like :-)

    #112444
    dpmcalister
    Participant

    Sorry to “bump” this, but I was really hopeful that someone would be able to help :(

    lmoon
    Member

    Hi Everyone!

    How on earth do I get rid of the brackets that are at the end of every froum title line

    ie: General Chat about Moving/Settling In (1, 1)

    Viewers don’t know what there for, my client wants them removed and I can’t find the right line of code to do this.

    I would really appreciate someones help on this.

    THANK YOU :-)

    #112725
    POS2012
    Participant

    Is this a plugin I can test now, or “in the works”?

    :-)

Viewing 25 results - 16,251 through 16,275 (of 32,503 total)
Skip to toolbar