Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Subrion CMS Packages Discussion > Web Directory Script

Web Directory Script General discussion of current functionality of Subrion CMS web directory package. Share your ideas here!

Reply

 

LinkBack Thread Tools Display Modes
Old 08-12-2008   #1 (permalink)
Super Moderator
 
Join Date: Aug 2007
Location: Tennessee
Posts: 183
dstemper is on a distinguished road
Default Suggest Listing Mail Issue

After submitting the listing in the directory, an email is sent with <no subject> and nothing in the body.
dstemper is offline   Reply With Quote
Old 08-24-2008   #2 (permalink)
Member
 
Join Date: Jun 2008
Posts: 46
Hayk is on a distinguished road
Send a message via Skype™ to Hayk
Default Re: Suggest Listing Mail Issue

I second this report. It should be fixed. All emails are empty and only with subject "No subject". Thanks.

Last edited by Hayk; 08-24-2008 at 12:15 PM.
Hayk is offline   Reply With Quote
Old 09-02-2008   #3 (permalink)
Junior Member
 
Join Date: Jun 2008
Posts: 4
Dmitry Y. is on a distinguished road
Default Re: Suggest Listing Mail Issue

Hi guys,
Sorry for delay with it. Unfortunately mailing system in the directory package has not been finished completely. We implemented some parts of the mailing functionality for future reason, but it sometimes produces problems like this.
You able to fix it directly via code.
***Open packages\directory\includes\classes\sbr.admin.list ing.php and find functionn insert :***
PHP Code:
    function insert($aListing
***In the function find code***
PHP Code:
        if($aListing['email'] && $notify)
        {
            
$config    = &sbrConfig::instance();    
            
$action    $config->get('auto_approval') ? "listing_approve" 'listing_submit';

            
$event     = array(
                
"type"=> SBR_EMAIL_NOTIFY,
                
"action" => $action,
                
"params" => array(
                    
"rcpts"=> array($aListing['email']),
                    
"listing"=> $aListing,
                    
"path"=> $category['path'],
                    
"category_id" => $aListing['category_id']
                )
            );
            
$config->notify($event);
        } 
***Remove or comment out it***

Sorry for inconvenience. And of course, it will be fixed in the next version.
Dmitry Y. is offline   Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Suggest Listing issue dstemper Web Directory Script 4 09-03-2008 01:53 AM
Listing Comments and Votes TurXaliM Subrion Core Discussion 1 03-23-2008 10:05 PM
browse.php bug or path issue? jesus Subrion Core Discussion 3 12-19-2007 08:15 PM


All times are GMT -6. The time now is 06:58 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0