chrishajer (@chrishajer)

Forum Replies Created

Viewing 25 replies - 3,276 through 3,300 (of 4,477 total)
  • In reply to: 1and1 Hosting Problem

    @chrishajer

    Participant

    It’s funny. I have a bbPress forum at 1&1, in a subdirectory of WordPress installation, and I never did get permalinks working (I last tried 18 months or so ago.) Now that you have shown it can be done, I will take my own advice, which was provided here first by hmcnally, and see if I can get them working again.

    Glad it worked for you.

    In reply to: 1and1 Hosting Problem

    @chrishajer

    Participant

    Does this help:

    https://bbpress.org/forums/topic/dropping-multiviews-support#post-16050

    Your setup is just fine with the directory structure you have setup (WordPress as the root for the domain, bbPress in a subfolder.)

    @chrishajer

    Participant

    Put all the bbPress files that are in the archive you downloaded into a folder in your webspace. If your website is at http://www.example.com/ and the files on the server are at /var/www/vhosts/yourname/ and you want your forums at http://www.example.com/forums/, just create a directory called /var/www/vhosts/yourname/forums in your webspace and upload the files there.

    Put all the bbpress files into one folder though, exactly how they came out of the archive. By default, when you unzip the files, they are in a folder called bbpress. You can use that or rename that to forums, then just upload the whole thing to your webspace.

    In reply to: Importing Database

    @chrishajer

    Participant

    This is an old post about converting from PHPBB2:

    https://bbpress.org/forums/topic/importing-from-phpbb

    The Google Summer of Code project for bbPress is going to focus on importers for bbPress, so if you are not using PHPBB2, you might want to wait until the GSOC project is over. There will probably be an announcement if they complete the tools.

    https://codex.wordpress.org/GSoC2008#Web_Forums_Export.2FImport_Standard_and_Tools

    @chrishajer

    Participant

    To post a picture, use one of the free image hosting services, then link to it here.

    http://www.imageshack.us/

    http://photobucket.com/

    Or any of these:

    http://www.photographybay.com/2008/02/11/45-photo-sharing-sites/

    @chrishajer

    Participant

    If you look at the plugin, it’s pretty simple. Line 12:

    if (bb_current_user_can('administrate')

    If you want to allow other users to do everything that this plugin allows, you would need to change ‘administrate’ to whatever permission your users have. I am not going to post exactly how to do it, since I think it could be a potential security hole, but that line right there is the key. Take a look at the plugin and see what I mean.

    https://bbpress.org/plugins/topic/admin-can-post-anything/

    @chrishajer

    Participant

    I think you need to include WordPress in your bbPress so you have access to WordPress functions like get_header:

    https://bbpress.org/documentation/integration-with-wordpress/#func

    Then, in your template, you need to do something like this:

    <?php get_header(); ?>

    That will include the WordPress header. If you do the second part without the first, it will fail because get_header is a WordPress function.

    I think… :-)

    @chrishajer

    Participant

    I figured it was just browser functionality, not based on the software.

    I wonder what header the other software sent, (if that’s what did it) and then if you could just send the same header in bbPress to cause the same behavior in the browser?

    @chrishajer

    Participant

    No.

    There is a plugin to allow users to post images:

    https://bbpress.org/plugins/topic/allow-images/

    There is also a plugin called “Admin can post anything”:

    https://bbpress.org/plugins/topic/admin-can-post-anything/

    You can also browse around there to see if there are some I have forgotten about. I thought Trent posted a while back about a plugin that allowed users to include all sorts of things, but I don’t know the status of that. I think that was for keymasters and admins only, as well:

    https://bbpress.org/forums/topic/plugin-youtube-in-bbpress

    @chrishajer

    Participant

    I think this is user behavior. I would never expect a prior page to reload with new information after just going back with the browser back button. I mean, I want to go back where I came from, old information just as it was. If you want fresh information, refresh the page (IE F5 or FF CTRL SHIFT R) or use the links in the forum to navigate to the front page again rather than using the browser back button.

    My $.02

    @chrishajer

    Participant

    bbPress is not a plugin for WordPress. Just upload the bbpress folder to a subdirectory of your WordPress installation, then access the installer.

    http://www.example.com/ <— if this is WordPress

    http://www.example.com/bbpress/ <— put the forum here

    Then access that URL and start the installation.

    @chrishajer

    Participant

    Did you try validating the feed

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.criticalmass.at%2Fforum%2Frss%2F

    The feed URL returns a 404 Not found Error if you check the headers:

    http://www.criticalmass.at/forum/rss/

    This sounds like WordPress trying to handle the /forum/ URL and sending a 404 error when the page actually exists. There was a plugin to take care of this sort of thing, I think…

    https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load#post-13156

    I think that plugin will resolve the fact that the feed actually returns a 404 error, then I bet the widget will pull the feed just fine. Report back please…

    @chrishajer

    Participant

    Look in bb-templates/[yourtheme]/ and you will find a file called header.php.

    In reply to: Release Archives

    @chrishajer

    Participant
    In reply to: Views Count Column

    @chrishajer

    Participant
    In reply to: Several domains

    @chrishajer

    Participant

    Ah, so when you said this “Now, when i get a visitor from “domainB.com”, he will be redirected to “domainA.com” pretty fast, like when he’s clicking the “Home” link on the forum.” this is NOT want you want, eh? You want multiple domains/URLs all pointing to the same bbPress installation and people to stay on the domain they came in from?

    @chrishajer

    Participant

    If you just want the year with php, you don’t need bbPress functions at all, just php:

    <?php echo date('Y'); ?>

    That will echo the current year.

    In reply to: Add New Topic

    @chrishajer

    Participant
    In reply to: Several domains

    @chrishajer

    Participant

    Why not redirect them with a permanent 301 redirect? If your host does not offer this, why not create a directory for each domain, like this:

    /var/www/vhosts/domaina.com/

    /var/www/vhosts/domainb.com/

    You install bbPress in the domaina.com/ directory. In the domainb.com/ directory, you put an index.php file in there like this:

    <?php
    header("Status: 301 Moved Permanently", false, 301);
    header("Location: http://www.domainA.com/");
    exit();
    ?>

     

    Then, when anyone accesses http://www.domainB.com/ they are seamlessly directed to http://www.domainA.com/. Would that accomplish what you need?

    You can also use .htaccess for 301 redirects if there is more than one page, like there are search engine results with pages from domainB.com already out there, and you want to redirect them all to domainA.com.

    In reply to: new topic

    @chrishajer

    Participant

    bmg1227: I think the actual text appears in /bb-includes/template-functions.php either line 139 or 1063, depending on if you want “Add New Topic” or “Add New »”. The template file holds the reference that makes that appear in the page, but the text is in this file I believe.

    Not sure if adding a translation/language file would translate that text or not.

    In reply to: new topic

    @chrishajer

    Participant

    alexandreperei: That’s a phpBB forum and was earlier as well. Are you looking for help with phpBB or bbPress?

    In reply to: new topic

    @chrishajer

    Participant

    1. Post a link to your forum.

    2. Use a stock template and see if you have a button. It’s not really a button, it’s just a link that says “ADD NEW >”. It’s part of the template files.

    @chrishajer

    Participant

    Is this still related to the Simple Onlinelist plugin? If so, please post the actual error message you’re getting.

    The original error message says the table is not there, so, can you check the database with a tool like phpMyAdmin and see if the table was actually created?

    Is it possible the plugin hard codes the bb_ table prefix, but you’re using something different for your installation?

    @chrishajer

    Participant

    Can you post the URLs for the old site, new site and forum?

    Is it possible you hard coded the old domain in a template or link somewhere? Maybe the link in the WordPress menu is still to the old site? Did you search through your WordPress template directories for the old domain? If it’s hard coded in a template file, it would not be in the database.

    Or maybe, you were not consistent with www vs. non-www for the URL? I have seem WordPress redirect example.com to http://www.example.com in some cases (never sat down to figure out when or why that happens.)

    In reply to: PHP Injection

    @chrishajer

    Participant

    The invitation to put code in backticks is actually the least of your worries. Anything in backticks gets escaped and displayed differently. You don’t want to hack that function to exclude backticks. Removing the function wouldn’t help with what you’re worried about.

    You need to be concerned with input that is not sanitized, not input that is escaped in backticks.

    I think bbPress has a very good security track record. There have been a couple problems in the past year (one XSS and one SQL injection I know of) but in general bbPress has been very secure. I don’t think you have to worry about getting hacked when using it. The software is written by professionals.

Viewing 25 replies - 3,276 through 3,300 (of 4,477 total)