Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 27,176 through 27,200 (of 32,481 total)
  • Author
    Search Results
  • eporedieis
    Member

    Mmm…no :) I’ve tried this: https://bbpress.org/forums/topic/wordpress-and-bbpress-integration-101

    And also the require_once that u’ve told me, but maybe I’m unlucky!

    I’ve used no one include…have u got a link? Or can u tell me how to do it?

    There are no error, but the script don’t function…in bbpress it create a message (“there are [number] new messages”), if I use it in wp it do nothing… (the functions are in the bbpress path)

    Thaaaaaaaaaaaaanks!!

    #55235

    In reply to: Favourites

    _ck_
    Participant

    It’s just a query, doesn’t write anything so can’t hurt your db. Only bad thing it could do if it you used it on a frequently accessed page, might slow down your site a little bit.

    I’ll double check why it’s not working in 0.9

    update: oh they changed the name of the field from “favorites” to “bb_favorites” so it’s like this now:

    function get_topic_favorites_count( $topic_id=0) {
    global $bbdb, $topic;
    if (!$topic_id) $topic_id = (int) $topic->topic_id;
    return $bbdb->get_var("SELECT COUNT(*) FROM ".$bbdb->usermeta." WHERE meta_key='bb_favorites' AND meta_value REGEXP ':<:".$topic_id.":>:'");
    }

    #66542
    chrishajer
    Participant

    Ross, I created a little slice of a navbar up top, and put the link over to the right in it. Here’s how I did it:

    style.css:

    #navbar {
    background: #A9A9A9;
    height: 1.5em;
    text-align: right;
    font-size: 1.2em;
    }

     

    header.php:

    <div id="navbar">
    <a href="http://ashb.proofreadercentral.com/" title="Return to the ASHB website home page">ASHB Home</a>&nbsp;
    </div>

     

    Put that in the header right after the end of the login form and right before the end of the header div. That will give you a little slice up top in which to link to the main website. You can change the color, the height of the bar and the font size.

    I don’t know why the button is tucked in so close in IE (not FF), but it seems like the negative positioning thing is probably fraught with problems, so I would avoid it.

    You could also put your button to return to the main website in this nav bar, but you’d have to make it taller.

    #66556
    eporedieis
    Member

    Well, but it’s not ok. I have the same database for wp and bbpress, I’ve done also the config wrote in the tutorial, but the script doesn’t function… =( I have wordpress 2.5 and bbpress 0.9.0.2

    Do you know what can i do?? Thx

    #55234

    In reply to: Favourites

    thion
    Member

    It appears that functionget_topic_favorites_count is not working in 0.9 – anyone know how to make it working? And generally – this function won’t kill my DB, will it? lol

    agl666
    Member

    _ck_

    Try deactivating a few plugins at a time?

    You now, I’ve deactivated first plugin and edititng started to work :) that plugin was your “Post Count Plus”. Don’t you know that’s the trouble?

    Because that would be a nice one to share with others.

    I also think so, so that I will write it… some day :)

    agl666
    Member

    _ck_

    yes, of course, there’s no topic with 11178. Look:

    1.http://forum.ttl79.ru/edit.php?id=11178

    2.http://forum.ttl79.ru/topic.php?id=11178

    First link points to post #11178 editing page, second to where it redirect. eg. post’s id is used for redirecting to topic.

    To convert minibb base I haven’t writed any script, I’ve converted it simply by exporting db, changing something and importing. It know it was so foolish, but I’ve had a lot of time to play with it :) And you now, it was very easy: structures are so simple and similar ;)

    But as I’ve said, editing doesn’t work even with native bbPress posts (e.g. added via bbpress). If you wish, I can give you db’s dump.

    #56779

    In reply to: Plugin: Avatar Upload

    agl666
    Member

    Hi! Thanks for such a useful plugin :)

    But unfogtunately I have a little bug, let me name it like that. Profile page have two “Avatar” tabs. Like showed on this screenshot: http://www.picamatic.com/show/2008/08/03/12/741682_804x186.jpg

    What can I do with that?

    agl666
    Member

    I’ve installed bbPress 0.9.0.2 (the last one), converted db from miniBB, writed new topic (e.g. it happens even to native bbPress content) but when I press ” Edit” (which points to http://forum.ttl79.ru/edit.php?id=11178), it redirects me to http://forum.ttl79.ru/topic.php?id=11178, and of course, error page with “Topic not found.” message. What can I do with it?

    PS. I have

    akismet
    bb-avatar-upload
    bb-gzip
    bb-polls
    bb-privatemessage
    bb-rus-to-lat
    bb-signatures
    BBcode-buttons
    BBcode-lite
    bozo
    cyr_nickname
    googleanalitycs
    human-test
    identicon
    my-views-statistics
    my-views
    onlinelist
    post-count-plus
    topic-icons

    plugins installed

    PPS. Right now I use “None” pretty permalink type

    #66540
    _ck_
    Participant

    You could use absolute positioning and just put that home button in position:absolute;top:0; left:0; which would take it out of the content flow.

    There has to be a more natural way to layout that header though. What you might use (though more work) is a sub-menu under the header.

    #66566
    _ck_
    Participant

    Try editing your bb-config.php file and put in a line like this:

    $bb->uri = 'http://your-domain-name.com/forum-path/';

    It may also require a forced change of your cookiepath if you can’t login.

    #66555
    chrishajer
    Participant

    If you want to call bbPress functions from WordPress, you need to include bbPress in WordPress. It’s described here for including WordPress inside bbPress. You would do the opposite to include bbPress in WordPress (make the changes to wp-config.php and require_once('path/to/bb-load.php')

    #3734

    Topic: Secret Key

    in forum Troubleshooting
    patrace
    Member

    I updated WordPress to 2.6 and now the config file doesn’t have a SECRET_KEY for me to match when integrating bbpress. Instead I have these fields:


    AUTH_KEY

    SECURE_AUTH_KEY

    LOGGED_IN_KEY

    How does this work now?

    #66021
    kirabug
    Member

    Oh, OK, yeah, that makes sense. I am using BBPress and I’ve got it set up so that my two installs share the same user table, so I’ve got the same users and the same posts on both sides of the wall. As far as I was thinking, that *is* integration.

    If users have to log in and “remember me” on both sides, well, that’s the least of my problems. ;)

    #66550
    chrishajer
    Participant

    The wp-pro list might be a good place to ask:

    “A list for professional consultants providing WordPress services.”

    To subscribe or unsubscribe via the World Wide Web, visit

    http://lists.automattic.com/mailman/listinfo/wp-pro

    #66545
    _ck_
    Participant

    I think you asked this on the IRC channel but I will also answer here to help others.

    PHP is not processed in style.css (unless you force your server to, and that’s not recommended)

    However you can edit your theme’s header.php and create an additional “inline” stylesheet like so:

    <style>
    body {background: url("<?php echo $_SERVER['REQUEST_URI']; ?>/wp-content/themes/default/images/background.gif") repeat-x top;}
    </style>
    </head>

    (note that </head> at the end, it’s meant to indicate you should put that code at the end of the <head></head> section)

    Also, more importantly, $_SERVER['REQUEST_URI'] is not going to be the variable you want. Probably more like $_SERVER['DOCUMENT_ROOT'] and you’ll have to add the path to wordpress too.

    #66549
    _ck_
    Participant

    It occurs to me that while the for-hire market is very small on the bbPress side, it’s much more likely you might find someone on the WordPress side who does it for a living. You then might be able to convince them to give bbPress themes a try since they are so similar.

    In any case, you’ve posted your email which is what the “rules” here require and then I guess I’m supposed to close the thread, so good luck and best wishes.

    #66527
    Null
    Member

    This is the problem: $bb->query_vars, what is the proper bb code?

    #3730
    threevisual
    Member

    I started a post a while back asking if anyone here would be willing to code a bbpress theme for me (it’s already been designed). It will be a paid job (of course).

    I’ve still not had any luck finding someone to help me out and I’m now getting quite desperate.

    If you are able to help please email:

    daleanthony.com [at] gmail.com

    Thanks!

    #66531
    csseur3
    Member

    i think the doctype of default skin is bad,

    i use: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”&gt; and i have no errors and no warnings :)

    ++

    #3728
    csseur3
    Member

    Hello,

    i want to have a listing of the forums and i try this:

    <?php if ( $forums ) : ?>

    <?php if ( bb_forums() ) : ?>

    <?php bb_forum_pad( '<div class="nest">' ); ?>"><?php forum_name(); ?><?php bb_forum_pad( '</div>' ); ?>

    <?php endif; // bb_forums() ?>

    <?php endif; ?> but doesn’t work. why?

    bye

    #66426
    795625
    Inactive

    hehe my theme is done for my site about Spellborn… i will spare it when it will be finish, but, at the moment i do many work on it… and far to be finnish…

    i’m not devellopper :D just a small graphist :D and it’s quite hard for me to modify the template :D

    but don’t worry, i’ll finnish it…. and i will make it Downloadable when it will be :D

    #66522
    timjamz
    Member

    Well… apparently, the hangup is in using the “wizard” installation (which results in some silly “duplicate table” error regarding wp_users – users_nicename).

    My fix was to perform a clean install, without checking the option for integration during the install ‘wizard.’ Once I was in with a standalone version, I went to the Forum admin page – wordpress integration settings. I input the WP URL twice, the secret from WP and the user table prefix. Added the two lines suggested for wp-config.php and bada-bing… that did it.

    Hope this helps someone else out there. :-)

    Used WP 2.5 & 2.5.1 – bbPress 0.9.0.2

    #3726
    RossB
    Member

    I’m using the Kakumei Blue theme. I can’t understand how this could happen, but without my doing anything, overnight the header on my forum has changed when viewed in IE – it remains as it should when using Firefox.

    A navigation button I positioned (by messing with some numbers in some CSS code that Chris kindly provided) has shifted to the right so that it is now too close to the User Name.

    But most strangely, the forum name has shifted so that it now overlaps the “Login” box. This was perfect until now, as you’d expect, since it’s part of the original design – I just typed in the name of the blog in the space provided in Admin.

    Here’s the link, which will make it clear what I’m saying (open with IE): http://ashb.proofreadercentral.com/bbpress/

    User: tester

    Password: testing123

    Can anyone offer any explanation for this stuff? More importantly, how do I get the header back to what it was yesterday given that I haven’t actually changed anything in the meantime? I’m afraid that if I start tampering with the CSS again, I’ll end up messing up the header in Firefox as well!

    Cheers

    #66532

    In reply to: No indexing:(

    chrishajer
    Participant

    The reason for this is that you bbPress/forum pages are returning a header of 404 (Not Found) instead of 200 (OK).

    Date: Fri, 01 Aug 2008 00:29:52 GMT
    Server: Apache
    X-Powered-By: PHP/4.3.9
    X-Pingback: http://www.sanzdrave.cz/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Last-Modified: Fri, 01 Aug 2008 00:29:52 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Keep-Alive: timeout=2, max=20
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    404 Not Found

     

    But the page is clearly there. You need this fix:

    https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load

    Also described here:

    https://bbpress.org/forums/topic/strange-404-report-i-firebug#post-9551

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