Current time: 05-05-2024, 05:38 AM Hello There, Guest! (LoginRegister)


Post Reply 
Domain Alias
Author Message
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 


Messages In This Thread
Domain Alias - il_dandi - 04-24-2012, 07:42 AM
RE: Domain Alias - ephigenie - 04-24-2012, 03:40 PM
RE: Domain Alias - freshwind - 06-28-2012, 12:47 PM
RE: Domain Alias - ephigenie - 07-04-2012, 04:20 PM
RE: Domain Alias - freshwind - 07-04-2012, 06:36 PM
RE: Domain Alias - freshwind - 07-17-2012 12:05 PM

Forum Jump:


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