Forum support

We provide good documentation for our free Joomla! extensions, including online documentatation directly in the administraton interface. If you need further individuel help with our free Joomla! extensions, you can subscribe for our payed support forum. Please apply for the paid forum support here and log in with the user id of the user with whom you have purchased the forum support.

Forum Support is free as long as you have an active Visforms Subscription or an active Subscription for the Bootstrap Carousel. Please just log in with your subscription user id.

Read-only use of the forums is free for everybody.

Topic-icon Force a user to register or login

More
1 month 1 week ago #6593 by hberger
Force a user to register or login was created by hberger
Hello, I have a form, that is only accessable for registered users. So if a not registered (or logged) in user wants to access the form, I get the message: "You are not permitted to view this content." Is it possible to change this to something like "You have to be logged in to access this content." in connection with to links like: "Login" and "Register"?

Thank you for your help!

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

More
1 month 4 days ago - 1 month 4 days ago #6598 by Administrator
Replied by Administrator on topic Force a user to register or login
Hi,

I'm sorry, that I was not able to answer your request sooner.

At the moment I have no idea how to do this easily. visForms uses the Joomla! default language tag JERROR_ALERTNOAUTHOR in order to show this text. So if you would use the language manager to change the text (which would basically be possible) this would change the text not only in visForms but all over your website. So this might not be the result which you would like.

Sadly I have no better knews for you.

Regards,
Aicha

-- Visforms Developer --

I helped you? The best way to thank me is to post a review on Joomla! Extensions Directory or to use the donate button to the right and make a donation. :)

Always consult our documentations before asking a question on our forum, the answer is most probably there. ;)

Konnte ich dir helfen? Die beste Art mir zu danken ist es, ein Review auf Joomla! Extensions Directory zu schreiben oder den Spendenbutton rechts zu verwenden, um mir eine Spende zukommen zu lassen. :)

Bitte konsultiere immer zuerst unsere Dokumentationen bevor du eine Frage im Forum stellst, die Antwort ist bestimmt da. ;)

Enjoy Joomla!

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

More
4 weeks 1 day ago #6608 by georg_pelz
Replied by georg_pelz on topic Force a user to register or login
Hi, you will find the file to change this error message in your Joomla main directory » language » en-GB.ini. You can open the File using a editor and in line 129 (Joomla V.3.9.15) is the code you need to update:

JERROR_ALERTNOAUTHOR="You are not authorised to view this resource."

simply update this line, but like Aicha allready sayed, it will change as well the standard joomla error message for this. Anyway, if you change it to your suggested phrase "You have to be logged in to access this content." it should be not a problem, because everybody will understand this as well.

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

More
4 weeks 21 hours ago #6613 by hberger
Replied by hberger on topic Force a user to register or login
Thank you!

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

Moderators: Administrator