[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.
Post Reply
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

[RC3] Referral Plus v 1.3.0

Post by MentalMaze »

MOD Title: Referral Plus
MOD Description: Advanced Referral System
MOD Version:
1.4.0 RC3

Update 11/19/2006

Tested on PhpBB Version 2.0.21
For Boards running Categories Hierarchy v2.1.x
  • Referral Plus CH Edition:
  • No longer is there a current version available.
Features:
  • Referral Tracking: Cookie now tracks referrals so new referrals can browse before joining without loss of the refer_id.
  • ACP Configurable Referral Center:Referral Center for users. Acp configurable view options.
  • ACP Configurable: Configure most aspects right from the ACP. Enable or disable entire mod with one setting.
  • Member Credit for Referrals: Keeps track of member referrals. Current and Lifetime!
  • ACP Configurable: Configure most aspects right from the ACP. Enable or disable entire mod with one setting. Choose which Admin ID to recieve PM's from members.
  • Rewards System: Rewards System for Cash Mod or Points System. Will add rewards for referrals based on cash mod or a points system. ACP configurable for type of reward.
  • Rewards System Configuration: Enable or disable the rewards system if you choose not to use cash mod. Configure Rewards Amount for referrals. Reset Monthly Top 10 List. Configure Rewards Top 10 list in ACP for Defining duration, Monthly, Promotional etc.
  • Bogus Referrals Management: User Managment allows you to send Multiple users a Email notice before deletion of user accounts which have not activated their account or have a zero post count. When Rewards System is Enabled, while deleting a member/bad referral it will remove the referral reward from the referring members reward type for the referral as well as the referral credit.
  • Email and Board URL Configuration: Control the main body language of the warning email and new section in emails to describe what your board is about. Forum link for invite email now controlled in ACP.
  • Profile View & Header Configuration:Enable or disable the header links and control the language in the view profile from the ACP.
  • Includes Invite Email: Sends email with referral link to register for referral credit including the "ruid".
  • Monthly or Promotional Top 10 List: Top 10 list with the ability to be reset without affecting Forum All Time Top Referrals List.
  • All Time Top 10 Referrals List: Displays the top 10 referring members for the life of the forum.
  • Easy Mod Friendly: Nuff said.
Translations:
  • French: Thanks calibal.
Original Mods by:
Hack Title: Bring People
Author: Doe Ray Me < [email protected] > (William Shand) http://www.drm-hacks.com
Copyright: Copyright © 2005 Bring People - Without PCP 0.2.3 - William Shand
Hack Title: Referral Mod
Copyright © John B. Abela, < [email protected] > http://www.johnabela.com/mods/
  • Actions since posted:
  • All docs now pass the mod validator test.
  • Fixed small bug in acp for multiple lang entries.
  • Docs changed to try to bring better attention to setting amount of gold/points for referrals settings prior to install.
  • Added ACP configurable Rewards to allow reward amounts to be changed. (Handles above problem)
  • Set Rewards System Enable/Disable. Still maintains referral count.
  • Added Monthly Top 10 list which can be reset while maintaining board life total referrals.
  • Set Core in place for Full Configurable Rewards System and Cash Mod integration for choice of points, gold or whatever you choose.
  • Fixed some lang issues and moved reset for monthly page to rewards settings.
  • Added ability to set Rewards Time definition: Top 10 list with definition for duration/type. i.e. Cirrent Promotion, Monthly, Weekly etc.
  • Cash Mod and points system Integration: Now set to use any user_* type of points system. Set in ACP.
  • PCP 2x Compatibility Added: Tested on phpBB with PCP 2x. Not tested with versions of CH prior to 2x. See contrib PCP2x_adaptation.txt.
  • Changed Switching: Changed switching on page header so email cannot be sent if Referral Plus is disabled.
  • Added ACP Configuration: Now has control over language in view profile and display of links in header. New format for ACP Pages.
  • New User Rewards Management: Now delete users which have not activated their accounts or have a zero post count, which removes all rewards from referring members.
  • User Rewards Management: Now offers the ability to send bulk email warning before account deletion to members with zero post count or non-activated registrations.
  • Updated Forum Control: Now control language for emails and URL for invite a friend email from ACP.
  • EM Friendly: Now EM Friendly. Both versions can be installed with Easy Mod.
  • Finalized Switching: Now disable mod with one setting so no visual signs or function of mod on forum or configure to your liking.
  • Small Fixes: Fixed some sql to handle functions in a cleaner way. Changed documentation a bit. Pretty much ready for version 1.0.0.
  • Back to beta: Set topic back to beta to make some changes for errors in code and update user side.
  • Back to RC1: Added Referral Center to compile all user aspects into one page but maintained link to Center from View Profile. Cleaned up alot of code and added better switching.
  • Small Changes: Changed most of the error messages to lang file. Fixed a couple small typos etc.
  • Updated for PhpBB ver 2.0.17: Fixed delete users in Rewards and updated finds in docs.
  • Updated Code: Changed format for tracking referrals. Updated DB for changes. Made a few small adjustments to code to bring in line with phpbb standards.
  • Updated: Changed page constants assignments. Updated switching.
  • Updated PCP: Updated PCP Adaptation to work with Referral Plus 1.2.1.
  • Updated email: Updated the method for sending the invite email.
  • Bug fix: Fixed user_id bug in Referral Center.
  • PCP fixed: Fixed PCP adaptation to newest version.
  • Referral Tracking: Added cookie to track refer_id. Thanks to Smootchie!
  • Email Name: Set the email to allow use of the users real name instead of the first part of the email address.
  • Requests List: Here I will add the requests I may look into implementing.
  • Invite Email Tracking: Log to track emails sent by users.
  • Referred Post Count: Not award credits for referrals until new member has made x number of posts.
  • Public User Referrals List: A list where a specific users referrals may be viewed publicly.
  • New Referral Link: Add a new referral link in view profile to allow new users to be referred while viewing a members profile.
  • Update Profile Add link inpage header to update profile.
  • Known Issues: Known issues that require fixes.
  • Contrib: Contributions onto Referral Plus.
    In Pack:
  • None Currently.
Last edited by MentalMaze on Sun Nov 19, 2006 6:02 pm, edited 64 times in total.
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
User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* »

Sounds like a good mod ill try it
Last edited by *=Matt=* on Wed Sep 28, 2005 1:55 am, edited 1 time in total.
DKing
Registered User
Posts: 751
Joined: Sat Jul 03, 2004 8:38 pm

Post by DKing »

So "Bring People" was stopped? It sounded like a good MOD, but it's better now!
-DKing
Latest phpBB Version: 2.0.21
Search For a MOD: MOD Search
User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* »

I get this when i try installing it with easy mod.

Code: Select all

Critical Error

Could not perform improperly formed COPY command.
root/rp_view.php to rp_view.php
DKing
Registered User
Posts: 751
Joined: Sat Jul 03, 2004 8:38 pm

Post by DKing »

You need to put "COPY blah.php to blah.php".

-DKing
-DKing
Latest phpBB Version: 2.0.21
Search For a MOD: MOD Search
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Post by A.I. BOT »

u have permission to use his code im assuming?
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

DKing wrote: So "Bring People" was stopped? It sounded like a good MOD, but it's better now!


I do not know if he has stopped work on Bring People for a fact. He hasn't changed it in a while though. But this grew to the point where I had to change some of his code so I didn't think it right to put it out as an addon.
*=Matt=* wrote:I get this when i try installing it with easy mod.
I will look into this. I do not use easy mod but I am sure that it should not be hard to find the errors I have made for it to work with this.
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 »

A.I. BOT wrote: u have permission to use his code im assuming?

Yes on 4/18 I received an ok by email from him. I told him I wanted to do a pack with this and I would leave his copy write for Bring People that it is based on in all the docs.

:) I don't want credit for work that isn't mine. I just wanted a full blown referral program.

Hence I made sure at the top of this thread to also include John B. Abela
as Bring People was based on his mod. So it is all a takeoff from John's original work. Without the premis created by John none of this would exist.
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
User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* »

Ok yeah i installed it and your un installed for Bring People is not all of it but i got it all uninstall and one other thing all these pages dont work
http://www.glitchvault.com/forums/rp_invite.php
http://www.glitchvault.com/forums/rp_top.php

i get these errors

Code: Select all

Fatal error: Cannot instantiate non-existent class: navigation in /home/????/?????/forums/rp_top.php on line 48

and i didnt use easy mod
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

*=Matt=* wrote: Ok yeah i installed it and your un installed for Bring People is not all of it but i got it all uninstall and one other thing all these pages dont work
http://www.glitchvault.com/forums/rp_invite.php
http://www.glitchvault.com/forums/rp_top.php

i get these errors

Code: Select all

Fatal error: Cannot instantiate non-existent class: navigation in /home/????/?????/forums/rp_top.php on line 48

and i didnt use easy mod


That is from the cat_h version, are you sure you installed the correct version? That should be no issue in PhpBB version.

Please check and let me know.

I am updating docs now for easymod, I hope, But if there is a problem in the two files there I will make a fix before update.
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 »

I have updated all the install docs and they now pass the mod validator. :)

So maybe if someone could give easymod another try and let me know if I solved that issue.

I would appreciate it.

@ *=Matt=*

Did you check on edition you applied? If so do you still have the same problem?
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
User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* »

MentalMaze wrote:
*=Matt=* wrote:Ok yeah i installed it and your un installed for Bring People is not all of it but i got it all uninstall and one other thing all these pages dont work
http://www.glitchvault.com/forums/rp_invite.php
http://www.glitchvault.com/forums/rp_top.php

i get these errors

Code: Select all

Fatal error: Cannot instantiate non-existent class: navigation in /home/????/?????/forums/rp_top.php on line 48

and i didnt use easy mod


That is from the cat_h version, are you sure you installed the correct version? That should be no issue in PhpBB version.

Please check and let me know.

I am updating docs now for easymod, I hope, But if there is a problem in the two files there I will make a fix before update.


well i dont have the lastest version of the Categories Hierarchy It took me a long time trying to figure what you said. Well i just delete all of it wait ill just get the other set for these files
User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* »

Code: Select all

<b>Warning</b>:  main(./language/lang_english/lang_rp.php): failed to open stream: No such file or directory in <b>/home/mattgru/public_html/forums/rp_invite.php</b> on line <b>29</b><br />
<br />

<b>Warning</b>:  main(): Failed opening './language/lang_english/lang_rp.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home/mattgru/public_html/forums/rp_invite.php</b> on line <b>29</b><br />
<br />
<b>Warning</b>:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mattgru/public_html/forums/rp_invite.php:29) in <b>/home/mattgru/public_html/forums/includes/sessions.php</b> on line <b>258</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/mattgru/public_html/forums/rp_invite.php:29) in <b>/home/mattgru/public_html/forums/includes/sessions.php</b> on line <b>377</b><br />

<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/mattgru/public_html/forums/rp_invite.php:29) in <b>/home/mattgru/public_html/forums/includes/sessions.php</b> on line <b>378</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/mattgru/public_html/forums/rp_invite.php:29) in <b>/home/mattgru/public_html/forums/includes/page_header.php</b> on line <b>849</b><br />
<br />

<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/mattgru/public_html/forums/rp_invite.php:29) in <b>/home/mattgru/public_html/forums/includes/page_header.php</b> on line <b>851</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/mattgru/public_html/forums/rp_invite.php:29) in <b>/home/mattgru/public_html/forums/includes/page_header.php</b> on line <b>852</b><br />
I get this error with the none CH



Nvm i got i fixed
MentalMaze
Registered User
Posts: 531
Joined: Sun Nov 23, 2003 8:22 am
Location: Seattle
Contact:

Post by MentalMaze »

@ *=Matt=*

This first error you got is from CH Version:

Code: Select all

Fatal error: Cannot instantiate non-existent class: navigation in /home/????/?????/forums/rp_top.php on line 48
That error only happens on vanilla PhpBB with Cat_h invite.php

So if you started with Cat_H version you will need to copy over all files from the proper pack.

Be sure your lang file is not lang_extend_rp.php.. the second error is from having lang_extend_rp.php in place of lag_rp.php.

If it is there from previous install delete it.

This is easy for me to reproduce so I am sure that is the case.

Let me know if you find this not to be so.
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
User avatar
*=Matt=*
Registered User
Posts: 389
Joined: Mon Dec 20, 2004 11:56 pm
Location: Oakdale, Wisconsin

Post by *=Matt=* »

yeah i made the mistake of install the wrong file... Well i fixing by installing the right one thanks anyways :)
Post Reply

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