Need to change the referral link to the mainpage

  • Topic Author
  • Visitor
  • Visitor
12 years 2 months ago #9932 by
Hello admin,
the plugin is working good but it collides with with AUP itself.
For example: The referrals are not counted in the "Most Referrals List" Module from AUP.

I noticed that the referral link from your plugin is different than from AUP.

The original AUP referral link looks like this:
Code:
http://www.*********.com/component/community/register?referrer=TESTUSER
This link redirects to the community page which is perfect.

But the Profile Plugin referral link looks like this:
Code:
http://www.*********.com/community/myprofile/register?referrer=TESTUSER
This link redirects to a non-existing profile page and says: "You do not have the permission."
Which is clear because the profile does not exist (myprofile).

So, i need to change the referral link and checked the aupprofile.php file.
I replaced the line in "JRoute" with route from the helpers.php from AUP
Code:
JRoute::_( "index.php?option=com_community&view=register$referrer_exist" );
...but it is still /myprofile/

I am not able to change this. It is always redirecting to the myprofile.

I hope you can help me out and assist me with this and tell me where i can change the referral link.
Or maybe you have a aupprofile.php file for me where the original AUP referral link is used.


btw: I use Jomsocial 2.4.2 (J2.5.2)

Thanks for any help in advance
Regards,
Martin

Please Log in or Create an account to join the conversation.

  • Topic Author
  • Visitor
  • Visitor
12 years 2 months ago #9933 by
Quick update... It seems it is working after all and refs are shown.

Nevertheless i would like to have it that the new user is redirected to the community page and not to myprofile.

Greetings!
M.

Please Log in or Create an account to join the conversation.

  • Topic Author
  • Visitor
  • Visitor
12 years 3 weeks ago #10404 by
Hello, i need to reactivate this thread because i would like to have the correct reflink and not this "myprofile" reflink.

The reflink from the plugin redirects to the login page and not to the "Register Account" page like the original link is doing.
That's confusing for new members.

It would be great to have the original reflink in this plugin.


And secondly:
I noticed that the field "Referral User" (which i renamed to Referrer, the correct term) shows our own profilenames with link to our own profile.
This is not correct.
The strange thing is that it shows the "Referrer" as the tooltip

nordmograph is my (klickjobs) referral


Attachments:

Please Log in or Create an account to join the conversation.

  • Topic Author
  • Visitor
  • Visitor
12 years 3 weeks ago #10449 by
It would be really great to get help regarding this.

If there is no solution then please tell me anyone how i can remove:
- the "Last update:" info
- the "My Referral Link:" info
- the "Referral User:" info

I don't need these things and they're pretty useless if the don't work properly.

Thanks in advance!
Regards,
Martin

Please Log in or Create an account to join the conversation.

  • Topic Author
  • Visitor
  • Visitor
12 years 3 weeks ago #10451 by
It's ok. I found the correct lines in the php file and removed them.

Please Log in or Create an account to join the conversation.

Time to create page: 0.315 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.