Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,701 through 14,725 (of 32,503 total)
  • Author
    Search Results
  • #126053

    In reply to: phpBB magic URLs fix?

    Stephen Edgar
    Keymaster

    All the BBCodes and Magic URL’s are fully converted to HTML in the upcoming bbPress 2.3

    There is no current way to rerun it though to convert existing sites.

    #126051
    wisemonkey
    Participant

    Hi

    I have done a search here, but nothing seems to come up.
    I have installed BBpress/BuddyPress and migrated a small phpBB forum on my site http://www.wisemonkeysblog.com but the phpBB shortened URLs (and actually all the phpBB shortcodes) didn’t convert. I have tried to use a couple of plugins (eg bbPress2 BBCode ) to no avail.

    I notice that the actual URL is still there in the markup, so I have converted a few of them manually…but there must be a better way. A plugin or a SQL fix perhaps.

    Does anyone know of such fix?

    TIA
    fernando

    Shashank Shekhar
    Participant

    Hello,
    As per bbpress doc I found by default it uses page.php in wordpress theme to render all its contents. But since I have to use different template with a different sidebar and widgets I created forum.php copied from page.php in my wp-theme and luckily it worked. Dont know why its not mentioned in bbpress docs. Also, forums.php working fine, so I am in more doubt which file naming conventions is correct. Is it something missed to mention in bbpress docs? Please let me know.

    Further, for the bbpress user pages, like profile, edit profile, topic started etc. I need to use a custom template file in my theme. In bbpress templates as per documentation, I have checked all user templates inside are just contains the content part only not including header, footer, sidebar etc. And by default it also renders by page.php.

    How can I make a custom user template file other than page.php or forum.php which control all user related contents, so that I can have different template for forum or other pages?

    Suggestion:
    BBpress should have capability to use different template files for different kind of pages, or their should be settings in bbpress admin to select which template to use for what kind of pages.
    This is somewhat, wp-members, woocommerce and other plugins do for better integration in wordpress. These plugins have the ability to create different pages in admin editor having selected particular template to render and putting inside their shortcodes to render various types of contents. And also have the settings in their admin to set different pages/template for different stuff.

    Please let me know if this possible with bbpress 2.2.4 with wp 3.5.1 currently.
    If not possible please let me know how I can achieve the effect, with some sample custom code hints. Currently I dont need help to create bbpress admin side settings dropdown etc., becoz these are the thing I mentioned as suggestions to make bbpress better theme compatible.
    Right now, just need help how to use different template for user pages than other forum pages.


    Thanks
    Shashank

    #126034
    rtrelfa
    Participant

    I am a “noob” too. So, will bbPress work with ANY theme, or should I buy a theme designed for it? I know very little about editing code but I can hire someone to help me.

    I wanted to use the Sophis theme from Theme Forest but the author says he has zero experience with bbPress and he doesn’t think it will work. It is any older theme.

    Any advice?

    Thank you,

    RT

    #126028
    Stephen Edgar
    Keymaster

    Customizing the example.php file is what will map your existing SQL database tables and fields to the required bbPress tables and fields to import your data.

    I am slowly getting some docs up on the codex, though these need updating.

    https://codex.bbpress.org/import-forums/custom-import/

    #126016
    Shane Gowland
    Participant

    Create a page and use the `[bbp-topic-index]` shortcode to display all topics from across every forum.

    #126010
    Stephen Edgar
    Keymaster

    I would look updating whatever it is holding you back from upgrading to WordPress 3.5.1 for the security fixes 3.4 & 3.5 have introduced at a bare minimum.

    That said give it a try on a test site and if that works use the builtin WordPress Import/Export tool to export all the forums, topics & replies and then import them https://codex.wordpress.org/Importing_Content#WordPress

    #125995
    Phill
    Participant

    Hi Lynq,

    I tried adding that first code from pastbin to my homepage box which is supposed to show the latest 5 topics from our bbpress forums – unfortunately it’s not showing anything. Is there something else that needs to be added?

    #125980
    dday76
    Participant

    I’ve tried to look around but you’ll see the search terms on this are a bit generic.
    I just installed bbpress and what I found is that non-Admin can’t see the forums.
    I’m using the Advanced Access Manager plugin.
    All the forum-related options are checked in capabilities and none are excluded under posts and taxonomies.
    The forums/topics/replies section on the dashboard navigation (under pages) isn’t there.
    If I switch the user from Super Admin to just Admin, the forums re-appear. If I create a new role “Admin2” with full permissions, the forums disappear again.
    I see all the “is_admin” functions in the plugin code, but I’m not sure how that works. Is there some way to adjust the code to look for capabilities rather than roles?

    #125974
    Shane Gowland
    Participant

    1:
    Take a look at Widget Logic or Sidebars. These are plugins specifically made for adding different sidebars/widgets to specific pages. Manipulating widget areas is outside the scope of bbPress and is something you will need to implement yourself.

    2:
    This is a theme specific issue. bbPress could do more to accomodate different primary content area widths, but it’s quite easy to fix with a bit of CSS.

    3:
    You can create page templates for specific bbPress functions/pages by creating a /bbpress/ folder in your theme directory and copying your edited bbPress template files into it. It’s briefly mentioned in the codex, but I concede the documentation could be improved significantly.

    Further I expect from bbpress authors to work on these issues and release a fixed version.

    bbPress is an open source project (largely) developed by volunteers. To expect anything reeks of self-entitlement. The best way to make these things happen is to ask for help on specific issues, fix those issues and then contribute your fixes to the project.

    LaurenceAtFree
    Participant

    For people like me new to php this is how to make a plugin with John’s code :
    paste this code in an editor and save the file as teenybb.php :
    <?php

    /*/
    Plugin Name: Teenywithbb
    Plugin URI: https://bbpress.org/
    Description: Enable Teeny Mce in bbpress
    Version: 1.0.1
    Author: John James Jacoby
    Author URI: https://bbpress.org/
    /*/
    function foo( $args = array() ) {
    $args['teeny'] = false;
    return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'foo' );

    copy this file in your plugin directory where you usually copy other plugins.
    You can see the plugin named Teenywithbb in wordpress you juste have to active it.
    and then you have tinyMCE Advdaced as editor in bbpress 2.2. 🙂

    #125967
    Erlend
    Participant

    I’m not asking for something that’ll work out of the box. Some pointers on what pieces of code to look at to have a go at this ourselves would go a really long way. Same goes for excluding forums and topics from default index.

    Unsal Korkmaz
    Participant

    FirmaSite Social

    How to download:

    http://wordpress.org/extend/themes/firmasite

    Theme Features:

    • Its GPL and free :)
    • Based on Twitter Bootstrap  and all WordPress, BuddyPress and bbPress files using only bootstrap css. That means you can use custom bootstrap styles and all of your site will use same theme style. There is already 13 custom bootstrap theme is included in theme from Bootswatch. In future, i will explain how you can add custom bootstrap styles
    • Using Bootstrap Responsive so all your site will be mobile ready. BuddyPress and bbPRess too!
    • Using Theme Customization API for theme options. It means you can see changes on live edit and you can easily extend options with wordpress functions directly. A video on action: http://youtu.be/F95TngS9er8  (Its a bit old version of theme but a good example for main theme options)
    • Google Fonts! lots of! You can choose google fonts from theme options ( watch example video from above)
    • 4 different layout:
    1. Content – Sidebar
    2. Sidebar – Content
    3. Only Content (Long)
    4. Only Content (Short)
    • Unique 2 feature: ShowCase and PromotionBar. ShowCase letting you show your special post in home page header like: http://twitter.github.com/bootstrap/examples/carousel.html and PromotionBar is letting you promote your posts in content header, footer or sidebar. You just marking your posts from your post panel. Both feature is using Bootstrap’s carousel component so there is no extra  javascript. An example post panel screenshot:
    • You can upload logo,disable comments, activate facebook comments, activate sharing buttons (facebook,twitter and google+1), upload custom background and option to remove responsive for fixed width if you want.
    • Supporting Post Formats! Formats have special template parts with get_template_part  and video,audio formats calling necessary js that need to play video or audios. System supporting oEmbed links too.
    • Ready for translation. Theme’s default language is English and Turkish translation is included. ( You can send me your translations if you have). You can use Codestyling Localization for translating theme.
    • I will add lots of filter and action (already have lots of) so you can use it as starter theme for your projects. I will explain how you can keep your customization while keeping theme up-to-date.

    Themes are in review for publishing on WordPress.Org Theme  Directory but in meantime, you can download and try it from links above. Please share your opinions on theme in this topic.

    #125950
    captjones
    Participant

    ^ A bit, I removed some stuff from original code, as you can see from the website & also changed fonts.

    I created the theme from scratch using Artisteer.

    Btw, I also tried with TwentyEleven & TwentyTwelve theme, the green hovering box like here on this forum, doesn’t display 🙁

    http://www.kadunud.com

    Btw thanks for replies brahs, I’ve seen you replying to many threads here and been helpful :O

    #125901
    aberglas
    Participant

    You say “Capabilities are saved in the database, per user, per site”. That is clearly NOT the (normal) case. The wp_usermeta table wp_2_capabilities row stores ROLES, not capabilities. Those roles appear to index into the wp_2_options tble row wp_2_user_roles row which contains a list of capabilities.

    I have no idea what “Dynamic” roles are nor why bbpress contains a vast amount of capability fidling code, including no less than three files called capability.php. If someone could explain it in terms of actual table rows and colums that might help.

    I want a simple setup where Authors can access Private forums but only in the site which they are an Author. The simple coupled set up that JJJ says is too simplistic. But now it cannot be done at all?

    By default private sites are hidden to users. There is a weird “Auto Role” option that can adds bbp_participant to all users. But that means that users get access to all forums on all sites. Is that the “Dynamic role” feature?

    So turn that off. Try to add bbp_participant role explicitly using action ‘add_user_to_blog’
    $user->add_role(“bbp_participant”);
    However, that failed to add the user. WordPress really only supports one role per user, certainly set_role() only accepts a single role and purges any others. So I think something is resetting it.

    Then I try simply
    get_role( ‘author’ )->add_cap( ‘read_private_topics’ ); // for bbpress.
    That successfully updates the database (wp_2_user_roles), but has no effect on bbpress. I suspect because one of the capability.php files in bbpress has
    case bbp_get_spectator_role() … ‘read_hidden_forums’ => false,
    rather than just leaving it out. So capabilities do not merge properly between roles.

    I am new to WordPress/bbPress, and having spent many hours in this mess am getting very frustrated. How hard can it be? Users/Roles/Capabilities.

    Anthony

    #125898
    Stephen Edgar
    Keymaster

    I see you have a ‘register’ and ‘login’ page using the shortcodes, if you want something in the sidebar you could use the login widget https://codex.bbpress.org/widgets/

    #125896

    In reply to: Sticky a Forum Post

    Stephen Edgar
    Keymaster
    #125895

    In reply to: Arranging Forum Order

    Stephen Edgar
    Keymaster

    See the docs on ‘Creating your First Forum’ here and you set the order from withion the WordPress Admini Forum Panel.

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    #125882
    knussear
    Participant

    Ah – I spoke too soon. You saved me at 18:33 with the short codes! Thanks a bunch @labsecrets

    #125867
    Stephen Edgar
    Keymaster

    Sounds like we need a bbPress widget for topic tags…

    https://codex.bbpress.org/widgets/

    Maybe create a ticket in trac https://bbpress.trac.wordpress.org/

    #125866

    In reply to: bbPress Integration

    Stephen Edgar
    Keymaster

    Ask your host Hostpaedia if they have any instructions on installing WordPress (if not here is the generic Softaculous info) and once you have WordPress running then you add bbPress as a plugin.

    Full instructions on installing bbPress are here:
    https://codex.bbpress.org/getting-started-with-bbpress/

    #125865

    In reply to: "New topic page"

    Stephen Edgar
    Keymaster

    Create a new WordPress page called ‘New Topic’ and add the shortcode [bbp-topic-form] to the page content.

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

    #125833
    bob marteal
    Participant

    Hi,

    I need to make a list of forum members to display like http://stackoverflow.com/users. I can’t for the life of me find a way to do this. It seems like something that should be pretty obvious. I’d hope to get a plugin or at least some pretty well documented code to make a template or some such. Can anyone point me in the right direction?

    I’m on WP 3.5.1 and bbPress 2.2.3

    Thanks so much.

    #125817
    moebis
    Participant

    Good News All!!! Ok…. I have sub forums working in buddypress with a small hack to group.php (in latest trunk of bbpress 2.3). @johnjamesjacoby was right, it looks like they started building this functionality into bbpress and so-far it works. The only thing left to do, is maybe make it display a little more intuitively (I’ll continue to work on that), and on the buddypress side allow sub forum posts to be added to the activity feed of the group it belongs to. I was wrong before, sub forum topic posts do not show up on group activity feed, but I think I’ve already isolated the code to fix that.

    Here is how to play with my hack in the latest trunk:

    EDIT: /bbpress/includes/extend/buddypress/group.php

    Delete lines 609-614 and add “?>” back to line 609.

    This is how the forums in groups looks now (you can see all topics from the group forum and the bbpress sub forum of that group forum). Also, the post box has a drop-down select to chose the forum or sub-forum to post to:

Viewing 25 results - 14,701 through 14,725 (of 32,503 total)
Skip to toolbar