Jump to content

Tom V

  • Content Count

  • Joined

  • Last visited

Community Reputation

7 Neutral

About Tom V

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Has anyone else noticed this bug?
  2. Are you running the latest version 2.2.3 ? You can check by looking at your class/user.php file. Around line 190 it should look like this: public function sendActivationCode($email, $id, $username) { $settings = new settings(); $from = $settings->loadSetting('from_email'); $headers = array(); if ($from) { $headers['From'] = $from; } $gameName = $settings->loadSetting("game_name"); $activationCode = $this->activationCode($id, $username); $subject = $gameName . " - Registration"; $body = "$username your activation code for $gameName is $activationCode, after you have logged in please enter this when prompted."; mail($email, $subject, $body, $headers); }
  3. Tom V

    Site Settings

    Version 1.0.2


    This module allows an administrator to edit values in the settings table through the admin panel. Easily edit values such as game_name, from_email, etc. How to Install Open up your game Go to the admin Panel Go to Modules & Themes Open the Module Manager Click on Install Module Upload the ZIP file Follow the instructions Estimated time to install 30 seconds


  4. Tom V


    Are you running version 1? Try running version 2. See this thread
  5. Tom V


    ParentID should be parentID ?
  6. They way I understand it, a players full health equals zero and goes up with damage. If the players health value exceeds the rank health value, then they should be dead. When you check in to hospital, health value is set to zero (full health) and player is released when hospital timer runs out. It sounds like you want other players to be able to bust someone out of the hospital early by paying a fee or by other means (just guessing because you didn't provide a lot of detail). If that's the case, you should be trying to reduce or reset the player's hospital timer, to simulate that you are speeding up the healing / reviving them.
  7. Is it the missing comma after :playerPerc? :exp, :playerPerc :itemType,
  8. Is this what you're looking for? $this->alerts[] = $this->page->buildElement("success", array("text" => $text));
  9. I submitted a pull request to allow the admin to configure the duration ( in hours ) until expiry of the detective report. Please review it and make any changes that you see fit.
  10. I believe it was Longshot that identified an issue with the collection and handling of bounties. Can it be fixed with a function in the kill module?
  11. The link didn't work for me.
  12. I tested and found it works for new users that agree to share email address. However, there seems to be a problem for existing users to sign-in, fb returns you to page "?page=facebook#_=_" and the following error "To finish off your registration please enter a username and a new password!". How do we get an existing user's info into the facebookLogins table?
  13. Kyle, That's an effective solution. Thanks.
  14. I tried adding this to the allowed methods: 'from_email'=>array('type'=>'get') I added this to constructModule: $this->page->addToTemplate("from_email", $settings->loadSetting("from_email")); Then I added this: $from = $this->methodData->from_email; $headers[]= 'From:'.$from; And I changed this line to this: mail($user["U_email"], "Password Reset", $body, implode("\r\n", $headers)); The result is the email that is sent goes to spam folder, because the from address shows up as (unknown sender). This is where I'm stuck.
  • Create New...