Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,151 through 6,175 (of 6,788 total)
  • Author
    Search Results
  • chrishajer
    Participant

    This is the problem right here:

    <?php bloginfo('html_type'); ?>

    bloginfo is a WordPress function, but you’re in bbPress. Try hard coding it like this <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> as it is in the default theme, and I think you will find that it works.

    Tranny
    Participant

    Yes, I had the layout of forums customized before upgrade to WP2.5 becasue defaul is very user not friendly. I also had title tag customized because default values are not SEO friendly. Obviously, this clashes with upgraded version causing my forums page to not work. This is what HEAD of my header.php looks like

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title>
    <?php if (is_front()) { ?> Forums and Forum Topic on Bullshit Blog <?php }
    elseif (is_forum()) { echo (get_forum_name() . " on Bullshit Blog Forums"); }
    elseif (is_topic()) { echo (get_topic_title() . " Forum Thread on Bullshit Blog"); }
    else {
    ?>

    <?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> &raquo; <?php bb_title() ?>

    <?php } //else ?>
    </title>
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" media="screen" />

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <style type="text/css" media="screen">

    <?php
    // Checks to see whether it needs a sidebar or not
    if ( !$withcomments && !is_single() ) {
    ?>
    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>

    </style>

    <?php wp_head(); ?>

    <?php if ( is_topic() && bb_is_user_logged_in() ) : ?>
    <script type="text/javascript">
    var lastMod = <?php topic_time( 'timestamp' ); ?>;
    var page = <?php global $page; echo $page; ?>;
    var currentUserId = <?php bb_current_user_info( 'id' ); ?>;
    var topicId = <?php topic_id(); ?>;
    var uriBase = '<?php bb_option('uri'); ?>';
    var tagLinkBase = '<?php bb_tag_link_base(); ?>';
    var favoritesLink = '<?php favorites_link(); ?>';
    var isFav = <?php if ( false === $is_fav = is_user_favorite( bb_get_current_user_info( 'id' ) ) ) echo "'no'"; else echo $is_fav; ?>;
    </script>
    <?php bb_enqueue_script('topic'); ?>
    <?php endif; ?>

    </head>

    There’s obviously a lot of dynamic stuff in the head of my theme to make it mor SEO friendly. Is there a way to retain it and have it properly pull required data again?

    Thanks for your help guys, I really appreciate that :)

    #65691
    Sam Bauers
    Participant
    define('BB_LANG', 'sv_SE.mo');

    .

    I just realised that you may not have a language file for bbPress installed at all. bbPress does not come with any language files by default. You need to download them separately and follow the instructions in the bb-config.php file about where to put them.

    The language file you are after should be here…

    http://svn.automattic.com/bbpress-i18n/sv_SE/trunk/

    #65689
    Sam Bauers
    Participant

    Are you loading WordPress inside bbPress? If so the textdomain does not get loaded due to the fact that it is called “default” like the WordPress one.

    If you merge the language files of WordPress and bbPress and load it in WordPress it should work.

    #62921
    docpepper
    Member

    Hi, don’t know whether this is solved or not… I am using wordpress 2.3.3 as a Blog section on one of my clients websites. I started getting the IE7 404 error on all my pages after I added almost pretty permalinks to my pages…It did seems to go when I removed the blog-header require statement, but obviously this didnt fix the problem! I set the permalinks back to default in wordpress and the 404 errors stopped! Might be worth trying if you are using pretty permas?…Let me know if it works!

    #65610
    jldean
    Member

    Make sure you haven’t got ‘Post status’ set to ‘deleted’ – try changing it to ‘all’

    It always defaults to ‘deleted’ on my installation for some reason.

    #65594

    In reply to: color attribute

    familiar
    Member

    Have a look in /bb-includes/formatting-functions.php

    If there is a filter, you should be able to find it in there.

    From there, have a look in template-functions.php and see if it is applying the filter to the post.

    EDIT: Forgot to mention, also look in the default-filters.php file.

    #3557
    vassago
    Member

    When trying to post I get this message:

    bbPress database error: [Unknown column ‘post_title’ in ‘field list’]

    UPDATE bb_posts SET post_title=’Testy mctest test’ WHERE post_id=’11

    I am using the wordpress database (different prefix for bb stuff) but there doesn’t seem to be a post_title column, here’s the output from mysql:

    mysql> describe bb_posts;

    +


    +


    +


    +


    +


    +


    +

    | Field | Type | Null | Key | Default | Extra |

    +


    +


    +


    +


    +


    +


    +

    | post_id | bigint(20) | NO | PRI | NULL | auto_increment |

    | forum_id | int(10) | NO | | 1 | |

    | topic_id | bigint(20) | NO | MUL | 1 | |

    | poster_id | int(10) | NO | MUL | 0 | |

    | post_text | text | NO | MUL | | |

    | post_time | datetime | NO | MUL | 0000-00-00 00:00:00 | |

    | poster_ip | varchar(15) | NO | | | |

    | post_status | tinyint(1) | NO | | 0 | |

    | post_position | bigint(20) | NO | | 0 | |

    +


    +


    +


    +


    +


    +


    +

    9 rows in set (0.00 sec)

    I have looked around, but can’t seem to find anything about it on here. The forum/topic actually shows up when I go back to the page, but this is rather inconvenient. Thanks to anyone willing to help out with this.

    WP version = 2.51

    MySQL version = Server version: 5.0.45-Debian_1ubuntu3.3-log Debian etch distribution

    bbPress version = latest (just got it 3 or 4 days ago) so 0.9.0.2

    Thanks,

    -Scott.

    familiar
    Member

    If I comment out the following line in default_filters.php:

    // add_action(‘bb_head’, ‘bb_template_scripts’);

    The warning goes away. But I am not sure what this affects.

    #65518
    chrishajer
    Participant

    Can you confirm that? I suspect that would not work either. I tried it in my forum, as a regular member, on a post I wrote a week ago, and I cannot edit it. Is it possible you have a longer time set for the edit lock? A really large number there will allow editing for a long time, and a negative number would probably make them editable by the member who wrote it forever, without expiration.

    By default, members should not be able to edit any other members posts, and members should only be able to edit their own posts for the configured period of time. Keymasters can edit anything at any time. Is that not your experience?

    #65514
    chrishajer
    Participant

    I just checked on my bbPress installation and that does not work. It just redirects to the forum home page when I am not logged in. When I log in and try to access the edit.php url, I get redirected to the forum home page as well.

    I just checked on your forum and I cannot edit posts made by anyone else when I am not logged in. When I log in, I still cannot edit posts made by any other members. I tried this URL:

    http://www.cairoshell.com/forum/edit.php?id=10314

    FYI, the member who created the reply can edit the post for a period of time that is set in bb-config.php. And keymasters can edit posts made by anyone for an indefinite period of time. Is it possible you are using a plugin that gives members more permission than normal? Or that the user seeing this edit functionality is logged in as a keymaster?

    I am not seeing the problem you describe, so if your users can edit other members posts, you need to look at the permissions that they have. The default installation does not do this in any forum I’ve checked, including this forum, your forum and my own forum.

    #3505
    photolord
    Member

    I looked on here, but wasn’t quite able to find how to do this. If I missed it I apologize. How would I modify topic titles to not have the name of the forum in the title? What would I change? What file would I modify? Such as:

    This is the default title structure right now on my theme:

    <title>Topic Title >> Forum Name</title>

    I would like to change the title structure to this:

    <title>Topic Title</title>

    Any ideas? Thanks.

    Best regards,

    Matt

    dvdvideosoft
    Member

    to sambauers:

    >> You have to explicitly choose “Remember me” when you login. If

    >> that option isn’t there when you login then you need to update

    >> your template to match the default one in this regard.

    It makes sense! Please give me some advice.

    Do I need to correct my skin template or can I set a parameter in the config file?

    chrishajer
    Participant

    1. Cool (thank you), 2. Good, 3. Awesome.

    I forgot two other things which may or may not apply with current versions of bbPress. Include the my-plugins and my-templates folders, empty if necessary. Then it sort of makes sense when people are looking and thinking “where do I put this plugin?”

    Not sure if the my-* folders are still necessary or if everything goes into bb-* folders now.

    There was one more item, but I have lost the thought. Maybe it will come back to me later.

    EDIT: oh yeah. Why not include the code for search in the template, just commented out? I know there is one camp for tags and one for search, but people asking how to add search is a fairly common thing too. It’s built in, so why not just put it in the template, and comment it out if you don’t want to default to having it turned on?

    Why not something like:

    <?php
    /* uncomment this to show the search box
    search_form( $q );
    */ ?>

    Sam Bauers
    Participant

    You have to explicitly choose “Remember me” when you login. If that option isn’t there when you login then you need to update your template to match the default one in this regard.

    I’m pretty sure this was a part of the last release.

    Sam Bauers
    Participant

    Keep in mind though that including WordPress inside bbPress is an incredible overhead for what is just a modification to the presentation layer.

    The most lightweight solution is to create your own theme in my-templates which extends the default theme. Any file that is not found in your own theme simply falls back to using the default, so your theme could consist of as little as a style.css file (which could itself simply import the default themes style.css – see kakumei-blue theme for an example of how to do that), a header file and a footer file.

    #65369
    thousande
    Member

    iv tried on ur website (https://bbpress.org/forums/)

    i just use the default theme without any plugins…believe me…it is not a plugin or theme problem…

    u can log out and click a topic in this forum….and then log in…try to compare the speed… i do think u can get the same question as i…

    i hope all the bbpress users can try in that way…

    i doubt that there is a cookie problem on bbpress…

    #65368
    bobbyh
    Member

    Can you give us a URL?

    This sounds like a problem with either your theme or a plugin.

    To isolate the problem, switch to the default theme, deactivate all plugins and then add the plugins one by one until the problem pops up again. It may also be a problem with your theme, but it’s more likely it’s a plugin problem.

    benbeltran
    Member

    I hope it helps somehow. In my opinion, this is the best forum software if you’re a developer that wants custom forums and doesn’t mind getting dirty with code. At least that’s why I love it (I know, people will disagree with me).

    I’ve never felt so in control of my forums before :). Everything is just … clean, from the default UI to the insides.

    #60806

    In reply to: Simple registration

    cordoval
    Member

    0. done

    1. so far bb_update_usermeta -> bb_update_meta-> and now in lines 38 and 39 of register.php on the root we add a line below 38: bb_update_usermeta( $user_id, $key, $$key ); /*this is where the user gets registered */

    As follows: bb_update_user_password( $user_id, “default” ); /* I am assigning here the new password by default which is “default”

    This works! So now I just need to get the string from the custom field and assign it here! Can anyone more experienced than me help me?

    #65329
    hiver
    Member

    It was essentially default theme. I found the tag by viewing the source of the generated page. The template files didn’t have the information I needed.

    #63462
    timskii
    Member

    All the integration code assumes you start with a blog and want to add a forum. However, if you start with a forum, chances are the forum’s user database will be far larger than the blog. The technique below outlines how I did it. This is entirely at your own risk. I’ve not gone over the standard things, like shared secret keys: I’m assuming you’ve read the basic integration guides.

    0. You’ll need to be familiar with .htaccess, SQL at raw database level, and template hacks. If your level of expertise is “pressing buttons”, stop reading here. This is very easy to mess up, so make plenty of backups. Ideally test the whole conversion first, and probably prepare scripts to run if a lot of database changes are needed.

    1. Block public access to the blog and forum for all except your IP using .htaccess.

    2. In the database, rename wp_users and wp_usermeta. These won’t be used, but you will need them later to cross-reference old posts to new authors. I’m assuming a standard install that uses wp_ and bb_ as prefixes.

    3. Copy bb_users and bb_usermeta to wp_users and wp_usermeta respectively. Keep the original tables for now.

    4. Add the missing column via SQL: ALTER TABLE wp_users ADD user_activation_key varchar(60) NOT NULL default '';

    5. Delete the WordPress install, but keep the old database tables (and plugins and themes). Install WordPress in its former position. Use an entirely new user name as your new WordPress admin. (The purpose of deleting and then installing WordPress is to create a genuinely new admin user in the table. For me, this was faster than manually adding an admin user and making sure all the correct permissions were set. You mileage may vary.)

    6. How much extra work you need to do to your old WordPress tables depends on the number of authors that were active on WordPress: Using SQL, you’ll need to change all the old author IDs in wp_posts and wp_comments to match that author’s ID from the forum. It is possible there are other user references deep in the system, so be careful. I had little complexity to deal with. If your were the first to register for both your forum and blog, the important IDs may match perfectly already.

    7. Most WordPress templates use the user’s display_name. This is unfortunately, because BBPress tends to use user_login. The result is that most WordPress references to user names will appear blank. You’ll either need to populate the display_name column, or hack around with your WordPress templates so that they use user_login. Template call get_the_author_login() is perfect for authors, but for comment references I had to use get_usermeta($user_id,’user_login’) or comment_author_link() where $user_id was 0. Messy. Since the admin side of WordPress uses display_name anyway, it is probably a lot easier to populate that column.

    8. Your WordPress install should be now more-or-less working. Let’s return to the forum!

    9. It is very easy to accidentally destroy the forum Keymaster, locking yourself out of the forum before integration is complete. If this happens, edit the table bb_topicmeta by deleting the final few lines with meta_key starting “wp_”.

    10. On the forum admin, under WordPress Integration: Set the User role map such that Admin links to Keymaster and everyone else is a subscriber, and save. Add “wp_” under User database table prefix and save. Hit the User role map button again. Finally complete the cookie setting and save. The order is important – simply filling in all the boxes and saving can wipe out the old Keymaster access before the new one has been set up.

    11. In WordPress, check the user list. I found that some user types did not convert automatically – notably moderators. Hopefully 99% of users will have been automatically assigned as subscribers. If you use a lot of plugins, take care that nothing conflicts. For example two separate plugins trying to write user meta data using the same key name. You may also wish to test a dummy registration and profile change.

    12. Remove the old bb_users and bb_usermeta, and the copies of your original wp_users and wp_usermeta.

    13. Remove the .htaccess blocks, and celebrate your newly integrated setup.

    I’m now having fun trying to marry a second forum to the first WordPress-Forum pair. Everything is easy, until one tries to alter the admin permissions…

    #65114
    chrishajer
    Participant

    Put all the bbPress files that are in the archive you downloaded into a folder in your webspace. If your website is at http://www.example.com/ and the files on the server are at /var/www/vhosts/yourname/ and you want your forums at http://www.example.com/forums/, just create a directory called /var/www/vhosts/yourname/forums in your webspace and upload the files there.

    Put all the bbpress files into one folder though, exactly how they came out of the archive. By default, when you unzip the files, they are in a folder called bbpress. You can use that or rename that to forums, then just upload the whole thing to your webspace.

    #3437
    sepidol
    Member

    i just solved my login cookie issue after one night debugging…

    i found these things:

    – by default, wpmu generate auth_cookie as “wordpress”, but bbpress generate as “wordpress_xxxxx(hash)”

    – wpmu not using “database secret” for cookie hashing, but it use the SECRET_SALT constant defined in the wp-config.php, bbpress using “database secret”. so the cookie result will never be the same.

    you need to update your bb-config.php file to meet these situations.

    assumed you’ve successfully install wpmu + bbpress, then edit your bb-config.php and add these line:

    define(‘BB_SECRET_KEY’, ‘yourreallysecretkey’);

    define(‘BB_SECRET_SALT’, ‘yourreallysecretsalt’);

    $bb->authcookie = ‘wordpress’;

    $bb->cookiedomain = ‘.yourdomain.com’;

    $bb->cookiepath = ‘/’;

    $bb->sitecookiepath = ”;

    and try to login… voila.. you can switch to bbpress and wpmu without re-login… :)

    good luck,

    rh

    #65125
    Detective
    Member

    Please add these two fields to your table bb_privatemessages:

    'del_receiver' tinyint(4) NOT NULL default '0'
    'del_sender' tinyint(4) NOT NULL default '0'

    I forgot to put those two on the install function. Now it should work :)

Viewing 25 results - 6,151 through 6,175 (of 6,788 total)
Skip to toolbar