Announcement

Collapse
No announcement yet.

Force default style on all users...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mntsnow
    replied
    UPDATE user SET styleid = AA WHERE styleid = XX;

    Replace the XX with the style number you want to change/migrate to style "AA" which is whatever number the "default" style is. (usually number "1")

    Leave a comment:


  • Ted S
    replied
    Old thread but relevant...

    What query would be used to update the user's style to accept the forum default so I don't have to worry about manual updates when I change default themes? Thanks.

    Leave a comment:


  • Mntsnow
    replied
    Originally posted by filburt1
    UPDATE user SET styleid = 16 WHERE styleid = 5;
    Thank you so kindly

    Leave a comment:


  • filburt1
    replied
    Originally posted by Mntsnow
    I would like to know along these lines what query would I need to run to change users that are using style id #5 to style id #16?

    Thanks for insight to this
    UPDATE user SET styleid = 16 WHERE styleid = 5;

    Leave a comment:


  • Mntsnow
    replied
    Originally posted by 1337Devil
    Yes, that will work properly
    I would like to know along these lines what query would I need to run to change users that are using style id #5 to style id #16?

    Thanks for insight to this

    Leave a comment:


  • WetWired
    replied
    That won't make new users use the style, however. For that, we just take the default style and swap its info with the new style.

    Leave a comment:


  • filburt1
    replied
    Originally posted by 1337Devil
    Yes, that will work properly
    They may have to log out then back in though if they were ever cookied with a style.

    Leave a comment:


  • Tolitz
    replied
    danke people

    Leave a comment:


  • Faruk
    replied
    Originally posted by xiphoid
    UPDATE user SET styleid=x;

    I think. Let me check it out (brb)
    Yes, that will work properly

    Leave a comment:


  • Floris
    replied
    UPDATE user SET styleid=x;

    I think. Let me check it out (brb)

    Leave a comment:


  • Tolitz
    started a topic Force default style on all users...

    Force default style on all users...

    Greetings I tried to search for an answer to this question but after 4 search result pages, I didn't see an answer, so here's the question.

    I have just finished a new style for my forums, but it is located at a test board, and I plan to import it into my live forum.

    But most of my users are using a styleset that isn't the default, and I wanna make the new style the default style for my live forum.

    My question is, what query should I enter in phpMyAdmin to force/reset everyone's style to the default one? Thanks in advance
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X