Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 26, 20205 yr Is there a way to make a demo user? I want to fix it so they can't change the password or well anything in the profile. I want to do this to just one account.
May 26, 20205 yr No, not really - the account owner would be able to change their details, such as the password.
May 26, 20205 yr Author 1 minute ago, bfarber said: No, not really - the account owner would be able to change their details, such as the password. anyway to make an an account delete after so long?
May 26, 20205 yr Community Expert 2 hours ago, TheSaint said: anyway to make an an account delete after so long? Do you mean to delete an account based on registration or last activity timeframe? Either way, this will require a custom plugin imo.
May 26, 20205 yr Author 1 hour ago, Miss_B said: Do you mean to delete an account based on registration or last activity timeframe? Either way, this will require a custom plugin imo. I need something so when the user visits my demo forum, creates and account, after so long it deletes it, or a way to have a demo account where they cant change the password. Like is there a file that I can edit to remove the whole field for the password in the userCP?
May 26, 20205 yr Community Expert 9 minutes ago, TheSaint said: I need something so when the user visits my demo forum, creates and account, after so long it deletes it, or a way to have a demo account where they cant change the password. Like is there a file that I can edit to remove the whole field for the password in the userCP? What do you mean by demo forum? Also, when you say after so long, what is that long criteria based on? I can create such a plugin for you btw.
May 26, 20205 yr Author it is a test forum for my theme, I either need the account they create to last no more then 24hrs (maybe send an email if possible when expired) or something where I can create an account that limits them access to changing anything in the UserCP. How much would you charge to make the plugin?
May 26, 20205 yr You can technically hide the whole UCP by editing the theme. If you’re interested in that let me know and I’ll find the template that you’d edit.
May 26, 20205 yr Community Expert 1 hour ago, TheSaint said: How much would you charge to make the plugin? That is something that is best discussed in private.
May 27, 20205 yr Author 17 hours ago, Morrigan said: You can technically hide the whole UCP by editing the theme. If you’re interested in that let me know and I’ll find the template that you’d edit. that would work too,
May 27, 20205 yr Author THIS HAS BEEN RESOLVED! I found the file I need to edit to remove the password change field safely.
May 27, 20205 yr I don't recommend file changes but for those that are curious you can do this here: core > front > system > settings Remove these lines from the template: {{if $canChangePassword}} <li> <a href='{url="app=core&module=system&controller=settings&area=password" seoTemplate="settings_password"}' id='setting_password' class='ipsType_normal ipsSideMenu_item {{if $tab === 'password'}}ipsSideMenu_itemActive{{endif}}' title="{lang="password"}" role="tab" aria-selected="{{if $tab === 'password'}}true{{else}}false{{endif}}"> <i class='fa fa-key'></i> {lang="password"} </a> </li> {{endif}} Or! just remove it all from that template. It will remove all content from the UCP altogether.
May 28, 20205 yr Author 8 hours ago, Morrigan said: I don't recommend file changes but for those that are curious you can do this here: core > front > system > settings Remove these lines from the template: {{if $canChangePassword}} <li> <a href='{url="app=core&module=system&controller=settings&area=password" seoTemplate="settings_password"}' id='setting_password' class='ipsType_normal ipsSideMenu_item {{if $tab === 'password'}}ipsSideMenu_itemActive{{endif}}' title="{lang="password"}" role="tab" aria-selected="{{if $tab === 'password'}}true{{else}}false{{endif}}"> <i class='fa fa-key'></i> {lang="password"} </a> </li> {{endif}} Or! just remove it all from that template. It will remove all content from the UCP altogether. that is what I did, I would not recommend on a normal forum but I was doing it for my test forum. Don't need any of that.
May 28, 20205 yr Oh. I assumed you actually edited a core file, not a template. Templates are a bit different.
Archived
This topic is now archived and is closed to further replies.