Jump to content

Community

(DP34) Referrals System


Recommended Posts

%7Boption%7D



File Name: (DP34) Referrals System

File Submitter: DawPi

File Submitted: 23 Aug 2010

File Category: Promotion

Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x



With this app you can allow your members invite other members.

Features:

  • enable/disable system,
  • select allowed groups to use this mod,
  • three invite types: free -> user may or may not enter inviter name; force -> user must enter inviter name; invite only: user must be referred by invite form (with hashed keycode),
  • list of all invited users,
  • list of all invited users in ACP with filter option for search invited members for specific user,
  • invites by referral link,
  • points system integration ( any system! ),
  • promotion to the new group after reaching specific amount of referred users,
  • ability to enable/disable member powers to raising people via ACP,
  • ability to check all referred users via ACP ( member manage ),
  • three notification methods: PM, E-mail or Inline,
  • info in member profiles about referrer,
  • top X referrers in sidebar,
  • ability to disable the 'Referral Link' in sidebar,
  • ability to add/edit/remove referred transactions,
  • ability to turn off the "Referrer Information" block in profiles,
  • ACP permissions (manage: add, remove, edit),
  • ability to award referrer if his referrred member made topic/post,
  • ranking with filters in the ACP view,
  • enhaced filters for referral transactions,
  • invite form,
  • option to enable/disable custom invite message,
  • option to disable invites from the same IP,
  • option to approve transaction only if referrer add more than X defined posts,
  • resend option to resend sent invites,
  • option to approve transaction only if referrer add more than X defined posts.



here to download this file

Link to post
Share on other sites
  • Replies 826
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

File Name: (DP34) Referrals System File Submitter: DawPi File Submitted: 23 Aug 2010 File Category: Promotion Supported Versions: IP.Board 3.3.x, IP.Board 3.4.x With this app you can allow you

The new version is available. I hope that for most of you will be without problems. If you find a mistake, do not wait and write about it here!

Hello guys, this app will be reviewed with IP.Board 3.4 soon, so please be patient. I'll reply on all questions.

Posted Images

Nice work! :)

I have a suggestion, which would help me avoid repeatedly fielding "add referrals to ibEconomy" requests. Can you integrate it with points so when a user refers a new member they receive ## points?

I would say you could add a Data Hook point to your app right before the referral is added to the database, but I'm not sure if either of us knows how how one goes about adding Data Hook points...

IbEconomy uses a field called 'eco_points' on the 'pfields_content' database by the way.

Link to post
Share on other sites
  • 2 weeks later...

I would say you could add a Data Hook point to your app right before the referral is added to the database, but I'm not sure if either of us knows how how one goes about adding Data Hook points...




You add a /extensions/dataHookLocations.php file to your app which has the same structure as this:

<?php

$dataHookLocations = array(


	/* POSTING LIBRARY DATA LOCATIONS */

	array( 'hookkey', 'Human Readable Stuff for Hook Dropdown goes here:P' ),

	array( 'anotherhookkey','More Reading??' ),


);

Then, at the point you want the data hook to run in your code, you add

IPSLib::doDataHooks( &$variableyouwanttopass, 'hookkey' );



You *must* pass the variable as a reference to the function if you want people to be able to add to/manipulate the data that is being sent to the hook point.

Link to post
Share on other sites

Nice work! :)



I have a suggestion, which would help me avoid repeatedly fielding "add referrals to ibEconomy" requests. Can you integrate it with points so when a user refers a new member they receive ## points?



I would say you could add a Data Hook point to your app right before the referral is added to the database, but I'm not sure if either of us knows how how one goes about adding Data Hook points...



IbEconomy uses a field called 'eco_points' on the 'pfields_content' database by the way.




Hi,
of course, this is the first addon to this modification. It will work with any points system, like this mod: :)
Link to post
Share on other sites

You add a /extensions/dataHookLocations.php file to your app which has the same structure as this:



<?php

$dataHookLocations = array(


	/* POSTING LIBRARY DATA LOCATIONS */

	array( 'hookkey', 'Human Readable Stuff for Hook Dropdown goes here:P' ),

	array( 'anotherhookkey','More Reading??' ),


);

Then, at the point you want the data hook to run in your code, you add

IPSLib::doDataHooks( &$variableyouwanttopass, 'hookkey' );



You *must* pass the variable as a reference to the function if you want people to be able to add to/manipulate the data that is being sent to the hook point.


Awesome guide, making a mental bookmark for future use. :)


Hi,


of course, this is the first addon to this modification. It will work with any points system, like this mod:

:)



Sweet.
Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy