[ABD] Invite A Friend 0.7.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Valace
Registered User
Posts: 177
Joined: Sat Sep 20, 2008 9:40 pm

Re: [BETA] Invite A Friend 0.5.2

Post by Valace » Sat Sep 05, 2009 11:32 am

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
Image - Help look after the Earth and get green hosting
Free Domain: http://www.co.cc

User avatar
Ashley.S.
Registered User
Posts: 468
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [BETA] Invite A Friend 0.5.2

Post by Ashley.S. » Wed Sep 09, 2009 3:05 pm

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?
Regards,
-Ashley.S. [ ProphpBB Free Forum Hosting Moderator ]

-tribe-
Registered User
Posts: 144
Joined: Thu Jan 31, 2008 4:06 pm

Re: [BETA] Invite A Friend 0.5.2

Post by -tribe- » Wed Sep 23, 2009 5:18 pm

is it possible to only allow users of a certain group to send out invites?

zaklol
Registered User
Posts: 4
Joined: Wed Sep 16, 2009 12:57 am

Re: [BETA] Invite A Friend 0.5.2

Post by zaklol » Mon Sep 28, 2009 10:09 pm

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.

katierunyon
Registered User
Posts: 56
Joined: Fri Sep 01, 2006 3:55 pm
Location: Pennsylvania
Contact:

Re: [BETA] Invite A Friend 0.5.2

Post by katierunyon » Sun Oct 11, 2009 4:56 pm

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!

-tribe-
Registered User
Posts: 144
Joined: Thu Jan 31, 2008 4:06 pm

Re: [BETA] Invite A Friend 0.5.2

Post by -tribe- » Mon Oct 12, 2009 7:04 am

darkonia wrote:with which points system the mod cooperates?

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

thanks

d4ki
Registered User
Posts: 1
Joined: Mon Oct 19, 2009 4:25 pm

Re: [BETA] Invite A Friend 0.5.2

Post by d4ki » Mon Oct 19, 2009 4:28 pm

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?

Tommy Gun
Registered User
Posts: 18
Joined: Sun Dec 07, 2008 6:22 pm
Contact:

Re: [BETA] Invite A Friend 0.5.2

Post by Tommy Gun » Fri Oct 23, 2009 7:01 am

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

anthies
Registered User
Posts: 162
Joined: Sun May 17, 2009 10:40 am
Location: Finland, Klaukkala
Name: Janne
Contact:

Re: [BETA] Invite A Friend 0.5.2

Post by anthies » Fri Oct 23, 2009 1:04 pm

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:

d4rk_l1gh7
Registered User
Posts: 2
Joined: Sat Oct 24, 2009 12:57 pm

Re: [BETA] Invite A Friend 0.5.2

Post by d4rk_l1gh7 » Sat Oct 24, 2009 1:12 pm

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.

Tommy Gun
Registered User
Posts: 18
Joined: Sun Dec 07, 2008 6:22 pm
Contact:

Re: [BETA] Invite A Friend 0.5.2

Post by Tommy Gun » Sun Oct 25, 2009 3:12 am

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.

murdmon
Registered User
Posts: 189
Joined: Thu Sep 24, 2009 7:56 am

Re: [BETA] Invite A Friend 0.5.2

Post by murdmon » Mon Oct 26, 2009 3:42 am

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

d4rk_l1gh7
Registered User
Posts: 2
Joined: Sat Oct 24, 2009 12:57 pm

Re: [BETA] Invite A Friend 0.5.2

Post by d4rk_l1gh7 » Mon Oct 26, 2009 11:41 am

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.

updown
Registered User
Posts: 542
Joined: Sat Jan 05, 2008 6:53 am

Re: [BETA] Invite A Friend 0.5.2

Post by updown » Mon Oct 26, 2009 3:33 pm

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

Adhemar11
Registered User
Posts: 6
Joined: Thu Oct 29, 2009 6:21 am

Re: [BETA] Invite A Friend 0.5.2

Post by Adhemar11 » Thu Oct 29, 2009 6:31 am

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"
Adhemar11
MySite

Locked

Return to “[3.0.x] Abandoned MODs”