Current time: 12-26-2024, 10:33 AM Hello There, Guest! (LoginRegister)


Post Reply 
Some Tickets
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #71
RE: Some Tickets
#555:
I added the last part (patch for ispcp-mbox-mngr) so this should be solved.
It works in my installation.
Please test it and close the ticket - I wonder who is the next dev with svn access who is available...

/Joxi
09-26-2007 07:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #72
RE: Some Tickets
at least I'll do it on Thursday; atm I've to look forward to pass my exam.
09-26-2007 08:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #73
RE: Some Tickets
Hi RatS
do your best in your exam - this is important!

Who else have svn access? (besides ephigenie and raphael (and you))...?

Joximu
09-26-2007 08:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #74
RE: Some Tickets
#717:
I added a patch, it was only a false "check for error" in the routines...

/Joximu
09-26-2007 08:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #75
RE: Some Tickets
#672: see http://www.isp-control.net/forum/php5-id...-1403.html (german). I'd say: for version 1.0 we don't use the idn.so functions. It runs well with the IDN class. We can switch to the odn.so funkctions later...

/Joximu
09-26-2007 06:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #76
RE: Some Tickets
fixed #711

@RatS: Good luck on your exams Wink
09-26-2007 08:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #77
RE: Some Tickets
The Bruteforce Patch was added yesterday afternoon, maybe RatS has not seen it to implement it to the last r824. So this should be a reminder Wink

#670 Fixed Wink
10-02-2007 05:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #78
RE: Some Tickets
Damn - not really.
There was only a "r" missing ?

Thanks again @Breaki.

Greez BeNe
10-02-2007 06:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #79
RE: Some Tickets
Back to business guys ^^

We have 4 tickets left till RC3, so lets start.
#55 Update Script from VHCS 2.4.7.1 to ispCP ω 1.0.0
#924 Alias order notification sent to customer
#926 vhcs 2.4.71 update no apache config
#928 vhcs update bind not changed

Rats needs some testing for his upgrade script. And if you know someone whos a god in perl, please ask him if he may help us a bit Wink

Im currently working on #924. But the error is hiding in very ugly code XD
Someone interested to help me a bit?

#926 and #928 is related to rats, help him! Tongue

Lets get ispCP RC3 out until new Year guys!!!!
12-17-2007 10:35 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #80
RE: Some Tickets
924:

it's in function send_alias_order_email in include/reseller-functions.php

$from and $to are changed for the mail things...

this works for me:
Code:
function send_alias_order_email($alias_name)
{
        global $cfg, $sql;

        $user_id = $_SESSION['user_id'];

        $reseller_id = who_owns_this($user_id, 'user');

        $query = 'SELECT fname,lname FROM admin WHERE admin_id = ?';
        $rs = exec_query($sql, $query, $user_id);
        $ufname = $rs->fields['fname'];
        $ulname = $rs->fields['lname'];
        $uemail = $_SESSION['user_email'];

        $data = get_alias_order_email($reseller_id);
        $to_name = $data['sender_name'];
        $to_email = $data['sender_email'];
        $subject = $data['subject'];
        $message = $data['message'];

        // to
        if ($to_name) {
                $to = "\"" . encode($to_name) . "\" <" . $to_email . ">";
        } else {
                $to = $to_email;
        }

        // from
        if ($ufname && $ulname) {
                $from_name = "$ufname $ulname";
                $from = "\"" . encode($from_name) . "\" <" . $uemail . ">";
        } else {
                if ($ufname) {
                        $from_name = $ufname;
                } else if ($ulname) {
                        $from_name = $ulname;
                } else {
                        $from_name = $uname;
                }
                $from = $uemail;
        }
        $search = array();
        $replace = array();

        $search [] = '{RESELLER}';
        $replace[] = $to_name;
        $search [] = '{CUSTOMER}';
        $replace[] = $from_name;
        $search [] = '{ALIAS}';
        $replace[] = $alias_name;
        $search [] = '{BASE_SERVER_VHOST}';
        $replace[] = $cfg['BASE_SERVER_VHOST'];

        $subject = str_replace($search, $replace, $subject);
        $message = str_replace($search, $replace, $message);

        $subject = encode($subject);

        $headers = "From: ". $from ."\n";
        $headers .= "MIME-Version: 1.0\n" . "Content-Type: text/plain; charset=utf-8\n" . "Content-Transfer-Encoding: 8bit\n" . "X-Mailer: ispCP " . $cfg['Version'] . " Service Mailer";

        $mail_result = mail($to, $subject, $message, $headers);

        $mail_status = ($mail_result) ? 'OK' : 'NOT OK';

}

could someone check this?

/J
12-17-2007 12:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 10 Guest(s)