Search Results for 'test'
-
Search Results
-
This mini-plugin will fix your layout/graphics
for visitors that insist on using IE 8.0
function fix_ie8() {if (strpos($_SERVER['HTTP_USER_AGENT'],"MSIE 8")) {header("X-UA-Compatible: IE=7");}}
add_action('bb_send_headers','fix_ie8'); // for bbPress
add_action('send_headers','fix_ie8'); // for WordPressEssentially it makes IE8 render like IE7 by sending a special (invisible) header only to IE8 users.
Problem solved.
It blows my mind that a page that can render perfectly in Opera – which is THE standards browser – can be messed up by Microsoft attempting to conform to standards. What a (continued) waste of everyone’s time.
ps. For those that don’t want to install IE8 permanently to just test their sites, this version will run in it’s own virtual box so it doesn’t affect the rest of your system:
Hello,
I updated my test install with svn and get
Warning: Missing argument 1 for __construct() in /foo/bar/bbpress/bb-includes/backpress/class.bp-roles.php on line 11
and trying to post a messages issues :
Warning: Cannot modify header information - headers already sent by (output started at /foo/bar/bbpress/bb-includes/backpress/class.bp-roles.php:11) in /foo/bar/bbpress/bb-includes/pluggable.php on line 213
Topic: Too Much to “Plug In”
I loved bbPress to start with, but it’s become a pain now. bbPress is a lightweight piece of software, although there are some functions that should come with the installation that can be enabled/disabled via the admin panel.
There are just so many add-ons that most forumers want, and I think that bbPress has gone a bit extreme on the lightness, although I love it, other (annoying) forumers don’t, so now I’m stuck between moving to phpBB3 or just opening a guestbook lol.
Three of the main things that should change is being able to simply modify the number of tags in the sidebar. On the same page, it’d be nice to be able to have seperate options for the numbers of latest discussions and actual forum topics shown. People just don’t see the forums with the ‘Latest Discussions’ in the way.
Thirdly, it would be nice to see icons beside each forum, indicating new posts etc.
Topic: Limit Latest Discussions
Hello,
I like the Latest Discussions on the frontpage, to have a quick look of the active topics, but I’d like to limit it to max. 5 topics.
Is there a way to do this? I tried several plugins found on the internet/this website, but none of them works.
Is there a way by changing the code? If yes, in which file should I look?
Btw, what is the default amount of ‘Latest Discussions’ on the frontpage?
Thanks.
Topic: Strange error on post
I have a band messageboard that’s worked flawlessly for a year now… but when I tried posting myself just now, it didn’t appear on the board. When I checked the dashboard, this is what it said for the latest post:
Post on
bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND meta_key='views'' at line 1]
SELECT meta_value FROM bb_topicmeta WHERE topic_id = AND meta_key='views'
bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'views', )' at line 1]
INSERT INTO bb_topicmeta ( meta_id, topic_id, meta_key, meta_value) VALUES ( NULL , , 'views', )
Gavin DeGraw by neddi.Any idea what’s going on? I’ve never seen this before… and I think I’m the only one with access to the backend.
how can i include bbpress in another system? the scope issues are confusing me.
Fatal error: Call to a member function get_results() on a non-object in bb-includes/functions.php on line 1761
TEST.PHP:
<?php
bb_load();
function bb_load()
{
global $bb, $bbdb, $bb_current_user, $page, $bb_cache, $posts, $bb_post, $post_id, $topics, $topic, $topic_id, $forums, $forum, $forum_id, $tags, $tag, $tag_name, $user, $user_id, $view, $bb_roles, $bb_table_prefix, $bb_locale, $bb_timestart, $timeend; #….???
require(‘./bb-load.php’);
}
?>
I’ve tried this a number of times. I can get bbpress 1.0 alpha installed on a test server without wordpress integration. When I move to another server, I’ve run into a number of problems. They aren’t the same problems every time, which is driving me crazy.
The most common problem I have is at some point during the installation process, I get a “The page isn’t redirecting properly” error. I get this most often at the very last stage of installation, but I’ve also gotten it after the first step. The last time I got this error at the last stage, I received a chmod and a could not modify headers error.
The current page is at http://forums.brynmawr.edu
I’m guessing we could have an error with our web server. I’m not a sys admin, so I’m not entirely sure where to check. Any ideas that I can pass on to our sys admin would be most appreciated.