Contributions
Private Messages with admin
this is a mod that added a private messages with admin page and all that shit.
it's added the option to "send" any customer or all of them a private message that they see in the my account page.
it's has a admin page with the option to send message to any customer in your shop or to all of them togther and to delete a message
or delete all of the message ( only if it is a all customer message ).
hope this will help someone :-).
it's been tested on osCommerce Online Merchant v2.2 Release Candidate 2a
fresh installed.
Oh yeah, this is my first contribution. I mostly merged code from other contributions. I hope it works for everybody!
**** FIRST STEP- BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP BACKUP ****
todo:
need to add a replay that the customer if be able to replay to your messages
and update messages
at this point you can just delete message and write new one.
| 5 Feb 2008 |
just forgot this lines
catalog/admin/includes/boxes/customers.php
< -- FIND -- >
'<a href="' . tep_href_link(FILENAME_CUSTOMERS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
< -- ADD AFTER IT -- >
'<a href="' . tep_href_link(FILENAME_PRIVATE_MESSAGES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_PRIVATE_MESSAGES . '</a><br>' .
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
catalog/admin/includes/languages/english.php
<((>--ADD THIS TO THE BOTTOM OF THE FILE (before '?>')--<))>
define('BOX_PRIVATE_MESSAGES', 'Private Messages - Admin');
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
this is a full pack with the fix
| 5 Feb 2008 |
Note: Contributions are used at own risk.
