Easy fix to allow backups with out restore - NBS






 

 

Easy fix to allow backups with out restore - NBS

View Full Version : Easy fix to allow backups with out restore


connop
24-Dec-2006, 01:32 AM
i figured out a way to allow users to backup their boards but not restore them. all u need to do is edit the db_utils_restore_body.tpl file in the admin folder of each template delete everything and paste in: <h1>{L_DATABASE_RESTORE}</h1>


<table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
<tr>
<center><P>Restoring backups is not allowed. <br>
If you need support for this please visit our support site <a href="http://support.abc">Support</a>
</p></center>
</tr>
<tr>

</tr>
</table>then just edite the URL and wher it sayes "Support" to whatever u want. u can change "Restoring backups is not allowed" to something else if u want.
it should work for any of them, but ive only tried it with two skins. let me know if u like it and if it works for u. :D

Derek
24-Dec-2006, 03:21 AM
Beta 8 will also have a feature to let the site owner create a backup for the user if requested. I will hopefully be adding the ability for users to do this in beta 9.