Announcement

Collapse
No announcement yet.

Posting showing as GUEST

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

  • Posting showing as GUEST

    After import some posting showing as GUEST and posts count as 0
    Now in the forum I have read that u need to run SQL query -

    UPDATE post SET userid='41' WHERE userid=0

    From where we need to run this query. Pls help
    PolicyWala.com | Insurance Discussion Forum | Indian Insurance

  • #2
    You can run queries in the SQL tab in phpMyAdmin, or to run queries from the Admin CP:

    Admin CP -> Maintenance -> Execute SQL Query -> Manual Query

    Then enter your query in the Manual Query box and click on 'Continue'.

    To run queries you first need to give yourself permission to run queries in the Admin CP. To do this, edit this section of config.php:

    $config['SpecialUsers']['canrunqueries'] = 'x';

    ...with x being your userid number.

    Note: That query will assign ALL guests post to that user. And after running that you will need to rebuild the thread and forum counters in that order:

    Admin CP -> Maintenance -> Update Counters
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      Hi, I have logged in as Amin and user id as '1'. But it is not allowing me and giving message,"You are not authorized to execute SQL queries"
      PolicyWala.com | Insurance Discussion Forum | Indian Insurance

      Comment


      • #4
        That means you have not edited the config.php file correctly.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X