CrownOfMars (@crownofmars)

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • CrownOfMars
    Member

    @crownofmars

    I’m wanting to change the default page.php being used. I found this earlier on in this thread.

    add_filter( ‘bbp_template_include’, ‘foo’ );

    function foo( $file ) { return ‘page-forums.php’; }

    This is no longer working. It worked perfectly on a previous site but not this current one. I get the following error:

    Warning: include(page-forums.php) [function.include]: failed to open stream: No such file or directory in C:Program Filesxampphtdocsspawp-includestemplate-loader.php on line 43

    Warning: include() [function.include]: Failed opening ‘page-forums.php’ for inclusion (include_path=’.;C:Program FilesxamppphpPEAR’) in C:Program Filesxampphtdocsspawp-includestemplate-loader.php on line 43

    The page-forums.php file does exist so that’s not the problem. Any ideas?

    One more thing :P

    The Recent Posts widget on my sidebar gets the following errors:

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /nfs/c08/h01/mnt/120506/domains/stephenjohnmartin.com/html/spa/wp-content/plugins/bbpress/bbp-includes/bbp-forum-functions.php on line 799

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /nfs/c08/h01/mnt/120506/domains/stephenjohnmartin.com/html/spa/wp-content/plugins/bbpress/bbp-includes/bbp-forum-functions.php on line 799

    Warning: implode() [function.implode]: Invalid arguments passed in /nfs/c08/h01/mnt/120506/domains/stephenjohnmartin.com/html/spa/wp-content/plugins/bbpress/bbp-includes/bbp-forum-functions.php on line 802

    The widget works it’s just that these errors are shown above it.

    They don’t appear when i’m logged in.

    Thanks for your response. I have my 404.php setup to redirect to my homepage so i’m not sure what’s going on.

    The thing is, when i switch back to the default TwentyTen theme forums/forum works as an achieve page with the heading “Blog Archives”.

    Sorry if i’m confusing you!

    Worked out how to do what i posted above.

    Can someone please explain to me why this is happening?

    http://stephenjohnmartin.com/spa/forums/forum/

    I’m pretty sure this page is using archive.php, which i haven’t changed from the default TwentyTen theme.

    I’ve had to create my own page named forums and insert the shortcode [[bbp-forum-index] in order to achieve what i want on the forums/forum page. It is located here:

    http://stephenjohnmartin.com/spa/forums/

    Basically, how do i make forums/forum appear the same as /forums, or, how do i remove the need for the forums/forum page?

    Sorry i’m a rookie.

    I saw a list of shortcodes mentioned a few pages back.

    I’ve been able to get [bbp-forum-index] to work easily.

    How do i get the [bbp-single-forum] shortcode to work?

    I’ve tried [bbp-single-forum id="# of the forum"] without luck?

    I guess showing you the site without being logged in as an admin is kinda useless though! I’ll try reading these forums thoroughly and seen what the go is.

    Hey guys,

    I recently installed the plugin but i’m having a few issues.

    This sites theme is based on the TwentyTen theme, so i should have all the “core” files needed to run this plugin on my customized theme?

    I installed the plugin and created two forums, general and private. Here is a link to the general forum: http://stephenjohnmartin.com/spa/forums/forum/general-forum

    Apart from a few styling issues, is this working correctly? I then assume that /forums/forum/ would be the forums main page, which would show both the general and private forum, but stuffs up.

    I’m kinda new to WordPress so it’s confusing me a little.

    Cheers.

Viewing 7 replies - 1 through 7 (of 7 total)