Login routine?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Hewitt
    Senior Member
    • Apr 2000
    • 1195
    • 4.1.x

    Login routine?

    When a registered user accesses the forum and they log in either manually or automatically is there a particular code segment which is always excuted in this case, i.e. like a login function.

    If so can anyone say where this is located. I would like to produce a hack which performs a particular server fuction depending on who has just logged in.

    Cheers :)

    Ps this is 1.1.5
    Motorsport Forums
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73412
    • 6.0.X

    #2
    If they use cookies, the value is just retrieved from the client machine.

    If they login manually you will find the code in INDEX.PHP under "if ($action=="login") {".
    Translations provided by Google.

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

    Comment

    • Mark Hewitt
      Senior Member
      • Apr 2000
      • 1195
      • 4.1.x

      #3
      I'm actually looking for something generic to both cookie login and manual login. So I can put like if(username == particular user) { write file to server };

      etc.
      Motorsport Forums

      Comment

      • Mike Sullivan
        Former vBulletin Developer
        • Apr 2000
        • 13327
        • 3.6.x

        #4
        Cookies are in global.php - bottom of it IIRC.

        Comment

        • Mark Hewitt
          Senior Member
          • Apr 2000
          • 1195
          • 4.1.x

          #5
          Cheers Mike!
          Motorsport Forums

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎