Jump to content

KyleMassacre

Members
  • Content Count

    2,763
  • Joined

  • Last visited

  • Days Won

    31

KyleMassacre last won the day on March 19

KyleMassacre had the most liked content!

Community Reputation

122 Excellent

3 Followers

About KyleMassacre

  • Rank
    Intermediate
  • Birthday 09/15/1983

Personal Information

  • Location
    Southern Cali

Recent Profile Visitors

24,645 profile views
  1. Lets just say for example a player kills another player, you can add a hook to insert a chat line saying "So and so just killed player so and so". It would just be like kind of "Global Events"
  2. You should add one. I’m not sure if you can make it from the “system” for example
  3. new Hook("alterGlobalTemplate", function ($template) { $template->error = "<strong>ERROR:</strong> <{text}>"; }); You can try the alterGlobalTemplate hook
  4. I just logged in/out several times and I couldnt produce the error though I do have the latest version
  5. No I haven’t tried just yet. Maybe in the am I can give her a test run
  6. That is an odd one to say the least. I tried looking at the login/user class and I wonder if changing line 36 from: if (isset($userExists["U_id"])) { $user = new User($userExists["U_id"]); to: if($user = new User($userExists["U_id"])) { Would yield a different result or wrapping it in try/catch. You should probably be putting this stuff in the issue tracker on github though too
  7. 24,583 views. If I had at least a penny for each
  8. I would also like to know if you have request_csrf_html('login') in your form somewhere as well.
  9. I see you have a comment for checking the csrf token but I don’t see the code for that. Check your page for the csrf token function
  10. In your execute method you can pass an array of key => values to bind instead of using bindParam one at a time
  11. IF COL_LENGTH('table_name', 'column_name') IS NULL BEGIN ALTER TABLE table_name ADD column_name INT END You can try something like this:
  12. Now you're getting it. Some of the hooks by the engine may serve some purpose but others are there for people like you or I to implement what happens when that hook is ran. To answer your question Yep! Lets say for example you want to see what a particular user is doing, i'm sure you can set some sort of flag up in the database to track a user id and if it's there you can enter their actions in some sort of log db table.
×
×
  • Create New...