Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 30,901 through 30,925 (of 32,432 total)
  • Author
    Search Results
  • #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.

    Fakey
    Member

    After a search for a word that appears only in the topic title (but not the tags, nor post content) the results are listed, followed by:

    No results found.

    This is because the if statement is looking for the local variable $topics, instead of the correct variable $titles.

    It’s a small fix, but I didn’t know how to post on the bbPress bugtracker.

    #54273
    spencerp
    Member

    Thanks for your reply Sam… :) Yeah, for the most part at least lol. Only thing I can’t seem to get working for me though, even followed your instructions over here:

    https://trac.bbpress.org/ticket/520#comment:30

    Is applying a “patch” using SVN access… I’m on dreamhost, but, I go through the: START > RUN > CMD …. then login that way… I tried adding that line of code, and even uploaded the patch to my forums/ root directory.. used that:

    $ patch -p0 < /path/to/patchfile/categories-build701.patch

    Giving my path of “/public_html/forums/categories-build719.patch

    And it fails to find such thing in that directory? I’m not a Pro at SVN-ing yet, but anyone with any thoughts, suggestions, and so forth? I was just going to download the lastest SVN files to the Desktop like normally did, and apply patch via Tortoise SVN.. and only upload those “patched” ones… into the forums/ root..

    Does that sound like it’s my only option, or.. maybe someone can tell me for sure what to do, and how to do patches via SVN or whatever.. Thanks in advance..

    *EDIT* Oh, or does it mean the WHOLE path? I’ll give that a whirl once then, won’t hurt lol.

    spencerp

    Trent Adams
    Member

    It requires you to create a file called .htaccess and place it in your bbpress root folder. Most works with just the following in it:

    Options +MultiViews

    Once you have that in your .htaccess your can turn mod_rewrite on in the config.php and see if it works. If not, try taking that line out of the .htaccess and put whatever you have spit out of this file:

    http://chezmauricekusadasi.com/yeni/forum/bb-admin/rewrite-rules.php

    Then turn that with mod_rewrite on. If that doesn’t work, then it most likely isn’t going to I am afraid and you will have to turn the fancy URL’s off again!

    Trent

    #54340
    Trent Adams
    Member

    Sorry, I should have done this sooner for you (just been crazy busy!). Create a file called whatever you want, but I recommend path-to-url.php and put the following in it and upload it to /my-plugins/ directory:

    <?php

    function fix_bb_path_to_url( $url ) {
    $url = str_replace(array('//', '\\'), array('/', '\'), $url);
    return preg_replace( '|:/([^/])|', '://$1', $url );
    }

    add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );

    ?>

    That might work with the stylesheet issue. Let me know

    Trent

    #54272
    Sam Bauers
    Participant

    Sound like you’ve got everything under control. :)

    #1479
    spencerp
    Member

    What I’m probably going to do is, just use the CSS file codes that I had, for when using the Forum Category enhancement with my bbPress forums. It’s not going to be a big deal if those Forum Category CSS codes are in the stylesheet anyway.

    For those running the Forum Cat enhancement, or not, I’ll release a Gathering theme version for either route. A) One for the plain Jane bbPress users, and B) One for those that are already using the Forum Category enhancement. ;) :)

    Please note though, that this theme will be an AS-IS type of deal!!

    I’ll try to give a helping hand, and try my best to provide “support” for it, but, I’m just a really, really busy person sigh. I barely have time to sleep and stuff… :( Besides, if any problems arise, your answers should be, or, could easily be answered here, since it’s basically just a theme. If you happen to have issues with the Forum Cat enhancement patch itself, I’m sure Sam would be happy to help you.. :) ;)

    Anyway, here’s what’s on my TO-DO list, starting now!

    1) Delete all the current plugins on my forums, so I have a total plain Jane bbPress install to work with…

    2) On the localhost/computer .. make up the “Gathering” theme on the latest Trunk files of bbPress. With, and without the files containing the Forum Cat enhancement edits… (Again, this theme should (generally) still work for .80, however, not sure about the backwards compatibility for the forum Categories enhancement though)…

    3) Download the latest copies of the plugins I deleted, tweak the new ones, upload and install them…

    4) Try and get some kinks out of the theme, which happens when using some certain plugins sigh..

    5) Release two copies of the Gathering theme, one for plain Jane bbPress users, and one for those already using the Forum Category enhancement…

    6) Then I’ll probably apply the theme I just spent the last 3 days on, non-stop, which I put up on my Vindictive Bastard blog… I’ll apply that on my spencerp.net blog then too.. and make it a theme for bbPress as well … whee! What you think? http://www.vindictivebastard.net/

    7) I’ll try and actually get some sleep!! Geesh, I’m beat!

    Anyway, I’ll keep everyone updated on this.. thanks for your time..

    spencerp

    #54271
    spencerp
    Member

    Okay, I just SVN-ed the forums… :D Now, before I go any farther! I’m going to make the “Gathering” theme for bbPress, on the latest Trunk files… Which should still be ok for those using .80 and .81

    I’m going to start a new post about that “Gathering” theme, after posting this… so.. ;) Thanks again Sam, for the tips, and the awesome Forum Category enhancement. ;):)

    spencerp

    #54966

    In reply to: Users Website in Topic

    DAMN! :D

    #54965

    In reply to: Users Website in Topic

    Hi, öffne die template-functions.php im bb-includes Ordner und editiere die funktion “post_author_url()”. Such einfach in der Datei nach dieser Funktion.

    Man kann es mit SEO auch übertreiben. Deine User schreiben wertvolle Beiträge (gerade in deinem Bereich ist jede Zeile Gold wert). Lediglich meine Meinung, mach wie du denkst. Hoffe ich konnte behilflich sein :)

    Steven

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