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


Post Reply 
[Add User] -- insert a control
Author Message
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #21
RE: [Add User] -- insert a control
Code:
Code:
if ($dmn_egw eq 'yes') {
                mkdir ('/tmp/egw_ctrl1',0777) ;
        } elsif ($dmn_egw eq 'no') {
                mkdir ('/tmp/egw_ctrl2', 0777) ;
        }

Oh My Godd !! It Works Tongue

/Joxi <<<< (k) hahahhaha Big Grin

Thx for all !!!
06-13-2007 01:20 AM
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: #22
RE: [Add User] -- insert a control
Time for a Reputation for Joximu or not ? Wink
Can you write every change down - so that i can put it in the Wiki ?
Like - Howto install eGroupware on ispCP with user binding.
06-13-2007 03:32 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: #23
RE: [Add User] -- insert a control
Hi BeNe

wait a moment - I'll try to fix ticket 387 and then there will be a small change in how to get the content of the newly added table fields...

Hope I'll get it this week...

/Joximu
06-13-2007 06:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #24
RE: [Add User] -- insert a control
BeNe Wrote:Time for a Reputation for Joximu or not ? Wink

If i could do it ... tell me how ... and i'll add un reput point for Joximu Smile


BeNe Wrote:Can you write every change down - so that i can put it in the Wiki ?
Like - Howto install eGroupware on ispCP with user binding.

Hummm .. it's not finished yet ^^ ... I've all scripts (bash) ready for a first installation on a server Debian-Etch ..
So now .. i'm develloping functions in PERL which will be integer in IspCP engine (ispcp-dmn-mngr).

So i still have many works to finish to close my project ^^ Smile
06-13-2007 05:31 PM
Find all posts by this user Quote this message in a reply
xister Offline
Member
*
Beta Team

Posts: 405
Joined: Oct 2006
Reputation: 6
Post: #25
RE: [Add User] -- insert a control
Ryuuku Wrote:If i could do it ... tell me how ... and i'll add un reput point for Joximu Smile

Click on the Username and then on the word "vote" Smile
06-13-2007 06:12 PM
Find all posts by this user Quote this message in a reply
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #26
RE: [Add User] -- insert a control
Vote Added

Your reputation vote has successfully been added for this user.


Tongue
06-13-2007 10:59 PM
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: #27
RE: [Add User] -- insert a control
Thanx!

your helper ... Big Grin
06-14-2007 04:40 AM
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: #28
RE: [Add User] -- insert a control
and both sides are happy Cool
The community rulZ on ispCP....
06-14-2007 06:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #29
RE: [Add User] -- insert a control
I'm BacK ^ ^

So ! .. All was ok but my boss wwant other thing Tongue

Actually .. i have my function in file ispcp-dmn-mngr .... and was called when status = toadd ... It works well

My boss wants to me to place my function in a new file : ex : engine/ispcp2egw_dmn_add
So ... of course ... my script doesn't execute anymore Tongue

So i made the following changes :

File : ispcp_common_code.pl
Code:
#####
# Ajout pour Egroupware

$main::ispcp2egw_dmn_add = "$main::root_dir/engine/ispcp2egw_dmn_add";
$main::ispcp2egw_dmn_del = "$main::root_dir/engine/ispcp2egw_dmn_del";
#####

File : ispcp.conf
Code:
#############
# Ajout des triggers pour Egroupware

ispcp2egw_dmn_add = /var/www/ispcp/engine/ispcp2egw_dmn_add
ispcp2egw_dmn_del = /var/www/ispcp/engine/ispcp2egw_dmn_del

File : ispcp-dmn-mngr
Code:
if ($dmn_status eq 'toadd') {

        $rs = dmn_add_data($entry);
        $timestamp = time();

        if ($rs == 0) {

            $sql = "update domain set domain_status='ok' where domain_id = $dmn_id";
            my $ispcp2egw_dmn_add = $main::cfg{'ispcp2egw_dmn_add'};
            $rs = system`$ispcp2egw_dmn_add`; ###  <<<< My call script  !!


Result : All is ok except my script ispcp2egw_dmn_add which isn't executed :/

My helper ? An idea ? Tongue
(This post was last modified: 06-14-2007 07:33 PM by Ryuuku.)
06-14-2007 07:32 PM
Find all posts by this user Quote this message in a reply
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #30
RE: [Add User] -- insert a control
Don't manage to execute my script yet Sad

IspCP Team ... Maybe some help ?
(This post was last modified: 06-14-2007 10:00 PM by Ryuuku.)
06-14-2007 09:59 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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