Jump to content

Nabeel

Administrators
  • Posts

    8148
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by Nabeel

  1. Hmm, are any files changing? What's the last changed date? Did they ever work?
  2. 775 or 777. I think under maintenance options, there's a link to reset signatures
  3. Just import the SQL file. I'll have more instructions soon.
  4. Nabeel

    phpVMS Logo

    I like it! Needs a sexier font though, but I definitely like the plane
  5. Is the lib/signatures path writable? How about all the files/folders in it? And are all of them blank?
  6. Nabeel

    phpVMS Logo

    That ones cool! I like the NY NY touch
  7. Any schedule? Can you tell me what you entered? I couldn't duplicate this when someone reported it before
  8. Nabeel

    phpVMS Logo

    I like that idea though
  9. Nabeel

    phpVMS Logo

    Oh, I do, sorry, came across wrong.. A little more "Web 2.0 ish"
  10. Nabeel

    phpVMS Logo

    That actually looks almost exactly like and old one I did!
  11. Hmm, I'm not sure, Chrome should have some facility for that, I'd have to look
  12. Nabeel

    phpVMS Logo

    So I'm trying to do a little update on the site design, but I'm horrible with logos. Anyone want to take a spin on the current logo design and 'spruce' it up a bit?
  13. Check the firefox error console for errors, that's the first place. When did it stop working?
  14. WOW it's down to zero! I wonder why that phpvms.form.js started behaving now
  15. No prob. BTW, you don't need this line: $sql = " SELECT COUNT(pilotid) as total, location FROM phpvms_pilots GROUP BY location LIMIT 0, 9999999 ";
  16. What'd you do? Did you run the recount? This query should fix it.. UPDATE phpvms_pilots p SET totalpireps = (SELECT count(*) from phpvms_pireps WHERE pilotid=p.pilotid); Backup before you run it though.
  17. Don't put this in quotes: echo 'Countries::getCountryName($userinfo->location) '; It should be: echo Countries::getCountryName($country->location);
  18. Woops! Fixed it. That'll only be on FSFK PIREPs To fix for now, open core/common/PIREPData.class.php line 360: $data = unserialize($row->rawdata); Change to: $data = $row->rawdata;
  19. I think its Countries::getCountryName($country->location)
  20. Nabeel

    stats date

    Well you added that manually, right? Just make a new file in /core/common called CustomData.class.php and in it put class CustomData { // paste your function } Then just call it CustomData::ActivePilots();
  21. I think the query for that will be something like: SELECT COUNT(pilotid) as total, location FROM phpvms_pilots GROUP BY location mysql> SELECT COUNT(pilotid) as total, location FROM phpvms_pilots GROUP BY location; +-------+----------+ | total | location | +-------+----------+ | 1 | | | 7 | AF | | 1 | AT | | 2 | AU | | 18 | BE | | 1 | BF | | 1 | BG | | 2 | BR | | 4 | CA | | 1 | CV | | 3 | DE | | 1 | DK | | 1 | ES | | 3 | FR | | 9 | GB | | 1 | GR | | 1 | HU | | 2 | IE | | 3 | IT | | 2 | NL | | 1 | NZ | | 2 | PL | | 3 | PT | | 1 | RO | | 1 | SE | | 1 | SG | | 7 | US | | 1 | ZA | +-------+----------+ 28 rows in set (0.00 sec) You can then loop through that list: $country_info = DB::get_results('SELECT COUNT(pilotid) as total, location FROM '.TABLE_PREFIX.'pilots GROUP BY location'); foreach($country_info as $country) { echo '<img src="'.Countries::getCountryImage($country->location).'" /> ('.$country->total.')<br />'; } That should give you the basics...you'll have to table-ize it and everything.
  22. fixed #201 fixed #205 fixed #189, email fixes and enhancements fixed mass emails added ability to send emails to specific groups (finally) fixed default group dropdown Installer version bugfix View more details, download from here
×
×
  • Create New...