Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 6,501 through 6,525 (of 6,778 total)
  • Author
    Search Results
  • #1928
    willspill
    Member

    My bbpress is having trouble displaying stylesheets correctly. I am using the default style that bbpress comes with. I have it installed locally on a test environment.

    The admin section looks exactly how it should, but the forum itself does not. I have noticed that the path to the stylesheet is incorrect.

    <link rel=”stylesheet” href=”http://localhostbbpress/bb-templates/kakumei/style.css&#8221; type=”text/css” />

    notice how after localhost the “” is the wrong way.

    Not sure if anyone can tell me how to fix it.


    in the admin page, the stylesheet path is correct

    <link rel=”stylesheet” href=”http://localhost/bbpress/bb-admin/style.css&#8221; type=”text/css” />


    my config.php looks like this

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://localhost&#8217;; // Example: ‘http://bbpress.example.com&#8217;

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/bbpress/’; // Example: ‘/forums/’

    #57873
    fel64
    Member

    That’s right. A typical template file in your theme will be like this: bb_get_header() loads header.php from your theme’s folder or otherwise the default kakumei one (header.php should contain what is now in your second div called header), then there’s a bunch of content, and then bb_get_footer() will get the sidebar and the footer elements in footer.php. You won’t need to modify this or add any files or anything like that to make your theme, at least in all probability.

    Because header.php and footer.php are always called, the unchanging HTML and php should all be in there.

    header.php

    html
    head
    //some head stuff, links and meta etc
    /head
    body
    wrap
    header
    //header HTML for your logo etc
    /header

    whatevertemplate.php

    .
    content
    //content HTML and php
    /content

    footer.php

    .
    sidebar
    //sidebar HTML and stuff
    /sidebar
    footer
    //footer HTML and stuff
    /footer
    /wrap
    /body
    /html

    I hope that’s clear, it’s a little late so I might have some tired logic. This is pseudoHTML – body corresponds to <body>, but wrap corresponds to <div id="wrap"> and sidebar = <div id="sidebar"> etc. I hope that’s okay.

    So there are usually only three files that directly contribute to the output of the forum. Most of the HTML you’re messing about with should go in header.php or footer.php.

    bb_get_header() and bb_get_footer() deal with all the mucky stuff for you, you don’t need to ‘call’ them (if I’m understanding you right) from the main template individually. Just make sure they’re proper HTML inside header.php and footer.php.

    #57943

    In reply to: Private Forum

    fel64
    Member

    Not by default install. Could be done by a plugin, but one to do it does not yet exist.

    #1914
    JeremyVisser
    Member

    In the bbPress forums stylesheet (in the custom theme for bbPress.org, not the default theme), you have this:

    .post {
    overflow: hidden;
    }

    Can I request that you change the value to auto, to make it heaps easier to read users’ code postings (as they frequently overflow)?

    .post {
    overflow: auto;
    }

    #57659
    Sam Bauers
    Participant

    The change in that ticket only covers moderators, admins and keymasters. Not members.

    This is as it should be because members are not and should not be trusted by default. The automation of member signup, login and post is possible. Not to mention real human spamming by ill-intentioned “members”.

    So this is behaviour by design as far as I can tell.

    #57890
    Sam Bauers
    Participant

    This could be done with a plugin. However there is no way to do this using a default install.

    #54582

    In reply to: No Stylesheet

    bbx
    Member

    Hello

    I’m having the same exact problem, with the same configuration: Win Xp with SP2 + Xampp.

    Installation went fine, WP users (with the locally installed WP) are recognized, even the french translation file works.

    The path to my stylesheet seems fine, I checked the source. But it won’t work.

    I didn’t get how to fix it. I saw the PHP code but it doesn’t tell WHERE to put it. If anyone could tell, that would be great.

    bbx

    EDIT: I’ve tried to figure it out by myself but it didn’t work out.

    I added the function in the “functions.php” file, and the add_filter in the “default-filters.php” file, both files being in the “bb-includes” folder.

    What did I do wrong?

    #57823
    howtogeek
    Member

    Doesn’t work for me… thanks for the suggestion though.

    I’ve noticed that the URLs such as the profile links are broken as well.

    I’m hoping there’s a plugin hook that I can use to override the default sanitize function… haven’t looked into it yet, but it seems like that’s where the problem is coming from.

    omarvelous
    Member

    Well, I was having those other problems, in my last thread.

    I activated the mod_rewrite in Apache,

    changed $bb->domain = ‘http://localhost&#8217;;

    and $bb->path = ‘/blog/forums/’;

    I had made the key_master “admin” which was same as my wordpress, which was a problem, but I fixed by altering the wp_usermeta as specified in another thread.

    I believe that was it…. beside create a my-templates folder, and create a copy of the default one.

    fel64
    Member

    You don’t need that file. :) You have already installed, right? What did you last change?

    omarvelous
    Member

    I’m getting the following error:

    “Fatal error: Call to undefined function load_default_textdomain() in S:Devxampphtdocsblogforumsbb-settings.php on line 143”

    I get this whenever I try to access the Admin section logged in as Key Master, or whenever I try to go into bb-press/index.php or install.php.

    That line is as follow in bb-settings –

    // Load the default text localization domain.

    load_default_textdomain();

    Now….

    Do I need a file if i’m using english?

    My config.php is as follows:

    define(‘BBLANG’, ”);

    Any1?

    #57803
    omarvelous
    Member

    I’m thinking it might have to do with the Apache modules. By default mod_rewrite wasn’t activated, I recently discovered. Any1 know of any other mods crucial for the bbPres to work?

    #57805
    igos
    Member

    Probably I found a solution: bozo status.

    But there is another question, why all my registered users all bozos by default, how to change it?

    #52348
    fel64
    Member

    The topic resolved thing is probably because that was written for an older version of bb which had that in it by default. I think installing the forum support plugin will add that column, worth a shot anyway?

    https://bbpress.org/plugins/topic/16?replies=7

    Otherwise you could edit the php file and remove the bits about the topic_resolved column (remember to back up the original file in case it doesn’t work!).

    #56696

    In reply to: Plugin: Avatar Upload

    anaon
    Member

    Hello,

    I’m installing this plugin for my forum. Evering goes well, I have the default avatar, the avatar tab but I can’t upload anything: when I click on the avatar tab, I have this error:

    Fatal error: Call to undefined function: bb_get_current_user_info() in /home.13/s/p/l/spleenar/www/forum/avatar-upload.php on line 24

    Can you help me?

    #57617
    chrishajer
    Participant

    If you are getting a blank page, you probably have a syntax problem in one of your template files that’s creating a PHP error, and your host just stops on errors. Try using the default theme and see if things work. If they do, then try looking at the files you modified for a PHP syntax error.

    If you have access to a php error log, you can look there for information too.

    #1852
    #57398
    fel64
    Member

    h2.postform is in /bb-templates/k2/style.css, line 194. It’s stretched like that because it by default takes up the whole width of the parent element, which is Secondary. It is more effective to set the width for Secondary than for the child elements, because the Secondary width will automatically control all the child elements too. :)

    Firebug is an invaluable HTML, CSS and JS debugger. :)

    #1845
    neziniux
    Member

    Hello, i trying to integrate the avatar function. However, when i choose the picture and press Upload, i get a following error message: "The image file does not appear to have been uploaded - did you select an image?"

    The default folder is avatars/ and the default picture shows up too. I even chaged the avatar folder permission to 777 but the message remains the same. Where elese can i change something?

    Thank you.

    Hello,

    I am intergrating BB into WordPress and am hitting a wall.

    When I attempt to go to step three of installation I meet the following text:

    bbPress database error: [Column ‘post_text’ cannot be part of FULLTEXT index]

    CREATE TABLE bb_posts ( post_id bigint(20) NOT NULL auto_increment, forum_id int(10) NOT NULL default ‘1’, topic_id bigint(20) NOT NULL default ‘1’, poster_id int(10) NOT NULL default ‘0’, post_text text NOT NULL, post_time datetime NOT NULL default ‘0000-00-00 00:00:00’, poster_ip varchar(15) NOT NULL default ”, post_status tinyint(1) NOT NULL default ‘0’, post_position bigint(20) NOT NULL default ‘0’, PRIMARY KEY (post_id), KEY topic_id (topic_id), KEY poster_id (poster_id), KEY post_time (post_time), FULLTEXT KEY post_text (post_text) ) TYPE = MYISAM

    1. Created table bb_forums

    2. Created table bb_posts

    3. Created table bb_topics

    4. Created table bb_topicmeta

    5. Created table bb_tags

    6. Created table bb_tagged

    7. Changed type of wp_usermeta.meta_key from varbinary(255) to varchar(255)

    8. Changed type of wp_usermeta.meta_value from longblob to longtext

    9. Changed type of wp_users.user_login from varbinary(60) to varchar(60)

    10. Changed type of wp_users.user_pass from varbinary(64) to varchar(64)

    11. Changed type of wp_users.user_nicename from varbinary(50) to varchar(50)

    12. Changed type of wp_users.user_email from varbinary(100) to varchar(100)

    13. Changed type of wp_users.user_url from varbinary(100) to varchar(100)

    14. Changed type of wp_users.display_name from varbinary(250) to varchar(250)

    15. Added index wp_users UNIQUE KEY user_login (user_login)

    bbPress database error: [Table ‘louise.bb_posts’ doesn’t exist]

    INSERT INTO bb_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES (‘1’, ‘1’, ‘1’, ‘

    First Post! w00t.

    ‘,’2007-05-10 15:35:23’, ‘192.168.2.4’, ‘0’, 1)

    bbPress database error: [Table ‘louise.bb_posts’ doesn’t exist]

    SELECT post_id, poster_id FROM bb_posts WHERE topic_id = 1 AND post_status = 0 ORDER BY post_time

    bbPress database error: [Table ‘louise.bb_posts’ doesn’t exist]

    SELECT * FROM bb_posts WHERE post_id = 0

    Finished!

    I am doing everything to the letter and cannot see what I’m doing wrong…..

    The only things I change to install is the directory titles from:

    wordpress to ‘journal’

    and

    bbpress to ‘message_board’

    Help would be greatly appreciated. As its driving me mental. All of this just so I can have people sign in to both wordpress and bbpress at the same time.

    Thanks

    #57395
    bozzy
    Member

    I’m not sure I get it… here is what my css file looks like:

    /*

    Theme Name: K2 for bbPress

    Theme URI: http://www.linickx.com/blog/archives/253/k2-for-bbpress/

    Description: A port of the famous k2 to bbpress

    Version: 0.01 theta-beta

    Author: Nick [LINICKX] Bettison

    Author URI: http://www.linickx.com

    */

    /*

    Derrived from Bryan Veloso orriginal style sheet that ships with bbpress, added a little style from the sheet availble from http://getk2.com, copyright of that to the people at http://binarybonsai.com !

    */

    /* Globals

    =================================== */

    * { margin: 0; padding: 0; }

    body {

    font: 62.5% ‘Lucida Grande’, Verdana, Arial, Sans-Serif; /* 62.5% sets 1em to about 10px */

    background: #EDEDED;

    color: #444;

    text-align: center;

    margin-bottom: 30px;

    }

    a { color: #27d; text-decoration: none; }

    a:hover { color: #27d; text-decoration: underline; }

    .alt { background: #fff; }

    code { font: 1.0em Monaco, ‘Courier New’, monospace; }

    p { margin-bottom: 1.0em; }

    .left { float: left; }

    .right { float: right; }

    .delete:hover {

    background: #c00;

    color: #fff;

    }

    h1 { font-size: 2em; }

    h2 { font-size: 1.5em; }

    /* Structure

    =================================== */

    #wrapper {

    width: 780px; /* controls the main width of the page, if changed also change #content and .sidebar */

    margin: 0 auto;

    background: white;

    text-align: left;

    }

    #header {

    padding: 0;

    margin: 0;

    position: relative;

    height: 200px;

    background: #3371A3; /* header color default is #3371A3, for images – background-image: url(example.jpg); */

    }

    h1, h2, h3, h4 {

    font-family: ‘Trebuchet MS’, Verdana, Sans-Serif;

    }

    #header h1 {

    font-size: 3em;

    font-weight: bold;

    letter-spacing: -1px;

    margin: 0;

    padding: 75px 0 0 40px;

    }

    #header p { margin-bottom: 0; }

    #header h1 a, #header h1 a:visited { color: #fff; text-decoration: none; }

    #header h1 a:hover, #header h1 a:active{ text-decoration: underline; }

    #main {

    font-size: 1.2em;

    width: 760px;

    margin: 10px auto 25px;

    position: relative;

    }

    .bbcrumb {

    text-transform: uppercase;

    font-size: 0.9em;

    letter-spacing: 1px;

    }

    #footer {

    margin: auto;

    color: #666;

    font-size: 1.0em;

    letter-spacing: 2px;

    text-transform: uppercase;

    padding-top: 10px;

    clear: both;

    text-align: center;

    width: 760px;

    }

    #footer a:link, #footer a:visited { /* more link link color fixes for nav & admin stuff */

    color: #777;

    text-decoration: none;

    font-weight: bold;

    }

    #footer a:hover, #footer a:active {

    color: #000;

    text-decoration: underline;

    font-weight: bold;

    }

    .notice {

    border: 2px solid #4c9545;

    background: #abd8a2;

    color: #4c9545;

    font-size: 1.1em;

    font-weight: bold;

    padding: 10px 15px;

    margin: 0 0 1.1em;

    }

    .notice p { margin-bottom: 0; }

    /* Login Form

    =================================== */

    .login {

    color: #000;

    margin: 10px 40px;

    }

    .login a, .login a:visited { color: #000; text-decoration: none; }

    .login a:hover, .login h1 a:active{ text-decoration: underline; }

    .login p { padding: 0 0 5px; }

    .login label {

    display: block;

    float: left;

    padding-right: 10px;

    }

    .login #submit {

    font-size: 1.2em;

    margin-top: 13px;

    float: left;

    }

    p.login {

    font-weight: normal;

    font-size: 1.2em;

    }

    form.login input {

    margin-top: 3px;

    border: 1px solid #999;

    }

    /* Front Page

    =================================== */

    #front-page #hottags {

    position: absolute;

    top: 0;

    left: 0;

    width: 150px;

    overflow: hidden;

    }

    #front-page #discussions {

    margin-left: 0px;

    width: 500px;

    float: left;

    }

    .frontpageheatmap {

    font-weight: normal;

    line-height: 30px;

    padding-bottom: 10px;

    }

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

    color: #333;

    border-bottom: 1px solid #ddd;

    margin: 0 0 10px;

    padding: 0 0 5px;

    }

    #front-page #discussions ul { padding: 0 0 0 14px; }

    .sticky {

    background: #EDEDED;

    }

    /* Topic Page

    =================================== */

    .infobox {

    border: 1px solid #ccc;

    border-width: 1px 0;

    padding: 1em;

    width: 500px;

    }

    .infobox ul {

    margin: 10px 0 10px 12px;

    padding: 0;

    }

    .infobox ul li { padding-bottom: 3px; }

    #topic-tags {

    border-left: 1px solid #ccc;

    float: right;

    margin-top: -2em;

    padding: 0 1em 1em;

    }

    .nav {

    margin: 15px 0;

    padding: 12px 0;

    }

    .nav span { font-weight: bold; }

    .nav span, .nav a { padding: 6px; }

    #thread {

    background: #eee;

    list-style: none;

    margin: 0 0 0 100px;

    padding: 0;

    width: 500px;

    }

    #thread li {

    padding: 1.5em 1.0em;

    line-height: 1.5em;

    }

    #thread li ol, #thread li ul { margin-left: 40px; }

    #thread li ol li, #thread li ul li { padding: 0; }

    .threadauthor {

    margin-left: -110px;

    overflow: hidden;

    position: absolute;

    width: 95px;

    }

    .threadauthor small { font: 11px Verdana, Arial, Helvetica, sans-serif; }

    .poststuff {

    border-top: 1px dotted #ccc;

    margin: 10px 0 0;

    padding: 5px 0 0;

    font: 10px Verdana, Arial, Helvetica, sans-serif;

    text-transform: uppercase;

    width: 500px;

    }

    .num, #forumlist small {

    font: 11px Verdana,Arial,Helvetica,sans-serif;

    text-align: center;

    }

    .postform {

    background: #fff;

    padding: 1em;

    width: 500px;

    }

    .postform textarea {

    height: 12em;

    margin: 5px 0;

    padding: 5px;

    width: 500px;

    display: block;

    }

    .postform label { display: block; width: 500px;}

    .admin { padding: 10px 0 0; }

    #manage-tags {

    margin: 10px 0;

    list-style: none;

    }

    #manage-tags li {

    float: left;

    width: 200px;

    padding-bottom: 10px;

    }

    .submit { text-align: right; }

    .topiclink { display: block; }

    .topictitle {

    font-size: 26px;

    font-weight: normal;

    display: inline;

    }

    /* Other

    =================================== */

    #content .frontpageheatmap a {

    font-weight: normal;

    text-decoration: none;

    }

    #content .infobox li { margin-bottom: 2px; }

    #content .nav a {

    border: 1px solid #ccc;

    font-weight: normal;

    }

    #content .nav a:hover {

    border: 1px solid #999;

    }

    #content a:visited {

    font-weight: normal;

    }

    #front-search {

    float: right;

    margin-top: -8px;

    }

    #latest td, #forumlist td, #favorites td { padding: 5px 10px; }

    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background: #cbd9e4; }

    #latest th, #forumlist th, #favorites th {

    /* border-bottom: 1px solid #aaa; */

    background: #3371A3;

    color: #fff;

    padding: 5px 10px;

    text-transform: uppercase;

    font-weight: bold;

    }

    #latest th a:link, #latest th a:visited, #latest th a:active {

    color:#fff;

    }

    #latest, #forumlist, #favorites {

    background: #f7f7f7;

    margin-bottom: 2em;

    width: 100%;

    }

    .bozo { background: #eeee88; }

    .alt.bozo { background: #ffff99; }

    .deleted { background: #ee8888; }

    .alt.deleted { background: #ff9999; }

    /* Profile Page

    =================================== */

    #profile-menu {

    margin: -35px 0px;

    padding: 0 0 30px 0;

    float:right;

    }

    #profile-menu ul {

    margin: 0;

    padding: 0;

    position: absolute;

    bottom: 0;

    left: 20px;

    width: 90%;

    }

    #profile-menu li {

    display: inline;

    margin: 0;

    }

    #profile-menu,

    #profile-menu li a {

    padding: 5px 15px 6px;

    }

    #profile-menu li a {

    font-size: 1em;

    color: white;

    margin: 0;

    }

    #profile-menu li a:hover {

    background: #333;

    color: #eee !important;

    text-decoration: none;

    }

    #profile-menu li.current a,

    ul.menu li.current a:hover {

    color: #333 !important;

    background: white;

    text-decoration: none;

    }

    #userinfo { margin-top: 10px; }

    #userinfo dt { font-weight: bold; }

    #userinfo dd { margin: 0 0 5px; }

    #useractivity { margin: 15px 0 5px; }

    .user-recent { margin: 0 0 10px; }

    .user-recent ol { margin: 5px 0 0 28px; }

    .user-recent ol li { margin: 0 0 3px; }

    /* Profile Edit

    =================================== */

    fieldset {

    border-top: 3px double #ccc;

    border-bottom: 1px solid #ccc;

    border-left: none;

    border-right: none;

    padding: 10px 0 10px 10px;

    margin-bottom: 15px;

    width: 500px;

    }

    legend {

    font-weight: bold;

    padding: 0 15px;

    }

    fieldset table {

    text-align: left;

    margin: 0 15px;

    }

    fieldset table td { padding: 2px 0; }

    fieldset p {

    font-size: 11px;

    margin: 10px 16px;

    }

    /* further additions by Nick */

    /* this is for my 48 x 48 avatars */

    .post {

    min-height: 60px;

    }

    Can you tell me if it’s right?

    #57194
    fel64
    Member

    Okay, I promise in future I’ll be all mature and responsible and test these things first. Sorry for the inconvenience. This works on my forum now; just copy and paste this into a new plugin file. Then put <?php aposttime(); ?> for default time output, or <?php aposttime( 'DATE FORMAT' ); ?> for your own time formatting.

    <?php
    /*
    Plugin Name: Accurate Post Time
    Plugin URI:
    Description: Outputs an accurate post time in, optionally, your choice of formatting. Use <?php aposttime( 'DATE FORMAT' ); ?> in your template, <a href="http://uk3.php.net/date">date formatted according to PHP standards.</a>
    Author: fel64
    Version: Phi
    Author URI: http://www.loinhead.net/
    */

    function aposttime ( $dtformat = "jS F 'y" ) {
    global $bb_post;
    $aposttime = date( $dtformat, strtotime( $bb_post->post_time ) );
    echo $aposttime;
    }
    ?>

    #56695

    In reply to: Plugin: Avatar Upload

    fel64
    Member

    * added a ‘default avatar image’ option (if you don’t want to use fel64’s identicons — see previous posts in this thread).

    fel – how would you like me to link to the identicon’s plugin? Currently, I’m just linking to your post in this thread.

    IMO identicons make the perfect default avatar and I would like it if you include them or at least make it an option choosable through the admin panel. (If it reassures you, the Identicon creator is happy with this being included as part of such a plugin too.)

    If you don’t want to do that, again IMO this should go into a branch for your plugin (I’d need to update it first). It’s not possible to add this as a plugin so that it will work with yours, nor is it distinct enough to be its own plugin; if not part of the core plugin, I see the only alternatives to be making it a branch or just leaving it here as unofficial hack.

    #56694

    In reply to: Plugin: Avatar Upload

    LMD
    Participant

    Version 0.3 is now available for download from the plugin browser.

    Version 0.3 is not compatible with previous versions, so you will have to go through your templates and make some changes to the template functions (check the Readme file).

    New Features

    * added an ‘Avatar’ tab to the profile menu

    * added a ‘default avatar image’ option (if you don’t want to use fel64’s identicons — see previous posts in this thread).

    * can access just the avatar’s URI for use in other plugins.

    fel – how would you like me to link to the identicon’s plugin? Currently, I’m just linking to your post in this thread.

    Oh and I have hacked together an Über-Avatar plugin which pulls together the various avatar plugins into one ‘api’. It iterates through some logic based on a specified order of preference (set by the admin), checking to see if the user has specified an avatar using each plugin.

    For example:

    Order to check: avatar-upload, bb-avatar. bb-myavatars, identicon

    Has user uploaded an avatar?

    — Yes: Invoke the ‘avatar-upload’ plugin template function and break.

    — No… continue

    Has the user specified an external URL?

    — Yes, invoke ‘bb-myavatar’ template function and break.

    — No… continue

    Has the user got a Gravatar?

    — Yes, invoke ‘bb-myavatars’ template functions and break.

    — No… continue

    Has the user got an identicon?

    — Yes, invoke the same code as ‘avatar-upload’ and break.

    — No. create an identicon and then invoke the ‘avatar-upload’ code.

    It’s not perfect yet though, so no release.

    #57367
    gh3
    Member

    When i had a look at it, it redirected me on install page, but now it redirect me to the blank page.

    It seems that someone using the link have installed it, but it seems no to work… because bbpress on install made a default post, that you can look at: http://nerdsgonewildmagazine.com/forum/topic.php?id=1

    But it is blank too.

    Btw i suggest you first of all to remove the bb_ data on mysql if you are not the man who made the install process.

    Then dunno, it seems that it doesn’t process at all any php command.

    Mhh do you know if your host is linux or win, and if it use php4 or 5?

    ps. do you have any rewrite rule in .htaccess file?

Viewing 25 results - 6,501 through 6,525 (of 6,778 total)
Skip to toolbar