Filter Reference: geodir_notifications_settings

Summary

Filter GD Notifications Settings array.

Package

GeoDirectory

Change Log

Since: 1.0.0

Used by

geodirectory-admin/option-pages/notifications_settings_array.php: [Line: 17]

Source Code

$geodir_settings['notifications_settings'] = apply_filters('geodir_notifications_settings', array(


    array('name' => __('Options', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'notification_options'),


    array('name' => __('Notification Options', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'notification_options'),

    array(
        'name' => __('List of usable shortcodes', 'geodirectory'),
        'desc' => __('[#client_name#],[#listing_link#],[#posted_date#],[#number_of_days#],[#number_of_grace_days#],[#login_url#],[#username#],[#user_email#],[#site_name_url#],[#renew_link#],[#post_id#],[#site_name#],[#from_email#](in most cases this will be the admin email, except for popup forms)', 'geodirectory'),
        'id' => 'geodir_list_of_usable_shordcodes',
        'type' => 'html_content',
        'css' => 'min-width:300px;',
        'std' => 'All Places' // Default value for the page title - changed in settings
    ),

    array(
        'name' => __('Use advanced editor? (slow loading)', 'geodirectory'),
        'desc' => __('Yes', 'geodirectory'),
        'id' => 'geodir_tiny_editor',
        'std' => 'yes',
        'type' => 'radio',
        'value' => '1',
        'radiogroup' => 'start'
    ),
    array(
        'name' => __('Use advanced editor?(slow loading)', 'geodirectory'),
        'desc' => __('No', 'geodirectory'),
        'id' => 'geodir_tiny_editor',
        'std' => 'yes',
        'type' => 'radio',
        'value' => '0',
        'radiogroup' => 'end'
    ),


    array('type' => 'sectionend', 'id' => 'notification_options'),


    array('name' => __('Site Bcc Options', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'site_bcc_options'),

    array('name' => __('Site Bcc Options', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'site_bcc_options'),

    array(
        'name' => __('New user registration', 'geodirectory'),
        'desc' => __('Yes', 'geodirectory'),
        'id' => 'geodir_bcc_new_user',
        'std' => 'yes',
        'type' => 'radio',
        'value' => '1',
        'radiogroup' => 'start'
    ),
    array(
        'name' => __('New user registration', 'geodirectory'),
        'desc' => __('No', 'geodirectory'),
        'id' => 'geodir_bcc_new_user',
        'std' => 'yes',
        'type' => 'radio',
        'value' => '0',
        'radiogroup' => 'end'
    ),

    array(
        'name' => __('Send enquiry', 'geodirectory'),
        'desc' => __('Yes', 'geodirectory'),
        'id' => 'geodir_bcc_enquiry',
        'std' => 'yes',
        'type' => 'radio',
        'value' => '1',
        'radiogroup' => 'start'
    ),
    array(
        'name' => __('Send enquiry', 'geodirectory'),
        'desc' => __('No', 'geodirectory'),
        'id' => 'geodir_bcc_enquiry',
        'std' => 'yes',
        'type' => 'radio',
        'value' => '0',
        'radiogroup' => 'end'
    ),


    array('type' => 'sectionend', 'id' => 'site_bcc_options'),


    array('name' => __('Admin Emails', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'admin_emails'),

    array('name' => __('Admin Emails', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'admin_emails'),

    array(
        'name' => __('Notify to admin on post submit', 'geodirectory'),
        'desc' => __('Yes', 'geodirectory'),
        'id' => 'geodir_notify_post_submit',
        'std' => '1',
        'type' => 'radio',
        'value' => '1',
        'radiogroup' => 'start'
    ),
    array(
        'name' => __('Notify to admin on post submit', 'geodirectory'),
        'desc' => __('No', 'geodirectory'),
        'id' => 'geodir_notify_post_submit',
        'std' => '1',
        'type' => 'radio',
        'value' => '0',
        'radiogroup' => 'end'
    ),
    array(
        'name' => __('Post submit success to admin email', 'geodirectory'),
        'desc' => '',
        'id' => 'geodir_post_submited_success_email_subject_admin',
        'type' => 'text',
        'css' => 'min-width:300px;',
        'std' => __('Post Submitted Successfully','geodirectory') // Default value for the page title - changed in settings
    ),
     array(
        'name' => '',
        'desc' => '',
        'id' => 'geodir_post_submited_success_email_content_admin',
        'css' => 'width:500px; height: 150px;',
        'type' => 'textarea',
        'std' => __('

Dear Admin,

A new listing has been published [#listing_link#]. This email is just for your information.


[#site_name#]

','geodirectory') ), array( 'name' => __('Notify Admin when listing edited by Author', 'geodirectory'), 'desc' => __('Yes', 'geodirectory'), 'id' => 'geodir_notify_post_edited', 'std' => '0', 'type' => 'radio', 'value' => '1', 'radiogroup' => 'start' ), array( 'name' => __('Notify Admin when listing edited by Author', 'geodirectory'), 'desc' => __('No', 'geodirectory'), 'id' => 'geodir_notify_post_edited', 'std' => '0', 'type' => 'radio', 'value' => '0', 'radiogroup' => 'end' ), array( 'name' => __('Listing edited by Author', 'geodirectory'), 'desc' => '', 'id' => 'geodir_post_edited_email_subject_admin', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('[[#site_name#]] Listing edited by Author', 'geodirectory') ), array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_edited_email_content_admin', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __('

Dear Admin,

A listing [#listing_link#] has been edited by it\'s author [#post_author_name#].


Listing Details:

Listing ID: [#post_id#]

Listing URL: [#listing_link#]

Date: [#current_date#]


This email is just for your information.

[#site_name#]

', 'geodirectory') ), array('type' => 'sectionend', 'id' => 'admin_emails'), array('name' => __('Client Emails', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'client_emails'), array('name' => __('Client Emails', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'client_emails'), array( 'name' => __('Post submit success to client email', 'geodirectory'), 'desc' => '', 'id' => 'geodir_post_submited_success_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Post Submitted Successfully','geodirectory') // Default value for the page title - changed in settings ), array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_submited_success_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __('

Dear [#client_name#],

You submitted the below listing information. This email is just for your information.

[#listing_link#]


Thank you for your contribution.

[#site_name#]

','geodirectory') ), array( 'name' => __('User forgot password email', 'geodirectory'), 'desc' => '', 'id' => 'geodir_forgot_password_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('[#site_name#] - Your new password', 'geodirectory') // Default value for the page title - changed in settings ), array( 'name' => '', 'desc' => '', 'id' => 'geodir_forgot_password_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear [#client_name#],

You requested a new password for [#site_name_url#]

[#login_details#]

You can login here: [#login_url#]

Thank you,

[#site_name_url#].

",'geodirectory') ), array( 'name' => __('Registration success email', 'geodirectory'), 'desc' => '', 'id' => 'geodir_registration_success_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Your Log In Details', 'geodirectory') // Default value for the page title - changed in settings ), array( 'name' => '', 'desc' => '', 'id' => 'geodir_registration_success_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear [#client_name#],

You can log in with the following information:

[#login_details#]

You can login here: [#login_url#]

Thank you,

[#site_name_url#].

",'geodirectory') ), array( 'name' => __('Listing published email', 'geodirectory'), 'desc' => '', 'id' => 'geodir_post_published_email_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Listing Published Successfully', 'geodirectory') // Default value for the page title - changed in settings ), array( 'name' => '', 'desc' => '', 'id' => 'geodir_post_published_email_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear [#client_name#],

Your listing [#listing_link#] has been published. This email is just for your information.

[#listing_link#]


Thank you for your contribution.

[#site_name#]

", 'geodirectory') ), array('type' => 'sectionend', 'id' => 'client_emails'), array('name' => __('Other Emails', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'other_emails'), array('name' => __('Other Emails', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'other_emails'), array( 'name' => __('Email enquiry', 'geodirectory'), 'desc' => '', 'id' => 'geodir_email_enquiry_subject', 'type' => 'text', 'css' => 'min-width:300px;', 'std' => __('Website Enquiry', 'geodirectory') ), array( 'name' => '', 'desc' => '', 'id' => 'geodir_email_enquiry_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __("

Dear [#to_name#],

An enquiry has been sent from [#listing_link#]

===============================

[#comments#]

===============================

Thank you,

[#site_name_url#].

",'geodirectory') ), array('type' => 'sectionend', 'id' => 'other_emails'), array('name' => __('Messages', 'geodirectory'), 'type' => 'title', 'desc' => '', 'id' => 'messages'), array('name' => __('Messages', 'geodirectory'), 'type' => 'sectionstart', 'id' => 'messages'), array( 'name' => __('Post submitted success', 'geodirectory'), 'desc' => '', 'id' => 'geodir_post_added_success_msg_content', 'css' => 'width:500px; height: 150px;', 'type' => 'textarea', 'std' => __('

Thank you, your information has been successfully received.

View your submitted information »

Thank you for visiting us at [#site_name#].

','geodirectory') ), array('type' => 'sectionend', 'id' => 'messages'), )); // End Manage NOtifications settings