delete "all profile messages" ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adom7
    Member
    • May 2007
    • 88
    • 4.2.X

    delete "all profile messages" ?

    I need to delete all profile messages on my board but there is no option to delete them on admincp. How can I get rid of them? It takes time to delete them one by one.

    Thanks for advance
    Need more help!

    The City of Antalya / Turkiye

  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74161

    #2
    Run these queries:

    truncate visitormessage;
    truncate visitormessage_hash;
    update user set vmunreadcount = 0, vmmoderatedcount = 0;

    Make sure that you add your prefix if one is defined in your config.php. It would go before the table names.

    You can run queries within the vBulletin Admin Control Panel by going to Maintenance -> Execute SQL Queries.

    To run Queries in the Admin Control Panel you need to edit your config.php file and add your user ID to the Can Run Queries section. It looks like:

    // ****** USERS WITH QUERY RUNNING PERMISSIONS ******
    // The users specified here will be allowed to run queries from the control panel.
    // See the above entries for more information on the format.
    // Please note that the ability to run queries is quite powerful. You may wish
    // to remove all user IDs from this list for security reasons.
    $config['SpecialUsers']['canrunqueries'] = '';

    Place your user id between the single quotes.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    Related Topics

    Collapse

    Working...