Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,876 through 30,900 (of 32,432 total)
  • Author
    Search Results
  • #54627

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    I have made a new testversion for suleiman. Plz try this version.

    1) Delete bbemenu.php from your plugin directory (and close browser)

    2) Delete the bb_menu table from your database

    3) Upload this test version, go to your admin and refresh the page if needed

    4) Check if the bb_menu table is filled now.

    ps. you only have to replace the bbmenu.php from your plugin directory.

    Download testversion:

    http://www.sourceskins.com/bbmenutest.zip

    If this version isn’t working for you sul, I give up :)

    #51640
    altmejd
    Member

    Strange. All users on my forums got the This user is a bozo: "1", that doesn’t change no matter what I do. But still, all the topics created are visible and none of the users are listed in the Bozo-list.

    #51639
    darkgrave
    Member

    You can make your own measures. Its not exactly NEEDED and it gets really annoying.

    Well cheers theres your fix.

    #55114
    chrishajer
    Participant

    Yes :D

    #50264
    Pravin Paratey
    Participant

    Trent:I don’t know if this should go in the main branch. This patch is for those people who can not send mail from their servers.

    master501: If you don’t know how to use patch, just open the files in notepad and change the lines marked with – to the ones marked with +

    #51637
    darkgrave
    Member

    Trent you can also alternatively get rid of it all together just by taking this line out of bb-settings.php:

    require( BBPATH . BBINC . 'bozo.php');
    &&
    require( BBPATH . BBINC . 'akismet.php');

    It won’t lock up your new-topics which it actually auto deletes them and it gets really annoying after trying to fix it. So, I just got rid of it all together.

    #55107

    In reply to: Topics Not Showing Up

    darkgrave
    Member

    Sry for the Db post but, this is a bug caused by Bozo.

    Go into BB-settings.php, look for

    require( BBPATH . BBINC . 'bozo.php');

    And Delete it.

    Theres your fix.

    #55113
    chenchen
    Member

    well it meets all the requirements… what about in the config file? what shall i write to “$bb->domain” and “$bb->path”? i have a folder in my localhost called “testfolder”, and i want to install BBPress inside this folder so the path of my BBPress must be http://localhost/testfolder/forums? is this possible?

    :)

    #55110

    In reply to: I cannot install bbp

    Trent Adams
    Member

    I am not sure what problems you are having exactly. Is it the same as your last post on this issue? If so, chrishajer wanted to help you in this reply.

    I see from your screenshot and your config.php file above that you haven’t edited it to your circumstance. You have to put in the values that correspond to your install for these parts here:

    $bb->domain = 'http://my-cool-forums.example.com'; // Example: 'http://bbpress.example.com'
    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.
    $bb->path = '/'; // Example: '/forums/'

    Right now, you have the my-cool-forums.example.com and that has to be the URL of your install. Does your system work with an IP address or http://localhost or how do you access it. That will be part of the reason the graphics don’t work as that portion isn’t correct.

    Trent

    #52901
    AphelionZ
    Participant

    I’m having trouble with this plugin – MediaWiki version 1.6.9, using the Authpress.php from the codex link in the first post.

    I try to log in and I get this error:

    ..from within function “AuthPress::authenticate”. MySQL returned error “1146: Table ‘*********.wk_wp_users’ doesn’t exist (*****.***)”

    It looks like it’s appending wk_ before my user table?

    #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

Viewing 25 results - 30,876 through 30,900 (of 32,432 total)
Skip to toolbar