Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 751 through 775 (of 1,701 total)
  • Author
    Search Results
  • Robkk
    Moderator

    they use , the bbpress shortcode for the new topic form.

    [bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.

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

    create a page , lets say “new topic”

    add that shortcode, and save

    place an html link in loop-forums.php

    the link should look like

    <a href="http://sitename.com/new-topic/">New Topic</a>

    style it with css with

    a.bbp-new-topic-button {
    background:#009375;
    color:#fff;
    }
    #149719
    Robkk
    Moderator

    Hi Robin, so you don’t like feedback here? I seemed to have hit a sensitive nerve with you! I did try to make some positives as well as what I thought were honest concerns. I looked on the support forum and there were also other older threads with no replies, not just mine, If you can’t take feedback about what you do then I’m sorry to say you will never learn or grow. As for it been free, well I’m not going to go into a debate about that. But I believe there would be ways to make money out of this like here: http://www.packtpub.com/bbpress-complete-comprehensive-guide/book

    bbpress is open source , i dont think the community is going to try to make money off of something thats open source, thats probably why there is no ads on this site too.

    that book was just written by some guy thats not really affiliated with bbpress. Its like if i myself made a book of all that i know from reading all the documentation. (i dont work for bbpress, i am a volunteer )

    topics with no replies, people are busy , there is like only 2 official people that check out this forum occasionly , robin and stephen

    jjj might check out the forums though but he also works on wordpress core i think i am not sure.

    Other than that the others are volunteers like myself , which i am helping out people because robin helped out me , idk i feel i got to repay them somehow haha

    Your own layout looks promising, I hope it goes well.

    im on the fence if i should put it on github or not, i feel like i dont want people jacking my forums style sometimes

    As for examples

    Just any thing that looks like a forum:

    bbpress looks like a forum ,its just a really simple one.

    which is great because not all people need extravagant features, but if they want they can add wordpress plugins, and also custom functions that you may find on this forum.

    if we compare features in bbpress compared to other forum software there is not much of a difference.

    All i can see that is different is shortcodes on bottom, which i showed a user how to do in a topic before. using bbpress forum statistics shortcode, and the do shortcode function.

    forum icons, which is possible there is a function somewhere if you search this forum.

    category and hierarchy layout , if you search the bbpress trac people have shared how to do this if users want that specific layout.

    ip boards topic sorting you can create something similar using bbpress views in simple html links.

    and the rest is just styling with css, in the documentation it explains… go to this https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-2/

    #149473
    bm_kabin
    Participant

    Yikes I think I may have spoke a little too soon. Having done your recommended method, it doesn’t seem to isolate the changes made for the shortcode. I have removed the original modified file and created a duplicate named ‘content-single-topicb.php’. This corresponds with the change to line 335 in shortcodes.php with bbp_get_template_part( 'content', 'single-topicb' );.

    Any idea why it’s not working?

    #149467
    Robin W
    Moderator

    ok so if your code savvy, two approaches

    1. the hack

    I haven’t tried this, but it should work fine

    go into

    wp-content/plugins/bbpress/includes/common/shortcodes.php

    and look at line

    355 which says

    bbp_get_template_part( 'content', 'single-topic' );
    

    change that to

    bbp_get_template_part( 'content', 'single-topicb' );
    
    

    That will then get bbpress looking for a php file called ‘content-single-topicb.php’

    so then you can use the method in my first post to create that file in your theme ie as per first post, but just rename the file with a b at the end.

    YOU WILL need to change this each time bbpress upgrades as it will overwrite – hence why it is the hack ! But that’s hardly difficult !

    2. the proper way

    Would be to create your own version of the shortcode, by copying all that particular shortcode into your themes functions file, BUT renaming it (or you’ll get already loaded errors), and then lots of editing to get it to work.

    Personally I’d go route 1, and just make a note to change that file each time bbpress upgrades

    #149385
    Robin W
    Moderator
    #149381
    SAPinfoASAP
    Participant

    Hi,

    Is it possible to allow shortcodes in the forum? These shortcodes are not part of bbpress, but other wordpress plugins I have installed.

    For example one short code allows me to add an optin form, I would like to add this to the end of my forum post.

    Thanks in advance,

    #149294
    Pavle123
    Participant

    Stephen and Robkk, once again thanks for everything you do here.
    I will continue improving my bbPress and will post some codes once I´m done.

    #149262
    Herophantom
    Participant

    Thank you.

    I would also like to update, so after reading some more last night, I found the documentation on the short codes. I tried making a dedicated page and using the short codes to load the main forum index. Now this works in almost every way, including using the proper sidebar that I want, however, the search option at the top is now off set, with the button below the bar instead of next to it. I have been fiddling with the CSS for awhile to see if I can get it to align properly, but so far no luck. And now, even the page provided by the bbpress plugin is doing the same thing. So maybe I messed something up, or maybe I’m just missing something, but if I can get this solved, I will have a perfect solution.

    #149242

    In reply to: bbPress don't work.

    Pavle123
    Participant

    It would be useful if you could share the link or something.
    Have you pasted the forum shortcode on a page?

    Forums

    [bbp-forum-index] – This will display your entire forum index.

    #149145
    Robkk
    Moderator

    Amazing work man, thanks so much.

    your welcome 😀

    I need to figure out where to post each code in my theme,etc.

    Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?

    you copy bbpress templates into your child theme so its okay when bbpress updates, i explain exactly what template to copy and also i show you a snippet of where to put the code by the original code.

    you put custom css into anything that can handle custom css

    in bbpress.css in your child theme(you copy the original in your child theme)
    in your child themes css stylesheet
    the jetpack plugin module custom css
    a standalone custom css plugin

    #149133
    acornale
    Participant

    At the moment, I have a standard WordPress search box on the top of my page. It seems to return posts and pages but not bbpress forums or topics.

    I can use the bbpress shortcodes to display a forum search but I don’t want two search boxes.

    Is there a way to extend the native wordpress search so it returns posts, pages, topics and forums?

    At the moment, it seems I can search bbpress OR search wordpress posts / pages. I want to search both?

    #149132
    Pavle123
    Participant

    Wow @Robkk

    Amazing work man, thanks so much. I will need few days to set everything up.

    I need to figure out where to post each code in my theme,etc.

    Should I also put codes in bbPress plugin, or not? Since it might get deleted once updated, right?

    Jerry
    Participant

    Hi Robin. I’m on my way to the UK to support the Farnborough airshow, so I can’t access my home computer to replicate the error for another week. What I can tell you is; when I removed the switch_to_blog id input parameter and instead assigned a variable $cat to ‘post_parent’, and set $cat = $attr[‘id’];, I received no errors. I hard-coded to the blog site, then I can adjust the id to equal the forum id. So my feeling is that shortcodes cannot accept two inputs? If I’m wrong about that, then I will re-address this upon my return to the states.

    #149068
    Robkk
    Moderator

    For login and register you could create individual pages for login and registration , you could use the login and register form short codes by bbpress and put them in your pages or if you use theme my login or something similar that creates custom frontend membership pages use that. And put an HTML link to both pages above loop-forums.php or above the call of loop-forums.php in archive-forum.php

    Round avatar images use border-radius:50%; or something like that , you could probably right click inspect element target the avatar image and get the CSS code right off of quick sprout and put that in your custom css

    Unread posts you have to wait til its sunday (time I will be home to see my desktop)

    Stats at bottom you could use the bbpress stats short code , if you want it in your templates use the php do shortcode function with the bbpress stats short code

    I don’t know how the new thread button fuctions , but you could create a page let’s say “new topic” and link to it the same as the login/register buttons

    #149062

    In reply to: BBPress advise wanted

    Stephen Edgar
    Keymaster

    Cool, most of things you mention can be done, some are ready to go, others need a few tweaks and custom PHP code to achieve the results.

    1. create login in the wp home page for BBpress

    Create a WordPress page, set that as your home page, add the bbPress login/register shortcodes

    2. allow only offline registered members to be registered as BBpress users

    Not quite sure what you mean here, you can set your forums to ‘private’ so only logged in registered members can see or use the forums.

    3. enable/disable users, and hence their profiles

    This is more of a WordPress question than bbPress, if the member has an active and valid WordPress account then they can login. If you want to remove the user and their associated profile then you’d delete the actual WordPress user which inherently flows down to bbPress.

    4. allow users to create profiles with their filmography and perhaps a vimeo embed or two

    With a few minor tweaks/customisations you could achieve this, you may also want to take a look at BuddyPress’ Extended profiles which will let you do this also.

    5. can users have simple URLs for their profiles, like perhaps example.com/username?

    Yep, this is built in, here’s yours here on bbpress.org https://bbpress.org/forums/profile/parambyte/

    #149043
    Stephen Edgar
    Keymaster

    Create a page or two and use the bbPress shortcodes

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

    #148987
    Leonyipa
    Participant

    How to allow all users to use HTML codes, because at the moment, only keymaster can have access to all HTML tags.

    I would like to allow user to use this code:
    //<span style=”font-size: 36pt; font-family: impact, chicago;”>Pademelon</span>

    <span style=”font-size: 36pt; font-family: impact, chicago;”>Pademelon</span>

    #148931
    Robkk
    Moderator

    @leonyipa ok great on the youtube video width , at least the code is doing something

    there is probably another function on the web that i can direct you to if i find something that works on both height and width, so wait til i come back with a function that works for both

    if i give you a new function delete the old one

    paste codes into a child themes functions.php and style.css so that the code wont disappear during theme upgrades

    and dont edit the core files inside of bbpress
    copy those files into your child theme so you can be safe on bbpress plugin upgrades

    so copy bbpress.css to your child theme, if you dont have a child theme , make one they are great for customizing your bbpress install

    for more about customizing bbpress with css , plugins, and functions read this

    Step by step guide to setting up a bbPress forum – part 2

    #148891
    Robkk
    Moderator

    not sure but you probably have to set a max width for oembed embeds

    http://www.wpbeginner.com/wp-themes/how-to-set-oembed-max-width-in-wordpress-3-5-with-content_width/

    add the code to your functions.php in your child theme.

    change 600 to whatever number you want as the width, im sure you could copy the function to width to height and also do the height to.

    if the code doesnt work , look at the comments and try that user posted code. (i havent tried any of these codes so i dont know if they work really, if they dont just delete the function from your child functions.php)

    for images (using img quicktag) i think you can use css

    #bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
    max-width: 100%;
    height: auto;
    }

    for images (posted by link using oembed , imgur , flickr picture, instagram picture) the oembed code that i linked to should do the same for these.

    #148882

    In reply to: Topic Index Shortcode

    Robin W
    Moderator

    yes, I’ve started a plugin that does some different shortcodes, and at the moment one that does just that is all that’s in there

    bbp additional shortcodes

    #148852
    mattmatt88
    Participant

    I already have a multisite with subdomains:

    myurl.com
    page1.myurl.com
    page2.myurl.com
    page3.myurl.com

    Now I want, that the same forum content is used for every page.
    So the same forum should be available for every page:

    myurl.com/forum
    page1.myurl.com/forum

    For example, I’ve got a points system plugin that is multisite compatible (mycred).
    I just have to set it on the main page (myurl.com) and the points logs are the same on every page. That’s what I would need for the forum.

    Why I need it on every page and I’m not just linking to the main page forum:
    e.g. because I want to use shortcodes/widgets to show the user the most recent forum topics, doesn’t matter if he is on a subsite (e.g. page2.myurl.com/forum).

    Thanks a lot

    #148549
    pazis
    Participant

    After upgrading to bbPress 2.5.4, none of my topic contents are being showed anymore! The topic page loads and everything is visible but the topic content and replies! I use WordPress 3.9.1 and here are the list of my active plugins:

    All In One SEO Pack 2.1.7
    BackWPup 3.1.2
    bbPress 2.5.4
    bbPress Enable TinyMCE Visual Tab 1.0.1
    BuddyPress 2.0.1
    Capability Manager Enhanced 1.5.1
    CloudFlare 1.3.14
    Disable Feeds 1.3.1
    Dynamic Widgets 1.5.8
    iQ Block Country 1.1.10
    Membership 3.4.4.1
    myCRED 1.4.7
    Paid Memberships Pro 1.7.11
    Quick Chat 4.13
    Register IP 0.1
    Share Buttons by AddToAny 1.3.3
    Shortcodes Pro 1.1.5
    Shortcodes Ultimate 4.9.0
    Sidebar Login 2.6.0
    Sweet Captcha 3.0.8
    WordPress Google +1 Button – Advanced Plugin, Includes Redirection 1.9
    WordPress Importer 0.6.1
    Wordpress Poll 35.0
    WP-Ban 1.62
    WP Admin No Show 1.4.3
    wpMandrill 1.33
    WP SlimStat 3.6.4

    I tried disabling and enabling bbpress plugin and resubmitting settings, but none fixed the issue. I don’t know how to fix it!

    #148377

    In reply to: Forum index

    Robkk
    Moderator

    @dottedpixel

    could you highlight what you want exactly

    cause im not sure what you want , the way the forums itself display?

    or the links above the forum that display each forum name? <–thats really easy

    you could probably do the other thing with shortcodes

    #148369
    Stephen Edgar
    Keymaster

    Do you know why this fixes the pagination issue when using shortcodes and partnering with a page?

    No 😉

    I’m not sure what is going on there, I’ll dig around a bit further and see what I can come up with, it should work for any combination of use cases though once you start adding two shortcodes per page it looks like bbPress may have an issue deciding which shortcode to honour the pagination for.

    #148368
    Jamie Marsland
    Participant

    Hi Stephen,

    Thanks for the in-depth reply 🙂

    It looks like I’ve fixed it by selecting “Forum root should show – Topics by freshness”

    Do you know why this fixes the pagination issue when using shortcodes and partnering with a page?

    Thanks very much for your help!

    Jamie

Viewing 25 results - 751 through 775 (of 1,701 total)
Skip to toolbar