Questions tagged [octobercms-user-plugin]

14 questions
2
votes
1 answer

OctoberCMS with JWTAuth API authentication plugin- I am getting {"error":"token_not_provided"}

I am authenticating users with JWTAuth OctoberCMS API plugin. When I register user or login with postman, the request return a token. However when I try to access authenticated routes like: Route::get('api/v1/todos', …
wafutech
  • 481
  • 10
  • 30
1
vote
1 answer

OctoberCMS - Rainlab User Plugin - onLogout - Not found

Login page Included User's Account component in login.htm page, data-request="onSignin" works fine Logout button Included Session's component in the navigation partial, data-request="onLogout" , hit error Ajax handler not found Questions: Can I…
Mavichow
  • 1,213
  • 17
  • 41
1
vote
2 answers

If user belongs to group in October CMS - User plugin

I'm trying to filter the users from a specific user group in a component in PHP. First, I'm search for a specific user based on a keyword, next I want to test if this user belongs to one specific group 'mygroupcode'. Ideally these two statements…
chocolata
  • 3,258
  • 5
  • 31
  • 60
0
votes
2 answers

Open Media Browser in specific folder October CSM builder plugin

Hi I'm looking for some idea how to do it In my own modules ( articles / gallery / carousel ... ) created in October CMS Builder plugin using filed type mediafinder for images and documents. Im need in my plugins open backend media browser -…
0
votes
0 answers

How to change rainlab.user::mail.invite to have activation link

I am using rainlabs user plugin but I do not allow users to register but I add new users manually but I still want new users to activate their account I thought I could just change the mail.invite template to Hello {{ name }} A user account has…
0
votes
2 answers

How i can on October CMS use translate plugin after extend new fields to user plugin?

For my project i use User Plugin and Translate Plugin. I've added custom new fields to the user and now I want to translate them. I think I know why it does not work. But find no solution. Somebody to have idea? if i add to $model->translatable…
0
votes
0 answers

Relationships from fronend [october cms]

I have models called "events" and "customer". I want to create a relationship from frontend when a user press the "Event enrol" Button. I've setup this process from backend. But I can't figure out how to do this from frontend(client side) in…
Dapk
  • 203
  • 2
  • 10
0
votes
1 answer

OctoberCMS - User avatar in rainlab blog not showing

I am new to Octobercms and trying to create a blog website, I have installed rainlab blog plugin and it is working good. In the post detail page, I need to show Author avatar but I am not able to fetch it, when I print {{ post.user }} it shows user…
Sanny
  • 3
  • 3
0
votes
0 answers

How to show flash message after the registration

I am using October cms User plugin. I have turned on the activation of user. I mean, users need to activate the account after registration. But after the activation no message displays. I want a flash message to display after successful…
0
votes
1 answer

How do I send the user their password in October CMS?

I am using the User plugin on OctoberCMS and my site has a manual user activation (in which the administrator activates the user from the backend). After that, an email is sent to the registering front end user with the login information including a…
0
votes
1 answer

Save user profile details, October CMS

I have a profile(profile) table in relation with the user(user) table, now, at the frontend I would like to update the user information that I also update the user profile information, on octobercms how to do? thank you in advance Profile.php…
0
votes
0 answers

Assign each user to user's own plugin

I want each users to have their own database prefix so i come up with one user one plugin, so when one user login only one specific plugin activated user a with database prefix user_a_ and user b with prefix user_b_ and so on for each user So…
0
votes
1 answer

Using user plugin session in another plugin within OctoberCMS

I’m new to Laravel and OctoberCMS, there is a lot of documentation on both but because I don’t have much of an understanding of either I would really appreciate some help. It's also quite confusing trying to understand both at the same time,…
E Wilson
  • 125
  • 2
  • 10
0
votes
0 answers

October cms User plugin many-to-many relation

Having the following table structure user | id | name | class | id | name | users_classes | user_id | class_id | value | I have built many to many relationship with belongsToMany User.php public $belongsToMany = [ 'groups' =>…