Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,326 through 6,350 (of 6,780 total)
  • Author
    Search Results
  • #61127
    petitpoulain
    Member

    A quick solution is changing where is “kakumei” to “mytheme” on all files.

    But hope a better solution, i tried that too and didnt work :(

    https://bbpress.org/forums/topic/theme-not-found-default-theme-applied?replies=8#post-4407

    #2505
    petitpoulain
    Member

    I installed on localhost. When i first try to change the theme it works, and them i have this message “Theme not found. Default theme applied.”, and can’t change anymore.

    I looked to the link themes and they are wrong, pointing to

    <br>

    ?theme=c:arquivosdeprogramaseasyphp1-8wwwwordpressbbpress/bb-templates/kakumeia/&_wpnonce=117154f828

    how can i fix it and remove that ‘c:arquivosdeprogramaseasyphp1-8wwwwordpressbbpress’ part?????

    #61072

    In reply to: CSS

    Graeme
    Member

    Did you copy all of the rules?

    You should have copied all of these rules:

    /* Default table structure
    =================================== */

    /* 100% is a good starting width for most tables - this is a forum! */
    table { width: 100% }

    /* Login form (header.php)
    =================================== */

    .login {

    }

    .login p {

    }

    .login label {

    }

    .login #submit {

    }

    p.login {

    }

    form.login input {

    }

    /* Breadcrumbs (most templates)
    =================================== */
    .bbcrumb {

    }

    /* Notice (profile.php)
    =================================== */

    .notice {

    }

    .notice p {

    }

    /* Front Page
    =================================== */

    #front-page #hottags {

    }

    #front-page #discussions {

    }

    /* hot tags! */
    .frontpageheatmap {

    }

    #front-page #main h2, #forum-page #main h2, h2.post-form, #userlogin, #currentfavorites, #register {

    }

    #front-page #discussions ul {

    }

    .sticky {
    background-color: #ffffd0;
    }

    /* Topic Page (topic.php)
    =================================== */

    /* wrapper for topic */
    .infobox {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    }

    ul.topicmeta {
    display: block;
    margin-left 1.0; padding-left: 0em;
    }

    .topicmeta li {
    display: list-item;
    list-style: square inside;
    }

    #topic-info h2 {
    border: 0px;
    margin: 0px;
    }

    #topic-info {
    float: left;
    }

    #topic-tags {
    top: 1.0em;
    margin-top: 2.0em;
    float: right;
    }

    /* .nav used by topic.php & tag-single.php */
    .nav {

    }

    .nav span {

    }

    .nav span, .nav a {

    }

    #thread {

    }

    #thread li {
    margin-bottom: 1.0em;
    }

    #thread li ol, #thread li ul {

    }

    #thread li ol li, #thread li ul li {

    }

    /* following are used by post.php */
    .threadauthor {
    margin-left: -0px;
    overflow: hidden;
    width: 115px;
    position: absolute;
    }

    .threadpost {
    margin-left: 130px;
    width: 370px;
    background-color: #f5f5f5;
    padding: 10px;
    }

    .poststuff {
    font-size: 0.8em;
    border-top: 1px solid #e5e5e5;
    }

    .num, #forumlist small {

    }

    .postform {
    background: #f0f0f0;
    padding: 1em;
    margin-bottom: 1em;
    }

    .postform textarea {
    height: 12em;
    margin: 5px 0;
    padding: 5px;
    width: 96%;
    display: block;
    }

    .postform label { display: block; }

    .rssfeed { line-height: 20px; padding-left: 23px; background: url( "images/feed-icon-16x16.png" ) center left no-repeat; }

    #manage-tags {

    }

    #manage-tags li {

    }

    .submit {

    }

    .topiclink {

    }

    .topictitle {

    }

    #topic-move {
    margin-bottom: 1.0em;
    }

    /* Content - specific to the main content div
    =================================== */

    #content .frontpageheatmap a {

    }

    #content .infobox li {

    }

    #content .nav a {

    }

    #content .nav a:hover {

    }

    #content a:visited {

    }

    /* Profile Page
    =================================== */

    #profile-menu {
    padding-top: 0.5em;
    list-style: none;
    border-bottom: 2px solid #ccc;

    }

    #profile-menu ul {
    }

    #profile-menu li {
    font-size: 1.1em;
    background-color: #eee;
    padding: 4px 7px;
    margin: 0px;
    display: inline;
    position: relative;
    top: -3px;
    }

    #profile-menu li.current {
    background-color: #ccc;
    }

    #userinfo {

    }

    #userinfo dt {

    }

    #userinfo dd {

    }

    #useractivity {

    }

    .user-recent {

    }

    .user-recent .alt {
    background-color: transparent;
    }

    .user-recent ol {

    }

    .user-recent ol li {

    }

    /* Profile Edit
    =================================== */

    fieldset {

    }

    legend {

    }

    fieldset table {

    }

    fieldset table td {

    }

    fieldset p {

    }

    /* Other
    =================================== */

    #front-search {

    }

    #latest td, #forumlist td, #favorites td {
    border: 1px solid #f5f5f5;
    }

    #forumlist tr td div.nest {

    }

    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover {

    }

    #latest th, #forumlist th, #favorites th {
    background-color: #e9ede8;
    border: 1px solid #f5f5f5;
    }

    #latest, #forumlist, #favorites {

    }

    .alt {
    background-color: #f9f9f9;
    }

    .bozo {

    }

    .alt.bozo {

    }

    .deleted {

    }

    .alt.deleted {

    }

    #60976
    tbronson
    Member

    It seems to be a user thing. I’d been posting from a user that’d been established in WordPress. I updated it to Key Master in bbPress, so it should have all powers. But I found that, apart from tags, I couldn’t delete a post either, same no permission message (same as noted by Jolaedana above). So I logged out and logged in as Superadmin, the default account from bbPress installation, and voila, I can do everything, add tags, delete posts.

    That doesn’t solve the problem. I haven’t tested to see what happens with other users, both already registered from WP and registered through bbPress. But it’s a workaround for me, and a…clue. :)

    #61080
    Graeme
    Member

    Try editing topic.php in the default template and replace:

    <?php post_form(); ?>

    with:

    <?php post_form('Reply to this topic:'); ?>

    This is a simple way to make the change you want.

    Note that rather than editing the default template, you can make use of the powerful templating behaviour of bbPress if you create your own theme. With custom themes, bbPress will always pick up missing template files from the default kakumei theme! That means custom themes can be quite simple!

    1. Create a directory called my-templates.
    2. Create a directory in that directory called myfirsttheme.
    3. Copy style.css, screenshot.png and topic.php from bb-templates/kakumei to your my-templates/myfirsttheme directory.
    4. Edit my-templates/myfirsttheme/style.css and change:
      Theme Name: Kakumei

      to

      Theme Name: myfirsttheme

    5. Change my-templates/myfirsttheme/topic.php with the change described above to topic.php.
    6. At this point you should see your own custom template in the admin backend.

    That allows you to setup your own theme. Then when new versions of bbPress come along you may not have to reedit the default templates – just copy your custom theme into the new/upgraded bbPress installation.

    I hope that makes sense.

    Note:

    Sometimes new functionality in bbPress will mean that it is best to copy the default template files and re-apply your changes in your custom theme.

    #2492
    jaxxx
    Member

    I’m currently editing the default theme template for the latest version. Everything is going well, except I can’t find the code reference for the “Reply” label (it shows up as <h2 class='post-form'>Reply</h2> in the HTML output. The rest of this section is editable in post-form.php. Where do I need to look to find the section (basically I just want to either remove this label and add a new one separately, or else be able to wrap some more code around it). The only other thing which may shed some light on this is the preceeding code: do_action( 'post_form_pre_post' ); but I have no idea what this function does.

    #60972
    chrishajer
    Participant

    I just did a fresh install of 0.8.3 and I can add tags to existing posts just fine. Maybe it happens only with upgrades? I noticed that on this install, my username is something I chose, rather than the old default of admin, so maybe that is messing up the keymaster somehow.

    #49513

    In reply to: sample plugins?

    Leo Plaw
    Member

    Why have the authors of BBPress been so daft as to not add a “my-plugins” directory to the default installation of BBPress?

    It was my first question, just like everybody else on the forum, “where’s the plugin folder”.

    Hey, it might seem obvious to those of you who know the BBPress, but for heaven’s sake make it easy for the newbies. You did it for WordPress, so why not BBPress?

    Get with it and think of the users you programmers! 8)

    #61005

    In reply to: Hot Tags Font size

    chrishajer
    Participant

    http://blueplato.com/forums/bbpress is not accessible (gives a 404). I was going to look at the theme you are using because that is not the default for the bb_tag_heat_map: <?php bb_tag_heat_map(9 38 ‘pt’ 80); ?>

    This is the default from https://trac.bbpress.org/browser/trunk/bb-templates/kakumei/front-page.php#L7

    <?php bb_tag_heat_map(); ?>

    So, what do the numbers mean? Looking at that function in bb-includes/teamplate-functions.php around line 1574, here’s what the defaults are, and mean:

    $defaults = array( 'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'limit' => 45, 'format' => 'flat' );

    Looks like you define the smallest size, largest size, the unit of measure, the max size and then a format (not sure what that last one does.)

    So, my guess is you would change those. At the very least you need to put comments between the arguments in the function call in your front-page.php: your example shows none. And you might want to add that last argument – not sure what happens when it’s missing.

    #2466
    ronjroy
    Member

    Looking at previous posts, I see a similar question pertaining to changing the font size of the hot tags. The answer however means nothing to me, i.e.

    <?php bb_tag_heat_map(); ?>

    The default as it looks to me is:

    <?php bb_tag_heat_map(9 38 ‘pt’ 80); ?> What do these numbers mean and by changing them I still see no change on the forum.

    This looks like:

    <div id=”hottags”>

    <?php bb_tag_heat_map(9 38 ‘pt’ 80); ?>

    </div>

    I have made changes to these numbers, but since I do not know what they affect, I can not get the font-size to change.

    I have also made changes to the stylesheet with no luck.

    .frontpageheatmap {

    font-size: 1em;

    font-family: “Eras Medium ITC”, sans-serif;

    font-weight: 600;

    font-style: italic;

    line-height: 1.4em;

    padding: 10px 0;

    }

    Can the tags be changed and if so is there a simple approach that is easy to follow and not too difficult to explain?

    blueplato.com.

    Thanks for any help!

    #60961

    In reply to: Cannot select DB

    lookfab
    Member

    Yes, the wordpress user exists. The passwords are the same.

    The really strange thing now is that WP has stopped working (it did before I started tinkering with bbpress). I get “Error establishing a database connection” when I try to view the blog.

    Even weirder, it seems that IIS “forgot” that index.php was a valid default page. I had to go back in and change this setting.

    #60517
    Jaithn
    Member

    hello…

    after upgrading to .83 the error-message changed…

    maybe somebody could help me!!! please!!

    Fatal error: Call to undefined function __() in /home/www/kunden/fsj-community.de/wordpress/forum/bb-includes/default-filters.php on line 81

    jaithn

    #60957
    chrishajer
    Participant

    If you would like to watch the whole forum, there are lots of RSS feeds set up by default in bbPress (tags, new posts, topics, etc), and you could just have those feeds emailed to you by something like Feedblitz http://www.feedblitz.com

    You’re also looking for a way to post to the forum via email though, and I don’t know of a way to do that. I know you can post to a blog via email, but I have not seen anything like that for bbPress (or any other forum actually.)

    #60754
    chrishajer
    Participant

    > Where it says “$bb->wp_table_prefix” – where do I find

    > the prefix?

    It would be listed in your WordPress wp-config.php – by default, it’s wp_

    > $bb->wp_home & $bb->wp_siteurl – that is just my

    > site url only, nothing more – http://www.blah.com

    That’s fine, no trailing slash.

    > Once I do the above how to I make the forum part of

    > wordpress, will it automtically look like this forum?

    Nope – it’s an independent application that you need to style to get it to look like your WP site.

    Search for threads tagged “integration”:

    https://bbpress.org/forums/tags/integration

    This was a good summary I thought:

    http://www.adityanaik.com/integratepress-part-i/

    #55810
    Detective
    Member

    I use this plugin ported from a Vanilla Extension:

    <?php
    /*
    Plugin Name: Video Tags
    Plugin URI: http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=33
    Description: Ported from SirNot's HtmlFormatter for Vanilla
    Author URI:
    Version: 0.1
    */

    //allow youtube and google videos to be posted, tags are:
    //<video type="google">docid</video> (google video) -or-
    //<video type="youtube">video id</video> (youtube) -or-

    function video_embed($texto){
    $sReturn = preg_replace_callback(
    '/<video(?>s+)type=(["'

    ])((?>w+))1(?>s*)>([A-Za-z-_d]+?)</video>/is’,

    ‘VideoLink’,

    $texto

    );

    return $sReturn;

    }

    function VideoLink($Matches)

    {

    $Type = strtolower(trim($Matches[2]));

    $ID = $Matches[3];

    switch($Type)

    {

    case ‘google’ : return (‘<embed style=”width: 400px; height: 326px;” id=”VideoPlayback” ‘.

    ‘type=”application/x-shockwave-flash” src=”http://video.google.com/googleplayer.swf?docId=&#8217;.$ID.'”></embed>’);

    case ‘youtube’ : return (‘<object width=”425″ height=”350″><param name=”movie” value=”http://www.youtube.com/v/&#8217;.$ID.'”></param>’.

    ‘<embed src=”http://www.youtube.com/v/&#8217;.$ID.'” type=”application/x-shockwave-flash” width=”425″ height=”350″></embed>’.

    ‘</object>’);

    default : return $Matches[0];

    }

    }

    function allow_video_tags( $tags ) {

    $tags = array(‘type’ => array(‘maxlen’ => 10));

    return $tags;

    }

    add_filter( ‘bb_allowed_tags’, ‘allow_video_tags’ );

    add_filter( ‘post_text’, ‘video_embed’ );

    ?>

    `

    It allows you to embed video only from YT or Google Video.

    #60745

    In reply to: WP 2.3 breaks bbpress?

    oledole
    Member

    EDIT

    Looks like it has something to do with “wp-blog-header.php” beeing called in from BB’s config.php. When I run a basic config.php and default theme it works fine …

    #58410
    neyoung
    Member

    Kahil, your method works well if your users use their login name as their display name. However if a user who’s login is user23 changes his display name to John Doe then your code looks for this image. /forum/avatars/John Doe.jpg instead of the correct avatar image which would be /forum/avatars/user23.jpg. I couldn’t figure out a clean way to fix this (I’m using wpmu, not wordpress). But here’s a dirty hack.

    <?php
    $comment_author_dn = get_comment_author();
    $comment_author = $wpdb->get_row("SELECT <code>user_login</code> FROM <code>wp_users</code> WHERE <code>display_name</code> = '$comment_author_dn'");
    echo '<img id="comment-avatar" height="50" width="50" src="/forums/avatars/' . (empty($comment_author->user_login) ? "default" : $comment_author->user_login) . '" alt="avatar" />';
    ?>

    That code should find images for a user if they use a display name or not.

    /shrug

    I haven’t fully tested it, but it seems to work ok.

    #60733
    chrishajer
    Participant

    Sounds like permalinks are creating a problem. Turn them off in your config.php and see if you can view posts.

    Make this line in your config.php look like this:

    $bb->mod_rewrite = false;

    (maybe it says true or slugs now)

    I don’t believe an .htaccess files comes with a default install. You would need to create one, so there won’t be one anywhere unless you created it, and it goes in the root folder of your forum. You can take care of that later, once you can at least see your posts.

    #52551
    outchy
    Member

    I can’t figure out how to hack this :/ Does anyone feel like helping me? :)

    #2393
    dvdiveguy
    Member

    During installation when I go to step 2 I get the following access violation message

    PHP has encountered an Access Violation at 0AF7B927

    bbPress

    Second Step

    Now we’re going to create the database tables and fill them with some default data.

    1. Created table dvdgbb_forums

    2. Created table dvdgbb_posts

    3. Created table dvdgbb_topics

    4. Created table dvdgbb_topicmeta

    5. Created table dvdgbb_users

    6. Created table dvdgbb_usermeta

    7. Created table dvdgbb_tags

    8. Created table dvdgbb_tagged

    At this point the tables have actually been created in the database but I can’t go forward with the installation. So if I start again I get the following.

    First Step

    We found Steve who is already a “Key Master” on these forums. You may make others later.

    First Forum

    Forum Name:*

    Description:

    Double-check that username before continuing.

    From here everything goes fine and I get this

    Finished!

    Now you can log in with the username “Steve” and password “*Your WordPress password*”.

    Username

    Steve

    Password

    *Your WordPress password*

    Login address

    Diver Forums

    Were you expecting more steps? Sorry to disappoint. All done! :)

    Unfortunately, I never got a valid password in the process so I can’t login. So I tried the password reset and the send me the password features but to be able to email from my server I need to put 2 ini_set statements before the mail statement so it knows which smtp account to use (this is for server security). the problem is that I will have to search all the files looking for the mail function.

    Can you help me out here.

    Here is my System Info

    PHP Version 5.0.4

    mySQL Versions:

    Server: 4.1.12

    Client: 4.1.7

    Steve

    I’m adding to this because I have since found and edited the registriation_functions.php file so it would send emails. I used the reset password functions to get a new password via email. The first step had me go to a url with a key at the end. Once I got the password I tired to login and got a Key Not Found error. So I took the key part of the url from the first email and forced it into the user meta table in the database. After that, I could login successfully. However, now when I create a topic and post it and then try to view it or any other things like edit users or forums it always returns an unable to locate page error. Well that’s where I’m at now. Its 2am so I going to bed.

    #60650

    In reply to: Cookies

    Trent Adams
    Member

    Not sure which file actually ‘writes’ the cookie, but as you know you can play around quite a bit by changing things in config.php. For example:

    For default installs this effectively makes the cookie names:
    'bb_user_' . md5('bb_')
    'bb_pass_' . md5('bb_')

    You can override the name of the cookie by setting values for the following somewhere in config.php:
    $bb->usercookie = 'my_great_user_cookie_name'
    $bb->passcookie = 'my_great_pass_cookie_name'

    Other than that, another user might have to tell you what function creates the cookie and then check the code. function.php maybe?

    Trent

    #56760

    In reply to: Plugin: Avatar Upload

    LMD
    Participant

    Thumbnails are now an undocumented feature in version 0.8.3.

    It’s undocumented because I think it ought to be road tested first. To use thumbnails you have to enable the feature in the plugin file itself, it is not configurable in the admin options page.

    1. Open up bb-avatar-upload.php and in the configuration settings class, scroll down to the following section:

    // Use a thumbnail image (hidden feature for now). 1 = yes / 0 = no (default)
    $this->use_thumbnail = 0;
    $this->thumb_width = 25;
    $this->thumb_height = 25;

    Set $this->use_thumbnail to 1 to enable and change the dimensions if desired.

    When enabled, whenever a user uploads an avatar a smaller copy is created with the prefix ‘thumb.‘ So the avatar username.jpg will have a thumbnail called thumb.username.jpg (the file type changes with the avatar file type, so PNG avatars produce PNG thumbnails etc).

    2. You can access the thumbnail image with the following function call:

    echo avatarupload_displaythumb($user->ID);

    An image tag is returned with the class name avatar_thumb.

    <img src="thumb.username.jpg" width="25" height="25" alt="Username" class="avatar_thumb">

    I think that covers everything, let me know if you have any problems.

    #2362

    Topic: User ID bug

    in forum Troubleshooting
    amalinow
    Member

    Problem with inserting users.

    Now, I am having a problem where my last insert id on the bb_users table is 10,000,000,430 and the user registration is broken.

    So I have looked at the code in bb-includes/registration-functions.php

    and I’ve found that this line in the bb_send_pass() function is causing trouble:

    $user = (int) $user;

    After this line $user is set to zero, where it was 10,000,000,430 before.

    After examining further, I found numerous places where you had $user = (int) $user;

    It seems like PHP cannot handle the type cast of 10,000,000,430…

    Btw… I do not know why the last_insert_id is 10,000,000,430, seems like something done by the previous website owner. However, looking at the bb_users.ID column it looks like it is BIGINT by default – which is too large for php integers which is only 32 bit signed…

    #60527
    fel64
    Member

    Actually the function works just fine, you’re just expecting it to work differently. Try using different flow control or rewriting your logic.

    if( blah_is_true() ) {

    } elseif( foo_is_true() ) {

    } elseif( third_thing_is_true() ) {

    } else {
    // default
    }

    The elseifs mean that if a previous if statement was true, none of the successive ones will be tried. That way, if it is bb, it won’t even check if it’s single or a page.

    Alternatively,

    if( ( is_single() || is_page() ) && !is_bbpress() ) {

    }

    will work just fine.

    If you’ve integrated bb into wp that way, of course some of the WP template tags will work that way. If you wanted everything else to return false when you loaded bb, you’d have to do this:

    function adjust_flags_to_bb() {
    global $wp_query;
    $wp_query->init_query_flags();
    }
    add_action('bb_init', 'adjust_flags_to_bb', 999);
    //not sure if that's the right action, but meh

    but that’s really quite unnecessary.

    #60455

    In reply to: Advanced Search

    fel64
    Member

    It’s pre-1.0. What did you expect?

    > so you can not search by poster name, or a date range?

    Yes, you can. That is only the default.

    > Your search page may need a template change: https://trac.bbpress.org/ticket/694#comment:1

Viewing 25 results - 6,326 through 6,350 (of 6,780 total)
Skip to toolbar