[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.
psprofi
Registered User
Posts: 39
Joined: Wed Mar 09, 2005 9:03 pm

Post by psprofi »

MentalMaze wrote:
psprofi wrote:is there an german translation for the mod?

No, no one has offered and I am not able to do so. Would you be interested?


i don't think so.
User avatar
webmacster87
Former Team Member
Posts: 3758
Joined: Fri Jun 11, 2004 2:30 am
Location: San Mateo, CA
Name: Douglas Bell
Contact:

Post by webmacster87 »

Mental: All I know is that they aren't connecting. I'll try updating to the 0.9.2 files.
chattalk
Registered User
Posts: 173
Joined: Fri Mar 18, 2005 3:42 am

Post by chattalk »

i just realised that for guests that post.. theres still a refer link for them in the post.. how does that work tho ? .. mayb make it so that thrs no link for guests
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

chattalk wrote: i just realised that for guests that post.. theres still a refer link for them in the post.. how does that work tho ? .. mayb make it so that thrs no link for guests


I will look into it. The referral link is for ruid=-1 so no one will get credit for it if someone clicks on it to join unless you have a default user_id set.
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
bbus3r
Registered User
Posts: 158
Joined: Sat Apr 16, 2005 2:10 pm

Post by bbus3r »

just want to report that it's not easymod compatible.
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

bbus3r wrote: just want to report that it's not easymod compatible.


What all failed on you? I had heard other then the edit to lang_extend_rp_url.php that all else worked fine.
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

bbus3r wrote: just want to report that it's not easymod compatible.


What all failed on you? I had heard other then the edit to lang_extend_rp_url.php that all else worked fine.
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

UPDATE 0.9.3

Post by MentalMaze »

This update offers quite a few new additions to the ACP and function.

It adds a configurable Email body to send users with a zero post count or that have not activated their account and the ability to delete the users.
Deletion of users from the Rewards Management area will remove the referral credits and any rewards from the referring members Rewards in cases of cash mod.

New ACP configurable addition to add forum description to emails.
Many new additions and a couple small fixes.

Also this removes the need for url language as it is now controlled from the ACP. So this may help make it EM compatible as well.

I will be finalizing the docs this week and checking for errors. I am planning on submitting this to the Mod DB some time here in the next few days. So if you notice any issues, please let me know ASAP.

I will also look into the PCP compatible soon as to the issues pointed out by Fountain of Apples.

I have tried to make this as language friendly as possible so much of what members see is configurable. I am hopeing there is not much room here to even ask for a referral mod to do much more then this now does.

But if you have any really good ideas in mind let me know soon, as I do intend to submit this and then any new ideas will need to be added in future version.

May this help bring many referrals to you forum! :)
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

UPDATE 0.9.4

Post by MentalMaze »

This update added no function from ver 0.9.3, only made EM Friendly.

So for those with version 0.9.3 not need to update anything.

For those waiting for EM Friendly version, I have installed it flawlessly on both versions with EM.

First time I ever used EM, I see why people get to liking it, very quick. :)

Enjoy
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
miraclemagic
Registered User
Posts: 19
Joined: Fri Jun 24, 2005 8:27 pm

Post by miraclemagic »

I need a little help on the first step of installing this; the SQL (my weakness).

Code: Select all

#-----[ SQL ]------------------------------------------
# If you have another Pre-Fix, please change it.
# 

CREATE TABLE phpbb_refer_plus (
  rp_id mediumint(8) unsigned NOT NULL auto_increment,
  ruid varchar(7) NOT NULL default '0',
  nuid varchar(7) NOT NULL default '0',
  rp_time varchar(10) NOT NULL default '',
  PRIMARY KEY (rp_id)
) TYPE=MyISAM;

INSERT INTO phpbb_refer_plus VALUES (1, 2, 2, '1115859081');

CREATE TABLE phpbb_refer_top (
  rp_id mediumint(8) unsigned NOT NULL auto_increment,
  ruid varchar(7) NOT NULL default '0',
  nuid varchar(7) NOT NULL default '0',
  rp_time varchar(10) NOT NULL default '',
  PRIMARY KEY (rp_id)
) TYPE=MyISAM;

INSERT INTO phpbb_refer_top VALUES (1, 2, 2, '1105474506');

INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_default_id', '-1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_enable', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_rtop_enable', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_rewards_enable', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_nuid_posts', '0' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_posts_allowed', '9' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_gold', '1000' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_top', '10' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_time', 'Current Referrals:' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_timem', 'Life Time Referrals:' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_reward', 'user_gold' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_top10_list', 'Top 10 Referrers:' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_top10_list_explain', 'All Time Top 10 List of Members Who Have Referred New Members:' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_life_time', '= the Number of Friends You have Referred. To Invite a Friend and Get Credits on Your Account, use this url:' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_now_time', '= the Number of Friends You have Referred During our Current Promotion:' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_top_list_enabled', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_header', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_invite', '1' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_url', 'http://yourdomain.com/forum' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_email', 'We are removing members from our database that are no longer active on our board. If you do not wish to have your account deleted, please visit our site and your account will not be de-activated.' );
INSERT INTO `phpbb_config` ( `config_name` , `config_value` ) VALUES ( 'rp_board', 'About forum.' );
I really have no Idea how to do this with PhpMyAdmin. Can anyone explain this step by step? It would be GREATLY appreciated. Thanks.
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

miraclemagic wrote: I need a little help on the first step of installing this; the SQL (my weakness).

I really have no Idea how to do this with PhpMyAdmin. Can anyone explain this step by step? It would be GREATLY appreciated. Thanks.


Open PHP my admin and choose the correct database (left side). The click SQL at the top of the page, copy and paste the code into the box and click "GO" directly below the box.

I think that should get you there, not the best step by step but it should do. :)
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
miraclemagic
Registered User
Posts: 19
Joined: Fri Jun 24, 2005 8:27 pm

Post by miraclemagic »

Help, this error comes up when registering as a new user:

Code: Select all

Could Not Update User Gold

DEBUG MODE

SQL Error : 1054 Unknown column 'user_gold' in 'field list'

UPDATE phpbb_users SET user_gold = user_gold + 1000 WHERE user_id = ''

Line : 792
File : usercp_register.php
What should I do? Also, how can I change what the links at the top (view profile, contact admin) say? I want to change the view profile link to say Referral Center.
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

miraclemagic wrote: Help, this error comes up when registering as a new user:

Code: Select all

Could Not Update User Gold

DEBUG MODE

SQL Error : 1054 Unknown column 'user_gold' in 'field list'

UPDATE phpbb_users SET user_gold = user_gold + 1000 WHERE user_id = ''

Line : 792
File : usercp_register.php
What should I do? Also, how can I change what the links at the top (view profile, contact admin) say? I want to change the view profile link to say Referral Center.


For the user_gold error if you do no have cash mod, disable rewards, this will solve the error. I have not set it to change what the links say so you would need to do that manually in overall_header and page_header.

I may set Rewards to disabled on install to help solve this issue.
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
miraclemagic
Registered User
Posts: 19
Joined: Fri Jun 24, 2005 8:27 pm

Post by miraclemagic »

MentalMaze wrote: For the user_gold error if you do no have cash mod, disable rewards, this will solve the error.


Thanks, it works! :D
I have not set it to change what the links say so you would need to do that manually in overall_header and page_header.


What do I have to edit in those pages to change it?

Thanks again.
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

miraclemagic wrote:
MentalMaze wrote: For the user_gold error if you do no have cash mod, disable rewards, this will solve the error.


Thanks, it works! :D
I have not set it to change what the links say so you would need to do that manually in overall_header and page_header.


What do I have to edit in those pages to change it?

Thanks again.


Find this code in overall_header:

Code: Select all

					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap">
						<span class="mainmenu">&nbsp;
						<!-- BEGIN switch_user_rp_invite -->
						<a href="{U_INVITE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_INVITE}" hspace="3" />{L_INVITE}</a>
						<!-- END switch_user_rp_invite -->
						<!-- BEGIN switch_user_rp_header -->
						&nbsp;<a href="{U_REWARD}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_TOP}" hspace="3" />{L_TOP}</a>&nbsp;<a href="{U_VPROF}{PROFILE_ID}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_VPROF}" hspace="3" />{L_VPROF}</a>&nbsp;&nbsp;<a href="{U_CONTADM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_CONTADM}" hspace="3" />{L_CONTADM}</a>&nbsp;</span>
						<!-- END switch_user_rp_header -->
						</td>
					</tr>
and replace it with this:

Code: Select all

					<tr>
						<td height="25" align="center" valign="top" nowrap="nowrap">
						<span class="mainmenu">&nbsp;
						<!-- BEGIN switch_user_rp_invite -->
						<a href="{U_INVITE}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_INVITE}" hspace="3" />{L_INVITE}</a>
						<!-- END switch_user_rp_invite -->
						<!-- BEGIN switch_user_rp_header -->
						&nbsp;<a href="{U_REWARD}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="{L_TOP}" hspace="3" />{L_TOP}</a>&nbsp;<a href="{U_VPROF}{PROFILE_ID}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" alt="Referral Center" hspace="3" />Referral Center</a>&nbsp;&nbsp;<a href="{U_CONTADM}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="{L_CONTADM}" hspace="3" />{L_CONTADM}</a>&nbsp;</span>
						<!-- END switch_user_rp_header -->
						</td>
					</tr>
When I whisper of deep dark space or
Ponder upon that of the rhyme of time
I find there is no change in the words of rhyme
Whereas there is in both space and time
Post Reply

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