Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 4,201 through 4,225 (of 6,780 total)
  • Author
    Search Results
  • Anointed
    Participant

    The theme on this site is a custom theme, though with a little css work it can be done. Meaning there is nothing on this site that is ‘ultra’ custom which would require difficult programming levels. Pretty much a basic understanding of css and a little bit of html and you can easily get it to look like this. But NO, out of the box it does not look like this.

    Gary3000
    Participant

    This has been asked several times, and the answer was that it’s a custom theme they created just for bbPress.org, and that it may at some point in the future be released publicly.

    mrmonkey3319
    Participant

    I love the layout: http://bbpress.org/forums/ The forums on the left, and a big Latest Topics are on the right. Tags and such in the left too. I keep reinstalling my bbPress but no matter what I do, I cannot get my forums to show up like this. See here:

    http://covenantvoice.com/forums/

    I just want to fix the layout. Any idea on what I’m doing wrong? I’m using the very latest bbPress, 2.1.2.

    • This topic was modified 12 years, 9 months ago by mrmonkey3319.
    #119544

    In reply to: Register on Multisite

    hatoncat
    Participant

    Unfortunately, I have spent weeks trying to figure out this issue myself.

    The problem is bbPress, WordPress, and WordPress multisite don’t communicate well with registration. bbPress 2 appears to call wp-signup inline in the page.

    This would be typically be a good thing, unfortunately, WordPress multisite’s registration is the problem. It was based around WordPress.com not the typical site/network owner’s needs.

    My fix, which admittedly, I’m still implementing myself, was to create a custom wp-signup.php, do a 301 redirect to the WordPress wp-signup, and drop the wp-signup in a custom theme folder, which itself is designed to just serve the signup form.

    It’s still far from perfect. When someone is finished signing up, I basically have to present them with a menu that says “you’re signed up, here’s a list of our sites, please click back to the one you originally came from.” There is no breadcrumb support in Multisite to return a user, after registration, to the multisite site that they originated from, it always by default drops them to the default site.

    In the end, a custom theme at least lets me control the process, and a custom wp-signup lets me present users with a menu of my sites to chose from, in the hopes they will be able to spring back to the site they came from, and then be registered.

    Can’t fault bbPress for this one, the only way I could see bbPress fix this, would be to completely replicate and track the wp-signup flow in-plugin. I think that would be a great idea, but would take tons of effort. The benefit, of course, would be fine-grained control, and remove the need to do the dozens of hours of effort I’ve had to do (and can’t easily post/replicate for others… not to mention constantly having to patch multiple files during each WordPress update).

    #119491
    Stephen Edgar
    Keymaster

    bbPress 2.x will not email the admin by default whenever a post is made and I dont think this is possible without a plugin (I dont know of a plugin that does this either for bbPress 2.x)

    #119454
    Shmoo
    Participant

    Step 4:

    The code is a bit messy.
    Here is the code in Pastebin.

    http://pastebin.com/0iA4ReV9

    Change the default to the NEW and you’re done.

    #119453
    Shmoo
    Participant

    Alright guys i’ve got a solution,

    Please note, i have ZERO PHP skills so this probably isn’t the best solution on earth but i think it’s a good work-around to get the job done ‘easy’..

    If some PHP developer reads this topic and thinks, damn this guy is going crazy with all his copy-/pasting stuff please feel free to modify this code..

    What did i do:
    First i opened up the Core template file of bbPress where the Breadcrumbs function is made.
    I have copied the code and pasted inside a new PHP document, made some simple HTML changes before and after the urls and called this new template file inside my Theme’s functions.php

    Last i called my custom Breadcrumb PHP code just to make sure my code is loaded and not the default bbPress code..

    Here you go.
    When your done it should look like this structure..
    http://i46.tinypic.com/33z93lg.png

    Nothing too fancy but the only difference, it’s made by a HTML List , like it should be in 2012 because a Breadcrumbs is a navigation and not just 5 URLs behind each other.
    http://twitter.github.com/bootstrap/components.html#breadcrumbs

    Step 1:
    Paste all this code into a new empty PHP document and call it breadcrumbs.php
    When your done drop this file into your Themes include folder.
    wp-content / themes / [ your-theme-name ] / inc / * here *
    http://pastebin.com/bWdPEXa5

    Step 2:
    Open your theme functions.php file and add this code to it.
    http://pastebin.com/nJ9pZinq

    Step 3:
    Open the bbPress or WordPress stylesheet and add those few lines of CSS to it.
    http://pastebin.com/KyPuknTw

    Step 4:
    Inside the bbPress template files you often find this line of PHP code, it calls the default Breadcrumb function:

    Change that line to this one and your done..

    __( '', 'bbpress' ), ) ); ?.>

    • without the dots before and after the -> .?.

    Hope this helps..

    #119448
    Shmoo
    Participant

    What can i do to overwrite a bbPress Core function and develop my own function..

    Let say i want to overwrite the default bbPress breadcrumb tag.

    I found the Core code inside a Core-template and i pasted this code inside a new PHP document changed all the bbp_ names of all functions to bbp_shmoo_ > Saved it.

    Loaded this new file from the inc. folder into my themes functions.php with the require_once tag..

    Change the PHP code inside my forum template from bbp_breadcrumb(); to bbp_shmoo_breadcrumb(); but this doesn’t work, why does it break my theme ?

    I need a before_link and after_link array.

    This is what a breadcrumb looks like, by default made with a List because it’s a navigation.
    http://twitter.github.com/bootstrap/components.html

    #119447
    Shmoo
    Participant

    @JJJ

    Please do the people on bbPress.org a huge favor and delete all the fancy stuff in this comment-form, just load the default wordpress.ORG comment-form it’s huge and only support a few needed options. This is getting ridicules. People have to be an acrobat to post some code on this forums.

    I can’t copy-/paste @mattsimo code because of this forum-software.

    Safari + Firefox it doesn’t copy the the selected code i needed.

    #119398

    In reply to: 'Before' pagination?

    Shmoo
    Participant

    I’ve got almost the same problem as @Anointed here, no before and after option..

    Sorry to say but this is typically WordPress development they output Page navigations in < .a href's.. just one after the other and you can only hope there is enough classes to list and style them properly.

    I found this problem with WordPress the first time when i tried to apply Twitter's Bootstrap Page navigation to a WordPress theme.
    This is how a page-navigation should look like anno 2012 in default HTML. http://twitter.github.com/bootstrap/components.html#pagination

    not like this..

            <a href="#">page 1</a>
            <a href="#">page 2</a>
            <a href="#">page 3</a>
    

    • This reply was modified 12 years, 10 months ago by Shmoo.
    • This reply was modified 12 years, 10 months ago by Shmoo.
    #119374
    LabSecrets
    Participant

    Actually no.
    Event though it’s not maybe intuitive… the point is that you are creating and setting the default “slug” for bbPress to use, and then this slug needs a menu item in order for someone to point to it (obviously they could type in the url directly, but no one would know that).

    In sum: You don’t need to create a page. You should “not” copy the bbPress files to the forum folder… what you should do is:

    1) Visit forums page in bbPress link of dashboard and set the sitewide-forums slug to whatever you want;

    2) Use this slug in the appearance/menu creator to add this slug to any menu you wish (primary navigation, whatever…) with the format of: “/slug”. So, if your domain was “http:/something.com” and your sitewide forum slug was “sitewide-forums”, you would create a new menu item using “/sitewide-forums” or if you prefer absolute urls “http://something.com/sitewide-forums&#8221;

    Cheers,
    spence

    #119364
    Shmoo
    Participant

    First you don’t need to create a new page.

    When you install -/activate bbPress you get the slugs forums and topics by default look at the settings.

    When you type just forums behind your url (as it would be a page) you go straight to the forums index page.
    And if you would like to edit the layout of the page you should copy the archive-forums.php file from the plugins folder to your theme folder and make some changes.

    #119327
    JoanBotella
    Participant

    Hi everyone.

    I’m developing a web site with multilingual support, using WordPress 3.4.2 and the Polylang plugin 0.9.4 . I’d love to add a forum to the site, so I downloaded, installed and activated bbPress 2.1.2 .

    The first problem was that bbPress didn’t switch from one language to another, always keeping the default WordPress language. I solved this calling again bbpress()->load_textdomain() before loading the header template:

    function cbp_bbPressTranslate(){
    bpress()-&gt;load_textdomain();
    }
    add_action('get_header','cbp_bbPressTranslate');
    

    This worked great, but soon other problem appeared. If topics and replies doesn’t have translations, they doesn’t show up. I can add translation posts for they from the admin panel, but of course my users can’t. I’ve isolated the problem to the Polylang plugin: switching back to Twenty Eleven theme and deactivating all plugins but Polylang didn’t do anything. Deactivating Polylang showed the topics again.

    I’ve tried other multilingual plugins like xili-language, which works great with bbPress, but lacks of customizing menus panel, wich I need on my site.

    Anyone can help me? Encouraging words will be welcomed too! 😀

    #119312
    Shmoo
    Participant

    Just go to your forum settings page inside your WP Dashboard.

    And look at the slug for forums and topics field.

    By default it looks like this:
    forums
    topics

    If you put both names behind your url (as a it would be a page) you will find the url to the forums and last topics.

    You don’t need to do anything with files at this point.
    Just vist the forums page and copy the browser url > go back into your WP Dashboard > Menu’s and creat a new Menu + custom menu link. > Save

    Done
    People can now visit your forums page from the menu-bar of your website..

    #119308
    LabSecrets
    Participant

    You use the default wp menu creator and create a new menu item for the slug that matches your selection when you setup bbPress (default is “forums”). See this sticky for a tutorial video step by step

    The Definitive Guide To BuddyPress & bbPress Configuration

    Cheers!
    Spence

    #119287
    Shmoo
    Participant

    I think what he’s trying to say that somebody is working on it.

    This means somebody outside WordPress is making a replica because i can’t believe WordPress giving away the code to the same sites they own. Normally nobody would do so.

    But usual it’s not problem to recreate them and make them look the same, it’s just somebody has to do it in there free time so it takes a little time to complete.

    But maybe i’am mistaken and WordPress is giving you this layout by default inside bbPress.
    Maybe instead of the Twenty Ten option.

    And last, bbPress.org is running on WordPress + bbPress version 2.2 this version hasn’t been released yet and don’t know why the team would do so or tell people that they do. It’s against WordPress ‘thinking’ they never tell people to use development software (code) on Live websites. Always test it on local websites.

    You can find stuff about bbPress version 2.2 and up on this website.

    https://bbpress.trac.wordpress.org/roadmap

    #119284

    In reply to: page.php as template

    Shmoo
    Participant

    That’s very strange looks like the WP Loop is going somewhere through the sidebar.php file.

    Make sure nowhere in the file is this code also look in the footer or other files that will be used.

    ( without the * )

    But why would you copy stuff form the archive-forum.php template to the page.php template ?
    page.php is used to generate a default WordPress page.

    bbPress has it’s own Custom Templates
    https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    Those can be found in the extra’s folder. For example if you copy page-front-forums.php from the extras folder to your WordPress theme folder you can find it while adding a new Page inside the WordPresss Dashboard.

    Just: Add New Page and in the sidebar on the right side you can find an option the select a different Page Template.
    Pick the new bbPress page template and name your page like Support of whatever the title or (url) of this page has to be and Save it.
    Visit the Page and all the forums will show on that new page.

    Now if you like to add some WordPress (blog) stuff to that page copy it from whatever WordPress template inside the page-front-forums.php

    Make sure you delete the sidebar() code that i showed above out of that template.
    Thats the logic way of working i believe. Don’t touch the page.php because it’s a default WordPress template for making new pages on your website.

    #119261
    gabrielstuff
    Participant

    Hey there, please find my little code that I’ve put into function.php :

    function ela_signup_redirect($redirect_to){
      $return_url = "";
    
    if (defined('ICL_LANGUAGE_CODE')) {
        switch (ICL_LANGUAGE_CODE) {
            case 'fr':
                $return_url = "http://xxx/merci/";
              break;
            case 'en':
                  $return_url = "http://xxx/forum/sinscrire/";
              break;
            default:
                  $return_url = 'langue non configurée';
              break;
        }
    }
    error_log("message : " . $return_url);
    return $return_url;
    }
    add_filter("bbp_user_register_redirect_to", "ela_signup_redirect");
    

    I’ve been trying to debug everywhere and hunt when the redirect happen, but I still get redirected to the admin panel.

    Any help would be appreciated.

    #119253
    jjohns12
    Participant

    Hi, Can you help? In bbpress my favorites link returns page not found. http://www.thsotestsite.dev/members/admin/forums/favorites/ the rest of forum works fine.

    The favorites in BuddyPress work fine http://www.thsotestsite.dev/members/admin/activity/favorites/

    And Yes running both Group and site wide forums and are playing nice together for the most part:)

    WordPress: Current version
    BuddyPress: Current version
    bbPress: Current version
    Theme: Frisco and BuddyPress Default Both have same results
    all running on my dev. server (DesktopServer)

    Is this a bug or config problem?

    can anyone give clue how to fix this?

    Thanks
    James

    #119247

    In reply to: page.php as template

    Shmoo
    Participant

    If you use the bbp-theme-compat theme you can copy some template files from the plugin directory to your theme directory.

    This way bbPress can get updates in the future while your custom edits will not disappear because of the updates to the plugin.

    https://codex.bbpress.org/theme-compatibility/
    (read the last part.)

    Only thing is, there is a template file that’s named like this: page-front-forums.php everybody thinks this is the default template that will be shown when you have an url like this.
    http://example.com/forums/

    But that’s not true, this template is only used when you use bbPress (the forum index page) as a homepage for your WordPress site.
    If you use the forums (index) page as a separated page like my ‘example.com’ url above bbPress uses the archive-forum.php template.

    What you can do very easy is copy-/paste the archive-forum.php template from the wp-content > plugins > bbpress > bbp-theme-compat > extras > directory to your theme’s directory.
    wp-content > themes > your-theme-name > and edit that template file.

    Now bbPress wil not use page.php but the archive-forum.php template instead and you can edit this page to all your needs.

    ouyagamingsource
    Participant

    Hello BBP Forum,

    I got nearly everything set up with the BuddyPress and bbPress forum plugins, however there’s a few tweaks I need to finish it off and I’m trying to figure out which files I need to adjust the html settings to match my custom theme of my other pages.

    Going from these directions: http://codex.bbpress.org/legacy/step-by-step-guide-to-creating-a-custom-bbpress-theme/ I created a child from my Alyeska theme and copied the Default bbPress Theme to the child theme folder. This helped get the forum page a little closer to my custom theme style, but still not there yet; the sidebars are missing, the forum BG is white, amongst a few other issues, but it’s getting closer. I’m just not sure where the CSS master file for this page is, I tried editing the two files in the child_theme/bbp/CSS folder but it didn’t make any change: http://ouyagamingsource.com/forums/, any ideas?

    Thanks ahead of time!

    –Bryan

    Gary3000
    Participant

    Just as the title says, I’m curious to know how the current main page at bbpress.org/forums/ is set up. Ideally, I’d like to have my forums main page set up in exactly the same fashion.

    Am I correct in assumming that it’s done as a Page (“forums” being the slug) with the bbPress shortcode “[bbp-topic-index]” as its content?

    I notice for Latest Topics it lists 28 topics, however in the bbPress Codex listing of shortcodes, it says that particular shortcode only lists 15 of the most recent topics. How does one go about configuring it to show more (or less) than the default of 15?

    The other thing I’m curious about is how one gets the nicer “Forums” sidebar widget. The one on bbpress.org/forums/ is styled with a header containing “Forum” and “Topics” column headers, and then a striped list of the Forums with the associated topic counts. In the current public version of bbPress (2.1.2), the “Forums” widget only shows a straight, plain list of the Forums — no header/columns, and no topic counts. Is the widget used on bbpress.org/forums/ from the current SVN of bbPress, or was it customized specifically for bbPress?

    #119221
    Shmoo
    Participant

    Hello, i didn’t know a better title but i’ll try to explain what i meant to say.

    I don’t understand why it’s very easy to get all info that you need from the Topic Starter and when you need the same info from the last person who has replied on a topic it’s very difficult.

    Look at my screenshot and you’ll see what i’m trying to say.
    http://i48.tinypic.com/33op6wz.png

    Everything on this picture is done by CSS the only images you’ll see are the Gravatars,
    At the left side it’s the Gravatar of the Topic Starter with a Hover effect when i took the screenshot.

    I didn’t use the default PHP code that bbPress provided because it wasn’t very clean so i searched around and found a few simple and easy to understand PHP tags who could help me build my custom lay-out.


    php bbp_topic_author_url(); = provides a clean url

    php bbp_topic_author_display_name(); = provides clean text without url

    php bbp_topic_author_avatar( $topic_id = 0, $size = 60 ); = provides a gravatar with url

    I love those simple codes because i can add and wrap HTML around it and position everything i need on every corner of the website if i would like so..

    But when i try to make the same Gravatar at the right side it’s getting difficult because there aren’t a few simple tags i can use to get the same clean code from the last person who has posted inside a topic.


    php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'type' => 'avatar', 'size' => 60 ) ); = provides a gravatar with url okay

    php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'type' => 'name' ) ); = this doesn't provide clean text but a name + url

    It’s a huge bummer because i can’t make the Hover effect on the Gravatar without clean code tags.

    fuzzybee
    Participant

    I am using BuddyPress 1.6.1, bbPress 2.1.2 and WordPress 3.4.2

    I follow the guide here.

    In the end, I did the trick pointed out by Sarah Gooding because mywebsite.com/forums was blank right after the above installation

    • Created a page called “Forums” with permalink mywebsite.com/forums
    • Insert bbPress shortcode [bbp-forum-index] into “Forums” page

    My questions are

    1) How do I customise page templates for the forum e.g. Forum page, topic page etc.

    My current theme is a child theme of twentyeleven and it has the following structure

    > themes/bp-twentyeleven/

    >

    > /activity/

    >

    > /blogs/

    >

    > /forums/

    >

    > index.php

    >

    > forums-loop.php

    >

    > /groups/

    >

    > /members/

    >

    > /registration/

    >

    > header.php

    >

    > sidebar.php

    >

    > style.css

    Notes

    • Apparently, bp-twentyevelen/forums/index.php is being ignored.
    • The reason for this set up is that I need the site to looks like TwentyEleven and has BuddyPress’ functionality at the same time

    2) How do I make sure that bbPress functions will work for my site e.g. do I copy and past all the functions in functions.php of bbPress’ default theme over my theme’s functions.php?

    3) How do I ensure that whatever I will get from 1) and 2) (probably from bbPress experts somewhere) will not conflict with BuddyPress’ functionality or my theme?

    BuddyPress setting screenshots are here and here.

    bbPress settings screenshot is here.

    #119175
    Shmoo
    Participant

    I’m just curious because i would like to edit the author’s gravatar and how it’s showed in the source to get more CSS options.

    bbp_topic_author_avatar

    bbp_get_topic_author_avatar

    When i use the bbp_topic_author_avatar() version inside the loop-single-topic.php file it shows a perfect 40 pixels gravatar like explained on the website with all possible bbPress code tags.
    Great but when i try to make this gravatar 80 pixels instead of the default 40 there is something wrong because the code doesn’t accept my array when i try do this.

     '80' )); ?&gt;
    

    Even when i do this it doesn’t work.

     80 )); ?&gt;
    
Viewing 25 results - 4,201 through 4,225 (of 6,780 total)
Skip to toolbar