chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 3,801 through 3,825 (of 4,477 total)
  • @chrishajer

    Participant

    It’s working for me. I clicked on some forum names and was brought to a page that listed that forum name. There were no topics though so it said “you must be logged in to post.” So, I created an account and I can look around and everything looks normal.

    If any link that had ‘forum’ in it redirected to the main blog, my guess is you had a permalink issue. I would set your mod_rewrite line to false for the time being (which you may have done already to get it working, since it seems to be fine right now.)

    $bb->mod_rewrite = false;

    In reply to: Installation woes

    @chrishajer

    Participant

    Why is your bbPress calling a WordPress function?

    wp-includes/functions.php

    Is there more to your setup than it appears?

    Actually, I just went to your forum and it is working?

    @chrishajer

    Participant

    Sounds like you are having a problem with db-mysqli.php. It’s been covered in the forums here (search for threads tagged 745 and you’ll see what I mean) or just look at this recent post:

    https://bbpress.org/forums/topic/installation-errors-every-time-db-issue

    @chrishajer

    Participant

    It will support a host name, but are you trying to use a port or a socket? I use MySQL servers on different hosts all the time, but they are always on the default port of 3306.

    Can you post the BBDB_HOST line from your config.php?

    Also, you didn’t post the actual warnings: what were those?

    In reply to: database MINOR issue

    @chrishajer

    Participant

    Why does the ID matter at all? Does it matter that it’s autoincremented and there are ‘wasted’ IDs?

    @chrishajer

    Participant

    Which plugin did you use?

    @chrishajer

    Participant

    The quick and easy solution is to turn off permalinks in the config until you get the rewrite rules sorted out.

    Would this solution that someone posted today be of use?

    https://bbpress.org/forums/topic/problems-with-navigation-to-profile-page-and-posting?replies=4#post-12589

    @chrishajer

    Participant
    In reply to: i need …

    @chrishajer

    Participant

    1. You can integrate FCK Editor or TinyMCE if you are looking for a wysiwyg editor.

    http://www.fckeditor.net/

    http://tinymce.moxiecode.com/

    1a. To allow all that type of content, you’re going to need a plugin. Check out this thread:

    https://bbpress.org/forums/topic/plugin-youtube-in-bbpress?replies=18#post-5707

    2. Does the regular sitemap plugin NOT work with 0.8.3? I never tried it. http://boakes.org/download/bbpress_sitemap.txt

    3. To show hot tags, you are going to need to edit the template files for each page, then insert this tag where you want it:

    <p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p>

     

    Depending on the layout of each of your pages, you might need to create a new div to insert that tag heat map into, or maybe there is room inside an existing div.

    The things you are asking for are going to require a substantial amount of work on your part. It can all be done (probably) but it’s not going to be super quick.

    Good luck.

    In reply to: Deleting bogus users

    @chrishajer

    Participant

    There has been some talk of looking into the registration process.

    http://comox.textdrive.com/pipermail/bbdev/2007-December/001764.html

    Also, how about the enhanced registration plugin?

    https://bbpress.org/forums/topic/plugin-enhanced-registration?replies=17

    And a while back, someone commented that it took only a few minutes to delete the bad registrations every day. Can’t find a link to that post right now…

    In reply to: Excerpts

    @chrishajer

    Participant

    Why not just use a blog with multiple author’s?

    In reply to: Deleting bogus users

    @chrishajer

    Participant

    Just go to your admin panel, Users > Edit > then “Delete User” – then you will get a confirmation and then the user will be gone.

    @chrishajer

    Participant

    Looks like you got past the part where it creates the tables, so I would guess the permissions are OK.

    Looks to me like there is a problem with the username you used when you did the installation. All the fields related to username are empty in that error you pasted.

    topic_poster,              ,  <-- why empty?
    topic_poster_name, '', <-- why empty?
    topic_last_poster, , <-- why empty?
    topic_last_poster_name, '', <-- why empty?

     

    None of those can be null. So, did you do something weird when creating the username, or use a weird character, or are you using integration with an existing user or maybe a display name plugin?

    Something is going on with the username. It’s not present, so the INSERT failed.

    In reply to: WP 2.4

    @chrishajer

    Participant

    They are working on it now. There has been some talk in the dev list about it. Here’s the first trac ticket about it:

    http://comox.textdrive.com/pipermail/bbdev/2007-December/001758.html

    In reply to: Add nofollow to links

    @chrishajer

    Participant

    If it were a _plugin, would it load automatically, and not require activation? Like, you could call it _myforumtweaks.php and it would be loaded automatically with no activation once you dropped it into my-plugins?

    That’s all there is to a simple add_filter plugin, eh? (no video required…)

    @chrishajer

    Participant

    Nah – I would think anyone looking to write a plugin should already know some PHP. I would start at a plugin for bbPress since there are already lots of PHP tutorials online. With bbPress, we need stuff like this.

    Thanks.

    @chrishajer

    Participant

    Look at the rendered source of the page (the HTML source) and look for <br /> or <p> tags – those will cause line wrapping. The other possibility is that the container that is holding the search form (the div) is too small, so it wraps.

    @chrishajer

    Participant

    I haven’t watched this video yet, but I think an idea for another one would be how to write a plugin :)

    In reply to: Add nofollow to links

    @chrishajer

    Participant

    livibetter, for us noobs, can you show what a plugin would look like with just that functionality, so we could avoid modifying a core file in bb-includes?

    Thanks.

    @chrishajer

    Participant

    For the size of the input text box, you need to change this in your theme’s search-form.php:

    <input size="38" maxlength="100" name="q" value="" type="text">

     

    Change the 38 to something smaller and the size of the box displayed will be smaller.

    Then, right below that in the file, you need to change this:

    <input value="Search ยป" class="inputButton" type="submit">

    to this:

    <input value="Go!" class="inputButton" type="submit" >

    To get everything on one line, you need to remove all the paragraph tags around those two form fields in your search.php. Each form element is in its own paragraph so there are lilne breaks there. Remove the [p] and [/p] tags and see what it looks like. You will most likely need to add a space between the form input and the Go button after that, but I think it will do what you want. It will look something like this when you’re done:

    <form action="<?php bb_option('uri'); ?>search.php" method="get">
    <?php _e('Search:'); ?>
    <input type="text" size="23" maxlength="100" name="q" value="<?php echo attribute_escape( $q ); ?>" />

    <?php if( empty($q) ) : ?>
    <p class="submit"><input type="submit" value="<?php echo attribute_escape( __('Go!') ); ?>" class="inputButton" />

    <?php else : ?>
    <p class="submit"><input type="submit" value="<?php echo attribute_escape( __('Search again &raquo;') ); ?>" class="inputButton" />

    <?php endif; ?>
    </form>

    @chrishajer

    Participant

    Can you post what you did and what resources you used, so others with the same problem might find this post when they are searching for a solution to their problem?

    Basically though, you would install WordPress first, then use the same database for bbPress, but with a different table prefix for the bbPress tables. Then there are configuration options in config.php in the bbpress folder. Some of those can only be answered AFTER installing WordPress, like these:

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

     

    @chrishajer

    Participant

    I wouldn’t put them in bb-templates at all (no good reason for saying that other than “they don’t go there.”) Just drop them into my-templates.

    The my templates folder should be 0755.

    The template folder itself should be 0755.

    The files in the template folder should be 0644.

    (well, that’s what they are in my installation, by default, and they work)

    If those permissions are correct, then is it possible you didn’t create a folder under my-templates? Should be something like:

    my-templates  (directory)
    -crystal (directory)
    - all the php and css for the crystal theme here
    -superbold (directory)
    - all the php and css for the superbold theme here

     

    The other thing is that the style.css needs to have a line in it like this:

    Theme Name: Crystal

    If the Theme Name is not unique, I think bad things happen. At least you see what appears to be a theme of the same name in multiple places in the admin panel. I know WordPress doesn’t like themes with the same name too much, and I suspect bbPress is similarly picky.

    Please post when you find the solution because I am sure it will help other people. Thanks.

    @chrishajer

    Participant

    There has been some talk of this recently in the dev list. They were recently looking at using phpass as WordPress does, and I know they were also going to look into just how WordPress does registration as well.

    http://comox.textdrive.com/pipermail/bbdev/2007-December/thread.html

    @chrishajer

    Participant

    If you overwrote the wp_ tables with the bbPress installation script, I think the best (only?) solution is to restore your WP database from a backup, then install bbPress with a proper table prefix, like bb_.

    Maybe the installation script should check for someone setting the table prefix in bbPress to wp_ and question it or warn that bad things can happen. Or possibly it could check for the existence of those wp_ tables already, and warn that they’re going to be modified or overwritten?

    @chrishajer

    Participant

    I think the most likely route is to find something that will convert SMF to phpBB format, then import that to bbPress. I think the most work has been done there, on a phpBB importer. If you search this forum for phpBB or SMF you will see some previous discussion. Here’s one thread:

    https://bbpress.org/forums/topic/import-smf-to-bbpress?replies=20#post-4541

Viewing 25 replies - 3,801 through 3,825 (of 4,477 total)