[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.
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [Beta] Invite A Friend 0.2.1

Post by Kharon » Mon Oct 06, 2008 7:48 pm

perfect mod :) my version 0.2.1

invite.txt/e-mail
You can register here:
http://www.zxc.com/ucp.php?mode=register&key=xxxxxxxxx (Key:
xxxxxxxxx)

-------
ucp.php Error
/ucp.php?mode=register&key=xxxxxxxxx // false

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/auth.php on line 841: Undefined index: 150
[phpBB Debug] PHP Notice: in file /includes/auth.php on line 841: Undefined index: 150
[phpBB Debug] PHP Notice: in file /includes/auth.php on line 842: Undefined offset: 0
---
ucp.php not error ?
/ucp.php?key=xxxxxxxxx&mode=register // true

I need a fix


and invite friend - log is not cleaning ?


sorry,my english .. Thanks

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

Re: [Beta] Invite A Friend 0.2.1

Post by Bycoja » Mon Oct 06, 2008 8:14 pm

Kharon wrote:ucp.php Error
/ucp.php?mode=register&key=xxxxxxxxx // false

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/auth.php on line 841: Undefined index: 150
[phpBB Debug] PHP Notice: in file /includes/auth.php on line 841: Undefined index: 150
[phpBB Debug] PHP Notice: in file /includes/auth.php on line 842: Undefined offset: 0
---
ucp.php not error ?
/ucp.php?key=xxxxxxxxx&mode=register // true
Can you post a screenshot, please?
Kharon wrote:and invite friend - log is not cleaning ?
What do you mean?

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [Beta] Invite A Friend 0.2.1

Post by KellyBean » Mon Oct 06, 2008 8:25 pm

Figures, I just installed 0.2.0... what should I do to update it? Is there an update file in the new version? Thanks! :)
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

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

Re: [Beta] Invite A Friend 0.2.1

Post by Bycoja » Mon Oct 06, 2008 8:33 pm

KellyBean wrote:Figures, I just installed 0.2.0... what should I do to update it? Is there an update file in the new version? Thanks! :)
Yes, there is an update file (020_to_021.xml) in contrib folder.

Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [Beta] Invite A Friend 0.2.1

Post by Kharon » Mon Oct 06, 2008 8:37 pm

sorry, problem solved (cache,templates clean ..) :oops:


Invite freand logs suggestion
Image

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

Re: [Beta] Invite A Friend 0.2.1

Post by Bycoja » Mon Oct 06, 2008 8:49 pm

Kharon wrote:sorry, problem solved (cache,templates clean ..) :oops:
:)
Kharon wrote:Invite freand logs suggestion
Image
Deleting them isn't a good idea because the entries are important for some settings like 'Limit invitations', better just hide them. I'm going to add some extra features to the log anyway. ;)
(Number of total invitations and registrations may be useful to add compatibility with e.g. cash mod or other reward systems ... )

Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [Beta] Invite A Friend 0.2.1

Post by Kharon » Mon Oct 06, 2008 9:48 pm

hmm

ucp.php?mode=register

new user register
Registration-key: - none - (Optional)

Code: Select all

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

Code: Select all

if (!$invitation_data['send_confirm'])
( I cleaned cache and templates)

thanks

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

Re: [Beta] Invite A Friend 0.2.1

Post by Bycoja » Mon Oct 06, 2008 10:08 pm

Kharon wrote:hmm

ucp.php?mode=register

new user register
Registration-key: - none - (Optional)

Code: Select all

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

Code: Select all

if (!$invitation_data['send_confirm'])
( I cleaned cache and templates)

thanks
Open: includes/functions_invite.php

Find:

Code: Select all

// Get some information about the new user and set vars
$this->get_new_user($new_user_id);
Add after:

Code: Select all

// Fix: [phpBB Debug]: Undefined variable: invitation_data
		if ($this->config['auth_key'] == 2 && empty($key))
		{
			return false;
		}
(Will be fixed in 0.2.2)

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [Beta] Invite A Friend 0.2.1

Post by KellyBean » Mon Oct 06, 2008 10:27 pm

Works perfectly for my purposes!! Thank you!! I've been waiting a long time for a mod like this for my forum! :mrgreen:
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [Beta] Invite A Friend 0.2.1

Post by ttuu » Mon Oct 06, 2008 11:23 pm

i install update 0.2.1 version mod and in ACP i config permissions for me. and still i not to succeed get to invite.php page. i get this massage "You are not authorised to access this area"

what going here?

User avatar
KellyBean
Registered User
Posts: 270
Joined: Wed Nov 07, 2007 3:06 pm
Location: Massachusetts
Contact:

Re: [Beta] Invite A Friend 0.2.1

Post by KellyBean » Mon Oct 06, 2008 11:29 pm

You have to set the user permissions under Users and Groups > Manage Groups > Registered Users then set "Can send invitations to friends" to "Yes." HTH! :)
My Forum | My Design/How-to Site
Need help MODing or customizing your site? I can do it for a very reasonable fee. Contact me!

Image

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [Beta] Invite A Friend 0.2.1

Post by ttuu » Mon Oct 06, 2008 11:58 pm

i didit. and its not work for me.

drankur
Registered User
Posts: 271
Joined: Sat Dec 22, 2007 4:16 am

Re: [Beta] Invite A Friend 0.2.1

Post by drankur » Tue Oct 07, 2008 6:01 am

after installing your mod , i am gettinmg the balnk white page,, please help
http://www.phpbb.com/community/viewtopi ... &t=1228505

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

Re: [Beta] Invite A Friend 0.2.1

Post by Bycoja » Tue Oct 07, 2008 9:23 am

ttuu wrote:i didit. and its not work for me.
Well, first of all delete entries from older versions of this mod:

Code: Select all

    --
    -- Change the prefix if required!
    --

    DELETE FROM `phpbb_acl_groups` WHERE `group_id` =6 AND `forum_id` =0 AND `auth_option_id` =(SELECT `auth_option_id` FROM `phpbb_acl_options` WHERE `auth_option` = 'u_send_iaf') AND `auth_role_id` =0 AND `auth_setting` =0 LIMIT 1 ;

    DELETE FROM `phpbb_acl_groups` WHERE `group_id` =5 AND `forum_id` =0 AND `auth_option_id` =(SELECT `auth_option_id` FROM `phpbb_acl_options` WHERE `auth_option` = 'u_send_iaf') AND `auth_role_id` =0 AND `auth_setting` =1 LIMIT 1 ;

    DELETE FROM `phpbb_acl_groups` WHERE `group_id` =4 AND `forum_id` =0 AND `auth_option_id` =(SELECT `auth_option_id` FROM `phpbb_acl_options` WHERE `auth_option` = 'u_send_iaf') AND `auth_role_id` =0 AND `auth_setting` =1 LIMIT 1 ;

    DELETE FROM `phpbb_acl_groups` WHERE `group_id` =3 AND `forum_id` =0 AND `auth_option_id` =(SELECT `auth_option_id` FROM `phpbb_acl_options` WHERE `auth_option` = 'u_send_iaf') AND `auth_role_id` =0 AND `auth_setting` =1 LIMIT 1 ;

    DELETE FROM `phpbb_acl_groups` WHERE `group_id` =2 AND `forum_id` =0 AND `auth_option_id` =(SELECT `auth_option_id` FROM `phpbb_acl_options` WHERE `auth_option` = 'u_send_iaf') AND `auth_role_id` =0 AND `auth_setting` =1 LIMIT 1 ;

    DELETE FROM `phpbb_acl_groups` WHERE `group_id` =1 AND `forum_id` =0 AND `auth_option_id` =(SELECT `auth_option_id` FROM `phpbb_acl_options` WHERE `auth_option` = 'u_send_iaf') AND `auth_role_id` =0 AND `auth_setting` =0 LIMIT 1 ;

    DELETE FROM `phpbb_acl_options` WHERE `auth_option` ='u_send_iaf' ;

    INSERT INTO phpbb_acl_options (auth_option, is_global, is_local, founder_only) VALUES ('u_send_iaf', 1, 0, 0);
Then assign the permissions (Permissions->Groups' permissions->Registered users->User permissions->Misc).

ttuu
Registered User
Posts: 224
Joined: Wed Feb 13, 2008 6:28 pm

Re: [Beta] Invite A Friend 0.2.1

Post by ttuu » Tue Oct 07, 2008 9:39 am

i didit now and its not to help. i still get "You are not authorised to access this area." massage error to the invite.php page.

Locked

Return to “[3.0.x] Abandoned MODs”