[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 » Sat Dec 15, 2007 7:31 am

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 » Thu Dec 20, 2007 7:16 am

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 » Wed Dec 26, 2007 7:34 am

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 » Thu Mar 06, 2008 7:31 am

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 » Fri Mar 07, 2008 1:12 am

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 » Fri Mar 07, 2008 6:49 am

Thanks!

User avatar
mmorlino
Registered User
Posts: 70
Joined: Sat Aug 20, 2005 9:33 pm
Contact:

Re: [RC3] Referral Plus v 1.3.0

Post by mmorlino » Thu Mar 13, 2008 3:13 am

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 » Thu Mar 13, 2008 6:33 am

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 » Thu Mar 13, 2008 11:00 am

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 » Fri Mar 14, 2008 1:12 pm

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: 3245
Joined: Wed Nov 09, 2005 2:51 pm

Re: [RC3] Referral Plus v 1.3.0

Post by Peter77sx » Fri Mar 14, 2008 4:17 pm

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 » Sat Mar 15, 2008 1:10 am

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

User avatar
mmorlino
Registered User
Posts: 70
Joined: Sat Aug 20, 2005 9:33 pm
Contact:

Re: [RC3] Referral Plus v 1.3.0

Post by mmorlino » Sat Mar 15, 2008 9:22 pm

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: 63196
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [RC3] Referral Plus v 1.3.0

Post by Lumpy Burgertushie » Sun Mar 16, 2008 3:34 am

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
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

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 » Sun Mar 16, 2008 3:42 am

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”

Who is online

Users browsing this forum: No registered users and 10 guests

cron