Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'codes'

Viewing 25 results - 901 through 925 (of 1,687 total)
  • Author
    Search Results
  • #139725

    In reply to: Custom BBCodes?

    Lynq
    Participant

    I know this could be tedious, but how about setting up some wordpress shortcodes for the relevant BBCodes?

    This could work: https://codex.wordpress.org/Shortcode_API

    Good luck!

    #139680
    matrixino
    Participant

    Hello, after importing from a phpBB forum where I had custom BBCodes I have the problem that they are not changed in actual html.
    I would like to know how can I implement such custom bbcodes in my bbpress installation.

    I did some tries making a custom plugin with something like this inside (this is just an example):

    function bb_table_replace( $text ) {
    $text = preg_replace('/\[tabella\](.*?)\[\/tabella\]/ie', "<table>$1</table>", $text);
    return $text;
    }
    add_filter('bbp_get_reply_content', 'bb_table_replace');

    But I had no luck. It seems however to find my regexp pattern but its replace is wrong, it’s made after the matched pattern (adding to it, instead of replacing).

    Any help?

    #139349

    In reply to: change forum sidebar

    Robin W
    Moderator

    Ok.

    I’d suggest you create a page called “forums” and put the code

    [bbp-forum-index] in it

    You can then style this page to have no sidebar

    Otherwise with widget logic, you would still have a sidebar, but could alter what is displayed in forums and your blog. As stated above, just add a widget to your sidebar, and use the codes above in the widget logic box

    #139252
    cjcampbell121
    Participant

    When looking at the settings, I see that I can “customize” the forum index with shortcodes. I did that, and when its just its own page, then it works. When I try and change the settings to display that page as the forum index, it overwrites it with a weird looking search result instead of the index.

    All I want it to do is to display the forums that I have, and to be the forum link that is displayed when you go into a topic.

    Here is the default root:

    Here is the page with the shortcode (and not yet assigned to the forum root):

    Here is the forum root changed (with the same page):

    #139242

    In reply to: Pending Topics Show

    shearamariz
    Participant

    Oh.. I see.. I thought this was implemented already. Thank you for your help Stephen.
    I’ll paste my codes here if ever I made it. πŸ™‚

    #139238

    In reply to: Pending Topics Show

    Stephen Edgar
    Keymaster

    No, there isn’t, the shortcodes included with bbPress -> https://codex.bbpress.org/shortcodes/

    You can append ?view=all if you are a moderator or keymaster in various places though.
    http://example.com/forums/profile/username/topics?view=all
    http://example.com/forums/forum/myforum?view=all

    #139228
    Robin W
    Moderator

    Create a page, and put the following shortcode in it

    [bbp-forum-index]

    or if you want to get more specific then look at all the shortcodes

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

    #139140

    In reply to: Layout errors and 404

    Robin W
    Moderator

    Yes, create a page called say “foumsd2 and put the following shortcode in

    [bbp-forum-index]

    There’s a full list of shortcodes at

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

    #139135
    CouponCodePlugin
    Participant

    Hello, I have installed bbpress and added a forum and topic.
    WordPress and BBPress are both the latest version.

    The forum shows in a really odd way with items stacked on top of each other.
    http://imagphoto.com/forums/forum/new-forum/

    Secondly, the breadcrumb link to the forum results in a 404 http://imagphoto.com/forums/forum/
    Yet the parent link in the breadcrumb works http://imagphoto.com/forums/

    Is it possible to use pages and the shortcodes to have the forum within a page so that I can control the settings of the page and maybe dump the sidebar to see if that corrects the issue? I checked the documentation but could not see anything about this specific issue.

    Many thanks for your help πŸ™‚

    #138965
    Robin W
    Moderator

    ok, lets try doing a repair on the forums to see if they’ve lost the relationship somewhere
    Dashboard>tools>forums

    I’d work my way down the first 6 – maybe one at a time to ensure you don’t get hours of spinning discs.

    The code you provided to protect does have a section where it is working out whether to show a post, topic or reply, and the code for each is slightly different (starts at around line 40). I’m not good enough ton validate this code, but if you’re still stuck, always worth contacting the codes owner to see if they can help

    #138822
    RB2108
    Participant

    Hi .. As a volunteer, I’ve created and run a website for a local dental charity http://www.dentaid.org which uses WordPress and a custom theme. The charity have asked me whether its possible to add a forum within the existing site to allow the dental volunteers who go on organized trips to developing countries to get together before the expeditions and discuss topics, ask questions of the organizer etc. Clearly bbPress is a natural candidate for this but having spent a few hours searching the web, I’m not 100% sure of the right way to proceed (and of what I’ve read, there seems to be several different ways to implement bbPress .. maybe depending upon the level). I would like the forum to work as a self-contained subsystem within the existing web site with one entry URL (www.dentaid.org/forums) which can be added to the nav bar and maintaining the existing header/nav bar and footer, so using the one column full screen width content for bbPress. I think that bbPress will need it’s own styling as I’m sure that the existing style.css won’t be optimal for forums.

    I’ve tried putting bbpress shortcodes into new pages as recommended in some of the web articles but although it appears to work, the styling is not ideal and functionally it seems very basic. What I’m aiming for is to put something like the bbPress forum page that I’m using right now into the content of a page on our website while keeping the rest of the website exactly asis. (I would also like to allow new folks to register and/or existing users retrieve their lost passwords from within the bbPress ‘subsystem’ i.e. provide complete forum functionality from within the bbp system.

    Any help as to how I go about this would be much appreciated as the charity have decided that this is an urgent requirement for a trip to Uganda coming up soon and I don’t want to go off at a tangent and waste a whole load of time climbing the learning curve. At the moment, I’m confused as to whether I should be using widgets, creating child themes, using shortcodes with my own pages or anything else.

    Pointers to web pages, documents, videos or just some good old-fashioned advice will be very welcome.

    Thanks in anticipation.
    Ron

    #138706
    connielk
    Participant

    That’s the Forum Root Slug. As set under Settings, Forums.

    Forum Root Slug

    Customize your Forums root. Partner with a WordPress Page and use Shortcodes for more flexibility.
    Forum Root=forums
    Forum Prefix=Checked Prefix all forum content with the Forum Root slug (Recommended)
    Forum root should show=Forum Index

    The page with the shortcode is:
    redhorsecrm.com/forum

    #138521
    RealitiesCrossed
    Participant

    I’ve got the bbPress post toolbar plugin installed to bbPress on my WordPress site, which is a private roleplay site for myself and a couple of friends…but two out of the current three of us are feeling a bit OCD about the arrangement of the smilies.

    We have emotes I have created and/or some I have gotten permission to use that represent each character we play with, a full range of emotions, hug emotes etc. for each character, which right now is probably 60 odd smilies, all characters combined.

    I have worked out how to arrange the names of the smilies in the package-config file to keep the characters relatively organized, but I’ve tried adding line breaks between each of the character sets and all that does is break the entire website down until I remove them, I can’t seem to edit package-config outside adding new smilie codes without crashing the site…but what I would love to know is this:

    Is there a way that I can insert line breaks or separate the smilies into tabs somehow by character rather than having them all smushed into one big group?

    edit: WordPress 3.6 and bbPress 2.3.2 are running on my site, I haven’t gotten around to the WP update and refused to upgrade bbPress because a plugin I was using was incompatible with the new version and I didn’t wish to break it.

    #138484
    Stephen Edgar
    Keymaster

    [bbp-topic-form forum_id=$forum_id] – Display the β€˜New Topic Form’ for a specific forum ID
    https://codex.bbpress.org/shortcodes/

    So if the forum you want has an ID of 341 use [bbp-topic-form forum_id=341]

    #138465
    Stephen Edgar
    Keymaster

    Apologies, snow & under are a couple of terms that come to mind.

    I just imported your data into a clean MySQL database and everything imported correctly.

    (The one side note is a couple of BBCodes, [align & [flash weren’t converted to WordPress ‘safe’ HTML, but that is another issue.)

    Where to from here I am not sure as ‘your’ content appears fine at my end and isn’t causing the importer to miss/fail etc.

    I think the next step would be for you to try this on a local install:
    MAMP if you use Mac http://www.mamp.info/en/mamp-pro/index.html
    XAMPP if you use PC http://www.apachefriends.org/en/xampp.html

    Setup and install WordPress & bbPress in this install.

    Export your entire phpBB database and import it into your local setup and give that a go.
    https://www.phpbb.com/kb/article/transferring-your-board-to-a-new-host-or-domain/

    My theory here is there could be ‘something’ going on with your web hosts configuration and if the local import works we can then export this data from WordPress on your local host and then import this into your remote host.

    #138269
    aukesch
    Participant

    OK, now I would like to change something in the template of the shortcode. Does anybody know where I can find these?

    #138265
    aukesch
    Participant

    AFter 1 hour searching i found it 1 minute after posting this question….
    <?php echo do_shortcode(‘[bbp-topic-index]‘); ?>

    thanks anyway

    #138264
    aukesch
    Participant

    Does anybody know how I can use a shortcode outisde a page or post?
    Im not that much of a code reader…

    I need a some code to add to the shortcode or the “sourcecode”.
    (to add a forumpart to a .php file)

    Thanks!

    #138212
    #138209
    Stephen Edgar
    Keymaster

    Also updated the codex to reflect the correct shortcode syntax https://codex.bbpress.org/shortcodes/

    WPSeeker
    Participant

    Hi

    I read in the docs that you can now specify a forum to post to using the shortcodes without having to use the dropdown forum selection.

    I tried using this shortcode but it doesn’t seem to work and I still get the dropdown.

    [bbp-topic-form id=544]

    I want to load a form to create a new thread but have the forum hardcoded.

    Thanks

    #138180
    elitetester
    Participant

    If a user makes a nice forum post I would like to be able to choose to post this single topic into a WP post/blog of categoryX. If I see another nice forum post then I would like to be able to choose to post this single topic to the same, or perhaps a different WP post/blog under categoryY. All video/images etc should be presented in WordPress as it would appear in the forum.

    I’d like to see the topic content appearing as an article rather than a forum topic: No reply window shown even if logged in, instead show ‘number-of-replies’. No avatar, just a short comment ‘posted-by-xxx’. The topic title and ‘number-of-replies’ links the user to the respective forum topic in the main forum view.

    ————-
    I was thinking this might be possible using shortcodes. e.g. create a new shortcode based on ‘bbp-single-topic’ (perhaps called ‘bbp-single-topic-post2blog’). Then add a drop-down-list beside each forum topic only visible for admins. The drop-down-list includes all WP posts/blogs. After selecting a WP post from the drop-down-list the shortcode and respective topic-ID gets added to the bottom of the WP post content.

    What do you think? I have quite a clear picture on how this should work.
    If this is possible I would be happy to test it.

    Jgonl
    Participant

    I use a fairly easy.
    I think the issues but did not give a parent forum.
    The call with shortcodes and thread id.

    Also add this in the theme functions, which deletes the search path, so that it is more beautiful

    function mycustom_breadcrumb_options() {
    // Home – default = true
    $args[‘include_home’] = false;
    // Forum root – default = true
    $args[‘include_root’] = false;
    // Current – default = true
    $args[‘include_current’] = true;

    return $args;
    }

    add_filter(‘bbp_before_get_breadcrumb_parse_args’, ‘mycustom_breadcrumb_options’ );

    #137909

    In reply to: Landing page issues

    benjito
    Participant

    Thanks for this. I have had a go this morning and tried adding a bbpress.php duplicate of several different files (index, post, page..) none of which seemed to make a difference.

    Apparently the Customizr theme structure is a little complex and the theme is split in parts, i can’t say i understand all that much but that seems to be the problem!

    At least for now i have gone with a function which removes the “forums” breadcrumb and prevents linking to that page which i have replaced with the static page containing shortcodes.

    #137863
    mcartur
    Participant

    You are right niuserre, let me apologize,

    As far as I am aware, we are not using shortcodes (we have not created any page for showing the forums but using directly the templates and urls filled on the settings).

    I am working with a tweenty twelve child theme. My wordpreses version 3.6.1. My bbpress: Version 2.4 localized to spanish.

    The exact issue is that whenever I try to edit a written post, raw html appears in the text area for editing. The html that appears is not only the one corresponding to the content of the reply i would like to edit.

    It comprises also the breadcrums and much more tags and content of the page. Exactly inside the editor appears all the content inside the <div class=”entry-content”> tag (this element is the parent of<div id=”bbpress-forums”>).

    I do not what that can be related with…

    Thank you for your time,

Viewing 25 results - 901 through 925 (of 1,687 total)
Skip to toolbar