Search Results for 'code'
-
AuthorSearch Results
-
December 13, 2008 at 2:31 am #69984
In reply to: Plugin: bbPress Force Login for Buddypress
chrishajer
ParticipantHiya Trent
December 12, 2008 at 11:56 pm #4410Topic: Plugin: bbPress Force Login for Buddypress
in forum PluginsTrent Adams
MemberI wanted a little plugin to allow Force Login on bbPress forum when you have integration with buddypress. I altered mdawaffe’s plugin and thought I would share it with the community if you want privacy on forum and still work with buddypress.
<?php
/*
Plugin Name: Force Login
Description: No one can see your forums unless they are logged in.
Plugin URI: http://bbpress.org/forums/topic/117
Author: Michael D Adams *voodoo code from Trent Adams and Sam Bauers*
Author URI: http://blogwaffe.com/
Version: 0.8
*/
function force_login_init() {
if ( !bb_is_user_logged_in()
&& 0 !== strpos($_SERVER['REQUEST_URI'], bb_get_option( 'path' ) . 'bb-login.php')
&& 0 !== strpos($_SERVER['REQUEST_URI'], bb_get_option( 'path' ) . 'bb-reset-password.php')
&& 0 !== strpos($_SERVER['REQUEST_URI'], bb_get_option( 'path' ) . 'register.php')
&& 0 !== strpos($_SERVER['REQUEST_URI'], bb_get_option( 'path' ) . 'xmlrpc.php')
) {
nocache_headers();
header("HTTP/1.1 302 Moved Temporarily");
bb_safe_redirect( bb_get_uri( 'bb-login.php', null, BB_URI_CONTEXT_HEADER + BB_URI_CONTEXT_BB_USER_FORMS ) );
header("Status: 302 Moved Temporarily");
exit();
}
}
add_action( 'bb_init', 'force_login_init' );
?>Cheers,
Trent
December 12, 2008 at 6:17 pm #69907In reply to: Getting forum page number
_ck_
ParticipantThat’s because
get_var
only gets one item – the first and only.You want
get_results
which returns an array.Actually, even better in this case would be
get_col
which should return a flat array.Another trick to use on that query is possibly to include the topic_time as the end in the WHERE clause so that it doesn’t bother to pull up 10,000 topic id’s if the topic you are looking for is in the first 100
global $topic;
$query="SELECT topic_id FROM $bbdb->topics WHERE forum_id=$forum_id and topic_time<=$topic->topic_time ORDER BY topic_time DESC";
$topic_array = $bbdb->get_col($query);We could take a huge shortcut and a bit of a gamble that no other topic has the same exact topic_time as this one and simply get the position via count, assuming it’s the very last one. Occasionally you might be a page short, or a page too many.
global $topic;
$query="SELECT count(topic_id) as position FROM $bbdb->topics WHERE forum_id=$forum_id and topic_time<=$topic->topic_time ORDER BY topic_time DESC";
$position = $bbdb->get_var($query);Then you divide position by topics per page and you have the page it’s on.
$page=ceil($position/bb_get_option('page_topics'));
$link=get_topic_link(0,$page);December 12, 2008 at 5:46 pm #69906In reply to: Getting forum page number
serpentguard1701
Member@_ck_ – The reason is, I have some breadcrumb links in the header of my edit_post.php file. It displays something like this:
The Volturi’s Castle Forum » Forum Games » Count to 10,000 » Edit Post
I have the topic link pointing to the exact position of the post being edited, and I want the forum link to point to the exact page of the topic as well. The code I have is this:
<?php
$forum_id = $bbdb->get_var("SELECT forum_id FROM $bbdb->posts WHERE post_id=" . get_post_id() . " LIMIT 1");
$forum_name = get_forum_name($forum_id);
/*$topic_array = $bbdb->get_var("SELECT topic_id FROM $bbdb->topics WHERE forum_id=" . $forum_id . " ORDER BY topic_time ASC");
while ($topic_id = current($topic_array))
if ($topic_id == get_topic_id())
$topic_index = key($topic_array);
$forum_page = get_page_number($topic_index);*/
$forum_link = '<a href="' . get_forum_link($forum_id, $forum_page) . '">' . $forum_name . '</a>';
?>
<a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a> » <?php echo $forum_link; ?> » <a href="<?php post_link(); ?>"><?php topic_title(); ?></a> » <?php _e('Edit Post','rag'); ?>The commented stuff is what’s giving me trouble. When executed, it issues an error saying that $topic_array isn’t an object or array. I inserted an
echo $topic_array;
, and it spit out3
. The topic_id is 13, the forum_id is 6, and no matter what post I edit, the same number is echoed, so I have no idea where it’s getting 3.December 12, 2008 at 5:39 pm #69660In reply to: bbPress Facebook page
_ck_
ParticipantFor those that haven’t been around awhile, code development on bbPress tends to happen in bursts. There will be little or nothing or just trivial bug fixes for a few months and then BAM, Michael and Sam will post a whole bunch more code.
Just because you don’t get feedback on a problem from a developer doesn’t mean they don’t think it’s important, it just means they can’t make it a priority right now for some reason or another. Everyone would love bbPress to have every feature and every feature work amazingly but there simply aren’t enough people or hours available to make it happen. Every feature one person insists is absolutely critical is quite trivial to another person.
Last but not least, be careful what you wish for. If bbPress had all the features like the more mature WordPress does, it would also share the same number of problems, backward incompatibilities and constant changes. If they did to bbPress what just happened in WordPress between versions 2.3 and 2.7, I would not be making plugins for it anymore (because they all would be broken). Since bbPress takes a slower path, it tends to get things more “right” the first time around.
I think 2009 holds big things for bbPress.
Someone new to bbPress a year from now might wonder what some early adopters were complaining about.
December 12, 2008 at 4:02 pm #69656In reply to: bbPress Facebook page
Sam Bauers
ParticipantKevin, the cookie and login integration that works with BB0.9 – WP2.5 also works with BB1.0 – WP2.6 or 2.7. The only issues remaining arise when you login via WordPress instead of bbPress, the simple fix for this is to redirect WordPress logins to bbPress, but I will be building a plugin to make this (and some other things) easier.
The “deep” integration issues where people load WordPress inside bbPress are still outstanding, and as I said may never be resolved and might eventually be unsupported. The XML-RPC functionality being developed is intended as a launching pad for people who need bbPress data inside their WordPress installs, I also expect that there will be some functionality written to get data going in the other direction as well. We are using this already “internally” with the BuddyPress forums component which communicates with bbPress 1.0 to provide group forums and eventually other functionality to that software. There is also already a plugin to pull some basic data from bbPress to WordPress widgets.
I don’t think you should blame Matt for XML-RPC being added either, I think it was mdawaffe who wanted pingbacks and I think I was the person who liked the idea of a complete XML-RPC server enough to actually write it.
Features tend to forge ahead when they have a champion for them and as the only major contributor to the code at the moment that kind of leaves it up to me as to what gets done. There has only been a small amount of thorough and reported testing of deep integration done by users so far who are actually trying to make it happen (see #972). That doesn’t exactly excite me to work on a feature that neither I nor the company I work for particularly need, especially when I already have a low opinion of the technique in the first place. In the same breath though, I understand that others may want it and I’m not actively trying to stop it from happening either. If someone fixed, patched it and put it in Trac, I would commit it with a smiley emoticon and a “props” in capital letters.
So in short, it needs someone to take the lead on it, if you want it done sooner rather than later.
Talking about community discontent by referring to the contents of these forums seems a bit disingenuous. These are support forums which by their nature invite people to announce their problems, all we can tell by it is that some people have problems with the software, sometimes. I’m pretty sure we aren’t getting every user coming through here. It’s not a gauge, and perhaps the dreaded Facebook page will help us find the people who don’t post here a bit more easily, perhaps it is something that can be used to gauge what the community mood is like. If anything it might give me a little comfort to know that a few people out there like what we’re doing here. My development time isn’t a zero sum game, I didn’t steal 30 minutes from my “writing code” time to setup that page. I need to enjoy myself while I work, maybe doing that helped me get through that particular day. At the other end of the tubes is me, a person. Hi. Nice to meet you.
On that personal note it isn’t nice to be blasted for something as cursory as not initiating topics in the forums for two months. I’ve been contributing to bbPress for almost two years now. There have been times when I’ve taken close to the full burden of support here, even before I worked for Automattic. Recently we got two community moderators who are very competent. _ck_ and chrishajer have been outdoing themselves around here. I have taken it a little easier for the past month while I focused on some other tasks.
I’m really only catching up on some of the more recent goings on around here, including your very interesting threads about the overall direction of bbPress. I completely want those conversations to happen, you make good points there too and I like the general direction of what you are saying, even though you make incorrect assumptions about some details. I wish I had been there in real-time to discuss it, but I will try to respond where I can.
Finally, bbPress is important to Automattic at the moment primarily as a tool for it’s own uses. Thus there is little or no promotion of it at this stage. If we gain some traction in the real world one day it might be treated like WordPress, but for now it will basically be whatever the people who contribute to it want it to be, and as usual when resources are limited, those who can write good bug reports or contribute real code will get their needs met first.
December 12, 2008 at 2:34 pm #69655In reply to: bbPress Facebook page
Ipstenu (Mika Epstein)
ModeratorHow is repeating that you’re not happy with integration, that it doesn’t work, that it fails, over and over again helping?
Ticket #1007 has been opened, by SAM and that means developers agree. It is highest priority and flagged as critical. So look, they know, they agree, and they’re working on it. Can they tell you how long it will take? No. And instead of doing what my office tries to make me do (make up an answer) they gave you the truth. It will take as long as it takes. If that doesn’t work for you, then you should move on to something else. Because those are your options, unless you want to write the code yourself and offer it up.
There are a lot of tickets (see https://trac.bbpress.org/report/1 ) and a small amount of coders. If you want to (and can) fix bugs, fix bugs. If you can only report on them, report. But once the report is there, badgering the techies to be smarter faster doesn’t help anyone. It pisses off the techs who are trying, but honestly, you can’t inspire creativity any faster than it naturally comes
So thank you for reporting that integration sucks, and that the website implies something that isn’t exactly true – bbPress .9 works with WP 2.6, but it’s not full integration. That should probably be modified to say ‘shared login’ or such. There’s a ticket up for fixing real integration, so that is something that the dev team is aware of.
December 12, 2008 at 2:06 pm #69978In reply to: forum exporter plugin
Ipstenu (Mika Epstein)
ModeratorYou could probably do it with RSS. If you’re using wordpress, you can do this (I have it as a sidebar widget).
<?php require_once (ABSPATH . WPINC . '/rss-functions.php');
$today = current_time('mysql', 1);
// insert the feed URL here
$rss = @fetch_rss('http://www.domain.com/forums/rss');
if ( isset($rss->items) && 0 != count($rss->items) ) {
// set the number of items from the feed to display (6)
$rss->items = array_slice($rss->items, 0, 5);
foreach ($rss->items as $item ) {
echo '<h1>';
echo wp_specialchars($item['title']);
echo '</h1>';
echo '<p>';
echo wp_specialchars($item['description']);
echo <a href="';
echo wp_filter_kses($item['link']);
echo '">(Read More)</a>';
echo '</p>';
}
}; ?>The main (all posts) RSS feed is: http://www.domain.com/forums/rss
All subsequent forums (fori?) are: http://www.domain.com/forums/rss/<whatever>
Like this subforum would be: https://bbpress.org/forums/rss/forum/plugins
This page would be: https://bbpress.org/forums/rss/topic/forum-exporter-plugin
If you don’t have wordpress, look into MagpieRSS
December 12, 2008 at 1:57 pm #69874In reply to: Trac linking in the support forum
Ipstenu (Mika Epstein)
ModeratorThis is code with an apostrophe ' in the middle.
That would be a double plus good.
December 12, 2008 at 1:11 pm #69654In reply to: bbPress Facebook page
kevinjohngallagher
MemberI’m really disappointed in this response actually. _CK_ is without a doubt the person who carries the most weight around here these days given her exceptional and continued support and development.
Whenever we, as a community or an individual, say something that is negative about BBpress it is because we want to make it better. You said yourself in October that Sam wasn’t on the forums much, and as time goes on, mostly because of wordpress moving forward, BBpress has looked more and more stale/abandoned. I appreciate it’s a perception rather than reality, but surely you can see by the response that Sam’s first post in months was met with this reaction, is down to that feeling that’s been growing in the community for months now.
Its not an attack on Sam, as a person, in anyway. It not an attack on BBpress or its code, its people who read one thing (or multiple things) and then find them out to be not true. its people who read new posts daily about “wordpress integration”
“I’m not sure how many more times I can repeat that bbPress is pre-release software.”
We know this, we don’t expect everything to work, we expect bugs, and we’re trying to report them back and be helpful. But we’ve been reporting 1 particular ind crucial bug back for over half a year now, with no info being forthcoming.
“Every part of bbPress is subject to completely change and break overnight”
We get this too. But, um, it broke over half a year ago!
If it broke last night, last week, or last month then yeah i’d get it.
But it broke a long long time ago.
“there are no feature or bug priorities”
Sam said there is (read up).
You said there was last month (about XMLRPC – will find link to post).
“If that bothers anyone, or they feel the need to rant about it, please stop using it asap”
TO Be Honest, that sounds childish in my opinion.
And not what i’d expect _CK_.
“Integration is tricky because it was not a priority for bbPress”
It wasn’t? wow.
Ok, it wasn’t. Can we ask why?
Again, it seems like the most asked about thing on the forum. Not just in terms of how often people ask, or that fact that there is a sticky on it, or that it’s the biggest word on the tag cloud by miles or… (i could go on, but i think we all know the point i’m getting at).
“there is no such thing as a “standard” wordpress install”
Yes there is. Download wordpress. input your database and password. hit install.
Famous 5 min install remember.
There is a standard wordpress install!
“The radical changes to WordPress security in the past year have not helped at all with integration ease”
We get that _CK_, we do, and we totally understand.
But the change happened in WP2.6, then we had 2.6.1, 2.6.2 , 2.6.3 . 2.6.5, and now 2.7.
BBpress / Automattic have had 7 month (minimum) to realise and fix this issue.
I mean, and correct me if i’m massively wrong, but did security change in 2.6, or did it change drastically in every release? If it changed drastically in 2.6, 2.6.1, 2.6.2 , 2.6.3 . 2.6.5, and now 2.7; then yes i can see how that would be a huge issue and a moving target. but if it has stayed the same for 6 months (in all the WP2.6 releases) then frankly, it seems crazy to me that NO-ONE at automatic can be asked how security has changed.
“So weigh your options and either stick with it or move on but please don’t rant against the very people trying to help the project”
We’re not ranting against the people _CK_, there is nothing personal here.
We want to help.
We want to use BBpress, spread the word, fix bugs, make it better.
But with this HUGE issue over our heads, we can’t, and thats what we’re trying to put across.
December 12, 2008 at 1:10 pm #4408Topic: forum exporter plugin
in forum Pluginsjohnnydoe
Memberhello,
im looking for a plugin to get the ability to export all topics from a particular forum (ID) to a html page , so just the topic name plus the excerpt like:
1. </h1>lorem1 ipsum sit amet dolor </h1>
<p> bla bla bla bla bla … (read more)<p>
2. </h1>lorem2 ipsum sit amet dolor </h1>
<p> bla bla bla bla bla … (read more)<p>
3. </h1>lorem3 ipsum sit amet dolor </h1>
<p> bla bla bla bla bla … (read more)<p>
…etcetera.
is there such a plugin around?
thanks a bunch.
December 12, 2008 at 11:45 am #67711In reply to: Login using Facebook Connect
_ck_
ParticipantFacebook just needs to offer OpenID like everyone else, not yet another proprietary standard.
The OpenID plugin for bbPress is nearly finished, I have an early working version, just need to finish the new account code.
Someone wrote a Facebook OpenID gateway somewhere, can’t find it at the moment.
December 12, 2008 at 10:25 am #69921In reply to: bbpress is slow like godaddy says?
chrishajer
Participant_ck_ – I doubt a visitor is complaining about either
1.298 - 35 queries
or0.489 - 35 queries
– that’s not enough for people to complain. I could be wrong, and the performance tips are good, but I doubt this falls into the range of horrible for a forum visitor. Loading Adsense and Analytics takes more time than that.December 12, 2008 at 10:04 am #69871In reply to: Trac linking in the support forum
_ck_
Participanttesting:
bbPress is the #1 forum software for do-it-yourselfers
+
should maybe be{3,8}
insteadbackticks:
bbPress is the
#1
forum software for do-it-yourselfersnope, still broken in backticks.
testing some more:
Joe User
100 Main Street Suite #17
Anywhere, USA
nope
In fact it removed the space between
Suite
and#17
[trac=123]see this ticket[/trac] or [trac]123[/trac] would be better.
Or just copy the entire url out of trac once you’ve looked up the number anyway.
December 12, 2008 at 9:55 am #69977In reply to: when bbp 1.0 release?
_ck_
ParticipantPlease see the other dozen “when will 1.0 be ready” topics.
bbPress 1.0 will absolutely, most certainly, not be done this year.
1.0 has many internal changes from 0.9 and several complete code rewrites on some functions and has many bugs.
Do not use the alpha on live sites.
December 12, 2008 at 8:51 am #69920In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantAnother performance tweak that will help with the end user’s page loading times (but won’t reduce that
queries - time
report for the page generation) is to remove the shedload of external javascripts that bbPress tries to load on many pages. Note that doing this will remove the ajax features but bbPress falls back to the conventional page-reload method instead so that’s okay.Only admin can use most of the ajax features anyway so this is crazy that bbPress adds half a dozen scripts for everyone, including the bloated 100k jquery library.
This technique requires a mini-plugin unfortunately:
<?php
/*
Plugin Name: bb-tweaks
*/
// get rid of default forum scripts
remove_action('bb_head', 'bb_print_scripts');
?>(I’ve never tried it but it might be possible to just put the single line
remove_action('bb_head', 'bb_print_scripts');
inside
functions.php
in the theme folder.December 12, 2008 at 8:40 am #69919In reply to: bbpress is slow like godaddy says?
_ck_
Participant1.298 - 35 queries
is absolutely horrible actually.However I only get
0.489 - 35 queries
on that site which is barely acceptable.It’s probably due to an overloaded shared hosting box.
Let’s review some basics.
First of all, let’s make sure you are using 0.9 and not 1.0
(If you are using 1.0 I can’t really help you much because it’s slower than 0.9 for now and I keep explaining to everyone not to use it but they do anyway)
Performance 101: (for everyone)
1. go into
bb-config.php
and add this line:$bb->load_options = true;
2. after you add the above line, queries should be under 20 per page, usually less than 15 – if they are not, then you have a misbehaving plugin (or are running 1.0)
3. if you run your own server or VPS, turn on the mysql cache
4. if you run your own server or VPS, install a PHP opcode cache
(eaccelerator, APC or xcache)
5. if you are on shared hosting ask your host why they don’t use 3 and 4 and if they don’t give you a good answer, get a better host
GoDaddy is up there in like the top 10 for people who dislike their hosts.
Just google the number of people that have trouble with them on wordpress.
But unlike WordPress, bbPress doesn’t have any page cache plugins yet so if your host sucks in the first place, any large php program is not going to perform well.
December 12, 2008 at 8:21 am #69680In reply to: Retrieving forum ID from post ID
_ck_
ParticipantIt’s extremely easy to get
forum
<->topic
<-> post relationships in bbPress.Depending on where you are, you may just be able to do a
global $topic,$bb_post;
Then $topic or $bb_post will have the following objects inside:
$bb_post
post_id
forum_id
topic_id
poster_id
post_text
post_time
poster_ip
post_status
post_position
$topic
topic_id
topic_title
topic_slug
topic_poster
topic_poster_name
topic_last_poster
topic_last_poster_name
topic_start_time
topic_time
forum_id
topic_status
topic_open
topic_last_post_id
topic_sticky
topic_posts
tag_count
You use it like this:
global $topic; echo "$topic->topic_title";
or to answer your original question:
global $bb_post; echo "$bb_post->forum_id";
Of course doing it this way bypasses any filters that may be in place from plugins but that may not matter if you are just trying to do something simple.
December 12, 2008 at 5:13 am #69904In reply to: Getting forum page number
serpentguard1701
MemberWell, I found this function that’s used by the rss.php file:
function get_post_link( $post_id = 0 ) {
$bb_post = bb_get_post( get_post_id( $post_id ) );
$page = get_page_number( $bb_post->post_position );
return apply_filters( 'get_post_link', get_topic_link( $bb_post->topic_id, $page ) . "#post-$bb_post->post_id", $bb_post->post_id );
}Is there a forum version fo the italicized portion of this function?
December 12, 2008 at 3:59 am #69917In reply to: bbpress is slow like godaddy says?
kevinjohngallagher
MemberHi vannak,
If the forum you’re reffering to is the one linked to in your profile, then it seems to be running nicely.
If you like showing off the fact that your server rocks,
1.298 – 35 queries
That said, if you think it’s running slowly the best bet is to do a few things:
1) delete any plugins that you are not using (i know they shouldnt have any effect but always better to be safe than sorry, wordpress 2.6.1 had a similar bug)
2) deactivate plugins one at a time, and see if you notice any difference.
3) use Yslow to see what is taking the time to load from the front-end.
4) try disabling the adverts on the website. they shouldn’t have an effect, but sometimes Flash banners can do that (though they should only slow it down after the page has loaded)
5) Ask godaddy for the server logs and error logs, or ask them exactly what page/script is slow.
BBpress isn’t perfect, but the code is well written and generally very very fast.
December 12, 2008 at 3:55 am #69902In reply to: Getting forum page number
kevinjohngallagher
MemberHey JJJ,
its my understanding that all functions, including those that have the template hardcoded into it, require a plug-in to overwrite.
This sadly cant be kept in the template folder, nor turned on as default.
December 12, 2008 at 3:31 am #69975In reply to: when bbp 1.0 release?
John James Jacoby
KeymasterDear Santa,
For Christmas this year I would like bbPress 1.0 with working WordPress integration, and for daddy to find a job.
Love,
Little Johnny
@vannak: How many licks does it take to get to the center of a Tootsie Pop?The world, will never know.
December 12, 2008 at 3:28 am #69914In reply to: Need user role explanation
John James Jacoby
KeymasterThe Key Manager is basically designed to always be able to do everything, without any loss of functionality. Where as Admin’s can be changed to be whatever you would like them to be.
If you want the side by side comparison:
$roles->add_role( 'keymaster', __('Key Master'), array(
'use_keys' => true, // Verb forms of roles - keymaster
'administrate' => true, // administrator
'moderate' => true, // moderator
'participate' => true, // member
'keep_gate' => true, // Make new Key Masters //+
'import_export' => true, // Import and export data //+
'recount' => true, // bb-do-counts.php //+
'manage_options' => true, // backend //+
'manage_themes' => true, // Themes //+
'manage_plugins' => true, // Plugins //+
'manage_options' => true, // Options //+
'edit_users' => true,
'manage_tags' => true, // Rename, Merge, Destroy
'edit_others_favorites' => true,
'manage_forums' => true, // Add/Rename forum
'delete_forums' => true, // Delete forum
'delete_topics' => true,
'close_topics' => true,
'stick_topics' => true,
'move_topics' => true,
'view_by_ip' => true, // view-ip.php
'edit_closed' => true, // Edit closed topics
'edit_deleted' => true, // Edit deleted topics/posts
'browse_deleted' => true, // Use 'deleted' view
'edit_others_tags' => true,
'edit_others_topics' => true,
'delete_posts' => true,
'throttle' => true, // Post back to back arbitrarily quickly
'ignore_edit_lock' => true,
'edit_others_posts' => true,
'edit_favorites' => true,
'edit_tags' => true,
'edit_topics' => true, // Edit title, resolution status
'edit_posts' => true,
'edit_profile' => true,
'write_topics' => true,
'write_posts' => true,
'change_password' => true,
'read' => true
) );
$roles->add_role( 'administrator', __('Administrator'), array(
'administrate' => true,
'moderate' => true,
'participate' => true,
'edit_users' => true, //+
'edit_others_favorites' => true, //+
'manage_forums' => true, //+
'delete_forums' => true, //+
'manage_tags' => true,
'delete_topics' => true,
'close_topics' => true,
'stick_topics' => true,
'move_topics' => true,
'view_by_ip' => true,
'edit_closed' => true,
'edit_deleted' => true,
'browse_deleted' => true,
'edit_others_tags' => true,
'edit_others_topics' => true,
'delete_posts' => true,
'throttle' => true,
'ignore_edit_lock' => true,
'edit_others_posts' => true,
'edit_favorites' => true,
'edit_tags' => true,
'edit_topics' => true,
'edit_posts' => true,
'edit_profile' => true,
'write_topics' => true,
'write_posts' => true,
'change_password' => true,
'read' => true
) );December 11, 2008 at 10:45 pm #69894In reply to: wp27final + 1.02a no “Add new” link
ganzua
MemberPerhaps there is a way.
This guy;
http://www.adityanaik.com/bbpress-and-wordpress-integration/
integrated wp 2.6.3 with bbpress;
meta name="generator" content="WordPress 2.6.3"
We are missing something.
December 11, 2008 at 7:32 pm #69217In reply to: BBpress faster than WordPress
chrishajer
ParticipantI recently ran into a problem with eaccelerator installed from source:
When you update PHP, Apache will not restart since eaccelerator was compiled with an earlier version of PHP, and Apache can’t load the eaccelerator.so binary. If Apache won’t start, maybe this is why. Apache didn’t give any good messages at all, but
php -m
on the command line showed a problem with the eaccelerator binary being compiled for an earlier version of PHP. So, just recompile, reinstall and restart Apache.Hope that helps someone.
-
AuthorSearch Results