[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.1.0

Post by Kharon » Sun Oct 05, 2008 5:18 pm

Thank you Bycoja :)

ıt is working very well live board .. and request and suggestion ?

ImageImage

User avatar
idanbe
Registered User
Posts: 77
Joined: Thu Apr 03, 2008 7:13 am
Location: Israel, Jerusalem
Name: Idan Ben Ezra

Re: [Beta] Invite A Friend 0.1.0

Post by idanbe » Sun Oct 05, 2008 5:55 pm

hi,

can i use txt file for the message???

i'm useing 2 langs

thanks idan
phpBB israel Styles Team Leader • phpBB.co.il

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

Re: [Beta] Invite A Friend 0.1.0

Post by Bycoja » Sun Oct 05, 2008 6:29 pm

idanbe wrote:hi,

can i use txt file for the message???

i'm useing 2 langs

thanks idan
The messages are stored in language/.../email/invite.txt. If you want to edit the message used for another language, you have to go to UCP and select the according language.

The message / .txt file loaded in ACP is depending on your currently selected language ($user->data['user_lang]).

User avatar
idanbe
Registered User
Posts: 77
Joined: Thu Apr 03, 2008 7:13 am
Location: Israel, Jerusalem
Name: Idan Ben Ezra

Re: [Beta] Invite A Friend 0.1.0

Post by idanbe » Sun Oct 05, 2008 7:04 pm

Bycoja wrote:
idanbe wrote:hi,

can i use txt file for the message???

i'm useing 2 langs

thanks idan
The messages are stored in language/.../email/invite.txt. If you want to edit the message used for another language, you have to go to UCP and select the according language.

The message / .txt file loaded in ACP is depending on your currently selected language ($user->data['user_lang]).

excellent thanks
phpBB israel Styles Team Leader • phpBB.co.il

xxxgamer
Registered User
Posts: 574
Joined: Mon Jul 16, 2007 11:25 pm

Re: [Beta] Invite A Friend 0.1.0

Post by xxxgamer » Sun Oct 05, 2008 9:27 pm

Gonna download it now and install within the next few days and hopefully itl work on my 3.00 board. And yea a notification if someone was invited would be awesome :)

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

Re: [Beta] Invite A Friend 0.2.0

Post by Bycoja » Sun Oct 05, 2008 10:55 pm

Just released 0.2.0:

Changes:
* [Added] Confirmation e-mail
* [Added] New settings
* [Added] Log
* [Fixed] Report #005: Invite yourself
* [Fixed] Report #004: phpBB Debug
* [Fixed] Report #003: ACP: Edit Mail
* [Fixed] Report #002: 'Invite a friend' shown in navigation
* [Fixed] Report #001: Registration-keys

... code-cleanup and some small improvements. :)

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

Re: [Beta] Invite A Friend 0.2.0

Post by ttuu » Mon Oct 06, 2008 12:38 am

where i can set the permiss for invitation in ACP?

User avatar
idanbe
Registered User
Posts: 77
Joined: Thu Apr 03, 2008 7:13 am
Location: Israel, Jerusalem
Name: Idan Ben Ezra

Re: [Beta] Invite A Friend 0.2.0

Post by idanbe » Mon Oct 06, 2008 1:53 am

hi,
i installed the 0.2.0v and i have a problem

i set the permissions in the User roles and i activate the mod

and still i dont have access to invite.php

???

thanks idan
phpBB israel Styles Team Leader • phpBB.co.il

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

Re: [Beta] Invite A Friend 0.2.0

Post by ttuu » Mon Oct 06, 2008 10:12 am

idanbe wrote:hi,
i installed the 0.2.0v and i have a problem

i set the permissions in the User roles and i activate the mod

and still i dont have access to invite.php

???

thanks idan
also for me.

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

Re: [Beta] Invite A Friend 0.2.0

Post by Bycoja » Mon Oct 06, 2008 10:56 am

Try the following:

SQL

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);
Purge the cache assign the permissions again. Hopefully will work then. :?
(Why do the permissions work for me, but not for you? =X)

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

Re: [Beta] Invite A Friend 0.2.0

Post by ttuu » Mon Oct 06, 2008 12:34 pm

still its not work.

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.0

Post by KellyBean » Mon Oct 06, 2008 1:23 pm

This is just the sort of thing I've been looking for!! 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 6:48 pm

0.2.1:
* [Added] Optional registration-key
* [Added] Prohibit multiple registrations
* [Added] 010_to_021.xml
* [Fixed] Report #007: Empty {USERNAME}
* [Fixed] Report #006: Missing var

Optional registration-key should be useful e.g. if you want to distribute points for invitations, but not want to require a key to register. ;)

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

Re: [Beta] Invite A Friend 0.2.1

Post by drankur » Mon Oct 06, 2008 7:10 pm

where can i invitation log screen

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 7:17 pm

You have to add the 'Invite a friend - Log'-Module: http://bycoja.by.funpic.de/modification ... module.png

Locked

Return to “[3.0.x] Abandoned MODs”