Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,626 through 15,650 (of 32,519 total)
  • Author
    Search Results
  • #116753

    In reply to: bbPress 2.2

    Stephen Edgar
    Keymaster

    Check the Codex https://codex.bbpress.org/ for the latest docs and to get you up and running please see:

    ‘Getting Started with bbPress’ https://codex.bbpress.org/getting-started-with-bbpress/

    If you would like to help us get the docs updated please login with the same credentials you use here on bbpress.org to https://codex.bbpress.org/wp-admin and help out however you can.

    • This reply was modified 13 years, 11 months ago by Stephen Edgar. Reason: verbiage!
    #116731
    Stephen Edgar
    Keymaster

    OK, I’m with you now, are you going to use a BBCode plugin for bbPress to render the HTML output?

    I have just started working on a patch to add CSS for bbcode_quote, bbcode_quote_head, bbcode_quote_body and a few of the other CSS classes that are are parsed with bbp-parser.php

    #116729
    DNBrawler
    Participant

    You need to use the login shortcode and the register page template. Theres also a login widget available.

    #116724

    In reply to: Changing Colour

    alturner
    Member

    I’ve spent days on this too, and although this topic didn’t help. it’s one i came across in my search, so thought i’d update with what worked for me.

    I think it’s now quite simple, but very unintuitive. Hopefully my explanation works for you guys too.

    IT’S NOT IN THE BBPRESS.CSS file! Arghhhhhhh

    Firstly, I started using chrome instead of iexplore/firefox. Using this I navigated to the topic/reply box that wasn’t letting me see the text, right click, and select inspect element. The box at the bottom, and to the right, can then help you identify where it’s picking up styles from. You should see a section at the bottom saying matched styles, in my case ‘content.css’

    If you hover over the style name (content.css for me) it should show you the location file and the section of code you need to change

    The file I needed to amend was http://www.your_website_here.co.uk/wordpress/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css

    And I just changed the section below, where color: #fff was previously different

    body { font-family: Georgia, “Times New Roman”, “Bitstream Charter”, Times, serif; font-size: 13px; line-height: 19px; color: #fff; margin: 10px; min-height: 100%;}

    I really hope this method helps others, as it’s been getting right on my nerves

    #116719

    In reply to: New Theme

    meamrussian
    Participant

    I’m having the same issue. I see two conflicting instructions for theming:

    This page shows to make your own template within /my-templates/your-theme/. This page shows to put it in your wordpress theme folder: /themes/your-theme/bbpress/bbpress-files.php. So which is it?

    Nevertheless, I tried doing it both ways, and neither show in the dropdown in forum settings. I tried copying the theme-compat theme in order to customize bbpress.

    Can someone help, please?

    #116706
    moneyonlinetalk
    Participant

    I have been trying for ages to make this works for my website, i activated the bbpress forum and create a page name forum, insert some few bbpress shortcodes and all i get is the “Forum is Empty” is there anywhere this can be resolved? Is there any tutorial on it?My site is at Latest Universities Newsany help will be appreciated.

    #116683
    capsx
    Participant

    those was RAW data from MYSQL DB …

    i actually DON’T NEED to convert BBCodes – i need original post texts, and that is the problem, cause bbpress converter convert [quote] to DIV

    temporary fix was – to get original text from the phpbb_posts table via wp_postmeta key _bbp_post_id

    • This reply was modified 13 years, 11 months ago by capsx.
    • This reply was modified 13 years, 11 months ago by capsx.
    #116674
    Stephen Edgar
    Keymaster

    Have a look at the raw data in your MySQL database not the rendered HTML output, apart from some ‘line breaks’ (<br />) you will find this data is identical.

    phpBBv3: phpbb_posts.post_text   bbPress: wp_posts.post_content 

    If you are actually wanting the importer to convert phpBB’s BBCode during import that is being worked on for future versions of bbPress and the import/conversion tool.

    • This reply was modified 13 years, 11 months ago by Stephen Edgar.
    • This reply was modified 13 years, 11 months ago by Stephen Edgar. Reason: markdown
    #116673

    In reply to: phpBB

    Todventtu
    Member

    Thanks for all the work you do, netweb. I was also happy to see some dude suddenly appeared with a solution to this important feature of stripping bbcode of useless stuff: https://bbpress.trac.wordpress.org/ticket/1884

    #116649
    Stephen Edgar
    Keymaster

    Also see this TRAC ticket #1924 https://bbpress.trac.wordpress.org/ticket/1924
    And http://wpimpact.com/wp-content/uploads/2012/08/Untitled-11.png

    • This reply was modified 13 years, 11 months ago by Stephen Edgar.
    #116644
    Stephen Edgar
    Keymaster

    When importing from phpBB BBCode is NOT converted, this will hopefully be an option in future releases.

    Stephen Edgar
    Keymaster

    Here’s the list of bbPress User Roles and Capabilities if that helps:
    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    #116634
    Stephen Edgar
    Keymaster

    Every thing up ^^^^ here looks and sounds good as does the FAQ 🙂

    “Is there any way to subscribe to tag feeds?”
    Only by RSS, just add /feed to the end or a tags URL https://bbpress.org/forums/topic-tag/faq/feed

    “What I’m wondering is whether we need to provide anything for the forum members?”
    As the docs get better I think they will be universal enough to be used by all parties and by utilizing a plugin such as https://wordpress.org/extend/plugins/bbpress-admin-bar-addition/ I think ‘the docs’ can be delivered to quite a few target audiences being discussed above.

    > The new admin bar entries will only be displayed if the current user has the bbPress/ WordPress capability of moderate. (Note: I am open for suggestions here if this should maybe changed to a more suitable capability.)

    #116632
    LabSecrets
    Participant

    Thanks, I wasn’t here at that time, but good info.

    The videos would not need to be embeded on any other site, they could “live” in an unbranded Wistia project container with the other bbPress-only videos.

    Question Two: What about any standard leader-trailer info? If we want to do this “right” it seems we should take the extra time to have an agreed-upon leader and trailer for all these videos, as this would make them all feel professional and part of the bbPress “product”.

    Any input previously shared on this point? If you want, I can create some samples and share them here.

    #116631
    Siobhan
    Member

    We discussed using videos in the WordPress Codex. The consensus was that videos were great so long as they were done on an clean, unbranded WP install (localhost or something like that).

    #116630
    LabSecrets
    Participant

    Can someone from the group (or John?) please advise how you prefer for us to handle referencing our video content? We current, for example, have this popular video: http://labsecrets.com/2012/01/23/buddypress-and-bbpress-forums-made-easy/

    Should we grab the embed code and put it into the codex as needed for each video, or do you prefer we keep embeds outside the codex and link to it directly.

    Based on previous discussions with John, I do not want to create an improper embeds or links to our commercial endeavors…

    See, eg., our addition to https://codex.bbpress.org/getting-started-with-bbpress/ (re. BuddyPress and bbPress), this is where a video would be helpful.

    Please advise?

    #116629
    Siobhan
    Member

    Sounds like a good idea to me – lots of users find videos really useful. I guess see what everyone else thinks?

    I have created an FAQ here: https://codex.bbpress.org/faq/

    It’s not published yet but you can see it if you’re logged it. I realised that one had already been started once I’d done it but it only had one question so I integrated it. At the minute I’m just coding the links using an a name – is this the best way or is there a plugin we should be using?

    Also, once something has been added to the FAQ is there any way to “untag” it? Should I comment on the thread that it has been added to and someone else can remove the tag?

    #116628
    LabSecrets
    Participant

    I was thinking we could provide a “users guide” with videos (think like Shawn has done with WP101) for bbPress “users” and in the same area the “admin guide” with info about running the site. Perhaps we can set aside the user content in a way that can be shared universally by site admins. We have the means and mechanism to deliver the content that way via a plugin, embed codes, etc. so a site owner could have generic “this is how to use it” instructions…. again, very much like wp101. We would donate our time and effort to produce this for bbPress if you guys are open to receiving the same?

    MTPrower
    Member

    How do I override bbp-common-functions.php so that I can safely upgrade bbPress without losing my one change?

    Here is the original:

    // array of time period chunks
    $chunks = array(
        array( 60 * 60 * 24 * 365 , __( 'year',   'bbpress' ), __( 'years',   'bbpress' ) ),
        array( 60 * 60 * 24 * 30 ,  __( 'month',  'bbpress' ), __( 'months',  'bbpress' ) ),
        array( 60 * 60 * 24 * 7,    __( 'week',   'bbpress' ), __( 'weeks',   'bbpress' ) ),
        array( 60 * 60 * 24 ,       __( 'day',    'bbpress' ), __( 'days',    'bbpress' ) ),
        array( 60 * 60 ,            __( 'hour',   'bbpress' ), __( 'hours',   'bbpress' ) ),
        array( 60 ,                 __( 'minute', 'bbpress' ), __( 'minutes', 'bbpress' ) ),
        array( 1,                   __( 'second', 'bbpress' ), __( 'seconds', 'bbpress' ) )
        );
    

    Here is what I want:

    // array of time period chunks
    $chunks = array(
        array( 60 * 60 * 24 * 365 , __( 'y',   'bbpress' ), __( 'y',   'bbpress' ) ),
        array( 60 * 60 * 24 * 30 ,  __( 'm',  'bbpress' ), __( 'm',  'bbpress' ) ),
        array( 60 * 60 * 24 * 7,    __( 'w',   'bbpress' ), __( 'w',   'bbpress' ) ),
        array( 60 * 60 * 24 ,       __( 'd',    'bbpress' ), __( 'd',    'bbpress' ) ),
        array( 60 * 60 ,            __( 'h',   'bbpress' ), __( 'h',   'bbpress' ) ),
        array( 60 ,                 __( 'min', 'bbpress' ), __( 'min', 'bbpress' ) ),
        array( 1,                   __( 's', 'bbpress' ), __( 's', 'bbpress' ) )
        );
    

    I’m trying to make the forums support mobile, and the long words ruin my tables.

    I want to be able to upgrade bbPress without losing this change. What can I do?

    #116624
    Siobhan
    Member

    Yup, I get that. But there is still a distinction between 1) the people who install and use bbPress to run their forum, and b) the forum members. What I’m wondering is whether we need to provide anything for the forum members (like basic stuff on posting etc) or if we can forget about them. In which case there are just Devs & users.

    #116623
    LabSecrets
    Participant

    In the past we’ve found it helpful to have one set of docs and info relating to “use” of the system, and then a second relating to “development” (or “customization”). The differentiation is less on the capability of the person searching, and more about what the point of the information may be.

    Think of it like an automobile. There is the “user manual” in the glove box. But if you are a mechanic, you probably have the Chilton “repair manual” for that car in your shop somewhere.

    If you use bbPress, the default “user manual” would have a variety of useful “how to use and extend this” info… but if you wanted to get into the code (php or css or js or shortcodes) you would look to the “repair manual” (not implying anything broken, just meaning it’s for modifying code)

    Keeping things as simple and flat as possible might help to eliminate hiding good info in a complex heirarchy?

    #116619
    Siobhan
    Member

    Sorry for the delay to this – i’m semi-on holiday 🙂

    So this is an interesting question to do with users, end users etc. In fact, should we be producing stuff for forum users as well? I guess we have three groups: Developers Forum Admins Forum Users

    Would that make more sense?

    How about we adopt the following tagging system:

    faq – for something to be added to the faq document – for something to be documented

    Would that make sense? Is there any way to subscribe to tag feeds?

    • This reply was modified 13 years, 11 months ago by Siobhan.
    #116606
    Sam Srauy
    Member

    Found Phillips’ brilliant code awhile back. I changed it a little bit for more control:

    function lab_logged_in_bbptopics($have_posts){
    if (!bbp_current_user_can_publish_forums()){
    $have_posts = null;
    }
    return $have_posts;
    }
    add_filter(‘bbp_has_topics’, ‘lab_logged_in_bbptopics’);
    add_filter(‘bbp_has_forums’, ‘lab_logged_in_bbptopics’);
    add_filter(‘bbp_has_replies’, ‘lab_logged_in_bbptopics’);
    

    You can then use any of the user role plugins to specify which user (or user level) can publish forums. Of course, logged out users don’t have a bbp_current_user_can_publish_forums() set so they’ll automatically be denied access to the forums. Hope you enjoy!

    Also, I changed the “Oh bother! …” text in bbpress/feedback-no-forums.php to say “You have to be logged in and have permission to see the forums.”

    Hope this helps someone. And, thank you Philip for sharing your code to begin with! It certainly helped me a lot.

    I have absolutely NO IDEA why I can NOT get code to properly display on this website. Sorry, if you need to see the file I’m using I can send it to you but basically it’s the same exact one with everything stripped from it but the forum title.

    I’ve created a Widget that displays several different Forum related items in four different tabs. I’m having trouble with displaying the Forum Categories List properly however. I’ve modified loop-forums.php so that it calls loop-theWidget-single-forum.php and I’ve removed the bits from the loop-single forum that I did not need(in the copied one that’s displaying on the sidebar). This works perfectly EXCEPT … When you are on inside the Forums on the Topics List Page the Categories section of the Widget shows NOTHING AT ALL and then when you actually go inside of a Topic it then displays the infamous “Oh bother! No forums found.” thing. What I’m not fully understanding is that the Widget works EVERYWHERE ELSE on the website just fine.

    Figure I’m missing some bit that I need to add so I came to the experts… What do I need to add / modify to make this tab of my Widget perform as intended? The Widget can be viewed at…

    http://gitfit.tv

    … and the current loop-single-forum.php that I’m utilizing looks like this…

    &lt;tr id=&quot;bbp-forum-" &gt;
    
    
    
    
    
            &lt;a class=&quot;bbp-forum-title&quot; href=&quot;" title=""&gt;
    
    
    
    
    
    &lt;!-- bbp-forum- --&gt;
    

    … any help would be most appreciated.

    Thanks, in advance, for your time and assistance.

    Andrew

Viewing 25 results - 15,626 through 15,650 (of 32,519 total)
Skip to toolbar