[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
pieterbas
Registered User
Posts: 106
Joined: Mon Feb 04, 2008 7:39 pm

Re: [Beta] Invite A Friend 0.2.2

Post by pieterbas »

Is it possible that this mod also Compatibility with this mod: Advanced Points v0.7.4?
mykee
Registered User
Posts: 271
Joined: Thu Jun 07, 2007 9:46 pm

Re: [Beta] Invite A Friend 0.2.2

Post by mykee »

Will be in this mod reference feature? I want see who invite who in a table or profile page or any public place after invited person registered... :roll:
Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [Beta] Invite A Friend 0.2.2

Post by Adrian1 »

pieterbas wrote:Is it possible that this mod also Compatibility with this mod: Advanced Points v0.7.4?
I will try to do a addon...
RPG MOD for phpbb3
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [Beta] Invite A Friend 0.2.2

Post by Kharon »

Enable invitations: disable

new register user..

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 408: Undefined variable: invitation_data
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 414: Undefined variable: invitation_data
functions_invite.php on line 408

Code: Select all

$this->give_cash('registration', $invitation_data['user_id']);
functions_invite.php on line 414

Code: Select all

$user->data['user_id']	= $invitation_data['user_id'];

thanks
Bycoja
Registered User
Posts: 127
Joined: Tue Apr 29, 2008 7:55 pm
Location: Germany

Re: [Beta] Invite A Friend 0.2.2

Post by Bycoja »

Adrian1 wrote:
pieterbas wrote:Is it possible that this mod also Compatibility with this mod: Advanced Points v0.7.4?
I will try to do a addon...
Compatibility with Advanced Points mod will be added next version, which will be released soon.

Kharon wrote:[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 408: Undefined variable: invitation_data
[phpBB Debug] PHP Notice: in file /includes/functions_invite.php on line 414: Undefined variable: invitation_data
Open: includes/ucp/ucp_register.php

Find:

Code: Select all

$invite->key_used($data['key'], $user_id);
					$invite->send_confirm($data['key'], $user_id);
Replace with:

Code: Select all

if ($invite->config['enable'])
				{
					$invite->key_used($data['key'], $user_id);
					$invite->send_confirm($data['key'], $user_id);
				}
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [Beta] Invite A Friend 0.2.2

Post by Kharon »

Thanks, It is working :)
okcorp
Registered User
Posts: 11
Joined: Sat May 20, 2006 8:02 am

Re: [Beta] Invite A Friend 0.2.2

Post by okcorp »

hello
how can i make that under Avatar number of invitations of this person in viewtopic can be seen?
User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: [Beta] Invite A Friend 0.2.2

Post by 1234homie »

Bycoja can you add it for advanced points system?
Lurx
Registered User
Posts: 21
Joined: Thu Dec 18, 2008 12:32 pm

Re: [Beta] Invite A Friend 0.2.2

Post by Lurx »

Hi!

I just tried installing this mod on my forum, and when someone new tries to register (whether it be through an invite or not), they get this error after registering:

SQL ERROR [ mysqli ]

Column 'user_id' cannot be null [1048]

The user IS registered though. But if it did happen through an invite, no confirmation mail is being sent, so I suppose the 'user_id' they're referring to is the one of the inviter?

Any ideas on what might have gone wrong? I'm going to have to uninstall this mod if I'm not able to fix this one...
Tikva
Registered User
Posts: 95
Joined: Fri Nov 21, 2008 9:48 pm
Location: New Zealand
Contact:

Re: [Beta] Invite A Friend 0.2.2

Post by Tikva »

Hi There,

I seem to have this Mod installed ok, in that I'm not getting any actual errors, but there seems to be a problem with languages, or something like that. When I click on the 'Invite a Friend' in my UCP (I added the 'Invite a Friend' to my common.php file), the image below will show you what I get.

Image

Have I missed some edits somewhere????
User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: [Beta] Invite A Friend 0.2.2

Post by 1234homie »

Tikva, you add a language file? I suggest to add a number friends who be invitated as users like example:

TestUser1 you invited 10 new users into forum and you win 50 cash/points.

I think its good idea ;)
Tikva
Registered User
Posts: 95
Joined: Fri Nov 21, 2008 9:48 pm
Location: New Zealand
Contact:

Re: [Beta] Invite A Friend 0.2.2

Post by Tikva »

Thanks for that, but no language file or edits to any language files came with the Mod download? Are we supposed to just add them ourselves to includes/common.php and use whatever wording we want?
catwalkchaos
Registered User
Posts: 34
Joined: Fri Jan 02, 2009 2:51 am

Re: [Beta] Invite A Friend 0.2.2

Post by catwalkchaos »

Are betas safe to use on forums? When will the proper version of this be released? :)
User avatar
RMcGirr83
Former Team Member
Posts: 21902
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: [Beta] Invite A Friend 0.2.2

Post by RMcGirr83 »

catwalkchaos wrote:Are betas safe to use on forums? When will the proper version of this be released? :)
Betas are software in development, as such it is not recommended to install them onto a live forum.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beerImage
catwalkchaos
Registered User
Posts: 34
Joined: Fri Jan 02, 2009 2:51 am

Re: [Beta] Invite A Friend 0.2.2

Post by catwalkchaos »

Thanks, do you have any idea when it will be ready? ;)
Locked

Return to “[3.0.x] Abandoned MODs”