Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,976 through 31,000 (of 32,522 total)
  • Author
    Search Results
  • #1495
    chenchen
    Member

    Hi, everyone. is it possible to install BBPress to my own computer? if it is, what do i need to do?

    thanks a lot. it would really be a great help. :)

    #54406
    lonemadmax
    Member

    Yep, just have a look at the beginning of the injected javascript, in the plugin file. st is the variable through which you change the CSS of the box. Regarding position, the original file has:

    st.position = "fixed";
    st.left = st.top = "40px";

    Changing top to bottom may give what you are asking for. You can change the value, of course, and add other CSS that you may want. Also, if you know JavaScript, you can make the box work as a draggable window, there are examples of that out there.

    I’ve just tried it under MSIE and guess what, it puts the box in the bottom of the page, after all content (that is, where it is generated). :-)

    And there’s a BUG (I’m talking about my files again, not MSIE positioning). The “close this box for this session” closes it forever. Well, for “more than just this session”, a week, I think. I can’t correct it and test it now, but the change needed would be to add the “just for this session” expiration time for the “annoying_box” cookie. That’d be the third parameter to bb_cookie in line 15 of themes.php. There are only two parameters now, and bbPress takes the absence of the third (or its value being 0) to mean a week. Right now I don’t know if you have to set a value in the past, a negative value or no value to make it a session cookie. In the latter case, it may be necessary to call setcookie directly instead of bb_cookie as bb_cookie changes the no-value case to a week.

    You may also leave that option out, the “box that disappears after 5 seconds” one may be enough.

    #54982
    ccmve
    Member

    It’s on Windows Server 2003 Standard Edition.

    In the config file, I have it set to:

    $bb->domain = 'http://www.forum.mybbress.com';

    Above though it calls http://www.forum.mybbress.com before the absolute path and http://www.forums.mybbress.com after the path.

    #54979
    fel64
    Member

    Are you using xampp? I’ve no experience with that whatsoever, but since it’s a path on your hard drive it seems that way to me. I’ve seen a few people say they’ve had problems using bbPress with that, and someone rightly point out that if you test on xampp you’ll get a bunch of errors you wouldn’t get on a server and miss the ones you would get.

    I’ve personally had no problems on my server, and if you already have hosting and an unused or wordpress db then there probably isn’t any harm in just testing it on the server. :)

    Edit: err – hehe …

    #54977
    fel64
    Member

    Aren’t themes meant to be in the /my-templates folder? Not sure if it’s necessary.

    As a temporary fix, you could right-click the link, select Copy Link Location, paste it into your URL and just change the path so it links to your theme. Might be worth a try :)

    #54674

    In reply to: Import SMF to bbPress

    lonemadmax
    Member

    You don’t have to know Spanish to send mail :-)

    I got your script, and it worked for me. That is, after I added an ‘l’ you deleted with a parenthesis :-). So it seems the problem with your second try was just a typo. In line 521 the original script said:

    $import_sql = utf8_encode($import_sql);

    and yours say:

    $import_sql = $import_sq;

    So add back the ‘l’ or delete the whole line, as it’s useless in the utf8->utf8 version.

    flatworm
    Member

    Thanks, I will try.

    I suck at code file editing, but sometimes i get lucky.

    Fakey
    Member

    Trent, does the maintainer of the code know the localhost problem exists (yes, even with path-to-url.2.php plugin)? The only way I’ve managed to get around it is by directly editing the “bb-templates/kakumei” files.

    Also, another note, I’m using lighttpd on a windows machine. This probably adds to the slash havoc.

    #53891

    In reply to: Bozo problem

    huntherx17
    Member

    I’ve been trying to trace which code assigns the post status to “2” for every post but I cant seem to find it since it marks every post a spam, bozo or not bozo. I dunno why.

    #55094
    fel64
    Member

    I think the contents of your bbpress folder (config.php, bb-includes, bb-images etc) should have been uploaded to /otherblog/forums, and your .htaccess file should go next to them in the /otherblog/forums folder. Good luck :)

    #53890

    In reply to: Bozo problem

    wsokc
    Member

    Thanks Trent! u’re the savior…

    :D

    #54907
    CMoseley
    Member

    I’m not sure exactly what your asking. I copied and pasted the code in my WordPress template into my bbPress template. Works fine in WordPress, gives me the above error in bbPress.

    The code I used was:

    <?php
    if ($rs = aggrss('http://onctalk.com/wp-commentsrss2-custom.php'))
    {
    // dump the structure
    //echo "<pre>";
    //print_r($rs);
    //echo "</pre>";
    echo "<a href='" . $rs[link] . "' style='color: #000000; font-weight: bold;' >" . $rs[title] . "</a>";
    echo $rs[description] . "<br />";

    foreach ($rs['items'] as $item)
    {
    echo "<p><a href='" .$item['link']. "'>" . $item['title'] . "</a><br/>" .html_entity_decode($item['description']). "</p>";
    }
    if ($rs['items_count'] <= 0) { echo "Sorry, no items found in the RSS file <img src='http://www.soderlind.no/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> "; }
    }
    else
    {
    echo "<!-- It's not possible to reach RSS file -->";
    }
    ?>

    #55085
    Null
    Member

    It happens on this forum as well. You get more \every time you edit a post one is added.

    Excample (used the code tags):

    echo '<li><a href="link-to-your-thingy.com">Thingy-name</a></li>';

    I didn’t add any in it Also code between the code tags shouldn’t be altered at all.

    Every time I edit this post (and leave the in) it wil ad 1 more…

    Edit:

    LOL seems to be fixed now :S

    #55062
    flatworm
    Member
    if ( !defined('BBPATH') )
    define('BBPATH', dirname(C:AllProgramingphp&mysql SERVERwordpressbbpress) . '/' );
    require_once( BBPATH . 'C:AllProgramingphp&mysql SERVERwordpressbbpress' );

    ?>

    Are this last lines correct if the path to my bbpress is: “C:AllProgramingphp&mysql SERVERwordpressbbpress” ?

    #54673

    In reply to: Import SMF to bbPress

    vedmak
    Member

    >>The only thing I can say is: have you deleted all occurrences of ut8_encode? There are more than one.

    I deleted all ut8_encode. You can see my script.

    >>If so, please send it to antiswen at yahoo dot es (yep, es, not com).

    I don`t know spanish (yahoo dot es?), that is why i put it on my blog.

    Download my script and SMF db

    #50946

    In reply to: Quote Option

    fel64
    Member

    Has anyone made a plugin for quoting posts? Is it under development? It’d be great. :D

    By the way, Trent, not sure if you still use the same CSS but instead of declaring border-xxxx: for each side you can simply declare border: and it’ll apply for all sides. :)

    #55061
    fel64
    Member

    Have you entered all the right details in your config.php? Since you’re sharing databases it should have the same database info (name, user, password) as wordpress’s wp-config.php.

    Yeah I call this a debugged version – Chrishajer sums it up nicely.

    #54342
    kirkk
    Member

    To fix this, i have uploaded all my files and directories without installing them on localhost… First, i uploaded wordpress to my web server and installed it then uploaded bbpress and installed it on web server…

    … before of that “above” , i had installed both of them on my localhost then i had uploaded them to my web-server, but that moment i had problems with slashes. Because there is an confusing section about slashes between the normal windows and web server…

    And i recommend that do not change the folder name of your “bbpress” after u upload it to your web server . I tried it two or three times after i installed both of my wordpress and bbpress on my web server, it caused slashes to head backwards…

    Now i have solved all my problems :)

    forward to hearing from you with the same :)

    (sorry for my english if i made any mistake, it is not my first language)

    #50263
    master5o1
    Participant

    I am looking for a similar/same fix. I have no smtp/mail sending abilities, and I am looking for a way to print it nicely on screen. Can one of you please explain the above ‘fix’ :) I’ve just begun attempting to use php so I don’t quite understand yet.

    #54341
    ccmve
    Member

    I’m having a similar problem.

    I’ve uploaded my custom theme to /my-templates/mytheme

    The default theme is in /bb-templates/kakumei/

    The site is working fine, but I see this error: “Theme not found. Default theme applied.” And I cannot switch to my custom theme. The reason is in the URL to the custom theme in the presentation>themes panel:

    http:// forum.mybbpress.com/bb-admin/themes.php? theme=C:\WWW\PUBLIC\forums.mybbpress.com/ bb-templates/mytheme/&_wpnonce=36ec0251eb

    Obviously that URL won’t work. I’ve uploaded both plugins above. Neither worked. How do I fix the URL to mytheme?

    #54404
    lonemadmax
    Member

    New version, same link. No need to touch core files now. It relies on the bb_foot action to inject the box. More info in the README.

    #54624

    In reply to: Plugin: bbMenu 1.0

    fel64
    Member

    Use function_exists( string $function_name );

    I don’t know how your plugin works, but if you made any calls to hooks then they simply won’t be called (as far as I understand it). Your code will probably also not be loaded. This plugin inactive shouldn’t be a problem?

    #55056
    fel64
    Member

    What do you mean by manual?

    You have to change some settings in config.php, but that’s it. Nothing a monkey with a keyboard and a human to do the work for him couldn’t do … really, it’s simple. :) No editing code or the like. Even if it’s in a different subdomain you barely have to do anything.

    Certainly doesn’t sound as much work as installing Vanilla – bbPress is set up to use mostly the same tables as WP already …

    #53925

    In reply to: post or reply by email

    fel64
    Member

    While it sounds like somewhat useful functionality, I don’t want it – if it was enabled by default in bbPress, I’d even want to turn it off. Anything that means users can just visit once, know that they’re going to get any answers and never have to come back is that you’re going to get a lot of users who do just that. I would much rather they check regularly, sometimes see something that catches their eye and hang around … It just sounds like a feature that hinders a community building up. :/

    #1486
    flatworm
    Member

    It requires alot of pain in the *** to install Vanilla on WordPress.

    I do not want to do it manualy.

    <b>Does this thing require a manual hookup?<b/>

    Does it still have the bug that had to be solved by editing the code?

Viewing 25 results - 30,976 through 31,000 (of 32,522 total)
Skip to toolbar