Forum Replies Created
-
In reply to: new topics not showing
thank you all .. here are the answers
plugins are:
Akismet
BBXF Export
Instant Password
Simple Onlinelist
unfortunately when running a recount i get
Fatal error: Maximum execution time of 30 seconds exceeded in /home/metabolism/webapps/metabolism_board/bb-includes/backpress/functions.core.php on line 1048
any idea why?
In reply to: One profile page to rule them allwhere in the code do you add your redirect hook exactly?
In reply to: Move this topic to the selected forum:unfortunately making them children or parents doesn’t do it
i’m noticing it has to do with ‘forum is category’ .. if the checkbox is marked the forum is grayed out and you cannot add or move topics to it
if it’s not marked there is no problem
however i cannot change the status of the checkbox for existing forums .. unchecking and saving doesn’t work .. it stays checked
In reply to: WordPress + bbPress Integration 101i have latest WP and latest bbPress. Looks like integration results in every bb registrant being automatically given ADMIN login role in WP. Role mapping doesn’t seem to make a difference. Is there really no solution to this other than recommended downgrading?
you guys rock
just changed from sendmail to smtp, added authentication, made path changes and it works!
here is the template for my plugin
<?php
/*
Plugin Name: Swift Mailer
Description: Replace bb_mail with Swift Mailer
Version: 0.1
*/
if ( !function_exists(‘bb_mail’) ) {
function bb_mail($to, $subject, $content, $headers=”){
require_once(‘MYSWIFTFOLDER/lib/Swift.php’);
require_once(‘MYSWIFTFOLDER/lib/Swift/Connection/SMTP.php’);
$smtp =& new Swift_Connection_SMTP(“MYSMTPSERVER”, 25);
$smtp->setUsername(“MYEMAILLOGIN”);
$smtp->setpassword(“MYEMAILPASSWORD”);
$swift =& new Swift($smtp);
$from = new Swift_Address(“MYFROMEMAIL”,”MYFRIENDLYFROM”);
$message =& new Swift_Message($subject, $content);
if ($swift->send($message, $to, $from)) {return true;}
else{ echo “Message failed to send to “.$to.” from “.$from;}
$swift->disconnect();
}
}
?>
thanks guys .. but how do you ‘make howtogeek’s code into a plugin’
where does his code go? registration-settings.php? how?
i can install swiftmailer of course, just not sure what else needs to change in current bbpress configurations