[RC3] Referral Plus v 1.3.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Area 2007
Registered User
Posts: 5
Joined: Wed Dec 12, 2007 1:21 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Area 2007 »

Area 2007 wrote:Hello,

I installed the Referral Plus 1.4 together with the Textual Confirmation mod on my site http://www.area2007.com. Both are working BUT: users can not chose an avatar from the gallery. They get a message "Fill in the required fields".

I use phpbb 2.0.22 with a colour version of the Aphrodite template.
To check it out use the following log in:

username tester
password test12

Any help is appreciated!
Sunny Girl

Nobody here who can help me? :(
Mango Boy
Registered User
Posts: 4
Joined: Thu Dec 20, 2007 7:10 am

Re: [RC3] Referral Plus v 1.3.0

Post by Mango Boy »

Hi,

I have two different memberships, free and paid. Existing members (free and paid) may referred someone who become either paid or free members. Referral fees are only paid for referring paid members. Can this referral mod differentiate between which referred members are paid and free? Also can it determine the amount as well?
Mango Boy
Registered User
Posts: 4
Joined: Thu Dec 20, 2007 7:10 am

paying users based on usergroup joined

Post by Mango Boy »

1. is it possible to has an option where referring users earn their rewards only when their referring users signup for a paying usergroup instead of when they sign up for the forum?

2. How about in the list that show the referring users and their referred users, also included the information of which usergroup they have joined?
Martinch0
Registered User
Posts: 21
Joined: Mon Feb 11, 2008 1:00 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Martinch0 »

I can't download the mod! Please help me! When I click on the link it says me that the forum is currently unavilable!
User avatar
Ricky_Racer
Registered User
Posts: 609
Joined: Wed Feb 12, 2003 10:02 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Ricky_Racer »

Ricky_Racer wrote:A temporary download mirror
Martinch0
Registered User
Posts: 21
Joined: Mon Feb 11, 2008 1:00 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Martinch0 »

Thanks!
mmorlino
Registered User
Posts: 70
Joined: Sat Aug 20, 2005 9:33 pm

Re: [RC3] Referral Plus v 1.3.0

Post by mmorlino »

I'm so sorry to ask this... but...

I had someone install this for me... and I'm clueless as to where to start...

How do the members e-mail their friends?

How do I monitor all of this?

I'm looking for some user-manual or something but I can't find one...
Yours in Christ,
~Molly~
lolwut
Registered User
Posts: 1
Joined: Thu Mar 13, 2008 6:31 am

Re: [RC3] Referral Plus v 1.3.0

Post by lolwut »

I used easyMOD to install and the link to the referral center is only on the subsilver theme. Ho do I add a link to the referral center in other themes?
User avatar
Ricky_Racer
Registered User
Posts: 609
Joined: Wed Feb 12, 2003 10:02 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Ricky_Racer »

For mmorlino, you should have in the page header, a link to the "Referral Center" (see screen shots).
The header link

Image

The page the header link takes you

Image

The page that has the form, you get there by clicking "Invite a Friend".

Image

For lolwut, whatever the instructions asked you to do for subSilver, you do the same for all other templates you have installed.
User avatar
Ricky_Racer
Registered User
Posts: 609
Joined: Wed Feb 12, 2003 10:02 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Ricky_Racer »

It has just been brought to my attention, that anybody that happens to visit your forum, and knows this mod is installed, has access to the invite a friend mode, and therefore your host's email server. :o
So far my attempts to fix this problem has created errors. :oops:
Peter77sx
Registered User
Posts: 3260
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Peter77sx »

How about adding:

Code: Select all

// Begin 'Restrict Guest Access' MOD
if ( !$userdata['session_logged_in'] )
	{
		redirect(append_sid("login.".$phpEx."?redirect=name.".$phpEx, true));
		exit;
	}
// End 'Restrict Guest Access' MOD
To the files?
User avatar
Ricky_Racer
Registered User
Posts: 609
Joined: Wed Feb 12, 2003 10:02 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Ricky_Racer »

Thank you Peter77sx, this almost works, but it still allows a user that doesn't have the required number of posts to invite new users, in other words, any user can use any other user's id#, however, on the positive side it is keeping the "Guests" out. :mrgreen:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
rp_center.php
#
#-----[ FIND ]------------------------------------------
# 
// session id check
if (!empty($HTTP_POST_VARS['sid']) || !empty($HTTP_GET_VARS['sid']))
{
	$sid = (!empty($HTTP_POST_VARS['sid'])) ? $HTTP_POST_VARS['sid'] : $HTTP_GET_VARS['sid'];
}
else
{
	$sid = '';
}
#
#-----[ AFTER, ADD ]------------------------------------
#
// Begin 'Restrict Guest Access' MOD
$uid = ( isset($HTTP_GET_VARS[POST_USERS_URL]) ) ? intval($HTTP_GET_VARS[POST_USERS_URL]) : intval($HTTP_POST_VARS[POST_USERS_URL]);
$mode = ( isset($HTTP_GET_VARS['mode']) ) ? $HTTP_GET_VARS['mode'] : $HTTP_POST_VARS['mode'];
if ( !$userdata['session_logged_in']  && $mode == 'referralcp')
{
	redirect(append_sid("login.$phpEx?redirect=rp_center.$phpEx&mode=referralcp&".POST_USERS_URL."=".$uid, true));
	exit;
}
// End 'Restrict Guest Access' MOD
mmorlino
Registered User
Posts: 70
Joined: Sat Aug 20, 2005 9:33 pm

Re: [RC3] Referral Plus v 1.3.0

Post by mmorlino »

Just installed the mod... loving it so far!

but where can I change the message that members send to their friends?

It's automatically:
Hi ,

I am a member at Doxie Spot and thought you might be interested in joining this site as well. Check it out if you have a minute.
So on and so forth... but where can I change it?

I've looked and looked and am not finding anything.

Thanks!
Yours in Christ,
~Molly~
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [RC3] Referral Plus v 1.3.0

Post by Lumpy Burgertushie »

mmorlino wrote:Just installed the mod... loving it so far!

but where can I change the message that members send to their friends?

It's automatically:
Hi ,

I am a member at Doxie Spot and thought you might be interested in joining this site as well. Check it out if you have a minute.
So on and so forth... but where can I change it?

I've looked and looked and am not finding anything.

Thanks!
why did n't you ask me?

:D

open :
language/lang_english/lang_extend_rp.php

find this:

Code: Select all

lang_extend_rp.php
below that is where you make the edits, however, you must be very careful or you will break it.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Ricky_Racer
Registered User
Posts: 609
Joined: Wed Feb 12, 2003 10:02 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Ricky_Racer »

It appears as the bulk of it is in the file, lang_extend_rp.php.

Code: Select all

// Email
$lang['Rp_reg_body'] = "Hi,%s\n\nI am contacting you about your account at %s. Here is the url if you wish to visit: %s\n\n%s\n\n";
$lang['Rp_reg_reason'] = "\nThanks,\n%s\n\n\n\n";
and then a little further on down in the file,

Code: Select all

// Invite Values
$lang['Rp_refer_title'] = "Refer a Friend to";
$lang['Rp_user'] = "Name:";
$lang['Rp_user_email'] = "Email:";
$lang['Rp_refer_user'] = "Friend's Name:";
$lang['Rp_refer_email'] = "Friend's Email:";
$lang['Rp_refer_msg'] = "Your Message:";
$lang['Rp_refer_body'] = "Hi %s,\n\nI am a member at %s and thought you might be interested in joining this site as well. Check it out if you have a minute.\n\nIf you use the link below to become a member I will get referral credit for inviting you to join. Browse around, I hope you enjoy the site and decide to join. I will look forward to seeing you there: http://%s%sprofile.php?mode=register&refer_id=%s\n\n";
$lang['Rp_board_body'] = "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n%s: http://%s%s\n%s\n\n";
$lang['Rp_url_reason'] = "\nThanks,\n%s\n\n\n\n";
$lang['Rp_refer_sent'] = "Your Referral has been Mailed to Your Friend:";
I am starting to see why this hasn't progressed past RC3.

:lol: As I preview I see Lumpy Burgertushie has posted.
Post Reply

Return to “[2.0.x] MODs in Development”