Current time: 04-16-2024, 08:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
Domain Alias
Author Message
il_dandi Offline


Posts: 1
Joined: Apr 2012
Reputation: 0
Post: #1
Domain Alias
Hi! I created new alias on specified domain assigned to a new domain.

I inserted new domain (in "Domain name")

"Domain mount point": folder where I'll place file (create this folder inside main domain)

No I confirm but I still show this alias in "Awaiting approval"

Why this?? What I've to do??

Thanks
04-24-2012 07:42 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Domain Alias
You need to login as reseller and approve the Domain Order for you as customer.
04-24-2012 03:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
freshwind Offline


Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #3
RE: Domain Alias
(04-24-2012 03:40 PM)ephigenie Wrote:  You need to login as reseller and approve the Domain Order for you as customer.

Hi ephigenie,

is it possible to modify the scripts to make alias/sub-domains get automatically activated once they've been created? i'm tired of getting notified that users are creating new sub-domains.

Thanks!
06-28-2012 12:47 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #4
RE: Domain Alias
yes it is possible of course.
07-04-2012 04:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
freshwind Offline


Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #5
RE: Domain Alias
(07-04-2012 04:20 PM)ephigenie Wrote:  yes it is possible of course.

the question is 'how'
07-04-2012 06:36 PM
Find all posts by this user Quote this message in a reply
freshwind Offline


Posts: 4
Joined: Mar 2010
Reputation: 0
Post: #6
RE: Domain Alias
:DThe problem's solved by following steps:

Step 1. open the file at /var/www/ispcp/gui/client/alias_add.php
Step 2. find '$status = $cfg->ITEM_ORDERED_STATUS;' (around line 320) change it to '$status = $cfg->ITEM_ADD_STATUS;'
Step 3. find '$admin_login = $_SESSION['user_logged'];' (around line 330) add this line 'send_request();' down below

And it should be working! (tested on ISPCP 1.0.7)

*if you still wanna get notified by email when users add a new alias (remember, you don't have to activate it any more), do step 4, otherwise forget it.

Step 4 find 'if ($status == $cfg->ITEM_ORDERED_STATUS) {' (it's around line 331) change it to 'if ($status == $cfg->ITEM_ADD_STATUS) {'

PLEASE DO REMEMBER to disable the alias approval process is QUITE RISKY! YOU HAVE TO CONFIRM that all users on your server KEPT A GOOD MANNER!
07-17-2012 12:05 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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