You are not logged in! If you have not registered yet then click here to join the community!

TOLRA Community Forums

Go Back   TOLRA Community Forums > TOLRA Products (PHP Scripts) > Web Directory Script > Directory Script Mods


Thread Tools Display Modes
Old 12-05-2007, 10:21 AM
Paul's Avatar
Paul Paul is offline
Join Date: May 2006
Location: UK
Posts: 568
Blog Entries: 3
Mail All Sites Mod

The attached simple mod allows an email to be sent to all listings in the directory.

It required V4.0.0.rc.3 or later and that all emails are queued before delivery by setting the number of emails per hour that the script can send e.g. for 100 emails per hour in wdcfg.php set:

define('WDEMAILBLOCKSIZE', 100);

To install:
  • Create a folder called extensions if it doesn't already exist.
  • Unpack the attached zip file
  • Upload the mailall folder from the archive to the extensions folder on the server.
  • Create a file called extensioninfo.php with the following:
    $extBasePath = dirname(__FILE__) . '/';
    include($extBasePath . 'mailall/init_mailall.php');
  • Upload extensioninfo.php to the extensions folder on the server.
  • Visiting the admin dashboard will show a new option.
Note: If the file extensioninfo.php already exists on the server then edit it to add the line:

include($extBasePath . 'mailall/init_mailall.php');
Attached Files
File Type: zip (2.4 KB, 99 views)
Reply With Quote
Sponsored Links
Old 14-05-2007, 03:44 AM
John John is offline
Senior Member
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 125
Works beautifully.
Reply With Quote


mail, mod, sites

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 09:58 AM.