Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 22,351 through 22,375 (of 32,481 total)
  • Author
    Search Results
  • #32730
    KasperN
    Member

    Hi :)

    I recenetly set up a forum at piloten.no/forum. I think i managed to get the cookies and all synced, because when i log in to my wp-admin i get logged inn at my forums as well. Only problem is that i can’t fint the bb-admin panel. It is supposed to be on /forum/bb-admin but that just redirects me to /forum.

    When i’m logged in at the forums i cannot find the ‘ADMIN’ link that used to be there before…

    http://bildr.no/image/561660.jpeg

    #82889
    chrishajer
    Participant

    The svn is just short for “subversion” which is version control software you can use for checking out code. It’s still a bbpress.org domain: it’s perfectly safe. Just a subdomain.

    #57739
    af3
    Participant

    btw, i added favorite edit link from bp profile with this: <?php if($current_displayed_user == $current_loggedin_user) { ?> (<a href="/forum/profile.php?id=<?php echo $current_loggedin_user; ?>&tab=favorites">Edit Forum Favorites</a>) <?php } ?>

    Michael
    Participant

    I see, then I’ll wait for a top-level domain. :) Thanks

    #83426
    citizenkeith
    Participant

    What grassrootspa said. :)

    #83551

    In reply to: Support and bbPress

    Michael
    Participant

    It is supported, and will continue to grow. It will eventually become a canonical plugin for WordPress. :)

    I also thought so at first, but I really love this software – so I’m sticking with it, no matter what. :)

    #32726
    tonicarr
    Member

    I just read this at the following URL, http://bbshowcase.org/forums/. I am not sure what it means or I may be behind the times. Can someone explain the status of bbPress to me and for those of us currently working with it.


    ” The bbPress Showcase has been discontinued.

    The removal of Sam Bauers and the halting of bbpress.org 2.0

    was a clear and final sign that there is no interest in allowing

    bbPress to become a mature, robust program and community.

    By now bbPress 1.5 could have been in alpha but instead

    bbPress development has been deliberately stagnated,

    which should be a very alarming warning to everyone.

    In addition, bbShowcase had only six donations in 2009,

    which indicated to me there was no interest in my work.

    My code will remain on bbpress.org as open source GPL

    for those that wish to use it, however I caution you to

    consider bbPress’s lack of leadership before continuing to use it. “


    Thanks and I appreciate the update.

    Toni

    #83422
    grassrootspa
    Member
    #83421
    chrishajer
    Participant

    Sorry that should have been directed at citizenkeith:

    “_ck_’s bbpress signatures and BBcode Buttons Toolbar plugins”

    I just wanted to look at those two plugins and didn’t really feel like searching for them.

    #83539
    hoppie
    Member

    Negative. If I point it at /pub/bb-admin/ (the address suggested by the Admin link), the browser gets redirected to /pub/ straight away. If I point at /pub/bb-admin/ without having logged in first, I get a login screen, then after login the browser jumps back to /pub/. Or sometimes again gives the 404.

    My installation does not have a .htaccess file, it never had. My config lives in the Apache site config and has just this (next to lots of other unsuspect stuff):

    RedirectMatch ^/$ /pub/

    I don’t think this is the problem. However, 0.9 may have assumed a config that I never had, which 1.0 requires. Do you have a suggestion?

    Jeroen

    #82250
    chrishajer
    Participant

    Here is a list of the tables that are created in 1.0. Here I changed the table prefix from bb_ to bbpress_:

    http://chrishajer.com/bbpress/bbpress-tables.png

    Those are the tables that need to be dropped to start the installation over. You don’t need to delete any files at all.

    #82661

    In reply to: Forum List Alterations

    Michael
    Participant

    Doesn’t seem to work. It returned this: http://i.imagehost.org/0831/Screenshot-Dev_station_Mozilla_Firefox.jpg

    Not to worry though – I’ll simply adjust the forums to reduce the clutter. :)

    Thanks for your help – I really appreciate it :)

    #82660

    In reply to: Forum List Alterations

    Replace

    <?php		else :
    if ( $prev_depth == 1 ) : ?>
    <br />
    <?php
    else :
    ?>, <?php
    endif;
    ?><a href="<?php forum_link(); ?>" title="<?php forum_description( array( 'before' => '', 'after' => '' ) ); ?>"><?php forum_name(); ?></a><?php
    endif;
    $prev_depth = $depth;
    endwhile; ?>

    with

    <?php		else :
    if ( $prev_depth < $depth ) : ?>
    <br />
    <?php
    else :
    ?>, <?php
    endif;
    ?><a href="<?php forum_link(); ?>" title="<?php forum_description( array( 'before' => '', 'after' => '' ) ); ?>"><?php forum_name(); ?></a><?php
    if ( $prev_depth < $depth ) : ?>
    <br />
    <?php endif;
    endif;
    $prev_depth = $depth;
    endwhile; ?>

    I think that should work

    #83503
    COGBones
    Member

    Thanks that has fixed it. :)

    #82659

    In reply to: Forum List Alterations

    Michael
    Participant

    Okey dokey – we have something going here. Thanks very much – wouldn’t have been able to do it without you. :)

    Now, there’s one last thing that needs a work-around. If you go to my forum (http://www.inniosoft.co.cc/devstation) and scroll to the Support Forum, there are meant to be forums as far as 2 sub-forums deep. The structure is this:

    Support Forum

    – Software Developemnt *1

    — Child-Forum

    -Website Development *1

    — Child-Forum

    Is there any way to put each *1 on a new line? I’m sure it’s easily done by checking $depth – but I don’t want to play too much in case.

    PS: The styles and what not will be changed later – I know it looks a little scrappy now..

    #82658

    In reply to: Forum List Alterations

    <?php if ( bb_forums() ) : ?>
    <h2><?php _e('Categories'); ?></h2>
    <table id="forumlist" cellspacing="0">
    <tr>
    <th><?php _e('Title'); ?></th>
    <!--<th><?php _e('Topics'); ?></th>
    <th><?php _e('Posts'); ?></th>-->
    </tr>
    <?php
    while ( $depth = bb_forum() ) :
    if ($depth === 1 ) :
    if ($depth < $prev_depth) :
    ?>

    </td>
    </tr>
    <?php endif; ?>
    <tr<?php ( bb_get_forum_is_category() ? bb_forum_class('bb-category') : bb_forum_class() ) ?>>
    <td colspan="3">
    <big><a href="<?php forum_link(); ?>"><b><?php forum_name(); ?></b></a></big><?php forum_description( array( 'before' => '<br/><small>', 'after' => '</small>' ) ); ?>

    <?php else :
    if ( $prev_depth == 1 ) : ?>
    <br />
    <?php
    else :
    ?>, <?php
    endif;
    ?><a href="<?php forum_link(); ?>" title="<?php forum_description( array( 'before' => '', 'after' => '' ) ); ?>"><?php forum_name(); ?></a><?php
    endif;
    $prev_depth = $depth;
    endwhile; ?>

    </td>
    </tr>
    </table>
    <?php endif; // bb_forums() ?>

    #83533
    Michael
    Participant

    Welcome :)

    I see – well it looks really great. I only wish I could do something like that… I probably could, but I’ve never played around with it.

    #32719
    hoppie
    Member

    Backed up everything.

    Saved my bb-config.php (but did not need to re-install this, right?).

    Saved my my-plugins dir.

    Disabled all plugins.

    Changed from 0.9 to 1.0 using a symlink reset.

    Was asked to enter several config options, such as database name. Did it all.

    Installer claims that db was available etc. and declares the job done.

    New Forum 1.0 appears, I can login using previous credentials.

    Postings seem intact.

    However, clicking on “Admin” makes the browser go briefly to bb-admin and then back to the home page.

    Clue: after login, the browser claims:

    The requested URL /pub/pub/ was not found on this server.

    My Forums live in /pub and this was also offered by the installer as default. The /pub symlinks to the 1.0 dir. Manually going there works.

    Jeroen

    #83531
    Michael
    Participant

    I’m quite impressed with what you’ve done here, Gautam. :)

    I think you’ve done a very creative job with the topic page, though I must admit it is quite intense on the eyes (only if all the posts in that topic are short).

    Otherwise, nice job. :)

    #82657

    In reply to: Forum List Alterations

    Michael
    Participant

    Kawasuo: Thanks – I’m glad you can help. :) The link below is the code I have for the forum list on the front page. I simply commented out anything that is not a category.

    http://pastie.org/765956 (page) or http://pastie.org/765956.txt (Raw Text)

    Thanks again :)

    Peace, Michael

    #82656

    In reply to: Forum List Alterations

    @Michael888: In response to your question in the other topic, I can almost certainly show you how to do that, but it’s a bit hard to explain without having the code for your bb_forums() list loop

    #83134

    Sure.

    Some example output

    <ul>
    <li class="forum_subforum"><a href="http://www.foo.bar/forums/forum/ideas-comments" title="">Ideas & Comments</a>
    <ul>
    <li class="forum_cat"><a href="http://www.foo.bar/forums/forum/questions" title="">Questions</a>
    <ul>
    <li class="forum_subforum"><a href="http://www.foo.bar/forums/forum/metsoc" title="">Meetings / Socials</a></li>
    </ul>
    </li>
    </ul>
    </li>
    <li class="forum_subforum"><a href="http://www.foo.bar/forums/forum/tips-amp-tricks" title="">Tips & Tricks</a>
    <ul>
    <li class="forum_subforum"><a href="http://www.foo.bar/forums/forum/gigs" title="Music, bands, all that...">Gigs</a>
    <ul>
    <li class="forum_cat"><a href="http://www.foo.bar/forums/forum/everything-else" title="">Everything else</a></li>
    </ul>
    </li>
    <li class="forum_subforum"><a href="http://www.foo.bar/forums/forum/sports" title="">Sports</a></li>
    <li class="forum_subforum"><a href="http://www.foo.bar/forums/forum/minutes" title="">Minutes</a></li>
    </ul>
    </li>
    </ul>

    In a sidebar, styled with CSS: http://img27.imageshack.us/img27/385/capturecr.png

    #83133
    Michael
    Participant

    Could you show us an example of how this works?

    #32641

    I figure someone might find this useful, as it took me a while to do properly. The following is some code I’m using to create a bullet point (<ul>) list of forums which nests sub-forums nicely, in my case for a sidebar.

    <?php if ( bb_forums() ) :
    while ( $depth = bb_forum() ) :
    if( $depth > $last_depth ) : ?>

    <?php echo str_repeat(" ",$depth) ?><ul>
    <?php else : ?></li>
    <?php while( $depth < $last_depth ) :
    echo str_repeat(" ",$depth+1) ?></ul>
    <?php echo str_repeat(" ",$depth) ?></li>
    <?php $last_depth--;
    endwhile;
    endif;
    if (bb_get_forum_is_category()) :
    echo str_repeat(" ",$depth) ?><li class="forum_cat"><a href="<?php forum_link() ?>" title="<?php forum_description(array('before'=>'','after'=>'')) ?>"><?php forum_name() ?></a><?php
    else :
    echo str_repeat(" ",$depth+1) ?><li class="forum_subforum"><a href="<?php forum_link() ?>" title="<?php forum_description(array('before'=>'','after'=>'')) ?>"><?php forum_name() ?></a><?php
    endif;
    $last_depth = $depth;
    endwhile ?></li>
    </ul>
    </li>
    </ul>
    <?php endif; // bb_forums() ?>

    It should give you reasonably clean indenting of HTML too and is XHTML 1.0 valid. Take out the str_repeat() calls if you don’t care about tidy code.

    #83190
    Michael
    Participant

    Thanks very much for that – will give it a try the minute I have my top-level domain. :)

Viewing 25 results - 22,351 through 22,375 (of 32,481 total)
Skip to toolbar