Search Results for '+.+default+.+'
-
Search Results
-
Topic: CSS failed to load?
When I try to go to http://iapple.it/forums , they aren’t styled even though I’m using one of the default themes. It says “Failed to load source for: http://iapple.it/forums/bb-templates/kakumei/style.css”, and I don’t know why.
I have a strange problem. When I’m on the forum front page or a forum page, the timezone is set to “America/Los_Angeles “, but when I go onto one of the topic pages, it is “Etc/GMT+7”.
I am checking by using the PHP function “date_default_timezone_get()” in the header right after the <body> tag.
These two are different by an hour because of daylight saving, which is causing an issue with the simple-onlinelist plugin.
Where in the initialization of bbPress is the timezone set? Any ideas why it would be set differently depending on the bbPress page that is loaded?
If it matters, I have deep integration with WordPress MU 2.8.4a, which also has the timezone at “America/Los_Angeles”.
Thanks.
I’m using WordPress as my CMS and decided to go with Simple Press Forum to set up a forum. However, I’ve run into a roadblock and want to find out if BBPress can meet my needs before starting over.
I have a forum with specific users who need to be notified by email whenever a new topic is started or a reply is made to an existing topic. I’ve run across a plugin called Subscribe to Topic but want to confirm this will do what I’m looking for before starting all over with new forum software.
Bottom line- I want the small set of users to automatically be subscribed to all new topics and alerted of any updates. I do not want the users to have to subscribe to each topic.
This is meant as a solution to a common issue when including template files within plugin files.
Some plugins use their own files for outputting information to the browser. Usually, the instructions will tell you to modify the file to include files within the template you are using. I have found that most people will simply include, or require the file needed using a relative path, such as “../../bb-templates/kakumei/top-div.php”. Usually this is fine, unless the plugin file is called in such a way that the relative path doesn’t work. The best way around this is to use the function bb_get_template, which will get the file as an absolute path, using the current template, if applicable, or the default template if necessary. An example of this would be:
include(bb_get_template(“top-div.php”));
Hope this helps.
After researching this error for a while, I finally found a solution and wanted to share to hopefully help someone else out, so they don’t go through the same headache.
Searching for this issue within bbPress lead nowhere, so I abandoned that approach and looked at it from strictly a MySQL perspective. Finally I found that there wasn’t enough time being given to queries. Once the timeout was reached, an error would be thrown, and the query would be abandoned. For one of my client sites I found that, even though we had a dedicated server, the host used a default .cnf file for db settings, and had set the wait_timeout = 10, meaning if a query didn’t respond in 10 seconds (even if the server was under load at the time), the query would fail. This issue was resolved with the following settings:
interactive timeout = 25
wait timeout = 45
Note: The settings may need to be different for your site, and your host may not let you change these settings. I just wanted to mention this in case it can help you.