Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 28,751 through 28,775 (of 32,481 total)
  • Author
    Search Results
  • #61430

    In reply to: Line 80 error

    chrishajer
    Participant

    The best way I know is with a linux system to use the patch command. If you don’t have access to that program, I could patch the file and email it for you. Or you could download a later release where the problem is already fixed. Check my profile for contact information if you need help.

    There were other solutions as well in this post:

    https://bbpress.org/forums/topic/installing-bbpress?replies=14#post-11787

    Did you try anything else?

    #61429

    In reply to: Line 80 error

    openartist
    Member

    So I read that another workaround is to overwrite /bb-includes/db-mysqli.php with /bb-includes/db.php . What does that mean exactly and how do I do that? The problem I find with these instructions is that it assumes a lot of knowledge on the part of the user to know coder-speak. I know I could do it but I just don’t know what I need to do.

    But other people say that when they apply 745c.diff their problems go away, so perhaps I should just figure out how to apply that patch. But first I need to be able to understand how to do that…any help?

    kjted
    Member

    Thank you :) It’s starting to get full of stars now. It’s been up for a couple of months now.

    #61446

    In reply to: Tag Editing Rules

    chrishajer
    Participant

    It’s not in the config that I know of, but you can look at bb-includes/capabilities.php and find 'edit_others_tags' and 'edit_tags' – I think you could edit the capabilities to allow members those two functions. I’m not sure if there’s a plugin that allows the same thing or not. That would be a modification to a core file which is a bad thing in general. You lose that modification if you ever update your bbPress installation.

    I would not take my advice to edit capabilities.php and would instead look for a plugin that will allow you to change the capabilities of a member.

    #61428

    In reply to: Line 80 error

    openartist
    Member

    Okay, so do I need to apply this whole patch somehow? I clicked on 745c.diff and got a bunch of code I don’t know what to do with, how am I meant to patch this properly?

    #61442
    chrishajer
    Participant

    These are how the 3 lines look before any customization (I took the comments out):

    $bb->wp_table_prefix = '';
    $bb->wp_home = '';
    $bb->wp_siteurl = '';

    Yours might look like:

    $bb->wp_table_prefix = 'wp_';
    $bb->wp_home = 'http://jackhammr.org';
    $bb->wp_siteurl = 'http://jackhammr.org';

    when you’re done.

    #61441
    chrishajer
    Participant

    I think this line is the problem:

    $bb->wp_table_prefix = 'wp_;$bb->wp_home';

    That should be something like:

    $bb->wp_table_prefix = 'wp_';

    and

    $bb->wp_home = 'http://jackhammr.org';

    Somehow you got part of the 2nd line onto the end of the first line. Fixing that will fix your problem.

    #61437
    chrishajer
    Participant

    You changed the installation from forums to bbpress, but you didn’t make the change in the config.php. So, your forum is at http://www.reviewsaurus.com/bbpress/, but the config has $bb->uri = 'http://www.reviewsaurus.com/forums/'; You need to change one or the other (either the folder name or the URI in the config) for it to work.

    As proof, I can see http://www.reviewsaurus.com/bbpress/bb-templates/kakumei/style.css just fine.

    #61382

    In reply to: Installation…?

    chrishajer
    Participant

    In your config.php, you have to set mod_rewrite to false (not true or slugs):

    $bb->mod_rewrite = false;

    Your server does not support pretty permalinks, at least not as it’s configured now. You can figure that part out later (if you’re on godaddy, it might never work.) But for now, to get a working forum, change mod_rewrite to false and your links will work.

    #58868

    In reply to: bbPress vs. a plugin

    chgogrrl99
    Member

    Thanks for responding Chris,

    I haven’t yet made up my mind which way to go. My gut tells me that bbPress is better long-term. I’m also guessing that if my forum gets popular, bbPress might be better – in other words I’m thinking that a plugin might do the trick if the forum is doesn’t see much action, but that I might need something more powerful if it gets busy.

    I’m pretty sure I can get bbPress installed, I’m now most concerned with integration, pretty perma-links ect. Making new files, adding and deleting code scares me.

    #61413
    benbeltran
    Member

    yeah. I actually tried that, but It didn’t recognize any functions. D:. Even tried including the functions, template-functions, pluggable, etc files on their own. Still nothing.

    And I tried searching for the cookie parameters, but I’m dumb and I was sleepy, couldn’t do a thing.

    #61409
    chrishajer
    Participant

    > using wordpress would work and that’s a good thought,

    > but I would have to customize it quite a bit I think…?

    No, not at all. Find a theme you like, create a static page, make that your home page, strip out the stuff you don’t want in the sidebar (for archives, pages, categories, search, blogroll, meta, etc) and that’s it. One topic with comments.

    Or, a guestbook :)

    #61408

    Copy&Paste in a .htaccess:

    DirectoryIndex /forum/topic.php?id=20

    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} /forum/index.html

    RewriteRule (.*) /forum/topic.php?id=20 [L]

    Now (sorry for my bad english, im german) the topic is your forum-frontpage.. (dont forget to delete the “New Topic” links).

    quick&dirty :P

    #61412
    fel64
    Member

    You can always load bbpress and then check, by:

    require_once( 'path/to/bb-load.php' );

    Otherwise you could check if the cookie is set and has a password parameter. You won’t be able to check if it’s a correct password, of course.

    #61406
    benbeltran
    Member

    Will the thread be changing? or is it just constant? If it’s constant, you definitely want a guestbook XD

    #58867

    In reply to: bbPress vs. a plugin

    chrishajer
    Participant

    Also, I didn’t realize there were forum plugins for WordPress until you posted this. From the looks of them, this one (of 4) appears to be most current and most actively maintained:

    http://www.stuff.yellowswordfish.com/simple-forum/

    Never used it, but just learned about it after you asked the question.

    #58863

    In reply to: bbPress vs. a plugin

    fel64
    Member

    Copy and pasting per se is not a problem. It simply irritates me that you ask for help but cannot be bothered doing more than the minimum in doing so.

    You can always backup your databases. See https://codex.wordpress.org/Backing_Up_Your_Database; this will mean that no matter what you do, you can get a fully functioning wordpress install back.

    #2584
    chrishajer
    Participant

    Not my site, a forum at a WP plugin author’s site:

    http://gbellucci.us/forums/

    I didn’t realize it was a bbPress installation for a few minutes until I looked at it. It was just a support forum, nothing screamed out kakumei to me :)

    #57691

    In reply to: Tags not separating

    Arlo
    Member

    Any news on this issue? I’m constantly editing posts where users enter tags with spaces :(

    #61399
    chrishajer
    Participant

    In style.css you can add something like this:

    form td input {
    height: 2em;
    }

    That will make the boxes taller. Not sure what else that affects, but it works for the login form. Just not sure if it inadvertently affects something else.

    More: http://www.sitepoint.com/print/style-web-forms-css

    #61395

    In reply to: Spam Registration

    Trent Adams
    Member

    Why would I want to stop spam registration? That is how I am increasing my userbase! (can’t you just taste the sarcasm) :)

    Trent

    #61393

    In reply to: Spam Registration

    Null
    Member

    How about a different direction, ad an activation code in the e-mail while registrating. The password is already e-mailed, so put in an activation link aswell. If not activated using the link in 1 or 2 days, the person wont be registrated at all.

    Many forum software have something like this, why not bbpress?

    #61322
    Sam Bauers
    Participant

    > why is this forum here anyway?

    Support… :)

    The mailing list has less non-dev chatter. In fact it has none, so if people post dev related stuff there, they are more likely to get noticed. Most of the traffic here is community support – high quality community support I might add – but not generally stuff that directly relates to development of the codebase.

    As for the question about jQuery UI, I guess we’ll move if there is a compelling reason. I’m sure there could be, and if you put a case either here or on the dev mailing list we can discuss it further.

    #2581
    Null
    Member

    Can we PLZ get someting against the Spam Registration??? Captcha perhaps??? Or a Captcha like plugin?

    My board is getting spam regisdtrated to death if this keeps up :(

    #58190

    In reply to: bbSync

    fel64
    Member

    Yo!

    What you could do is make bbsync look at your custom data, create the tables and hang them onto the post it puts into bbpress. However, there’s a better way IMO.

    Every synced topic has the attribute wp_post, giving the id of the wordpress post. Since you probably run wp when you run bb (if you’re fully integrated), you can do (something like …) this in your bbpress template:

    if( isset( $topic->wp_post ) ) {
    $wp_post = get_postdata( $topic->wp_post );
    if( isset( $wp_post->custom attribute you're interested in ) ) {
    // some code to output a table into your template here
    }
    }

    Much more interestingly, you could probably make that into a plugin so you can switch this behaviour on and off, and probably reuse it somewhere too. Could be very neat.

    It’s feasible to replicate the functionality to want, but the best way would be to write a seperate plugin that only relies on bbsync for one thing: providing the ID of the wordpress post you’re interested in.

    [As a general note: every wordpress post in wordpress has the attribute bb_topic too, giving the topic id for bbpress.]

Viewing 25 results - 28,751 through 28,775 (of 32,481 total)
Skip to toolbar