Page 11 of 39

Re: [BETA] Invite A Friend 0.5.2

Posted: Sat Sep 05, 2009 11:32 am
by Valace
I have this mod installed on my forum and works great, thanks

I was wondering if there was a way to create a second register page, reason behind this madness is I have a gamers forum so current members always creating new account for the characters. WOuld make there life easy if they could register without sending them self a invite. A second register page they could access why still logged in.

Can this be done and what would I need to do? Thanks in advance

Re: [BETA] Invite A Friend 0.5.2

Posted: Wed Sep 09, 2009 3:05 pm
by Ashley.S.
I'm trying to find a invite/referral mod system to install.

Does this just send out invites or does it also keep track of users being referred by the invites? If not, would you integrate it into: Referrals FX mod?

Re: [BETA] Invite A Friend 0.5.2

Posted: Wed Sep 23, 2009 5:18 pm
by -tribe-
is it possible to only allow users of a certain group to send out invites?

Re: [BETA] Invite A Friend 0.5.2

Posted: Mon Sep 28, 2009 10:09 pm
by zaklol
Nice MOD. I installed it but have one suggestion. You should make it so the register key field only shows up when a user has clicked the link using the referral.

Re: [BETA] Invite A Friend 0.5.2

Posted: Sun Oct 11, 2009 4:56 pm
by katierunyon
I usually wait until mods are validated to install them to my board, but I could really use this one. So I might just waited until your big update. Looking forward to using it!

Re: [BETA] Invite A Friend 0.5.2

Posted: Mon Oct 12, 2009 7:04 am
by -tribe-
darkonia wrote:with which points system the mod cooperates?

with Ulimate Points mod ($user_points)?
im also looking for this

thanks

Re: [BETA] Invite A Friend 0.5.2

Posted: Mon Oct 19, 2009 4:28 pm
by d4ki
Hello to all.

I've installed this mod,updated the database,copyed files to server and edited all files( twice ).However i'm still getting this error

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/acp/acp_invite.php on line 47: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /includes/acp/acp_invite.php on line 184: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3188)
any help?

Re: [BETA] Invite A Friend 0.5.2

Posted: Fri Oct 23, 2009 7:01 am
by Tommy Gun
Hi all,

I am having some problems with this mod but I would really like to continue using it so I hope that someone might be able to help me out. After a recent upgrade from MySQL4 to MySQL5 on my host server, I am getting this message on my forum:
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 676: Undefined variable: register_user_row
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 676: Undefined variable: register_user_row
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 676: Undefined variable: register_user_row
Is there a way that I can fix this issue without having to remove the mod?

Thank you for your time,
TG

Re: [BETA] Invite A Friend 0.5.2

Posted: Fri Oct 23, 2009 1:04 pm
by anthies
Does this work on the X-treme Style and with the version 3.0.5? Would be cool if it worked but I hope I get an answer now. :mrgreen:

Re: [BETA] Invite A Friend 0.5.2

Posted: Sat Oct 24, 2009 1:12 pm
by d4rk_l1gh7
Error on line 345.... im getting something strange:

Code: Select all

Parse error: syntax error, unexpected T_IF, expecting ')' in /www/zxq.net/e/s/c/escola-digital/htdocs/includes/ucp/ucp_register.php on line 345
this is the code that's fudging up:

Code: Select all

Line: 345 	if (!empty($register_key) && $invite->valid_key ($register_key, false) )
				{
					if ($invite->config['invite_require_activation'] == USER_ACTIVATION_NONE)
					{
						$user_type = USER_NORMAL;
						$user_actkey = '';
						$user_inactive_reason = 0;
						$user_inactive_time = 0;
					}
					
					if (($invite->config['invite_require_activation'] == USER_ACTIVATION_SELF ||
						$invite->config['invite_require_activation'] == USER_ACTIVATION_ADMIN) && $config['email_enable'])
					{
						$user_actkey = gen_rand_string(10);
						$key_len = 54 - (strlen($server_url));
						$key_len = ($key_len < 6) ? 6 : $key_len;
						$user_actkey = substr($user_actkey, 0, $key_len);

						$user_type = USER_INACTIVE;
						$user_inactive_reason = INACTIVE_REGISTER;
						$user_inactive_time = time();
					}
Line:	367			}
That's pretty much the bad code... i don't get that unsuspecting ")". To me, everything's fine.

Re: [BETA] Invite A Friend 0.5.2

Posted: Sun Oct 25, 2009 3:12 am
by Tommy Gun
Line: 345 if (!empty($register_key) && $invite->valid_key ($register_key, false) )
It might be the space between the two )'s after the word "false". This has happened to me with another mod before as well.

Re: [BETA] Invite A Friend 0.5.2

Posted: Mon Oct 26, 2009 3:42 am
by murdmon
I dont know if this been asked already forgive me if so...

I really like this mod is that I don't need the registration key part of it

I just want the users to invite someone a keep records of how many the user invited. can i get rid of the registration key part??? thanks

Re: [BETA] Invite A Friend 0.5.2

Posted: Mon Oct 26, 2009 11:41 am
by d4rk_l1gh7
Tommy Gun wrote:
Line: 345 if (!empty($register_key) && $invite->valid_key ($register_key, false) )
It might be the space between the two )'s after the word "false". This has happened to me with another mod before as well.
it´s not the space, i tried adding it to see if there´s a differtence, but.... yeah, not much luck. i tried adding an extra ) but didn´t work, im about to remove the () serrounding the code, seeing if it would work.

Re: [BETA] Invite A Friend 0.5.2

Posted: Mon Oct 26, 2009 3:33 pm
by updown
It's the first space after "invite->valid_key" that doesn't make any sense

change:

Code: Select all

invite->valid_key ($register_key
to:

Code: Select all

invite->valid_key($register_key

Re: [BETA] Invite A Friend 0.5.2

Posted: Thu Oct 29, 2009 6:31 am
by Adhemar11
Could anyone tell me if the URL that this mod creates can be modified? I would like to add an &referral=(USERNAME_OF_THE_USER_SENDING_INVITE) at the end of the URL so that it would be compatable with the Referral Mod and auto fill the "Referred By:" field.

This is the invite.txt template that is used when sending the invite out:

Code: Select all

Hello {RECIPIENT},
this message has been sent by a friend of yours known as "{INVITE_USERNAME}",
because you might be interested in the following website:
{U_BOARD}

You can use the following URL to register: {URL_REGISTER_KEY}

Your friend wrote:
-------------------------------------------
{MESSAGE}
Where does the {URL_REGISTER_KEY} get built? Is this possible to change this?

The URL in the email is something like: http://MYSITE.com/ucp.php?mode=register ... kjflasljjr and I want it to be: "http://MYSITE.com/ucp.php?mode=register ... kjflasljjr&referral=USERNAME"