Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 751 through 775 (of 1,696 total)
  • Author
    Search Results
  • #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

    Jamie Marsland
    Participant

    When using shortcodes for topic index the pagination breaks

    Tested on 2 separate sites..the following one with 2014 theme

    http://www.pootle-band.co.uk/support/

    Any ideas?

    Jamie

    #148280
    Stephen Edgar
    Keymaster

    I’ve not looked at doing do that personally, I saw something recently on adding short codes to WordPress quicktags so you could explore that option (WordPress’ quicktags are the buttons you see here ‘b’, ‘i’ etc)

    Also take a look at the source of bbPress Shortcode Whitelist plugin to see their implementation, and see if you can adapt it for your own needs.

    #148278
    greenhoe
    Participant

    Thanks Stephan, is there a way to whitelist them manually? I code all the shortcodes myself and I prefer to not use plugins when possible and this seems like something I could do with out a plugin.

    Thanks

    #148269
    Stephen Edgar
    Keymaster

    No, you cannot use shortcodes within bbPress.

    This is more of a security issue than a technical issue, you don’t want users adding login shortcodes and the like into the content.

    There is a ‘bbPress Shortcode Whitelist’ plugin (It’s in the wordpress.org plugins repo) that will allow you to ‘whitelist’ a list of short codes so you can use the ones you approve.

    greenhoe
    Participant

    I was wondering can I use my normal worpdress shortcodes in bbpress? So my users could take say a certain query shortcode and post in the forums and allow it to work?

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