Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 5,726 through 5,750 (of 6,775 total)
  • Author
    Search Results
  • #74861
    plrk
    Member

    My theme is based on the default theme, and it works like a charm… It could be that you have based your theme on an older version of Kakumei that did not use the translation functions everywhere.

    #74860

    @plrk: Got your E-mail. I actually do have this thread as a favorite, thanks anyway for the update though! (I wished this forum had the E-mail notification option…)

    It works! Thanks!

    However my time-relevant php aren’t translated still. The strange thing is that those functions aren’t touched at all. I’ll have to dig again to see if there are any errors related to the __ -stuff. One would think the default theme wouldn’t have any problem with the translations(?) :)

    #75896
    Raize
    Member

    I was wondering the same thing…the default theme that comes with bbpress is not nearly as nice as this one

    #76643
    chrishajer
    Participant

    What version of bbPress are you using? Those instructions are for 1.0.1. Also, are you using a stock theme?

    Basically, you need to find, in whatever template file you want to change, the bbPress function that shows that text (it won’t be immediately clear because the function has a default text which is used if you don’t send it anything else. The default text is set in the core file bb-includes/functions.bb-template.php.) Just look in the source of the generated page and try to get some context for where in your template file this function will be (top, middle, bottom, in a table cell, near a unique css id, etc). Then, try adding your text in comments inside the parentheses, instead of them being bare. So, from this:

    bb_do_whatever()

    to:

    bb_do_whatever('Add New Essay')

    #76641
    chrishajer
    Participant

    2. of my reply covers your second problem.

    <?php bb_new_topic_link('Add New Essay'); ?>

    bb_new_topic_link is called without parameters in your front-page.php template file, but if you pass it the string ‘Add New Essay’ you will see the text in your displayed site change. You are overriding the default text which is in the bbPress core.

    The reason you don’t find it in a template file is because it’s not there. The function is there, and is called without parameters. The default text is in the core, but you can override it in your template.

    1. I cannot help you with and I questioned the desire to even do something like that. Why would you want an “add new” page indexed when it has no content? What benefit does it give your site?

    I imagine you could probably do something to change that using mod_rewrite and your .htaccess file, but I don’t know how to do that.

    #16187
    blah
    Member

    With the default settings, the “add new topic” link directs to http://yoursite.com/?new=1

    How can I change “?new=1” to something more SEO friendly like “add-new-topic”?

    #76617
    Gautam
    Member

    Create a functions.php file in your theme folder, and write this in it:

    <?php
    function get_post_teaser($chars = 200){
    global $bbdb;
    $topic_id_ft = get_topic_id(); //topic id for getting text of first post of the topic
    $first_post = (int) $bbdb->get_var("SELECT post_id FROM $bbdb->posts WHERE topic_id = $topic_id_ft ORDER BY post_id ASC LIMIT 1");
    $content = substr(strip_tags(strip_shortcodes(get_post_text($first_post))),0, $chars); //gets the first 200 chars of the post
    return $content;
    }
    ?>

    Then at the front page, put this where you need to display the post text (it should be inside the loop):

    <?php echo get_post_teaser(200); ?>

    You can change that 200 to anything, any number of letters you want. Default is 200.

    I think, this should work.

    #76598
    bb-gian
    Member

    crackpixels,

    In bbPress Comments are generally called Posts.

    I think the Posts column is set up by default.

    In the Latest Discussions table, look for this cell: <th><?php _e(‘Posts’); ?></th>, which is the title of the column, and this:<td class=”num”><?php topic_posts(); ?></td>, which is the content of the comuns, displaying the number of Posts (Comments).

    #76463
    johnhiler
    Member

    If the comment counts are off, try running a recount?

    Also… try activating the default Kakumei theme and see if the post form appears (and the freshness works properly). If so, the issue may be with your theme…

    #76350
    _ck_
    Participant

    First try switching your theme to the alternate and back again.

    If that does nothing, temporarily deactivate any plugin you may be using and see if that does it.

    Oh wait, you’ve been hacking at your theme.

    <div id="discussions" align="left">

    There’s no way that’s the default, you must have edited that.

    Replace the theme files from the original.

    So far it only looks like you edited front-page.php, so try replacing it with this in bb-templates/kakumei

    http://svn.automattic.com/bbpress/trunk/bb-templates/kakumei/front-page.php

    #75728
    _ck_
    Participant

    I noticed many of the old constants are not defined anymore by default.

    A few plugins, definitely not all just a few, may be fixed somewhat by adding this to bb-config.php

    define('BB_LOAD_DEPRECATED',true);

    #76263
    johnhiler
    Member

    That 1col_fixed theme only has front-page.php, header.php, footer.php, and a few other miscellaenous files.

    If bbPress can’t find a particular template file, it will pull the ones from the default theme, Kakumei (stored in /bb-templates/kakumei )

    More here: https://bbpress.org/documentation/themes/

    I would copy the missing files from kakumei over to your 1col_fixed theme, and then you can edit them right there. Good luck!

    #15348
    melilyn
    Member

    I’m trying to integrate bbpress into a custom WP theme I’ve made myself. I downloaded a theme that seemed perfect for me to start from, essentially a sandbox-esque theme. I got it from here (scroll down to 1col_fixed, there’s really no working direct link). I edited some files (header.php, footer.php, and front-page.php) and got EXACTLY the look I wanted. It looks fantastic with my site.

    However as soon as I stray off the main page, it starts looking hairy. There are NO files to edit so that I can change the forum list view, the topic view, or any other page. The readme file says the following:

    bbPress themes can be kept mean and lean. bbPress will pick up any missing mandatory

    template files from the default template. Use this to keep your themes simple.

    Yes, well, what if I need to customize THEM? Where do I get these files to edit them? Or would it, after all, be easier to start from a different theme?

    Thanks… the sooner someone can get back to me on this, the better; I’m kind of on a tight schedule!

    #76236
    Kar-l
    Member

    You can use CyrNickName plugin (it’s fine with 1.01). I use it for UTF8 usernames. It’s PITA that bbPress does not support it by default.

    #76212

    In reply to: Closed registrations

    kipperman
    Member

    I’ve just notice that is no .htaccess by default in the forum directory – Should there be?

    #76144

    In reply to: Step two questions

    Check out https://bbpress.org/documentation/themes/

    Basically you’ll make a new theme, but bbPress acts like a child theme, in that if you don’t specify something, it uses the default from the Kakumei templates. Once you get in there, it starts to make sense and feel elegant.

    #75411
    Ryan Hellyer
    Participant

    In any case I think it would be wrong to pimp Gravatar in the actual default theme.

    I wouldn’t call it “pimping Gravatar”, but “helping bbPress forum users”.

    bbPress is pimping Gravatar already by including it in the core software. Adding information about a core service in the theme seems reasonable to me. Themes are there to be edited. If someone doesn’t want to “pimp gravatar” they can easily remove it.

    Actually, it’d almost be nice to be able to tie Gravatar into your board so that when someone goes to change their avatar, it backends the whole deal to Gravatar. Imagine: Changing your gravatar from any enabled site, without having to login. And being able to pick which gravatar for which site…

    There was a discussion about this over at WPTavern.com recently. It would be terrific if someone built that functionality. It doesn’t seem to be a particularly trivial task though unfortunately.

    #76099
    chrishajer
    Participant

    You can make a directory called my-plugins (and might as well make my-templates at the same time) and then upload them with your FTP program. Some FTP programs will allow you to create a new directory on the remote host by right clicking, as well. If you have shell access to the host, you can make directories there as well (but I suspect you don’t based on your questions.) And, 1.0 comes with those directories by default now.

    In any case, glad you got it sorted. These instructions are for anyone else who might need help.

    #75515

    In reply to: Navigation error

    taboo
    Member

    I don’t think the issue is connected with modrewrite. I also tried turning just every possible plugin off, using default theme… and the pagination is still off. Please could someone help? Maybe I could use a different function?

    #15299
    azcs
    Member

    where would i put this code? in the header?

    <div id=”navigation”>

    <ul id=”nav”>

  • “><?php _e(‘Home’,’rag’); ?>
  • About
  • InterviewscompetitionOur projects
  • <div id=”search”>

    <form method=”get” id=”searchform” action=”<?php bb_option(‘uri’); ?>search.php”>

    <div>

    <input type=”text” size=”38″ class=”search” id=”s” maxlength=”100″ name=”q” value=”<?php _e(‘Search the forums…’,’rag’); ?>” onfocus=”if(this.value==this.defaultValue)this.value=”;” onblur=”if(this.value==”)this.value=this.defaultValue;” />

    <input class=”search-submit” name=”submit” type=”submit” id=”search-submit” tabindex=”8″ value=”<?php _e(‘Go’,’rag’); ?>” />

    </div>

    </form>

    </div>

    </div>

#75994
QuickD
Member

Well the other issues don’t really have error messages. One is reputation plugin didn’t work at all. Couldn’t add or subtract points from the user also wanted to change so that points were not added for merely making a posting. In regards to avatars some seem to work and not others. Others have a little ? by the name so its like an image was selected but no image displays. What we want is either a selected image or the default image that is used in this forum.

The site in question is CanadianRugby.ca

Cheers

#75983

You can change that in post.php file of your theme. If you don’t have it then copy the file of default theme in your present theme and edit it as per your need.

#75940
double_d
Member

Ashfame,

Thanks for replying. Here’s some more details that might resolve the problem after reading your tutorial.

I have WordPress and bbPress installed on separate databases. I know bbPress is connecting to the WP user tables because when I add a user I see it added on the bbPress side.

I did not change the default table prefixs for WordPress or bbPress per your tutorial.

On the bbPress WordPress Integration page I have all the fields filled out except the following:

– secure auth cookie salt

– WP MU Primary blog ID

– User database “user” table

– User database “user meta” table

Let me know if think the above items maybe the cause. Thanks.

#75952
pulk99
Member

yes, I did. and I checked again with the new default template, still not working. so it can’t be really a theme issue, or?

edit: yes, my theme is in the my-templates folder (now)

#75936
Gautam
Member

You also need to change bb-admin/includes/defaults.bb-htaccess.php appropiately and regenerate permalinks.

Viewing 25 results - 5,726 through 5,750 (of 6,775 total)
Skip to toolbar