0
How can I limit the number of artists created by user? I would like each user could just create your own profile.
Responses (3)
-
Accepted Answer
-
Accepted Answer
0Germi,
Can you tell me what needs to be done? I thought of hiding the button "add artist" if the number of artists created by the user equal to 1.
Furthermore, I would like the user could just add albums to artists created for him. For this, I thought of adding a WHERE user_id = current user in the query that shows the bands in form to add albums. But in what file is this query?
Speaking of albums - sorry for so many questions - I have problems with the "my albums" tab. I performed the following steps:
1. Install com_comprofiler.zip using Joomla extension manager.
2. Install mod_cblogin.zip using Joomla extension manager.
3. Install plg_myalbums_cb_2.2.0_1.6.zip using CB plugin manager.
4. Back to the front-end and insert login and password.
5. When the login file is loaded, show the following error:
Warning: require_once(C:\\wamp\\www\\musicaDScomponentsDScom_muscolDShelpersDShelpers.php) [function.require-once]: failed to open stream: No such file or directory in C:\\wamp\\www\\musica\\components\\com_comprofiler\\plugin\\user\\plug_myalbums-musiccollection\\myalbums.php on line 6 -
Accepted Answer
0hello
the option to "add albums to artists created for him" is already available in Music Collection (see backend options)
about limiting the number, the way to go would be to simply not allow to add more than 1.
and maybe, the link to "add artists" takes him to his "edit artist" page if that is already available..
but that requires a few new code changes (functions).. maybe you need a little of custom work there...
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »