Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,876 through 10,900 (of 32,504 total)
  • Author
    Search Results
  • #150817
    Stephen Edgar
    Keymaster

    Seems a little weird, if you set the number of rows to 100 which is the default it should only take a few seconds before you see either “Converting forums” or “Converting Users”.

    I would double check your phpBB config.php file (it should be in the root folder of your phpBB install.

    e.g.

    
    // phpBB 3.0.x auto-generated configuration file
    // Do not change anything in this file!
    $dbms = 'mysqli';
    $dbhost = '';
    $dbport = '';
    $dbname = 'your_db_name';
    $dbuser = 'your_db_user_name';
    $dbpasswd = 'your_db_user_password';
    $table_prefix = 'phpbb_';
    $acm_type = 'file';
    $load_extensions = '';
    

    Make sure you use the correct table prefix.

    #150816

    Topic: mobile layout

    in forum Showcase
    Yolle
    Participant

    Hi.
    I have been partly successful in changing the mobile layout of the bbpress. I have managed to make avatars smaller in the mobile layout and also more aligned to the left, as well as the author name and author role. However, I can’t seem to find the correct code to make the content of the reply (bbp-reply-content?) more to the left or to make the space smaller between the author info and the text.
    Photo of the problem
    Surely there must be a very simple solution to this?
    Thanks!

    #150814
    widlak
    Participant

    I recently switched to the Graphene theme (which I must say is quite awesome!!!), mainly because I wanted something that I could integrate a forum into without creating a separate site or subdomain. Plus this was the only theme that looked great right out of the box.

    With that said, if this is a bbPress issue and not a theme issue, I will certainly seek help in a different location. I am horrible with code but with simple instruction, I could navigate my way around it.

    I uploaded the bbPress plugin, created a page, and promptly began placing the shortcode in the widget areas for loggin in and registering. The default log-in was already filled out for me and I clicked the ‘Log-In’ button and when I refreshed my screen it took me to the home page. I reopened my WP log-in screen and when I logged in, it took me to my home screen again, not my WP admin panel. Am I doing something wrong? I want to be able to integrate everything in this theme without having to leave and log-in to an entirely different site. Please help.

    Thanks

    #150813
    Stephen Edgar
    Keymaster

    With the existing code in the original topic and along with this snippet I had else where you should be fine to put it all together:

    To get the child/sub forums from the current forum page use bbp_forum_get_subforums() and then pass those ID’s to post_parent__in (Note the double underscore). You can also go the other way to get ‘parents’ of the current forum with bbp_get_forum_ancestors().

    e.g. To include forum ID’s 2, 5, 12 and 14 add the post_parent__in

    
    if ( bbp_has_topics( array( 'orderby' => 'rand', 'posts_per_page' => 1, 'post_parent__in' => array( 3, 5, 12, 14 ) ) ) ) {

    e.g. To exclude forum ID’s 7, 11, 19 and 21add the post_parent__not_in

    
    if ( bbp_has_topics( array( 'orderby' => 'rand', 'posts_per_page' => 1, 'post_parent__not_in' => array( 7, 9, 11, 19 ) ) ) ) {
    #150812
    Stephen Edgar
    Keymaster

    bbPress should work fine using the ‘default’ settings including the default slugs:

    The shortcode should be [bbp-forum-index] (You used bbb and not bbp)

    The Japanese translations for forum and forums are the same, these should be different based on how the Japanese language uses plurals in this context as if they are the same this will cause a problem for bbPress, I had to use フォーラ so it was different from フォーラム 😉

    Here it all is working for me, my domain is http://en-au2.wp.nw/build, yours would be http://careerkokusai.com/ and everything is using ‘native’ Japanese for the permalinks 🙂

    bbPress Settings (Slugs/Permalinks) https://cloudup.com/iFKwgluP_5g

    Page with (Back end) [bbp-forum-index] https://cloudup.com/icgezwdk6Vk

    Single Page (Front end) with Menu link showing the above page フォーラム https://cloudup.com/iy4i3RksjRI

    Forums (Front end) https://cloudup.com/iltDJlyKqXK

    Single Forum (Back end) https://cloudup.com/iAvcWJ7qBs6

    Single Forum (Front end) https://cloudup.com/i061G0kJwtx

    Single Topic (Back end) https://cloudup.com/i-hfrIBhgT0

    Single Topic (Front end) https://cloudup.com/iOMAKPqAlmu

    Stephen Edgar
    Keymaster

    Simply it is not us here at bbPress (or BuddyPress) that would write the code to add support for that software to use with our software, it is up to them if they want to add support or not.

    #150801
    EzYRiDaH
    Participant

    Hi there,
    First of all I am not a hardcore coder. Used to code 20 years ago, so I can read a lot of the syntax, but am quite new to the javascript, php etc. Can handle myself a bit in sql though.

    I am trying to migrate a very big MyBB forum to bbPres (1,7 mlj posts and 63k discussions). Tried to do it directly on my VPS, but it took way too long. Ages…

    After some trial and error I was able to make a complete dump of the MyBB as SQL and imported it on my Mac’s MAMP. I was one happy muppet and kicked of the conversion.

    Whatever I do I keep getting the same messages. No error messages, just that there is nothing to convert. I have tried every scenario I could think of that could go wrong. Localhost port, userid/pass on database, prefix etc etc. Whatever I do, even leave blank fields to get some kind of error message, I still get the same result. Absolutely nothing to convert.

    I’ve checked the code but could not find any error handling. Could be there, but I am not too familiar on linking php code files.

    I get the feeling this is some kind of MAMP issue because I got it to run on my VPN.

    Any help / suggestions are more than welcome.

    Thanks in advance!

    Robin W
    Moderator

    Apologioes if I’m being thick, but line 29 of bbpress/templates/default/bbpress/form-reply.php says

    <legend><?php printf( __( 'Reply To: %s', 'bbpress' ), bbp_get_topic_title() ); ?></legend>
    

    Is that not the line you want to get rid of/change?

    #150785
    Robin W
    Moderator

    @cybarmitzvah

    You seem top be mistaking a product that is free, has cost you nothing and is supported by volunteers for a paid forum which will wrote bespoke code.

    I don’t know what else in your life you get for free, that gives you lightening fast support for free by volunteers who have day jobs, that writes enhancements for you for free – perhaps you can give me an example of ANYTHING that does this for you???

    #150780

    In reply to: Hide author/admin

    Robkk
    Moderator
    #post-entry article div.post-meta {
    display: none;
    }

    i dont know how to only hide it on forums, but you can figure that out.

    #150777
    TheDarkboy
    Participant

    who are page for apply your change code?

    #150767
    cybarmitzvah
    Participant

    On this page, and every other sub-forum page,

    http://www.astronomertalk.com/forums/forum/welcome-to-astronomertalk-com/

    in the top left, it says “admin,” then a timestamp next to it. How can I delete this, because the link goes to a page that does not exist.

    Maybe just add some code to my custom CSS.

    Best,
    JB

    #150760
    Fxam
    Participant

    Hi Guys,

    “what you want to do is as easy as making a bbpress.php template in the root of your theme. It will act as the wrapper for all bbPress content.”

    Can you please help me understand exactly how to do this?

    I’ve been trying to figure out how to display all my forums the same as the forum-index

    Index: http://kwetufilminstitute.com/rmp/classes/
    forum1: http://kwetufilminstitute.com/rmp/classes/module/design-of-video-and-audio-products/

    and just cant seem to get it to work 🙁

    Do I copy bbpress.php from ? to the root folder and edit it or must i creat a new bbpress.php?
    What code do I need to edit?

    Many Thanks in advance!

    Max

    #150757
    TheDarkboy
    Participant

    im find this good page for try this modify!

    me go to try…

    #150755
    Stephen Edgar
    Keymaster

    I actually took a peek at the code to see if there was an easy to do this, if we could override or add a custom function or filter to achieve this. No was the result 🙁

    We have some moderation changes coming in bbPress 2.6 in that individual users can be assigned a single forum (or multiple forums) to be a moderator rather than the current behaviour where if they are a moderator they can moderate all forums.

    I have note scribbled down for when I next checkout this feature to check what if how we can add/modify bbPress to allow what you have asked above 😉

    #150752

    Hi Stephen,

    Thanks for getting back. Too right that it’s weird! It’s definitely not a browser or CloudFlare or WP Super Cache cache issue – that was what I was investigating when I posted the Apache logs. You can see that successive log entries deliver different numbers of bytes, e.g.:

    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

    74091 bytes corresponds to a page load when the forum appeared; 39159 corresponds to that portion being blank (when I hit “reload”, 10 seconds later). It goes back and forth like that with no apparent pattern – you can’t predict what’s next.

    Just to make sure I also tested with WP Super Cache deactivated (it had nothing in wp-content/cache for these pages anyway), and CloudFlare in developer (no cacheing) mode, and emptied the CloudFlare cache.

    Also, when the forum is produced by a shortcode, it works 100% of the time. No other pages on the site do this, or ever have done. The previous forum plugin (Mingle Forum) is both de-activated and removed, so it’s not that interfering.

    So, it seems certain to me that it’s something to do with permalink hierarchy.

    Any suggestions how I can debug this? I have 100% access to everything. But, I’m more of a back-end developer – stuff to do with permalinks and custom post types is stuff I’ve only dabbled in, and I’m not sure where to start diving in. It’s easily reproducible (just keep hitting reload enough times, and the behaviour will change).

    David

    #150745
    Stephen Edgar
    Keymaster

    Weird, I just refreshed the topic page you linked to and after half a dozen reloads tyhe page is now blank and still trying to reload (Timestamp %:57pm Local Time if you go looking at your logs), If I insopect the page with Google Chrome inspector I have a console error Failed to load resource: net::ERR_CACHE_MISS. Right now (5:59pm) the page just finished loading and looks like what the previous refreshes looked like, I do have a new console log error though for jquery-migrate.min.js.

    
    HTTP/1.1 304 Not Modified
    Uncaught SyntaxError: Unexpected number 
    Server: cloudflare-nginx
    Date: Wed, 13 Aug 2014 07:56:31 GMT
    Connection: keep-alive
    Last-Modified: Wed, 06 Aug 2014 21:12:37 GMT
    ETag: "261795-1c20-4fffc6e7d6bab"
    CF-BCK-Digest: {"bck_type":"BCK_C3","up_stat":"304"}
    CF-Cache-Status: HIT
    X-Accel-Buffering: yes
    Vary: Accept-Encoding
    Expires: Thu, 14 Aug 2014 07:56:31 GMT
    Cache-Control: public, max-age=86400
    

    Possibly a ‘Cloudflare’ cache issue otherwise not sure what else this could be as you note it is not consistent, maybe try creating a new forum with a topic and reply and try to replicate it using those and if it matters if the user is logged in or not. Also does this happen with any pages or posts on your site?

    Stephen Edgar
    Keymaster

    That should work fine, could be a plugin conflict, also could be an issue with “HTML entities” for example apostrophes ' and different language locales can use unicode syntax to save e.g. & # 0 3 9 ; (Edited to add a whitespace between each character so it displays correctly)

    #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

    Картинка

Viewing 25 results - 10,876 through 10,900 (of 32,504 total)
Skip to toolbar