Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,176 through 30,200 (of 32,431 total)
  • Author
    Search Results
  • #57557
    neziniux
    Member

    all right, i will sleep well then :)

    #57556
    fel64
    Member

    The #1 thing to do is to backup regularly. You can’t be 100% sure that you’re safe – but if you have a backup it’s not a particularly big deal. :) If you use WordPress use the backup plugin for that and include the bb tables too.

    If someone else users your computer and you’re still logged in, then they have access to everything you have access to. You can’t do much damage through bbPress; deleting posts etc. isn’t permanent, for example. What you should be concerned about (if you reckon someone nasty is going to get to your computer at all) is your FTP, database and hosting admin access.

    #57555
    neziniux
    Member

    Thank you. Well, if it is save enough, then i should leave it as it is. I am just worried about the server because i am expecting a few dosen of members. My 1st website was overwritten once (aaaaahhh!…), therefore i am interested in all the measures against bad luck.

    I wonder if there is some code in bbPress where i can change its cookie’s life duration? I think i came accross it somewhere in but cannot remember now where exactly.

    #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.

    #55305
    fel64
    Member

    Plugins for bbPress have to go in /your-bbpress-folder/my-plugins. They will not work in any other place. If the my-plugins folder does not yet exist, you have to create it. :)

    #1841

    Topic: GAS ZAPPERS

    in forum Showcase
    kennethhung
    Member

    forum url:

    http://www.GasZappers.com/forums/

    The Gas Zappers forum documents the entire creation process from brainstorming to finishing of the GAS ZAPPERS- an online game about Climate Change/ Global Warming. You can check out the site at http://www.GasZappers.com

    We want to make this game totally open-source- not only technically but also creatively. We need your input to make this game totally kick ass. This is a communal project and thats the sole purpose why this forum exists. So please go nuts with your creativity! You can basically post any ideas here! Open dialogues close misconceptions :-)

    GAS ZAPPERS is NOT-FOR-PROFIT. We want to make a game that will help people understand the big freaking fuss of Global Warming, and in the same time, create a game that is action-packed, challenging and fun to play with.

    Alrighty, Thnx for checkin. Peace Yo!

    Kenneth Hung

    #57396
    fel64
    Member

    Rather than filling up pages of this forum, it would be nice if you could use something like pastebin. :)

    That’s not your only stylesheet. Style declarations for your forum are also made in http://www.bozzysworld.com/wp-content/themes/k2, which is where you need to make the changes to .secondary and so on. Since you have several different stylesheets referenced they may be conflicting. Changing that stylesheet may have knock-on effects on your main site’s theme. Are you using your wordpress header? It may be easier to recreate your header for bbPress but with seperate stylesheets, so that modifications for your forums will not affect your front page.

    #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?

    #57232
    lira
    Member

    De-activated, re-activated and it can’t even feed the database. I’m hacking it now, but I can’t figure the problem out at all… oh well, I’m going to ask the author for help, and I’m sure looking forward to seeing your plugin, fel64 :)

    #57523
    fel64
    Member

    1. Unfortunately there’s nothing I can find. No-one on these forums has posted about switching from vBulletin yet, presumably because they’ve invested in it. I can’t help since, well, it’s licensed. Maybe you can look at the data structure yourself and write a converter?

    2. No idea, but my guess is far better for performance. That’s one of the main reasons for bb’s existence – to provide even faster forum software than the best the WordPress people could get their hands on. :)

    #57521
    fel64
    Member

    You certainly need an absolute path like GTim said. Now your forum seems to work, how’d you get it to be so?

    I should also say that in my config.php I have the path to wordpress’ wp-config.php, nothing else.

    #57518

    In reply to: Profile Permalinks

    fel64
    Member

    That’s easy enough to do; it’s implemented already in the bleeding-edge not-officially-released version of bbPress (which is actually perfectly stable and bug-free for me). This direct link will give you the currently newest version, revision 817. To activate these super-pretty permalinks, open your config.php and set the pretty permalinks option to 'slugs' instead, then if applicable (you’ll probably know if it is) change the contents of your .htaccess file to whatever /bb-admin/rewrite-rules.php tells you to.

    #1837

    Topic: Plugin: lotsolinks

    in forum Plugins
    fredvee
    Member

    Hello!

    I’ve been working on my first plugin for a while, and I don’t even know if it’s useful! It deals with users with websites to promote for fun or for profit. The concept is this: users can specify tags in their profiles possibly related to their website. Then, in the topics they start, everytime another user use one of those words in their posts inside the topic, these words are wrapped in a link to the topic poster’s website.

    Am I clear? Now you too can have annoying intellitxt’s on your forums =) without the thousands of visitors! And you’re not referring to big advertising companies but to your dudes with a web presence. It is a give and take thing. Cause you might raise their pagerank like this, but they have to come to your site and post good topics and take care the discussion goes along etc. It might even be a socializing exercise in tricking the posters to type the tags you’ve specified! Cause they are not visible to the public.

    And here comes the reality check part. I’ve been just “hacking around ” with this thing and I’m aware things should look prittier than they are now. First things first, it requires the ra_custom_profile_keys plugin as an easy way to add a field in the registration. Which is not a so bad thing after all. Good plugin. But more importantly I needed a way to hide the tags field in the profile view and I only managed to do it by modifying one of the template-functions, which I know is absolutely an ugly thing to do, even if I just added a line.

    It’s all in the code

    and you can see it in function here. (I was hunting for a marketable domain name, sue me).

    Btw, if you happen to try it out and things go wrong… I really hope I could help you about it but don’t hold your breath.

    Ciao

    #57520
    gtim
    Member

    I think that you need need to require bb-settings.php, too. However, that doesn’t explain your error messages. The //../ part is odd. What if you try an absolute path? E.g.

    require_once( '/home/ceciliabjerling.com/www/wordpress/wp-blog-header.php' );

    #57034
    fredvee
    Member

    Alright! Somehow I had to do like this to get to it:

    global $topic_id;

    $topic = get_topic($topic_id);

    $topic_poster_id = $topic->topic_poster;

    #57033
    fel64
    Member

    What do you mean, no go?

    This code should do it! At a wild guess, remember that globals have to be declared as globals again in each function.

    global $topic;
    $topic_poster_id = $topic->topic_poster;

    It may also be helpful to know that the attributes or whatever they are (things after the ->) correspond to the columns of data in the table.

    #57231
    fel64
    Member

    You do need to use that table, but if you installed WP yourself it should also be created when you activate the plugin. Maybe de-activate and re-activate.

    However I’m working on a plugin that will do the entire thing (complete integration hopefully) based on a different, IMO much neater system. I don’t want to promise anything before it’s done, but if this plugin doesn’t work for you there’ll be a simpler alternative soon. :)

    #57511
    bruz
    Member

    Hu :-) I’ve been searching this forum before posting, so I thought I had really missed something in first place :-)

    Yea, the plugin is for WordPress, I think I will try if I can make it work for bbPress…

    #57230
    lira
    Member

    Erm… hey guys, could you tell me what I’ve done wrong?

    I’ve just installed “bbPress Post”, and WordPress is telling me there’s no table called “wp_bbpress_post_options” (which is true). I reckon I should solve this problem before hacking wp’s comments.php template… but how?

    ps.: Oh, and you guys are doing a great job here, congratulations :)

    #57503

    In reply to: My dream theme.

    Nola1974
    Participant

    bah with your PCBoard.. :)

    wwiv sysop here for 7 years until 2000. been thinking about putting up another.

    a theme like this would be so freakin’ cool. :) if someone can get the commands working, I’d be happy to theme it to look like whatever board package. I’m better with html than i am with php.

    #57064

    In reply to: Plugin: bbPortal 1.2

    Null
    Member

    YEah some dude fixed it, but never mailed me the solution :(

    #53433
    fel64
    Member

    I did :) Should every affected topic be tagged modlook or is it better to tag just one?

    #1829

    Topic: My dream theme.

    in forum Installation
    Nola1974
    Participant

    Anyone see the CLI theme for WordPress?

    testing here: http://fearandloathingbbs.com/wordpress/

    My dream would be a theme like this for bbpress that would turn it into an old school BBS a la WWIV, VBBS or teleguard. I’ve been trying, but I suck. :(

    No really. how cool could that be?

    #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;
    }
    ?>

    #57356

    In reply to: Plugin: Move It

    gh3
    Member

    i have just released the 0.12 version.

    in this new version i added the merge topic feature :)

    you can download it on bbpress svn or my site.

    hope it could be useful :)

    ps. sooner i’m planning to add split topic feature, but ‘ll have to work on it…

Viewing 25 results - 30,176 through 30,200 (of 32,431 total)
Skip to toolbar