Title: Adding your own menu options...
Add Date: Mon Aug 23 2004
Mod Date: Mon Aug 23 2004
Type: Global
Author: Andy Newby (UltraNerds)
Description: This little tutorial will show you how to add your own menu options in LinksSQL/Gossamer Forum, as well as how to run MySQL commands from your admin panel, with just one click!
Its pretty simple to add your own menu options in LinksSQL, as well as other "Gossamer Threads" products.
- Go into your admin panel, and then click the "Manage" link in the top of
the left frame.
- Type in the name of the new item you want to add in the appropriate box,
and the URL in the other box. Then press the button, and you should see your
new menu button :)
You can also run MySQL commands with ease (i.e if you manually run something
every week or so, but don't want to have to keep on typing the same old command
in, week in and week out). You can do this by putting your URL like;
The below would run the command automatically (to reset all your hits to "0"
... THIS IS IRREVERSIBLE WITHOUT BACKUPS!)
admin.cgi?do=page;page=tools_sql_monitor.html;monitor=Execute%20Query;query=UPDATE%20lsql_Links%20SET%20Hits%20=%20'0'
This would update a "RandID" field in your lsql_Links table, with a
random numbers.
admin.cgi?do=page;page=tools_sql_monitor.html;monitor=Execute%20Query;query=UPDATE%20lsql_Links%20SET%20RandID%20=%20RAND()%20*%2015
The world is you're Oyster! You can add however many new menu options as you
want, to give you quick access to areas of the admin panel, OR EVEN sections
outside of the admin panel!