Rlad78
11-03-2013, 10:27 PM
My forum has a large number of styles and all of them need replacement variables to link site content to a CDN. A few of them already have the replacement variables in place, but it's really time consuming to have to enter all of them in for all of the skins. So I went into my database into "style", copied the "replacements" element from a style that has all the replacement variables set, and ran:
UPDATE style SET replacements=[insert code here]
I go back into the AdminCP, and it looks as if nothing has changed. I then go back to the index page and discover that none of the replacement variables are working on any of the skins now. Going to AdminCP -> Maintenance -> Update Counters -> Rebuild Styles returns the "replacements" column back to it's original state and the replacement variables for the skins they were on before work again.
Is there some trick to making the site recognize the changes made manually in MySQL?
UPDATE style SET replacements=[insert code here]
I go back into the AdminCP, and it looks as if nothing has changed. I then go back to the index page and discover that none of the replacement variables are working on any of the skins now. Going to AdminCP -> Maintenance -> Update Counters -> Rebuild Styles returns the "replacements" column back to it's original state and the replacement variables for the skins they were on before work again.
Is there some trick to making the site recognize the changes made manually in MySQL?