![]() |
Changing thr default style with SQL
I want to write a shell script that will trigger changing of default style for my forum every few hours.
Can someone please tell me the sql needed to change the default style in the forum database. I cant seem to find what table sets the default style. |
I think this can be done with vb scheduled tasks ( crons ).
Just create a file which will update the default style field in the db with a randomly generated styleid ( a random number based on all styles' styleid present in the db ) and set the task to run every few hours. |
Quote:
You did not read my question. I know once I create the file that changes the style id it can be cronned to run at certain intervals. My question is: What SQL code to write to change the style id in the database.(read my first post) |
table setting
varname styleid |
Quote:
|
All times are GMT. The time now is 10:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|