PDA

View Full Version : Add custom queries to Execute Query Options in ACP.


SaN-DeeP
03-05-2007, 04:15 PM
How can i add custom queries to execute sql query option in ACP ?
It shall be adisable that the queries dont get overwritten when we upgrade the forum software script to a new version.

Marco van Herwaarden
03-06-2007, 06:28 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=96199" target="_blank">Custom Queries with parameters</a> this was written for 3.5.0 RC3, but it might still work on later versions or it will give you an idea how this can be done.

Edit: Just checked the 3.6.5 code of query.php, and all automatic queries are still hard-coded in the file and no hooks exist. So you would either need to do something like my modification or perform a source edit.

SaN-DeeP
03-09-2007, 06:48 PM
THANKS for your time marco :)