Jump to content

(DP34) Referrals System


DawPi

Recommended Posts

ok,rep error gone~
but new error here...


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Date: Mon, 01 Aug 2011 17:26:36 +0000

Error: 1364 - Field 'i_invited_id' doesn't have a default value

IP Address: myip - /index.php?app=core&module=usercp&tab=referrals&area=logs&do=checkInvites

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

mySQL query error: INSERT INTO dp3_rs_referrals (`i_time`,`i_inviter_id`,`i_friend_mail`,`i_body`,`i_secure_key`,`i_status`,`i_times_sent`) VALUES(1312219596,10,'btcdtc@gmail.com','ç­¾ä¸�å¥�约å� å�¥ç��宿论å��å�§~','d87b7007d488646c0003d3a2892681e1','sent',1)

.--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------.

| File                                                                   	| Function                                                                  	| Line No.      	|

|----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------|

| mysite\admin\applications_addon\other\referrals\extensions\usercpForms.php| [db_main_mysql].insert                                                    	| 435           	|

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| mysite\admin\applications_addon\other\referrals\extensions\usercpForms.php| [usercpForms_referrals].checkInvites                                      	| 182           	|

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| mysite\admin\applications\core\modules_public\usercp\manualResolver.php| [usercpForms_referrals].runCustomEvent                                    	| 257           	|

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

| mysite\admin\sources\base\ipsController.php               	| [public_core_usercp_manualResolver].doExecute                             	| 299           	|

'----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------'

Link to comment
Share on other sites

  • Replies 826
  • Created
  • Last Reply

As mentioned above, the 'Referrals' tab shown on my forum homepage takes me to a register page - After clicking that then navigating back to the homepage, I'm logged out. As I'm logged in to begin with, I shouldn't see this register form link. How do I go about removing it from my navigation? Thanks!

*Edit - I see the link is supposed to go to: /index.php?app=referrals but it redirects to register form. I have the settings all done and enabled. Also, I don't see ANY options from my UserCP/settings pages to enable this for my profile, if that's required, or to manage my referrals, get my referral link etc. The only mention of it is in my notification options but even that's blank: http://adrop.in/myc

Am I missing something? Currently, the tab in the navigation doesn't work as I'd expect and from the front-end of the site, there are no referral options, pages anywhere.

Link to comment
Share on other sites


As mentioned above, the 'Referrals' tab shown on my forum homepage takes me to a register page - After clicking that then navigating back to the homepage, I'm logged out. As I'm logged in to begin with, I shouldn't see this register form link. How do I go about removing it from my navigation? Thanks!



if you want remove it from tab,go to Manage Applications & Modules page,you can hide it in applications setting.
Link to comment
Share on other sites





Thanks, I've removed the tab from the index for everybody apart from guests as it only send us to the register page. However, I'm thinking it should be sending us elsewhere, like to some settings? In which case, I'd want it enabled for logged-in members... Strange?

*Edit - I just found a front-end settings page at /index.php?app=core&module=usercp&tab=referrals - This can enable referrals for each member and give you the link to hand out but I had to manually find this page, it's not linked anywhere in my UserCP. Also, there are still no signs of referral information when looking at my profile.
Link to comment
Share on other sites


Am I missing something? Currently, the tab in the navigation doesn't work as I'd expect and from the front-end of the site, there are no referral options, pages anywhere.



Correct. I must fix it in the next release. Link is in UCP and in sidebar.
Link to comment
Share on other sites


You need to enter public title for this app, and hide it (on the second tab when editing this app).




A public title exists ( http://adrop.in/Xyc ) and it is already tab-hidden for all but guests ( http://adrop.in/Zyc ) as the tab only sends them to the register page.
Link to comment
Share on other sites


This wasn't my intention when I was created this mod, so I can't help yuou with this.



Why you don't want leave it as is? Guests can enter referral name during register. No worry. [img]

[/img]




I think you misunderstand my issue. I assume the tab should serve a purpose of sending users to their referral settings page to enable them? I don't want it to send them to the registration page, it just automatically redirects there! Also, why is there no link to the user-configurable settings in my UCP anywhere? Sorry for any confusion but you seem to have completely misunderstood what I've been saying? :)
Link to comment
Share on other sites


You need to enter public title for this app, and hide it (on the second tab when editing this app).



Hi DawPi,

Thanks for making this mod. Although I was a little disappointed in 3.1.4's limited functionality, I have more hope for the new version. %7Boption%7D

Like others, the tab redirects our members to the registration page, and there is no User CP link or anything else that I can find on the public side.

Both the Application Title and the Application "Public" Title are set.



Thanks as always for the effort you put into your mods.
Link to comment
Share on other sites


What mean no change? [img]

[/img]




Literally no change. The tab (when I turn it on) redirects to registration - still not sure if this is intended or not but to be clear, it's doing this by default. Also, there are still no options within my UserCP to turn referrals on/off and get my referral link. I don't see any information on profile views regarding them too, even though that setting is enabled - although I've not referred anyone yet so not sure if that's why there's nothing in profile view.

Hope this makes sense! ;)
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...