Have you ever found a need to reset your VisiChat database to default settings?
If you have VisiChat on a local server or online for testing purposes, you probably found yourself thinking of a way to reinitialize your VisiChat database back to its default settings. A lot of folks simply reinstall VisiChat , but there is an easier solution.
Let us introduce you reset.php file.This file come with VisiChat Package.This file is not visible and not linking with your admin menu , you can open direct this file via you browser.For example
www.mysite.com/adminPanelFolder/reset.php
When you open its look like that .
You can not use this feature because this feature is turned off by default for security reasons, To enable, edit reset.php file and set $enable_reset value to true.
Now open reset.php Go to line 29 and change the value of $enable_reset = false;
to $enable_reset = ture; Now save the file , upload it and refresh page .After changing the value you will see Reset Chat room option as shown in below image
Now click to Reset Chat room.It will reset all setting and clear your database
Note
This function will remove ALL users and ALL rooms from your database and resets all values to the default setting, This is not undoable and it is at your own risk.After resting chat room you can not login to admin panel with your admin user and password.To login use Username: Admin and Password : admin
Thanks for reading my tutorial ! Have a good day
If you have VisiChat on a local server or online for testing purposes, you probably found yourself thinking of a way to reinitialize your VisiChat database back to its default settings. A lot of folks simply reinstall VisiChat , but there is an easier solution.
Let us introduce you reset.php file.This file come with VisiChat Package.This file is not visible and not linking with your admin menu , you can open direct this file via you browser.For example
www.mysite.com/adminPanelFolder/reset.php
When you open its look like that .
You can not use this feature because this feature is turned off by default for security reasons, To enable, edit reset.php file and set $enable_reset value to true.
Now open reset.php Go to line 29 and change the value of $enable_reset = false;
to $enable_reset = ture; Now save the file , upload it and refresh page .After changing the value you will see Reset Chat room option as shown in below image
Now click to Reset Chat room.It will reset all setting and clear your database
Note
This function will remove ALL users and ALL rooms from your database and resets all values to the default setting, This is not undoable and it is at your own risk.After resting chat room you can not login to admin panel with your admin user and password.To login use Username: Admin and Password : admin
Thanks for reading my tutorial ! Have a good day


Wow Amazing ! I never see this function before this :)
ReplyDeleteNice work ! Keep it up