[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
Bycoja
Registered User
Posts: 127
Joined: Tue Apr 29, 2008 7:55 pm
Location: Germany

Re: [BETA] Invite A Friend 0.5.2

Post by Bycoja » Thu Oct 29, 2009 1:11 pm

Where does the {URL_REGISTER_KEY} get built? Is this possible to change this?
You have to open /includes/functions_invite.php (~Line 196)

Find:

Code: Select all

$this->vars['URL_REGISTER_KEY']	= generate_board_url() . '/ucp.' . $phpEx . '?mode=register' . $register_key_url;
Replace with:

Code: Select all

$this->vars['URL_REGISTER_KEY']	= generate_board_url() . '/ucp.' . $phpEx . '?mode=register&referral=' . $user->data['username'] . $register_key_url;

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 3:23 pm

Nevermind, I figured it out.

I first disabled the register key in the admin panel and then modified the invite.txt file to the following...

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: http://MYSITE.com/ucp.php?mode=register&referral={INVITE_USERNAME}

Your friend wrote:
-------------------------------------------
{MESSAGE}
Adhemar11
MySite

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

Re: [BETA] Invite A Friend 0.5.2

Post by murdmon » Thu Oct 29, 2009 8:36 pm

Is it possible to rid of the registration key part and just use the invite part....

newbyphp
Registered User
Posts: 8
Joined: Sun Oct 04, 2009 4:01 pm

Re: [BETA] Invite A Friend 0.5.2

Post by newbyphp » Fri Oct 30, 2009 9:53 am

This mod active with "Gmail" Only? Why I sent to hotmail my friend don't recive my invite.

djfred
Registered User
Posts: 8
Joined: Sun Nov 01, 2009 5:16 pm

Re: [BETA] Invite A Friend 0.5.2

Post by djfred » Sun Nov 01, 2009 5:25 pm

Where can I find the files for this MOD? Can't find it at the forum (download link) mentioned on the first page!

eversion10
Registered User
Posts: 6
Joined: Sun Nov 15, 2009 5:00 pm

Re: [BETA] Invite A Friend 0.5.2

Post by eversion10 » Sun Nov 15, 2009 5:07 pm

I have successfully installed this mod but I need help with one thing... I'm using a custom theme & the invite friend button is in a bad spot. I need to know what file I need to edit to remove the Invite Friend link so I can add it somewhere else... thanks alot!

just to show you my problem

Image

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

Re: [BETA] Invite A Friend 0.5.2

Post by Bycoja » Mon Nov 16, 2009 2:54 pm

eversion10 wrote:I have successfully installed this mod but I need help with one thing... I'm using a custom theme & the invite friend button is in a bad spot. I need to know what file I need to edit to remove the Invite Friend link so I can add it somewhere else... thanks alot!
You should search the styles/xxx/template/overall_header.html for a line similar to:

Code: Select all

<!-- IF S_DISPLAY_INVITE --> &bull; <a href="{U_INVITE_A_FRIEND}">{L_ACP_INVITE}</a><!-- ENDIF -->

mike.shine
Registered User
Posts: 2
Joined: Tue Nov 17, 2009 10:33 am

Re: [BETA] Invite A Friend 0.5.2

Post by mike.shine » Tue Nov 17, 2009 1:16 pm

does this mod give referral URLs for each users and keep track of them?? Im looking for a good referral mod. :(

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

Re: [BETA] Invite A Friend 0.5.2

Post by Bycoja » Wed Nov 18, 2009 1:56 pm

mike.shine wrote:does this mod give referral URLs for each users and keep track of them?? Im looking for a good referral mod. :(
It only keeps track of the users who have been invited through email and therefore got a key. However, I'm going to add further referral features to upcoming versions.

Peter77sx
Registered User
Posts: 3257
Joined: Wed Nov 09, 2005 2:51 pm

Re: [BETA] Invite A Friend 0.5.2

Post by Peter77sx » Sun Nov 22, 2009 7:53 am

Hello, testing on 3.0.6 seems if I enable CAPTCHA, I get this error when visiting the 'invite a friend' panel.
Fatal error: Call to undefined method user::confirm_gc() in /home/test/public_html/phpbb3/includes/ucp/ucp_invite.php on line 151
Also when i send invite i get:
Fatal error: Call to a member function assign_display() on a non-object in /home/test/public_html/phpbb3/includes/functions_messenger.php on line 269

Not compatible with 3.0.0.6 yet?

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

Re: [BETA] Invite A Friend 0.5.3

Post by Bycoja » Wed Nov 25, 2009 10:19 pm

update

User avatar
eunaumtenhoid
Registered User
Posts: 884
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [BETA] Invite A Friend 0.5.3

Post by eunaumtenhoid » Wed Nov 25, 2009 10:26 pm

very very very thx man^^

is but all bug fix?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

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

Re: [BETA] Invite A Friend 0.5.3

Post by Bycoja » Wed Nov 25, 2009 10:31 pm

eunaumtenhoid wrote:is but all bug fix?
Of course, everything should be fixed now.

User avatar
eunaumtenhoid
Registered User
Posts: 884
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [BETA] Invite A Friend 0.5.3

Post by eunaumtenhoid » Wed Nov 25, 2009 10:35 pm

thx again man and congratulations^^

can have but each user one number of invite or trade for points?
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

LunaTickrf
Registered User
Posts: 17
Joined: Sun Oct 21, 2007 9:37 am

Re: [BETA] Invite A Friend 0.5.3

Post by LunaTickrf » Thu Nov 26, 2009 12:55 pm

Am i the only one who's getting this error: invite->invite(): Not installed

What's up with that, there's no install file included with the pack :/

Locked

Return to “[3.0.x] Abandoned MODs”