Announcement

Collapse
No announcement yet.

Closing forum without the admin

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

  • Steve Machol
    replied
    Post a new thread in the appropriate forum for your version.

    Leave a comment:


  • Megamind
    replied
    Small kick.

    This does not seem to work anymore for the latest VBulletin. Any solution for this?

    Leave a comment:


  • Megamind
    replied
    Ok thanks that works, remember you have to add vb3_ or something infront of the db :P
    Last edited by Megamind; Tue 24 May '05, 11:22pm.

    Leave a comment:


  • Steve Machol
    replied
    Run both these queries to turn your forums off:

    UPDATE datastore SET data=REPLACE(data,'"bbactive";s:1:"1"','"bbactive";s:1:"0"') WHERE title='opti
    ons';

    UPDATE setting SET value=0 WHERE varname='bbactive';


    Run both these queries to turn your forums back on:

    UPDATE datastore SET data=REPLACE(data,'"bbactive";s:1:"0"','"bbactive";s:1:"1"') WHERE title='opti
    ons';

    UPDATE setting SET value=1 WHERE varname='bbactive';

    Leave a comment:


  • Megamind
    started a topic Closing forum without the admin

    Closing forum without the admin

    Hi all, for my config script im making an easy to acces on/off marker.

    What is the mysql code to close and open the forum? Ive tried some search and tried those solutions

    mysql_query("UPDATE datastore SET data=REPLACE(data,'\"bbactive\";s:1:"1"','\"bbactive\";s:1:\"0\"') WHERE title='options'");
    mysql_query("UPDATE setting SET value=0 WHERE varname='bbactive'");

    But they give this error:

    Parse error: parse error, unexpected T_LNUMBER
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X