Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Friend Request E-mail Links Result in Error Rather than Prompting Login

11 years 10 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hi,

When clicking through on E-Mail links such as accept friend request, the user sees:

You do not have permission to view this resource. Please contact the Site Administrator.

The URL is: www.thechaplainconnection.org/index.php?...friends&task=pending

Instead of the login page. Note: We are using PayPlan and its JomSocial Redirect plug-in.

Thanks
Chris

Attachments:
11 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

This is default behavior, that block page wont effect too much with your paypal / jomsocial redirect plugin.

But the solution you can edit this file components/com_community/controllers/friends.php, find this code inside pending() function :

return $this->blockUnregister();

and replace to :
$mainframe = JFactory::getApplication();
$mainframe->redirect('index.php?option=com_community&view=frontpage');

I hope it will help.

thank you

11 years 10 months ago
Licenses:
JomSocial Active iSEO Expired Socialize Expired

Hi and thanks for the reply. This appears to work, but I had to make the change to the original file located in components/com_community/controllers

If it place an override version in my template's <template root>/html/com_community/ folder it is ignored. What would be the correct override location?

Chris

11 years 10 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

hi Crish,

You cant override the controller files, the override only will work for template :)

Best

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW