modify the og invitation process!

View: New views
5 Messages — Rating Filter:   Alert me  

modify the og invitation process!

by Aldo Martinez Selleras-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

well, i'm doing a invitation response system for OG, when the user
recieve the invitation,  this go with a url to go to the site, well if
user have a user account in my site, i can send to the login form with
the parameter "&destination=", i can do this for register form too; but
i need when the user is registering for joining a group, after the
register go to og/subscribe/$gid page, but for this i need send the
warning message from successfully register with the URL
user/register&destination=node/$gid

how can i do this happens only when the user registering for join a group?
--
[ Drupal support list | http://lists.drupal.org/ ]

Re: modify the og invitation process!

by Neil Coghlan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

this might be helpful, it has been an issue for a long time:

http://drupal.org/node/282810

----- Original Message -----
From: "Aldo Martinez Selleras" <aldo@...>
To: <support@...>
Sent: Friday, October 30, 2009 9:44 AM
Subject: [support] modify the og invitation process!


> well, i'm doing a invitation response system for OG, when the user
> recieve the invitation,  this go with a url to go to the site, well if
> user have a user account in my site, i can send to the login form with
> the parameter "&destination=", i can do this for register form too; but
> i need when the user is registering for joining a group, after the
> register go to og/subscribe/$gid page, but for this i need send the
> warning message from successfully register with the URL
> user/register&destination=node/$gid
>
> how can i do this happens only when the user registering for join a group?
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>

--
[ Drupal support list | http://lists.drupal.org/ ]

Re: modify the og invitation process!

by Aldo Martinez Selleras-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

this is a perfect solution, but i can't modify the og.module.

really, i have a copy of some functions of the og subscribe process,
because i did a lot changes only for some kinds of groups, well, i need
to modify the variables in user/register form and add the
"&destination=" parameter.

thks a lot.
--
[ Drupal support list | http://lists.drupal.org/ ]

Re: modify the og invitation process!

by Michel Morelli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aldo Martinez Selleras ha scritto:
> this is a perfect solution, but i can't modify the og.module.
>
> really, i have a copy of some functions of the og subscribe process,
> because i did a lot changes only for some kinds of groups, well, i need
> to modify the variables in user/register form and add the
> "&destination=" parameter.
>  
Why don't write a module that change "destination" via an
hook_form_alter() ?

M.

--
Michel 'ZioBudda' Morelli                       michel@...
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net        MSN: michel@...                  
                                                JABBER: michel@...

--
[ Drupal support list | http://lists.drupal.org/ ]

Re: modify the og invitation process!

by Aldo Martinez Selleras-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

how can i modify the user_register_submit with the form_alter() ??

how can i modify from my module the variables in _user_mail_text()
function ????
--
[ Drupal support list | http://lists.drupal.org/ ]