New lower pricing for Subscriptions

50%off old price

Andy Moyle

Forum Replies Created

Viewing 15 posts - 1,336 through 1,350 (of 1,354 total)
  • Author
    Posts
  • in reply to: Short Codes problem #3167
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    You are being helpful! Judging by what is happening we are still in beta land I reckon!!!

    Can I suggest you delete the files and reload a freshly downloaded copy of the plugin – I did an update a week or two ago without changing the version number, because I was finding that files were missing! small-group-list.php definitely should exist and does in a copy I installed recently from wordpress.org.

    In your other thread, you offered help! I’m not sure my coding style is good enough for colloborative effort, but I appreciate the beta testing and suggestions!

    I’m working on making families made up of individuals who can have different roles like elder, small group leader, kids worker etc – which will take the plugin to a whole another level of usefulness. I can’t get my head round svn tags and working copies ( do you know of a simple tutorial?) so I will do a beta testing section on the forum here – if you are interested in testing and improving!

    I also need to work out how to set up a cron file that doesn’t need creating by the plugin, because it’s not working for you.

    By the way is the plugin creating pdf’s in the cache folder okay?

    in reply to: How to send emails? #3359
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Ah. It’s just occurred to me that I’ve always tested wp-cron after cron – so cronemail.php has been created. If you were setting up the communication settings with wp-cron only, it is never going to work! redface šŸ˜³

    Line 142 of index.php change that if () to

    Code:
    if(get_option(‘church_admin_cron’)==’wp-cron’||file_exists(CHURCH_ADMIN_INCLUDE_PATH.’cronemail.php’)) add_submenu_page(‘church_admin/index.php’, ‘Send Bulk Email’, ‘Send Bulk Email’, ‘administrator’, ‘church_admin_send_email’, ‘church_admin_send_email’);

    and it’ll work if you are a wp-cron kind of guy.

    Another next release fix!

    in reply to: “Regular attender” in Visitor List #3172
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Phew!

    in reply to: How to send emails? #3358
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Must be some sort of permission issue – although though that should have thrown an error. Check the permissions on the include directory.

    I’ve had the plugin working on a number of sites I own and a client and it’s created the file well on unix servers and my home windows server.

    Judging by your earlier post, you sound as though you could create cronemail.php and upload it to the includes file using this code which is for cron type… Just change teh db prefix if it isn’t wp_ and add your db login credentials…

    Code:
    $attachment=array();

    // connect to database

    $db=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD);

    mysql_select_db(DB_NAME);

    //initialise phpmailer script

    require(“class.phpmailer.php”);

    $mail = new PHPMailer();

    //Grab messages

    $sql=”SELECT * FROM wp_church_admin_email ORDER BY email_id LIMIT 0,90″;//change prefix if necessary, 90 is the number of emails per hour. Change as needed!

    $result=mysql_query($sql);

    if(mysql_num_rows($result)>0)

    {//only proceed if emails queued in db

    while($row=mysql_fetch_assoc($result))

    {

    $mail->From = $row[‘from_email’];

    $mail->FromName = “{$row[‘from_name’]}”;

    $mail->IsHTML(true);

    $mail->AddAddress($row[‘recipient’]);

    if(!empty($row[‘copy’]))$mail->AddAddress($row[‘copy’]);

    if(!empty($row[‘attachment’]))

    {

    $path=$row[‘attachment’];

    $mail->AddAttachment($path, $name = “”, $encoding = “base64”,$type = “application/octet-stream”);

    $attachment[]=$path;

    }

    $mail->Subject = $row[‘subject’] ;

    $mail->Body=$row[‘message’];

    if($mail->Send())

    {

    //successful send, so delete from DB

    $sql=”DELETE FROM wp_church_admin_email WHERE email_id='”.mysql_real_escape_string($row[’email_id’]).”‘”;//change prefix if necessary

    mysql_query($sql)or die(mysql_error());

    }

    echo $mail->ErrorInfo;

    $mail->ClearAllRecipients();//clears all recipients

    $mail->ClearCustomHeaders();//clears headers for next message

    }

    }
    ?>

    in reply to: How to send emails? #3356
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Sorry – my reply has crossed yours!

    The cronemail.php file is created when “communication settings” email form is submitted. Hence the if statement in line 142 of index.php.

    BTW If you had upgraded the plugin, you have to submit the email settings form, even though the values are shown, to recreate the cronemail.php file – in the next version, on upgrading, reactivation will check to see if settings have been stored previously and recreate it for you

    in reply to: How to send emails? #3355
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Bulk Sms and email will only work once you have filled in and submitted the forms on the “communication settings” page. The form then creates the file that does the sending according to your preferences. Once you have submitted it, a link appears to let you send emails and/or sms

    http://www.themoyles.co.uk/wp-content/uploads/2011/03/send_bulk_email.jpg

    in reply to: “Regular attender” in Visitor List #3170
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Yes that is already there! On the visitor list you have three links to the left of each visitor in the table – the “Add” link adds them to the main address list – leaving them in the visitor table too. You can delete them from the visitor list if you want to.
    http://www.themoyles.co.uk/wp-content/uploads/2011/03/add_visitor.jpg

    in reply to: display visitor #3337
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    And that too!

    in reply to: Configuring Email #3352
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    In the current version 0.32.3, emails get sent to everyone or just parents. The upcoming next version will allow sending emails to different roles – like elders, small group leaders, kids workers and so on. It will be released mid March!

    in reply to: directory photos #3430
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Haven’t condsidered photos will think about adding that. I’m looking at making the directory far more useful by making a family a group of individuals with different roles etc, rather than just a single database record. A photo would be easy to add!

    You can add the online members directory to any page or post using the shortcode

    Code:
    [church_admin type=address-list]
    in reply to: display visitor #3335
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    I’ll add that to the list for the next release!

    in reply to: Activation Error #3104
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    The plugin is trying to write some initial pdf files to it’s own cache directory and sadly either the cache directory doesn’t exist or the permissions are wrong.
    It should have created the directory, when it installed, but one or two people have had the same problem.

    If you have an ftp program, please have a look to see if the directory /var/www/vhosts/imilive.org/httpdocs/wp-content/plugins/church-admin/cache/ exists. If it does, please give it the permissions 755 and it will work. If it doesn’t, please create it. If that doesn’t make sense – get in touch via the contact form and I’ll do it for you!

    in reply to: Question about Rota feature and one about SMS #3288
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    1) The rota management allows rota tasks to be set up, so you could have 24 rota jobs and then for each date fill them with as many people as you like. The shortcode for displaying the rota can be put on any page or post within wordpress, so could be user access only. The pdf shows the next quarter. I never heard of power church, so couldn’t comment on how to export to it!

    2) Bulksms.co.uk is an international company- my plugin uses their api. If you wanted to use a local sms gateway and their api – you would need to get the sms.php file recoded for that company’s api.

    in reply to: The widget. #3376
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    No, it’s my fault – the widget is compatible with lots of themes, but not all! There’s a few lines of code to add which will make it more compatible – will do that for the next update very soon.

    in reply to: “Regular attender” in Visitor List #3168
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    That is a bug! It was to show up visitors that have become regulars in the visitors list – only that tickbox result wasn’t being stored. The next update will correct that.

Viewing 15 posts - 1,336 through 1,350 (of 1,354 total)