Jump to content

(DP34) Referrals System


DawPi

Recommended Posts

So it appears to work if you send the invite from within the system. If you copy the link displayed to Outlook and send from there then it doesn't work (recipient clicks the link and registers but you don't get credit for the referral). Why even display the link in the sidebar then?

Also, there are literally 20 spelling errors in this mod which makes my site look sloppy. This mod has the potential to be great but it is sloppy right now.

Link to comment
Share on other sites

  • Replies 826
  • Created
  • Last Reply

I have purchased and installed. It looks good (though there are some spelling errors). Can you tell me how the points works? When I view a member's profile I don't see any reference to "points". I would like to promote people to an "MVP" group when they get to 50 points but I don't know what "points" is.



Hello,
sorry for these errors. I'm not a English native speaker - could you write me more about these mistakes? I want to change them to be correct. Thank you.
Hello,
if you don't have any 'points' system installed, then no need to worry about this function.

I get this error when I click on "Tools"...



Parse error: syntax error, unexpected $end in /home/bluecana/public_html/admin/applications_addon/other/referrals/modules_admin/tools/tools.php on line 1



About the error - what do you have in this file?


So it appears to work if you send the invite from within the system. If you copy the link displayed to Outlook and send from there then it doesn't work (recipient clicks the link and registers but you don't get credit for the referral). Why even display the link in the sidebar then?



No sure what you mean.. I've tested invite system many times.. What you tried and what doesn't work? Any live examples?
Link to comment
Share on other sites

Hello,

I am VERY interested in this type of mod. But, I have a question about an update , if it is possible / if it is hard I could pay for it (in addtion to the normal cost).

I have made my own (very simple) referral system were when users register they just put in the name of who refered them in a custom field. Then i run an SQL query to return all the information.

BUT, I don't "count" any new referral as "really a new member" until they have made at least 50 posts, (just someone that signs up but never posts = nothing to me) and the referrer doesn't get credit for this new person until the new person has made 50+ posts, is there a way to have this done in this mod? Is that a difficult change?

Link to comment
Share on other sites


Hello,


sorry for these errors. I'm not a English native speaker - could you write me more about these mistakes? I want to change them to be correct. Thank you.





I have seen several grammar errors in the screen shots , but I have not installed the mod yet so maybe they are already corrected. I would be happy to help with the language. I'm really looking forward to using this mod. (If the above change is possible?)
Link to comment
Share on other sites


BUT, I don't "count" any new referral as "really a new member" until they have made at least 50 posts, (just someone that signs up but never posts = nothing to me) and the referrer doesn't get credit for this new person until the new person has made 50+ posts, is there a way to have this done in this mod? Is that a difficult change?



It could be done, but not now - I'm busy with other mods to be done, however it's nice suggestion for a future version. :) More suggestions, more clients and newer version would appear sooner. ;) Heheh.. I want to happy every single customer.
Link to comment
Share on other sites

Really would like to buy this mod, but my long-time custom (bad) system has to continue, my home made system is crappy but has the key feature I need , as people just "signing on" doesnt mean anything to me, they need to be "counted" only when they post a significant (say 50) amount of posts. Really wish this mod had that feature would be much better for me to use this, but if i install this mod I'd have to use BOTH systems, which would make it too much of a headache. =(

Link to comment
Share on other sites

  • 2 weeks later...

The count of invites per member should only be number of ACCEPTED invites.



Now the number of invites for the top X referrers are counted as invites sent - but only accepted (and with X number of posts) should be counted...




Wow, you mean it doesn't work that way already? Yikes. And I wasn't happy with "just accepting" being good enough (I want it to be tied to them actually POSTING say 50 posts before they count.) otherwise 1. your "counting" no one really. 2. the system can easily be abused.
Link to comment
Share on other sites

If you're using 1.1.0 version (only) on IP.Board 3.1 and getting this error:

Parse error: syntax error, unexpected $end in admin/applications_addon/other/referrals/modules_admin/tools/tools.php on line 1



Then open this file and replace whole content by this:


<?php


//-----------------------------------------------

// (DP31) Referrals System

//-----------------------------------------------

//-----------------------------------------------

// Application

//-----------------------------------------------

// Author: DawPi

// Site: http://www.ipslink.pl

// Written on: 26 / 05 / 2011

//-----------------------------------------------

// Copyright © 2011 DawPi

// All Rights Reserved

//-----------------------------------------------  


if ( ! defined( 'IN_ACP' ) )

{

    print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";

    exit();

}


class admin_referrals_tools_tools extends ipsCommand

{


    public $registry;

    public $html;


    public function doExecute( ipsRegistry $registry )

    {

        /* Load skin */


        $this->html       		= $this->registry->output->loadTemplate( 'dp3_rs_tools_cp' );        

        $this->html->form_code	= 'module=tools&amp;section=tools';

        $this->html->form_code_js = 'module=tools&section=tools';    


        /* Load lib */


        $this->lib         = $this->registry->getClass('referralsSystemLibrary');    


        /* What we should to do? */


        switch ( $this->request['do'] )

        {

   	     case 'run_upgrade':

   		     $this->doRunUpgrade();

   	     break;        


   	     case 'view':   														     

   	     default:

   		     $this->viewMain();

   		     break;

        }


        $this->registry->output->html_main .= $this->registry->output->global_template->global_frame_wrapper();


        $this->registry->output->html    	     .= $this->lib->c_acp();

        $this->registry->output->sendOutput();

    }



    public function viewMain()

    {   						     

        /* Add to output */


        $this->registry->output->html .= $this->html->toolsSplash();   		     

    }



    public function doRunUpgrade()

    {

        /* Set time out */


        @set_time_limit( 3600 );


        /* Rebuild all caches */


        $this->lib->restoreOldReferrals();


        /* Redirect */


        $this->registry->output->redirect( $this->settings['base_url'] . $this->html->form_code, $this->lang->words['ugrade_tool_run'] );

    }    

} // End of class


I've accidentially saved this file as 'MAC' version and all new lines were broken. Sorry for it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...