chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 1,651 through 1,675 (of 4,477 total)
  • @chrishajer

    Participant

    What have you tried already?

    What version of WordPress and bbPress are you using?

    @chrishajer

    Participant

    What version of bbPress are you using? Those instructions are for 1.0.1. Also, are you using a stock theme?

    Basically, you need to find, in whatever template file you want to change, the bbPress function that shows that text (it won’t be immediately clear because the function has a default text which is used if you don’t send it anything else. The default text is set in the core file bb-includes/functions.bb-template.php.) Just look in the source of the generated page and try to get some context for where in your template file this function will be (top, middle, bottom, in a table cell, near a unique css id, etc). Then, try adding your text in comments inside the parentheses, instead of them being bare. So, from this:

    bb_do_whatever()

    to:

    bb_do_whatever('Add New Essay')

    @chrishajer

    Participant

    2. of my reply covers your second problem.

    <?php bb_new_topic_link('Add New Essay'); ?>

    bb_new_topic_link is called without parameters in your front-page.php template file, but if you pass it the string ‘Add New Essay’ you will see the text in your displayed site change. You are overriding the default text which is in the bbPress core.

    The reason you don’t find it in a template file is because it’s not there. The function is there, and is called without parameters. The default text is in the core, but you can override it in your template.

    1. I cannot help you with and I questioned the desire to even do something like that. Why would you want an “add new” page indexed when it has no content? What benefit does it give your site?

    I imagine you could probably do something to change that using mod_rewrite and your .htaccess file, but I don’t know how to do that.

    @chrishajer

    Participant

    What is the URL that’s being displayed? Can you paste the link here?

    @chrishajer

    Participant

    1. I’m wondering what benefit there would be to indexing a page that has no content on it, just the ability to add a new topic?

    2. In version 1.0.1 of the software it’s in the template files. You want to find this function:

    <?php bb_new_topic_link(); ?>

    And make it look like this:

    <?php bb_new_topic_link('text Instead of Add New'); ?>

    @chrishajer

    Participant

    Just FYI, in Chrome, here, I don’t have any of these problems, so maybe it is related only to SSL.

    @chrishajer

    Participant

    Why does bbPress make the directories using PHP and not just include empty directories in the download?

    I thought at first that WordPress shipped a couple empty directories/folder, but it doesn’t appear to. So how can WordPress get this correct (creating directories as needed) and bbPress not, on the same host? Is it as Sam says, choosing security over usability (and in the process making it completely unusable)?

    @chrishajer

    Participant

    I did report this a little while ago:

    https://trac.bbpress.org/ticket/1139

    @chrishajer

    Participant

    Oh, you don’t mean you (the browser) gets bumped to the top but that the topic gets bumped because it has a new reply. Got it now. Will tomdebruin’s solution work for you?

    @chrishajer

    Participant

    Could you use the “Data Dictionary” link at the bottom of the page in phpMyAdmin? I think it shows you everything you need to know about the tables. Not sure what versions of phpMyAdmin that’s in, but it’s in version 3.2 for sure and I think I recall that being in at least as far back as 2.9.

    http://www.chrishajer.com/bbpress/data-dictionary.png

    Does that give enough information to start converting?

    @chrishajer

    Participant

    I think bb_head() calls bb_template_scripts() and I think bb_template_scripts() enqueues jquery when you are on the profile-edit.php page. So, I think just just need to ensure this is in your header.php in your template:

    <?php bb_head() ;?>

    If you already have that, then I’m not certain what the problem is. You could always hard code the call to jQuery, but that seems lame.

    @chrishajer

    Participant

    So you installed bbPress into a different database from WordPress, but you previously integrated the users, so bbPress is already using the wp_users table?

    @chrishajer

    Participant

    Maybe you need a plugin to send email using an external SMTP mailer?

    https://bbpress.org/plugins/topic/smtp-mailer-for-bbpress/

    I’ve heard a couple times about bbPress on IIS not sending emails, but I’ve never been able to nail down why. I think people have successfully integrated SwiftMailer into bbPress as well, but that was with 0.9 or earlier. The plugin is good for 1.0+.

    @chrishajer

    Participant

    Please post a URL if you still need help with this.

    In reply to: Reorganise/Delete Tags

    @chrishajer

    Participant

    Can’t you just use phpMyAdmin and delete the tags directly in the database? You could always do a recount in the admin afterward to ensure things are still consistent.

    @chrishajer

    Participant

    When do you get bumped to the top? After posting a reply, or when you go to view a topic, you always start at the top?

    Also, what version bbPress are you using?

    @chrishajer

    Participant

    Yes, just click the hash (#) next to the time posted and you’ll see that that’s a permalink to the one specific reply. This is yours. Might not look like much unless your browser window is very small, but you can check the address bar to be certain it’s working.

    @chrishajer

    Participant

    Shouldn’t it be:

    define( 'BB_LANG', 'ja' );

    Underscore between BB and LANG?

    And, you should be installing the language file in a “my-languages” folder, on the same level as my-plugins and my-templates.

    @chrishajer

    Participant

    This site isn’t too bad:

    http://www.w3schools.com/css/

    But if you just search the internet, you will find lots of tutorials and references. You’ve already gone about modifying your template files, so modifying the CSS is not going to be too difficult for you.

    In reply to: Closed registrations

    @chrishajer

    Participant

    @chrishajer

    Participant

    > Also, once I am done, aren’t I supposed to go to mydomain.com/forums

    Yes, just access the forums in a browser and you should be prompted to install.

    In reply to: Error when Install

    @chrishajer

    Participant

    What version of PHP are you running, and on what sort of host?

    @chrishajer

    Participant

    The problem for a plugin author, as I see it, is that you can follow RSS feeds for each of your plugins, in the plugin forum, but you can’t catch every topic posted in the forums here that mentions your plugin.

    WordPress.org has a pretty good method of tagging the support topics with [Plugin-Name] so you can follow an RSS feed for an individual plugin in the support forums. That doesn’t exist here. I often wonder how they enforce consistency for plugin names in those tags.

    Actually, maybe they don’t. These are all about All in One SEO pack from Michael Torbert.

    https://wordpress.org/tags/all-in-one-seo

    https://wordpress.org/tags/all-in-one-seo-2

    https://wordpress.org/tags/all-in-one-seo-3

    [Plugin All In One SEO]

    [PLUGIN: All-in-One SEO]

    Plugin: All in One SEO

    So, maybe they don’t. Seeing this, I think it would be much easier for a plugin author to follow the RSS feed for their page, and not try to watch the forums for mentions of their plugins.

    @chrishajer

    Participant

    There’s no need to have all those folders. Just put bbPress into a folder called whatever you want (forums?) and call it a day.

    If you took the database connection details from your wp-config.php, be sure you don’t copy the CONSTANT names as well, just the variable part (the part about your database.) The constants are named differently in bb-config.php and wp-config.php.

    If you copied over just the variable portion, then you did something wrong because it will connect in both places (WordPress and bbPress) if you have the connection details correct. It’s telling you right here that it’s not.

    In reply to: Reply To Post

    @chrishajer

    Participant

    There was a threaded posts plugin a while back:

    https://bbpress.org/plugins/topic/threaded-posts/

    I have no idea what version you’re running or if that plugin will work with it.

Viewing 25 replies - 1,651 through 1,675 (of 4,477 total)