Search Results for '+.+default+.+'
-
Search Results
-
I’m not sure if this is a rant, a request for help, or a general gripe.
I want to replace the default front page with something else. I’m building a website for an online radio station, and when visitors first hit the site, I want them to see current info, like what’s playing, what’s up next, and the last few that played. From there, there would also be a “Listener Forums” link that would take them to another page that would be the forums’ front page.
Trying to be smart about it, I took index.php from the root, copied it, and renamed it “forums.php”. Then I went into the template, copied front-page.php and renamed the copy “station.php”. So far, so good. Then things went wrong from there.
Back at the root, I opened the index.php and changed it to call station.php instead of front-page.php. I then went to my website, and made sure that index.php was still working, which it was. Again, so far, so good. At this point station.php and front-page.php are exactly the same, as are index.php and station.php, with the one exception. But I should still get the exact same thing from both index.php and forums.php (or so I thought). When I visited the forums.php of my site…. I noticed it was….. off… and not a little, the layout as a whole was jacked with very little in the wrong place.
Careful scrutiny of the source for both pages led me to find out that on the forums.php version, I was missing the ID off of my body tag. Eh? I finally found the location in the bbPress file that returns the body id…. and sure enough…. because my “file” doesn’t fit into the list… I’m not getting a body id…. well, this isn’t very flexible. My first thought was to create my own version and include it in my functions file…. but that’s hardly a solution.
So, am I stuck? Do I need to consider something else? How do I get around this? I’ve got other files I will be adding to my site like this… so this is just the first of several times this is going to happen to me. I’m just glad that I didn’t fully finish the plugin I was working on. I would hate to have wasted my time on something that I can’t use.
annoyed and frustrated,
-tg
Hello,
Finally was able to get the Forum installed – like it so far.
However, with my blog http://www.itshaunted.com members are contributors and each has an extended role; however, When members sign-up Forum FIRST his/her membership is considered a role: NONE for the blog. How can I change the role in the forum to match the assigned role in the blog? Simply meaning, you sign up via blog FIRST your role is a contributor; however, if you sign up Forum FIRST your default assigned role is NONE.Thanks in advance.
Topic: Posts with multiple pages
I’ve noticed when you click on a topic with multiple pages in these forums, it still takes you to page one….is this the default for bbPress? If so, is there a way to change it so the user is always taken to whatever the last page is? (ie. if the topic has three pages, the link from the forum takes the user to page three).
A first attempt at getting WordPress 2.7 and bbPress 1.0 to play nice again is now in trunk [1862].
I’m specifically talking about “deep” integration, i.e. when you include WordPress inside bbPress to gain access to WordPress’ functions.
This will need a lot of testing, so please post any issues you have on the relevant Trac ticket, #972 (which will stay open until some more testing has occurred).
I recommend using the following code at the top of your bbPress bb-config.php file to include WordPress inside bbPress:
if ( !defined( 'ABSPATH' ) ) {
include_once( '/Full/Path/To/wp-load.php' );
}Note that this includes “wp-load.php” not “wp-config.php” or “wp-blog-header.php”. This avoids running WordPress’ template loader which presumably isn’t needed inside bbPress. Some implementations may want it though, so if you find you need it then give it a go and let us know how that goes.
Also note that all filters and actions set in WordPress whether default or added by plugins or themes are cleared out completely. That means that plugins and themes installed in WordPress cannot add filters or actions to bbPress at all. This may have some implications I’m not aware of yet.
Go nuts!
Hosting123456htmlgodaddytesttest.txt) [function.fopen]: failed to open stream: Permission denied in