Richard SFTL Posted April 15, 2016 Report Share Posted April 15, 2016 Am having issues with actual options. Some customers access the web portal and change the name. Then its pure chaos finding who he actually is. In portal; profile/account info the first and last name fields are changeable from user. On the pbx admin, we dont have the option to block those changes. Any quick fix i could use before i get totally lost? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted April 15, 2016 Report Share Posted April 15, 2016 You could just change the template for that page and take the input fields out. Quote Link to comment Share on other sites More sharing options...
Richard SFTL Posted April 15, 2016 Author Report Share Posted April 15, 2016 Yes. This is exactly what i tried. Modified the file usr_code_settings. Took out: {ssi if show_section accinfo} <td class="cText">{lng usr_core_settings.htm#first}</td> <td><input type="text" id="first_name" value="{ssi varv first_name}" name="first_name" class="cText250" /></td></tr><tr> <td class="cText">{lng usr_core_settings.htm#last}</td> <td><input type="text" id="display_name" value="{ssi varv display_name}" name="display_name" class="cText250" /></td></tr> But for whatever reason, change dont appear on the customer web portal. Its not the first time i tackle with those and it allways worked before. Migth try to reboot pbx when no load to see what it does. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted April 15, 2016 Report Share Posted April 15, 2016 I dont think a reboot will make a difference. Maybe just good old F5 will do the trick. If you want to change the user portal, you might need to change another template. Because of WebRTC topic, the page must not be changed which requires a different approach when "loading" a new page. Quote Link to comment Share on other sites More sharing options...
Vodia Telephone System Posted April 15, 2016 Report Share Posted April 15, 2016 Actually that action now happens in usr_index.js file. You can copy it from the chrome sources and drop in the html folder of the PBX working folder with the same exact name. Then any changes you make to it should show. Search for accinfo for your specific area that you want removed and much more. Thanks Quote Link to comment Share on other sites More sharing options...
Richard SFTL Posted April 22, 2016 Author Report Share Posted April 22, 2016 Ok will try that. Tnx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.