Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,876 through 10,900 (of 32,511 total)
  • Author
    Search Results
  • #150860
    Robin W
    Moderator

    I’ve just recut my topics shortcode to allow you to do just that

    bbp additional shortcodes

    #150850

    In reply to: Hide author/admin

    Robin W
    Moderator
    #150847

    Hi,

    I would love to get some advice on where to dive into the code to look at this. Everything must be set up correctly – because otherwise, it would never work. What functions should I start looking at to see what isn’t getting called that should be?

    David

    #150846
    lemolee88
    Participant

    @netweb sorry i am not good at php and english, can you give me The complete code?

    Very sorry to have wasted your time. But it is really important to me.In addition to you, I do not know who can help me!

    #150833
    Stephen Edgar
    Keymaster

    Your first question you can easily do with a WordPress page and link to it and any other FAQ’s you may want to have on your site.

    To extend your profiles you will need a plugin, search the plugin repo’s for either a plugin compatible with bbPress or check out BuddyPress our sister project that includes this functionality out of the box.

    Twitter/Facebook sharing is also plugin territory

    Your 3 sections, just make 3 forums or 3 categories each with a forum.

    https://bbpress.org/plugins/ https://wordpress.org/plugins/

    Other than that take a look at some of the sites people are linking to here or check out some of the example sites https://bbpress.org/about/examples/ and some of bbPress’ docs https://codex.bbpress.org/getting-started-with-bbpress/ https://codex.bbpress.org/

    #150831
    Stephen Edgar
    Keymaster

    I just split this topic, bumping a two year old topic is of no help to the previous posters and 9 times out of 10 won’t be helpful for yourself either πŸ˜‰

    I’m not exactly sure what you are after or you have already fixed it as your forums look ok.

    To answer the specific question though, make a copy of your themes page.php file and rename it to bbpress.php, though as stated I’m not sure you need this.

    #150819

    In reply to: Hide author/admin

    Stephen Edgar
    Keymaster

    This is because your theme appears to be inserting bbPress within a page that lists the ‘author’.

    You may need to make a copy of your page.php and rename bbpress.php and remove anything ‘extra’ that may be being inserted there.

    #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)

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