Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / UserSubs Support / [RESOLVED] Registration process

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[RESOLVED] Registration process

More
10 years 1 month ago #10212 by catalinads
Replied by catalinads on topic Registration process
Not working.. i receive a blank page :(
More
10 years 1 month ago - 10 years 1 month ago #10245 by loic
Replied by loic on topic Registration process
Hello,

Could you enable the error reporting and copy-paste the error displayed here ?

I also got an error when I try this code, I will do more tests and come back to you.

Best regards.
Last edit: 10 years 1 month ago by loic.
More
10 years 1 month ago #10246 by loic
Replied by loic on topic Registration process
And I found the problem :).

I was a little to blunt with the removal of code on my last messages.

Open the file components/com_invoicing/controllers/user.php and just after the line 25:
$app	= JFactory::getApplication();

Add this one:
$params = JComponentHelper::getParams('com_users');

It will solve the problem :).

Best regards.
More
10 years 1 month ago - 10 years 1 month ago #10255 by catalinads
Replied by catalinads on topic Registration process
You're the man! working!
I have to say the complete solution that worked for me .. maybe you were in a hurry and forgot

components/com_INVOICING/controllers/user.php and just after the line 29:
$app	= JFactory::getApplication();

add this one
$params = JComponentHelper::getParams('com_users');

and remove 41- to 46:
// If user registration is not allowed, show 403 not authorized.
		$params = JComponentHelper::getParams('com_users');
		if ($params->get('allowUserRegistration') == '0') {
			JError::raiseError( 403, JText::_( 'Access Forbidden' ));
			return;
		}


now . ...components/com_USERSUBS/controllers/user.php and just after the line 25
add this :
$params = JComponentHelper::getParams('com_users');

and remove from 32 to 37:
// If user registration is not allowed, show 403 not authorized.
		$params = JComponentHelper::getParams('com_users');
		if ($params->get('allowUserRegistration') == '0') {
			JError::raiseError( 403, JText::_( 'Access Forbidden' ));
			return;
		}


Now the question... on my next update .. i have to remember this ? :(
PS: give me a solution like this to synchronize the users with cb :))
Last edit: 10 years 1 month ago by catalinads.
More
10 years 1 month ago #10257 by loic
Replied by loic on topic Registration process
Nope no need to remember this fix.

We will add a setting in Usersubs that will allow you to choose to allow the registration or not without checking the Joomla configuration.

Best regards.
More
10 years 1 month ago #10259 by catalinads
Replied by catalinads on topic Registration process
Thanks. Solved.
Time to create page: 0.386 seconds
Powered by Kunena Forum