Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,951 through 30,975 (of 32,491 total)
  • Author
    Search Results
  • 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?

    #54672

    In reply to: Import SMF to bbPress

    lonemadmax
    Member

    I’m very sorry to hear that. The problem is most probably in the script; as I said, I’m a complete newbie to php and databases, and just modified the script without really knowing how much of it worked. The only thing I can say is: have you deleted all occurrences of ut8_encode? There are more than one. Also utf8_decode may give you problems, but I don’t think they’d be the ones your seeing.

    Is there any chance that I could get a dump of your database? (A fake one, with russian characters in fake posts and fake users from SMF in the same conditions as the real one, so that I can play with it here.) If so, please send it to antiswen at yahoo dot es (yep, es, not com). Oh, and please zip it or something so that yahoo doesn’t mess with the text.

    #54621

    In reply to: Plugin: bbMenu 1.0

    Null
    Member

    suleiman, I am still trying to figure out why the damn thing won’t install for you. I am kinda busy at the moment so it could take some time.

    For template builders I have the following message:

    If you build a template and want to make it compatible with bbMenu you can use the code below.

    It shows the bbmenu if it is installed, if not it will show nothing (or your own hardcode menu).

    ……..Changing code…….. stay tuned……….

    #54275
    spencerp
    Member

    Sam, you ROCK! :) That worked like a charm!!

    http://spencerp.net/forums/

    Thanks so much for posting the correction here, I just ran this one, and it worked! :D

    patch -p0 <categories-build719.patch

    Just wondering though Sam, when another patch is submitted, would I/”we” just use same method as before, or..? Cause I’m thinking, it would merge badly right? Or something might go awry right?

    Since the patch basically creates files/ applies changes to the specific files.. and running another patch, would/could just make things messy right? Thanks again for adding the correction here… ;) :)

    spencerp

    #55052
    john24
    Member

    @ardentfrost

    Thank you. I am going to check the plugins for my needs and just have to find someone to fix my kitchen sink ;)

    #55007
    Fakey
    Member

    Oh no, quite the contrary. The results are shown fine too. The problem is when the titles are show a local variable $topics is created:

    <?php
    foreach ( $titles as $topic ) :
    $count = $topic->topic_posts;
    ?>

    This is all fine and dandy, but, as you can see, $topic is a local variable and won’t be any use further down the page when the code checks whether results have been returned or not.

    I hope I’m making myself clear. Let me reiterate just for kicks: The title results show up fine, but the php code prints “No results found.” as well. Just change $topics to $titles in the following code in the template file “search.php”:

    <?php if ( !$topics && !$recent && !$relevant && !$users) : ?>
    <?php _e('No results found.') ?>

    <?php endif; ?>

    #54274
    Sam Bauers
    Participant

    To patch:

    1. copy the patch file to the base directory of your forum

    2. cd to the base directory of your forum

    3. apply patch using:


    patch -p0 <categories-buildXXX.patch

    Where XXX is the build number.

    Make sure there is no space between “<” and the start of the filename. That was a mistake in my instructions.

Viewing 25 results - 30,951 through 30,975 (of 32,491 total)
Skip to toolbar