Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,901 through 10,925 (of 32,511 total)
  • Author
    Search Results
  • #150739
    Stephen Edgar
    Keymaster

    Cool, thanks for kicking this off 🙂

    Lets start with the layout structure and a “Table of Contents”, I added these recently and these are a good place to start and closely match not just the BuddyPress Codex layout guides but also much of WordPress also (Links to these below).

    Getting Started, Theme Development ,Plugin Development, Participate & Contribute and Developer Resources

    The Codex is now fully setup with an ‘Automated Table of Contents’ sidebar, see this section on how to acheive this, also the “breadcrumb” will also ‘sync’ up with this table of contents structure.

    For now ignore the ‘related posts’, these should also update based on the table of contents plus we are going to move the functions from their current location in the codex, I’ll detail those plans later.

    Links to topics on the forums for each section/page of the codex is a great idea, we can do this fairly easily. 🙂

    The ‘About’ page is part of the blog, the categories are the categories of the blog posts on the site and this is an automatically generated list, same with tags. Also many of the visible (and there are many not visible) of links from the ‘About’ page is from before we had the codex setup, thus much of the content throughout those links is either duplicated or redundant. A third set of duplicated content is our Trac home page https://bbpress.trac.wordpress.org that we need to redo and sync up with the same content (or at least links) to the correct content on the bbPress codex. A fourth location will be the actual source code of bbPress which primarily is on the plugin homepage https://wordpress.org/plugins/bbpress/. The fifth source would be basically identical to the fourth though is contained in a separate file and that will be for the plugin homepage on GitHub https://github.com/bbpress/bbpress.

    BuddyPress has a Google Docs “Table of Contents” here and I have just forked and edited that spreadsheet for us here on bbPress. I have set the permissions so anyone with this link can edit the spreadsheet, with some luck it won’t be vandalised, if this happens we can change this setting to “edit only” for verified editors.

    Before we change any of the existing URL’s for documents in the codex (e.g. Moving the FAQ into the “Getting Started” section) we will need to make some redirects behind the scenes so existing links will be forwarded to the new links.

    A good place to start would be extracting the sections from the awesome guides Robin has already contributed to build up our “Table of Contents” and once we are happy with what we have for starters in the “Table of Contents” we can then start updating the actual codex pages.

    A few references where we can reuse content and build up our table of contents can be found throughout existing WordPress and BuddyPress projects:

    BuddyPress Codex


    https://make.wordpress.org/core/handbook/
    https://make.wordpress.org/support/handbook/
    https://make.wordpress.org/docs/tag/handbooks/

    Project Status

    Venutius
    Participant

    If a participant copies and pastes text from lets say a post and inserts it into a forum topic, while editing it all looks good, but once the topic is posted, then the formatting text is displayed as text.

    Is this normal behaviour or is it a sign of another conflict?

    #150731
    Stephen Edgar
    Keymaster

    You what want the plugin to add the button after the reply content, if you can hook it use bbp_theme_after_reply_content or you can modify loop-single-reply.php and add it after <?php do_action( 'bbp_theme_after_reply_content' ); ?>

    See this to get started on modifying bbPress templates so you don’t lose your changes after bbPress updates https://codex.bbpress.org/theme-compatibility/

    #150718

    P.S. A few consecutive Apache log lines – note how the number in bytes delivered changes:

    1.2.3.4 - - [12/Aug/2014:20:00:09 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 74091
    1.2.3.4 - - [12/Aug/2014:20:00:15 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 74091
    1.2.3.4 - - [12/Aug/2014:20:00:32 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 74091
    1.2.3.4 - - [12/Aug/2014:20:01:07 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 74091
    1.2.3.4 - - [12/Aug/2014:20:02:28 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 39159
    1.2.3.4 - - [12/Aug/2014:20:02:36 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 74091
    1.2.3.4 - - [12/Aug/2014:20:03:48 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 39159
    1.2.3.4 - - [12/Aug/2014:20:04:30 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 39159
    1.2.3.4 - - [12/Aug/2014:20:04:39 -0400] "GET /forums/topic/updraft-migration-issue/ HTTP/1.1" 200 39159
    #150717
    Jimi Wikman
    Participant

    Ok, I’ll make a brief post regarding the documentation section and navigation in general so we can start discussing those areas.

    The documentations section have a few issues and I think the main issue is that it does not have a uniform navigation. By that I mean that depending on where I end up in the codex, I get different sidebars with different content. This confuses the hell out of me, especially since the very anonymous breadcrumb always refer back to the codex home and do not show me where I am in the hierarchy of things.

    To make this easier there should be one sidebar for all areas of the codex along with a search function.

    The related links is confusing as well as they do not seem to have any connection to the topic or page I am at. Instead they seem to be a bunch of topics in the codex in general or perhaps from a specific section/category? Either way if I want to learn more about bbp_forum_post_count I don’t think it’s very likely that a topic about bbp_breadcrumb will improve my experience. These should be removed from the sidebar and added in context with the content and as part of the sidebar navigation hierarchy.

    One other thing I find strange is that neither of these pages have discussions, either in the form of comments or to a dedicated thread on the forum. By not having that it’s more difficult for the users to express if the information is confusing and lacking in some way. Essentially the content becomes dead and will most likely see very little in the form of improvement.

    When it comes to navigation in general I still find it strange that there are no breadcrumbs below the main navigation. A lot of people will end up on different pages when they enter the website and regardless of where you end up you should always know the context the page you are visiting in relation to the overall navigation, especially on a website with so much content that is spread out in different sections.

    I also think that the main navigation look vague and while I appreciate the little bee image it does not help with the visibility of the navigation. I first thought something was wrong with my screen since I noticed the figures that looks superimposed until i realized it’s just a background image. I would say keep the bee, but remove the white traces and the background image, then make the fonts larger for the navigation.

    The navigation itself seem to not be in order with what I would suspect people are looking for. I might be wrong, but I doubt people come here looking for the blog before support or that downloads are the least sought feature? It would make more sense to have support right after “about” and depending on how you want downloads to be handled it would either be the most important item so it would be added last with the CTA or as the second navigation after about.

    ..and i’ll just end with a question regarding the about page: do you really feel that the categories in the sidebar is a good representation on what you have written in this section? It looks a bit strange that you have items such as “i18n” in the category of the about us and then you have added an inline content box with the actual content of the about section. I would love to hear the meeting where that was decided and the discussions on how that would make it easier for the visitor to find relevant information about BBPress 😉

    #150715

    I recently installed bbPress 2.5.4, and imported a load of data from a Mingle Forum install.

    All seemed to be going well…

    Unfortunately, sometimes when forum pages (pages under the /forums/ hierarchy) are loaded, there is the content; sometimes they are blank.

    It’s not a PHP fatal error, or out-of-memory: no PHP errors are logged, and the HTML delivered is complete right down to the closing /html; it’s just that the section where there should be bbPress content is empty.

    I’ve tried setting up pages that use shortcodes to display the forums instead – and these pages *always* work. It’s the pages that are going through the permalink structure which sometimes work, sometimes don’t.

    There’s no apparent pattern I can discern in when it works and does not. I just hit “reload” lots of times – and sometimes it works, and sometimes doesn’t. The only pattern is that when it flips from not working to working, or vice-versa, then it tends to stay that way for a few reloads – across browsers too.

    I’ve tried re-saving my permalink structure, several times – this makes no difference. I put an mu-plugin which always called flush_rewrite_rules() on every page load; no difference.

    Example URL: http://updraftplus.com/forums/topic/updraft-migration-issue/ – try reloading a few times, and/or waiting a few minutes, and see the result change.

    Example of things not working: http://snag.gy/Sr9eX.jpg … so, I hit reload a few times, and then it works: http://snag.gy/BzTAA.jpg

    Also: my /forums/ page has other text at the top (i.e. text entered in the textarea when editing the page in the WP dashboard). When not working, none of that text is displayed either – i.e. not just the forum index is missing, but everything.

    Currently, the HTTP server is set up to redirect requests to /forums/ and to the forum index so that they go to pages which use shortcodes. But, the topic links are always linked by the resulting output into the sometimes-works, sometimes-doesn’t permalink structure.

    Anyone got any ideas? Theme: Pagelines. WP Super Cache is installed, but there is no cacheing of /forums/ or anything beneath (confirmed that this is working by searching in wp-content/cache/).

    Many thanks,
    David

    #150702
    Nelinfo
    Participant

    Good evening!

    There is a desire to put a “button” plugin LikeBtn (http://likebtn.com/en/) within the forum bbpress (see. Wallpapers)
    What will advise?
    How to find the place where to insert the code <? Php likebtn_comment (); ?>

    Here’s a link to the material: http://bludagu.ru/forums/topic/%D0%B…7%D0%B0%D1%8E/

    Denis

    Картинка

    #150699

    In reply to: Help with styling css

    Robkk
    Moderator

    look at the bbpress default stylesheet , then look at your stargazer child themes bbpress stylesheet and see what you need.

    heres some code that you might need …i dont know right all that you need

    #bbpress-forums div.bbp-reply-content {
    margin-left: 130px;
    padding: 12px 12px 12px 0;
    text-align: left;
    }

    #bbpress-forums div.bbp-reply-author {
    float: left;
    text-align: center;
    width: 115px;
    }

    #150697

    In reply to: Text Color and Font

    desiamerican26
    Participant

    @robkk

    that’s ok friend. you already been helping a lot….If you can or someone else can help with this…..
    I myself trying to figure this out too

    add_filter( ‘bbp_kses_allowed_tags’, ‘ntwb_bbpress_custom_kses_allowed_tags’ );

    function ntwb_bbpress_custom_kses_allowed_tags() {
    return array(

    // Links
    ‘a’ => array(
    ‘class’ => true,
    ‘href’ => true,
    ‘title’ => true,
    ‘rel’ => true,
    ‘class’ => true,
    ‘target’ => true,
    ),

    // Quotes
    ‘blockquote’ => array(
    ‘cite’ => true,
    ),

    // Span
    ‘span’ => array(
    ‘class’ => false,
    ),

    // Code
    ‘code’ => array(),
    ‘pre’ => array(
    ‘class’ => true,
    ),

    // Formatting
    ’em’ => array(),
    ‘strong’ => array(),
    ‘del’ => array(
    ‘datetime’ => true,
    ),

    // Lists
    ‘ul’ => array(),
    ‘ol’ => array(
    ‘start’ => true,
    ),
    ‘li’ => array(),

    // Images
    ‘img’ => array(
    ‘class’ => true,
    ‘src’ => true,
    ‘border’ => true,
    ‘alt’ => true,
    ‘height’ => true,
    ‘width’ => true,
    ),

    // Tables
    ‘table’ => array(
    ‘align’ => true,
    ‘bgcolor’ => true,
    ‘border’ => true,
    ),
    ‘tbody’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘td’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘tfoot’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘th’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘thead’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    ),
    ‘tr’ => array(
    ‘align’ => true,
    ‘valign’ => true,
    )
    );
    }

    #150695

    In reply to: Text Color and Font

    desiamerican26
    Participant

    @robkk

    ehh I been trying this code last few days….I am not sure if this is what I did was right?
    Should I post the code here for you to see and check if it’s right?

    #150691
    Robkk
    Moderator
    #150686

    In reply to: Help with styling css

    gogitossj34
    Participant

    Ok, added in !important worked.
    Do you know what can help moving the avatar and name to the left and comment to the right like normal bbpress ? Or maybe just the code so that I can edit it myself.

    #150685

    In reply to: Help with styling css

    Robkk
    Moderator

    i guess this might work.

    li.bbp-header ul.forum-titles li.bbp-forum-info a.bbp-forum-title {
    color:#fff!important;
    }
    #150678
    desiamerican26
    Participant

    I also have Simple Meta Tags plugin and I just cheked that I have a code which I don’t think is right under my editor section….I been testing all of these but not a good result….

    #150676
    desiamerican26
    Participant

    Hello friends,

    There is an issue that I been encountering on my website while posting on facebook. It doesn’t show the image when I post on FB, but when I use the Facebook Debugger and scrape new info through it, then it works fine. I am not sure why it’s acting like that.

    I do have some plugins that might be causing the issue. I have Shareaholic Share but I deactivated the Meta Tags under that and then I have Facebook OGP, WordPress SEO

    Is there a way to have a better link posting on facebook or any social site without having that issue? Or some code that will work perfect without plugins or anything?

    Please help.

    Thank You
    Regards,
    Nik
    My Website: http://www.desi-american.com

    #150666

    In reply to: My impressions so far

    pfswss
    Participant

    Jimi, I was also disappointed when I installed BBPress and found it to be very unlike a forum I had known in the past. Out of the box it is too simplistic with several themes I tried it with. I just wanted a forum look but this does not seem possible unless you hire developers or are a really good coder with loads of time.

    I do appreciate the effort of the developers as an open source software. unfortunately I had the wrong impression from reading reviews of several wordpress solutions as they all pointed to this one as the best. To be blunt I would not like to try the worst ones.

    I have had a lot of issues, many plugins are not compatible and I still have nothing that looks remotely like a normal forum. I actually just searched to how to enable PM’s and that is when I found this post and another which says basically you need to install the Buddypress which is an overkill it seems.

    I do hope that BBPress will eventually cater to everyone’s needs but sadly I think I have to look at another solution and revert back to my PHPBB forum form 2 weeks ago. Then I will consider going with IP board or Vbulletin.

    Jimi, can you tell me why you stopped using IPB?

    #150665

    In reply to: Help with styling css

    Robkk
    Moderator

    if you mean like this http://thefastdiet.co.uk/forums/

    follow this topic https://bbpress.trac.wordpress.org/ticket/1958

    and read tharsheblows posts and take his code

    or read Bob1nz and go to his pastebin links and take his

    #150654
    Stephen Edgar
    Keymaster

    Oh! Looks like my bad, replace get_template_part('content'); with <?php the_content(); ?> 😉

    #150653
    Stephen Edgar
    Keymaster

    Oh! Looks like my bad, replace what was get_template_part('content'); with <?php the_content(); ?> 😉

    #150649
    A.I. Sajib
    Participant

    You mean replace bbpress.php file content with the archive.php content and then remove that line of code?

    I will try that and will let you know if that fixes the issue. Thank you for your help!

    #150648
    Stephen Edgar
    Keymaster

    If you write that code as a function you can then hook it to bbp_before_main_content

    #150647
    defcon1186
    Participant

    I’ve added renamed archived.php without get_template_part('content'); like bbpress.php in my child root, and now forum page won’t load… that’s pretty weird 🙂

    #150646
    Stephen Edgar
    Keymaster

    A quick look at the “Track’ theme, it looks like if you copy archive.php to bbpress.php that will resolve most of your issues. (Source: archive.php)

    After you have done the above remove the following line from your bbpress.php copy:
    get_template_part('content');

    #150645
    Stephen Edgar
    Keymaster

    All of bbPress will sit within the ID id="bbpress-forums" which makes CSS styling even easier and is far from new, I think it has been there since bbPress became a plugin 🙂

    A quick look at the “Track’ theme, it looks like if you copy archive.php to bbpress.php that will resolve most of your issues. (Source: archive.php)

    Edit: Do the above but remove the following line from your bbpress.php copy:
    get_template_part('content');

    #150644
    A.I. Sajib
    Participant

    I did actually. I tested on Tracks WordPress theme which happens to be free yet awesome theme. But on the forum topic page, for mysterious reasons, only the first post from the topic is visible. Posts from second and onwards don’t show up at all. A programmer would probably fix this in a moment but I’m not really a coder, so I’m looking for something else.

    Thanks for your help.

Viewing 25 results - 10,901 through 10,925 (of 32,511 total)
Skip to toolbar