Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 21,551 through 21,575 (of 32,495 total)
  • Author
    Search Results
  • #73891
    timskii
    Member

    Footnote: Due to Wowhead URL changes wowhead.com/?item needs to become wowhead.com/item (just below the edit options section of the code). You can also change wowhead.com/?search to wowhead.com/search , but that’s less critical.

    #57480
    cnc
    Member

    @ vilimaunula….. where did you include this code? in which file? in which line?

    <?php if ($forumpage == TRUE) {

    bb_title();

    echo ” :.: AKN&I”;

    } else …

    to add the forum feed:

    <?php if ($forumpage == TRUE) bb_feed_head(); ?>

    and are you sure this code is right.. for getting bbpress title?

    Thanks,

    cNc

    #86990
    chrishajer
    Participant

    B) won’t work because the database schema changed. You wouldn’t be able to import into the 1.0 database from 0.9.

    Why not create a 0.9 installation with 0.9 database and files, then import all your 0.9 stuff back into the database from a dump (or just hook up the .9 database to an installation of 0.9 files?) Using the stock theme with no plugins, update the files to 1.0.* whatever, then run the upgrade script. Now you have a 1.0 installation with all your old data imported. Then you can bake whatever you need to bake.

    What went wrong with the upgrade last time? (I think I recall seeing a post about it…)

    #34017
    bforeste
    Member

    I have been working on a DEV site for several months now – integrated WP + BB.

    I ran into some issues ‘upgrading’ bbPress from my legacy 0.9 install to the new 1.0.2 release, and the first ‘clean’ way I was able to get it done was to wipe out the bb tables & re-install from scratch.

    I have now got the integration & theme down (thanks gerikg) on bbPress…but I would like to refresh with all my old posts, topics, forums, etc from the 0.9 days.

    My question is approach: Is it better / easier for me to…

    A) Rip out the ‘baked’ 1.0.2 install…go back to 0.9 (files and DB)…and try the upgrade again (assuming I figured out what went wrong…I think I can)

    -or-

    B) Attempt to ‘import’ my 0.9 backup (bb_ tables only) into my current 1.0.2 db?

    Naturally – I’m sure there are other things I’m not considering & maybe some other approaches too. Regardless – I appreciate the suggestions.

    bforeste

    #86146

    It is possible, but honestly, its probably not worth the hassle.

    You either connect to the WP database yourself to test (no integration required), but that can be a bit hit and miss – especially with child themes etc.

    Or you use deep integration to test for the current theme. Which is simple as long as you have deep integration working (which in itself is very hit and miss).

    Bluntly, unless you had a very good reason to do this (and you might, you’ve been v helpful with bbPress recently mate) I’d not take on the challenge. But if you want pointers and some code, lets start a new thread :)

    #87054
    cnc
    Member

    @ chrishajer…. Yes I had made my last 2 posts but I was thinking you delete them.. but its amazing that when I login these post show but when I logout theses post goes hide.. I think its bbpress bug (sorry to say) .. I know you’ll talk about them .. that’s why I saved a screenshot regarding my 2 post.. and you’ll see what happen..

    here is its screenshot

    http://car-n-car.com/array.jpg

    Now what you think? why array happened? I think there was another issue not Akismet matter :)

    =========

    @ gerikg now what should I do? should I show wp header and footer files? and please tell me how can I call bb_head() & do_action(‘bb_foot’) into wp header and footer … and where there place and lines?

    ============

    @ pelle .. Ok dude I’ll try again… :D

    #87050
    gerikg
    Member

    1) That is your header.php and footer.php file in your bbPress theme but you’re NOT using them. You’re using your WordPress theme’s header.php & footer.php. I did a view source on your site and the first two lines after body is:

    <body> <div id="header"> <div id="logo">

    If you were pulling what you pasted before it should of been:

    <body id="xxx"><div id="wrapper"><div id="header" role="banner">

    So you’re not pulling bb_head() & do_action(‘bb_foot’)

    #87049
    mr_pelle
    Participant

    “First Forums” URI is http://car-n-car.com/forums/first-forums// and topics URIs look like http://car-n-car.com/forums/first-forums/topic-name/: there is an / in excess in every URI.

    Nicer Permalinks does not add slashes to topics URIs, so it’s coming from somewhere else…

    Deactivate the plugin, restore your original .htaccess and turn off permalinks. Then re-do everything from the beginning as described in my Installation instructions, trying to see exactly when links do not work anymore.

    EDIT: I also noticed that Forum links in header and footer are different, but they work the same… 0_o”

    #87048
    cnc
    Member

    @ pelle… I tried it again… nothing happened.. still show

    http://car-n-car.com/forums/forums/first-forum

    and

    CAR FORUMS ยป PAGE NOT FOUND!

    Page not found!

    I’m sorry, but there is nothing at this URL.

    what should I do?

    ======================================

    @ gerikg…… here is my header file

    <?php

    $_head_profile_attr = ”;

    if ( bb_is_profile() ) {

    global $self;

    if ( !$self ) {

    $_head_profile_attr = ‘ profile=”http://www.w3.org/2006/03/hcard”&#8216;;

    }

    }

    ?>

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;

    <html xmlns=”http://www.w3.org/1999/xhtml”&lt;?php bb_language_attributes( ‘1.1’ ); ?>>

    <head<?php echo $_head_profile_attr; ?>>

    <meta http-equiv=”X-UA-Compatible” content=”IE=8″ />

    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

    <title><?php bb_title() ?></title>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />

    <?php if ( ‘rtl’ == bb_get_option( ‘text_direction’ ) ) : ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri( ‘rtl’ ); ?>” type=”text/css” />

    <?php endif; ?>

    <?php bb_feed_head(); ?>

    <?php bb_head(); ?>

    </head>

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    <div id=”header” role=”banner”>

    <h1>“><?php bb_option(‘name’); ?></h1>

    <?php if ( bb_get_option(‘description’) ) : ?><p class=”description”><?php bb_option(‘description’); ?></p><?php endif; ?>

    <?php if ( !in_array( bb_get_location(), array( ‘login-page’, ‘register-page’ ) ) ) login_form(); ?>

    <div class=”search”>

    <?php search_form(); ?>

    </div>

    </div>

    <div id=”main”>

    <?php if ( bb_is_profile() ) profile_menu(); ?>


    and here is my footer file

    </div>

    </div>

    <div id=”footer” role=”contentinfo”>

    <p><?php printf(__(‘%1$s is proudly powered by bbPress.’), bb_option(‘name’), “http://bbpress.org&#8221;) ?></p>

    <!– If you like showing off the fact that your server rocks –>

    <!– <p class=”showoff”>

    <?php

    global $bbdb;

    printf(

    __( ‘This page generated in %s seconds, using %d queries.’ ),

    bb_number_format_i18n( bb_timer_stop(), 2 ),

    bb_number_format_i18n( $bbdb->num_queries )

    );

    ?>

    </p> –>

    </div>

    <?php do_action(‘bb_foot’); ?>

    </body>

    </html>


    I’ve convert my wp theme into bbPress

    here is my forums link

    http://car-n-car.com/forums

    ====================

    now what next? help please

    Regards

    cNc

    #87046
    mr_pelle
    Participant

    I’ve just added +FollowSymlinks to nicer-htaccess: I don’t know if this was another config detail missing… give it a try!

    #87045
    mr_pelle
    Participant

    Sorry, you probably misunderstood me: I was trying to say that your URIs http://car-n-car.com/forums/forums/first-forum are different from mines http://my-host.com/my-forum-name/forum/my-first-forum-name not because you chose forums while I chose my-forum-name, of course, but because appended to the forum path I have the word forum while you have forums. That’s not a detail!

    As I said here, it seems that my forum (with just name based permalinks on, no plugins) would look like /my-forum-name/forums/my-first-forum-name too, but in the end it does not! It looks like /my-forum-name/forum/my-first-forum-name, exactly the same as the bbPress forums we are posting on.

    In this very moment your forum URIs look exactly as they should, but they are not working correctly: I’m pretty sure the reason is you did not update nicer-htaccess forum path before activating the plugin.

    Please let me know if this is the problem, in the meanwhile I will update Nicer Permalinks plugin page specifying everyone has to do this before activating it.

    #86969
    Xevo
    Participant

    The minus tells the script to remove the categories from the loop, without it, it tells the loop to focus on only those. It is logical when you think about it. :)

    #86968
    master5o1
    Participant

    Strangely, it works. I suppose I can mark this resolved :D

    #87072

    In reply to: Compatibility ….

    evilgeek23
    Member

    btw , i want these features …

    PM , Avatar , Latest discussion , signatures , bbcode , smilies …..

    what version should i go with ?

    #86965
    master5o1
    Participant

    Nahp.

    Whenever I do exclude=7,8 it just does it as

    exclude=7

    and then

    8

    It results as only showing from 8 (except for stickies).

    #87041
    mr_pelle
    Participant

    Ahem.. taking a look to my Permalinks admin page I noticed it says name based permalinks will look like /forum/forums/first-forum but when I turn them on they look like /forum/forum/first-forum, so please cNc tell me if this happens to you too; if not, and if more people forums behave like this, I’ll have to make some changes to my plugin…

    #87040
    mr_pelle
    Participant

    @zaerl: thank you!! =D

    @cNc: my plugin is not working for you because your forum presents a different structure from the one I’ve always seen in bbPress, aka /bbpress-path/forum/forum-name (i.e. without “s” on “forum”). What version of bbPress are you using? I may rewrite my plugin to make it work even with your forum, though I think it would be better for you to get to standard structure and then activate Nicer Permalinks.

    #87028
    mr_pelle
    Participant

    Yeah, even less for me. =D

    #87070

    In reply to: Compatibility ….

    Use 0.9 if you can.

    There’s very few improvements in the 1.0.2 code for your average forum use, and if you need the features from plugins that are not 1.0 compatible it’s your best bet.

    #34034
    evilgeek23
    Member

    Most of the good plugins aren’t working with bbpress 1.0.2 . What should i do ? Even basic things like signatures arent available on my forum . Sad :-(

    #86544
    Damien
    Member

    I found a cheap and nasty way to do it via forum ID, anything else just highlights every tab :(

    <li<?php if (bb_is_front() && $forumpage == false) echo " class="new" id="current""; ?>><a href="/boards" title="Forums">Mainpage</a></li>

    That will highlight the mainpage tab.

    <li<?php if ($forum_id == 1) {echo " class='new' id='current'";} ?>><a href="/boards/forum/first-forum">first-forum</a></li>
    <li<?php if ($forum_id == 2) {echo " class='new' id='current'";} ?>><a href="/boards/forum/2nd-forum">2nd-forum</a></li>

    That will highlight forums by ID.

    Hope this helps you along :)

    #87035
    bb-lover
    Member

    @ zaerl… i think you did not read his post completely …

    please read it again and see what he said

    Note: I’ve tried various things but nothing happened even i tried

    A). https://bbpress.org/forums/topic/name-based-permalinks-without-page-and-forums

    B). https://bbpress.org/plugins/topic/nicer-permalinks/

    C). http://www.technospot.net/blogs/how-to-remove-forum-and-topic-keyword-from-bbpress-url/

    but they are not useful ..

    #34031
    cnc
    Member

    Hi all,

    I’ve 3 issues regarding my car forums i.e. ( http://car-n-car.com/forums)….

    1. Page title:

    it happened after deep integration…. the title of the page which usually show in the browser’s window and Google search has been broken.. now there is just a link besides title words,

    I’m sending you its screen shot for better understanding..

    here is its screenshot regarding title issue

    a) http://car-n-car.com/forums/page-title.jpg

    =====================================

    2. Page Not Found:

    when i select 1st option from permalinks i.e. http://car-n-car.com/forums/forums.php?id=1 then it work fine but its not good for seo .. that’s why i need 3rd option which is name based permalinks.. so when i select 3rd option then content goes hide and message apear regarding page not found.

    here is its screenshot for better understanding :

    b) http://car-n-car.com/forums/page-not-found.jpg

    =====================================

    2. Permalinks Problem:

    my name based permalinks structure is like that

    http://car-n-car.com/forums/forums/first-forum

    means the word of forums is repeated 2 times, so i want to remove this one word ( forums ) from name based permalinks.. i think it creates all trouble for me and drive me crazy…

    here is its screenshot

    http://car-n-car.com/forums/car-permalinks.jpg

    =====================================

    here is my .htacess file structure

    http://car-n-car.com/forums/htaccess.txt

    =====================================

    Note: I’ve tried various things but nothing happened even i tried

    A). http://bbpress.org/forums/topic/name-based-permalinks-without-page-and-forums

    B). http://bbpress.org/plugins/topic/nicer-permalinks/

    C). http://www.technospot.net/blogs/how-to-remove-forum-and-topic-keyword-from-bbpress-url/

    but they are not useful ..

    =====================================

    Special Request:

    I’m inviting the sir chrishajer, johnhiler, Gautam to take personal interest in this issue so that other people can learn from this post…

    I hope you’ll solve these issues…

    Regards

    cNc

    #86961
    master5o1
    Participant

    That doesn’t work. :| (to making it exclude=7,8)

    #86959
    zaerl
    Participant

    Try:

    if ( $topics = get_latest_topics('exclude=8,7', $page) )

    but I’m not sure that this will function.

Viewing 25 results - 21,551 through 21,575 (of 32,495 total)
Skip to toolbar