Changeset 427

Show
Ignore:
Timestamp:
07/16/09 21:50:28 (11 years ago)
Author:
kovell
Message:

Fixes: Rank mod gives out less free medals. Value editor updated by FriedRoadKill? and incorporated in core. Classified kills not shown in related kills. History mod updated.

Location:
dev
Files:
3 added
1 removed
8 modified

Legend:

Unmodified
Added
Removed
  • dev/common/about.php

    r370 r427  
    1717        'bunjiboys', 
    1818        'Karbowiak', 
    19         'EDG'); 
     19        'EDG', 
     20        'Duncan - Shailo Koljas'); 
    2021sort($contributor); 
    2122 
  • dev/common/admin/admin_menu.php

    r398 r427  
    4646options::oldMenu('Features', "Campaigns", "?a=admin_cc&op=view&type=campaign"); 
    4747options::oldMenu('Features', "Standings", "?a=admin_standings"); 
     48 
    4849options::oldMenu('Appearance', "Map Options", "?a=admin_mapoptions"); 
    4950 
    5051options::oldMenu('Advanced', "Ship Values", "?a=admin_shp_val"); 
    51 #options::oldMenu('Advanced', "Synchronization", "?a=admin_sync"); 
     52options::oldMenu('Advanced', "Item Values", "?a=admin_value_editor"); 
    5253options::oldMenu('Advanced', "Post Permissions", "?a=admin_postperm"); 
    5354 
  • dev/common/includes/class.kill.php

    r425 r427  
    4646                $this->$var = $value; 
    4747        } 
    48  
     48        //! Get the internal ID of this kill. 
     49 
     50        //! \return integer value for the internal kill ID. 
    4951        function getID() 
    5052        { 
     
    5254        } 
    5355 
     56        //! Get the external ID of this kill. 
     57 
     58        //! \return integer value for the external kill ID. 
    5459        function getExternalID() 
    5560        { 
     
    613618        function isClassified() 
    614619        { 
     620                if(!$this->timestamp_) $this->execQuery(); 
    615621                if (config::get('kill_classified')) 
    616622                { 
     
    687693        function relatedKillCount() 
    688694        { 
     695                // No details for classified kills. 
     696                if($this->isClassified()) return 0; 
    689697                if($this->relatedkillcount_) return $this->relatedkillcount_; 
    690698                $sql="SELECT COUNT(kll.kll_id) AS kills FROM kb3_kills kll WHERE "; 
     
    711719                                " AND ind_plt_id != kll.kll_victim_id ) LIMIT 1) "; 
    712720                } 
    713                 $sql .= "-- related kill count"; 
     721                $sql .= "/* related kill count */"; 
    714722                $qry = new DBQuery(); 
    715723                if(!$qry->execute($sql)) return 0; 
     
    722730        function relatedLossCount() 
    723731        { 
     732                // No details for classified kills. 
     733                if($this->isClassified()) return 0; 
    724734                if($this->relatedlosscount_) return $this->relatedlosscount_; 
    725735                $sql="SELECT count(kll.kll_id) as losses FROM kb3_kills kll "; 
     
    750760                                " AND ind_plt_id != ".PILOT_ID." ) ) "; 
    751761                } 
    752                 $sql .= "-- related loss count"; 
     762                $sql .= "/* related loss count */"; 
    753763                $qry = new DBQuery(); 
    754764                if(!$qry->execute($sql)) return 0; 
  • dev/common/includes/globals.php

    r426 r427  
    77else 
    88{ 
    9         $svn_rev = '426'; 
     9        $svn_rev = '427'; 
    1010} 
    1111define('SVN_REV', $svn_rev); 
  • dev/common/kill_related.php

    r370 r427  
    1111    exit; 
    1212} 
    13  
     13$kill = new Kill($kll_id); 
     14echo $kill->getID(); 
     15if($kill->isClassified()) 
     16{ 
     17        Header("Location: ".KB_HOST."/?a=kill_detail&kll_id=".$kll_id); 
     18        die(); 
     19} 
    1420$page = new Page('Related kills & losses'); 
    1521 
  • dev/mods/history/about.php

    r357 r427  
    66// i store the names here for an easy edit 
    77$developer = array('exi (Lead Developer)', 
    8                    'Beansman (Developer)', 
    9                    'Ralle030583 (Developer)'); 
     8                                        'Beansman (Developer)', 
     9                                        'Ralle030583 (Developer)', 
     10                                        'Hon Kovell (Developer)'); 
    1011 
    11 $contributor = array('JaredC01', 
    12                      'liquidism', 
    13                      'Mitchman', 
    14                      'Coni', 
    15                      'FriedRoadKill', 
    16                      'bunjiboys', 
    17                      'Karbowiak', 
    18                      'EDG'); 
     12$contributor = array('FriedRoadKill', 
     13                                                'JaredC01', 
     14                                                'liquidism', 
     15                                                'Mitchman', 
     16                                                'Coni', 
     17                                                'bunjiboys', 
     18                                                'Karbowiak', 
     19                                                'EDG'); 
    1920sort($contributor); 
    2021 
  • dev/mods/history/history.xml

    r361 r427  
    11<?xml version="1.0" ?> 
    22<history> 
     3<changeset> 
     4<rev>426</rev> 
     5<date>Jul 15 2009</date> 
     6<author>kovell</author> 
     7<comment> 
     8<type>UPD</type> 
     9<text> 
     10 
     11Fixes: kill_detail item prices work 
     12 
     13</text> 
     14</comment> 
     15</changeset> 
     16<changeset> 
     17<rev>425</rev> 
     18<date>Jul 15 2009</date> 
     19<author>kovell</author> 
     20<comment> 
     21<type>UPD</type> 
     22<text> 
     23 
     24Fixes: page cache improved for shared boards, deleted kills correctly deleted from summaries, db errors introduced last patch are removed. 
     25 
     26</text> 
     27</comment> 
     28</changeset> 
     29<changeset> 
     30<rev>424</rev> 
     31<date>Jul 15 2009</date> 
     32<author>kovell</author> 
     33<comment> 
     34<type>UPD</type> 
     35<text> 
     36 
     37Fixes: killlists with both involved corps and alliances work. Memory use reduced. 
     38 
     39</text> 
     40</comment> 
     41</changeset> 
     42<changeset> 
     43<rev>423</rev> 
     44<date>Jul 14 2009</date> 
     45<author>kovell</author> 
     46<comment> 
     47<type>UPD</type> 
     48<text> 
     49 
     50Fixes: missing code in rankmod located. logo code detects missing gd function, api_alliance labels Faction a Faction 
     51 
     52</text> 
     53</comment> 
     54</changeset> 
     55<changeset> 
     56<rev>422</rev> 
     57<date>Jul 14 2009</date> 
     58<author>kovell</author> 
     59<comment> 
     60<type>UPD</type> 
     61<text> 
     62 
     63Fixes: Rank mod toplists correctly limit by plt/crp/all, install not incorrectly called automatically. Modifying the cost of a kill updates the summary tables. 
     64 
     65</text> 
     66</comment> 
     67</changeset> 
     68<changeset> 
     69<rev>421</rev> 
     70<date>Jul 13 2009</date> 
     71<author>kovell</author> 
     72<comment> 
     73<type>UPD</type> 
     74<text> 
     75 
     76Alliance page is named Faction if showing a Faction. Cache options clarified. Page specific cache times re-enabled. 
     77 
     78</text> 
     79</comment> 
     80</changeset> 
     81<changeset> 
     82<rev>420</rev> 
     83<date>Jul 13 2009</date> 
     84<author>kovell</author> 
     85<comment> 
     86<type>UPD</type> 
     87<text> 
     88 
     89Fixes: php4 errors fixed. Pricing formula fixed. 
     90 
     91</text> 
     92</comment> 
     93</changeset> 
     94<changeset> 
     95<rev>419</rev> 
     96<date>Jul 12 2009</date> 
     97<author>kovell</author> 
     98<comment> 
     99<type>UPD</type> 
     100<text> 
     101 
     102Fixes: some php4 errors fixed. The great commenting project continues. 
     103 
     104</text> 
     105</comment> 
     106</changeset> 
     107<changeset> 
     108<rev>418</rev> 
     109<date>Jul 12 2009</date> 
     110<author>kovell</author> 
     111<comment> 
     112<type>UPD</type> 
     113<text> 
     114 
     115Fixes: rank mod incorporates corplogo generation 
     116 
     117</text> 
     118</comment> 
     119</changeset> 
     120<changeset> 
     121<rev>417</rev> 
     122<date>Jul 12 2009</date> 
     123<author>kovell</author> 
     124<comment> 
     125<type>UPD</type> 
     126<text> 
     127 
     128Fixes: ship value column now bigint, rss feed html matches doctype. install db updated to 1.2:v1.4, faction correctly shown on raw mails, factions stored as alliance 
     129 
     130</text> 
     131</comment> 
     132</changeset> 
     133<changeset> 
     134<rev>416</rev> 
     135<date>Jul 11 2009</date> 
     136<author>kovell</author> 
     137<comment> 
     138<type>UPD</type> 
     139<text> 
     140 
     141Fixes: upgrade no longer relies on install directory existing, upgrade variables correctly named, legacy code removed, error notices reduced. 
     142 
     143</text> 
     144</comment> 
     145</changeset> 
     146<changeset> 
     147<rev>415</rev> 
     148<date>Jul 10 2009</date> 
     149<author>kovell</author> 
     150<comment> 
     151<type>UPD</type> 
     152<text> 
     153 
     154Upgrade allows admin to log in if not already logged in. 
     155 
     156</text> 
     157</comment> 
     158</changeset> 
     159<changeset> 
     160<rev>414</rev> 
     161<date>Jul 10 2009</date> 
     162<author>kovell</author> 
     163<comment> 
     164<type>UPD</type> 
     165<text> 
     166 
     167Latest upgrades incorporated into install. Install is automatically started on boards with no config. 
     168 
     169</text> 
     170</comment> 
     171</changeset> 
     172<changeset> 
     173<rev>413</rev> 
     174<date>Jul 9 2009</date> 
     175<author>kovell</author> 
     176<comment> 
     177<type>UPD</type> 
     178<text> 
     179 
     180Fixes: Upgrade upgrades. Install style added to upgrade. 
     181 
     182</text> 
     183</comment> 
     184</changeset> 
     185<changeset> 
     186<rev>412</rev> 
     187<date>Jul 9 2009</date> 
     188<author>kovell</author> 
     189<comment> 
     190<type>UPD</type> 
     191<text> 
     192 
     193Fixes: Upgrade correctly calculates ship loss value 
     194 
     195</text> 
     196</comment> 
     197</changeset> 
     198<changeset> 
     199<rev>411</rev> 
     200<date>Jul 9 2009</date> 
     201<author>kovell</author> 
     202<comment> 
     203<type>UPD</type> 
     204<text> 
     205 
     206Upgrade uses smaller upgrade steps if installation fails. 
     207 
     208</text> 
     209</comment> 
     210</changeset> 
     211<changeset> 
     212<rev>410</rev> 
     213<date>Jul 9 2009</date> 
     214<author>kovell</author> 
     215<comment> 
     216<type>UPD</type> 
     217<text> 
     218 
     219Fixes: summary tables correctly filter by ship type 
     220 
     221</text> 
     222</comment> 
     223</changeset> 
     224<changeset> 
     225<rev>409</rev> 
     226<date>Jul 9 2009</date> 
     227<author>kovell</author> 
     228<comment> 
     229<type>UPD</type> 
     230<text> 
     231 
     232Fixes: Feed syndication password debug code properly removed. 
     233 
     234</text> 
     235</comment> 
     236</changeset> 
     237<changeset> 
     238<rev>408</rev> 
     239<date>Jul 9 2009</date> 
     240<author>kovell</author> 
     241<comment> 
     242<type>UPD</type> 
     243<text> 
     244 
     245Feed syndication supports usernames &amp; passwords more than 8 characters long 
     246 
     247</text> 
     248</comment> 
     249</changeset> 
     250<changeset> 
     251<rev>407</rev> 
     252<date>Jul 9 2009</date> 
     253<author>kovell</author> 
     254<comment> 
     255<type>UPD</type> 
     256<text> 
     257 
     258Feed syndication supports http password protected sites (by Icebreaker) 
     259 
     260</text> 
     261</comment> 
     262</changeset> 
     263<changeset> 
     264<rev>406</rev> 
     265<date>Jul 8 2009</date> 
     266<author>kovell</author> 
     267<comment> 
     268<type>UPD</type> 
     269<text> 
     270 
     271Fixes: Feed version correctly shown. Extra white space in class.comments removed. 
     272 
     273</text> 
     274</comment> 
     275</changeset> 
     276<changeset> 
     277<rev>405</rev> 
     278<date>Jul 7 2009</date> 
     279<author>kovell</author> 
     280<comment> 
     281<type>UPD</type> 
     282<text> 
     283 
     284Fixes: deleted kills correctly removed from summaries. 
     285 
     286</text> 
     287</comment> 
     288</changeset> 
     289<changeset> 
     290<rev>404</rev> 
     291<date>Jul 7 2009</date> 
     292<author>kovell</author> 
     293<comment> 
     294<type>UPD</type> 
     295<text> 
     296 
     297Fixes: db debug code no longer errors on some setups. upgrade now gives updates on progress. apicache returned to index.php for better eve api compatibility. cache options now has clear summary cache option. siglist shows correct urls. summary cache correctly updates. feedfetcher excludes kills before exclude date. exclude date on kills works 
     298 
     299</text> 
     300</comment> 
     301</changeset> 
     302<changeset> 
     303<rev>403</rev> 
     304<date>Jul 5 2009</date> 
     305<author>kovell</author> 
     306<comment> 
     307<type>UPD</type> 
     308<text> 
     309 
     310Fixes: Parser updated with FriedRoadKill's, troubleshooting now correctly uses mysql connection, .htaccess set to disallow viewing of indexes, removed unused code from autoupgrade. 
     311 
     312</text> 
     313</comment> 
     314</changeset> 
     315<changeset> 
     316<rev>402</rev> 
     317<date>Jul 5 2009</date> 
     318<author>kovell</author> 
     319<comment> 
     320<type>UPD</type> 
     321<text> 
     322 
     323Fixes: Removing two install files incorrectly added. 
     324 
     325</text> 
     326</comment> 
     327</changeset> 
     328<changeset> 
     329<rev>401</rev> 
     330<date>Jul 3 2009</date> 
     331<author>kovell</author> 
     332<comment> 
     333<type>UPD</type> 
     334<text> 
     335 
     336Fixes: missing kill_export include included, troubleshooting shell_exec replaced, db.php allows >=4.1 instead of >4.1, apiuser mod comments update kill_details cache, ships names updated. 
     337 
     338</text> 
     339</comment> 
     340</changeset> 
     341<changeset> 
     342<rev>400</rev> 
     343<date>Jul 2 2009</date> 
     344<author>kovell</author> 
     345<comment> 
     346<type>UPD</type> 
     347<text> 
     348 
     349Fixes: install is locked after first run, private cache files made inaccesible, initial summary caching removed from kill posting, board will not attempt to run on MySQL &lt; 4.1, PILOT_ID cannot be set, legacy option removed from admin panel, pos values added to installation defaults 
     350 
     351</text> 
     352</comment> 
     353</changeset> 
     354<changeset> 
     355<rev>399</rev> 
     356<date>Jul 1 2009</date> 
     357<author>kovell</author> 
     358<comment> 
     359<type>UPD</type> 
     360<text> 
     361 
     362Fixes: autoupgrade smoother, Rare errors in db classes reduced, api login problems reduced, page cache notifications check if cache is active. admin mod list sorted. alliance and corp details pages load faster. all-time summary tables cached. killlist performance on large databases improved 
     363 
     364</text> 
     365</comment> 
     366</changeset> 
     367<changeset> 
     368<rev>398</rev> 
     369<date>Jun 29 2009</date> 
     370<author>kovell</author> 
     371<comment> 
     372<type>UPD</type> 
     373<text> 
     374 
     375Upgrades now force admin page to be run. Admin menu has an option to list settings for error reporting. 
     376 
     377</text> 
     378</comment> 
     379</changeset> 
     380<changeset> 
     381<rev>397</rev> 
     382<date>Jun 29 2009</date> 
     383<author>kovell</author> 
     384<comment> 
     385<type>UPD</type> 
     386<text> 
     387 
     388Fixes: autoupgrade works, problem with db.php includes removed. Admin cache menu now has option to clear caches. Install hides passwords 
     389 
     390</text> 
     391</comment> 
     392</changeset> 
     393<changeset> 
     394<rev>396</rev> 
     395<date>Jun 28 2009</date> 
     396<author>kovell</author> 
     397<comment> 
     398<type>UPD</type> 
     399<text> 
     400 
     401Fixes: HTML, killlists with multiple involved, thumbnail creation delays, mods using short php tags corrected (Tribalize) . Autoupgrade adds missing indexes on upgraded boards. page cache updating algorithm improved, feed log information cleaned up (Oleg) 
     402 
     403</text> 
     404</comment> 
     405</changeset> 
     406<changeset> 
     407<rev>395</rev> 
     408<date>Jun 27 2009</date> 
     409<author>kovell</author> 
     410<comment> 
     411<type>UPD</type> 
     412<text> 
     413 
     414Fixes: Incorrect indexing on installation files &amp; surplus ')' 
     415 
     416</text> 
     417</comment> 
     418</changeset> 
     419<changeset> 
     420<rev>394</rev> 
     421<date>Jun 26 2009</date> 
     422<author>kovell</author> 
     423<comment> 
     424<type>UPD</type> 
     425<text> 
     426 
     427Fixes: summary tables have correct width, kb3_config correctly indexed, feed fetcher records foreign address in log 
     428 
     429</text> 
     430</comment> 
     431</changeset> 
     432<changeset> 
     433<rev>393</rev> 
     434<date>Jun 26 2009</date> 
     435<author>kovell</author> 
     436<comment> 
     437<type>UPD</type> 
     438<text> 
     439 
     440Summary table template. 
     441 
     442</text> 
     443</comment> 
     444</changeset> 
     445<changeset> 
     446<rev>392</rev> 
     447<date>Jun 26 2009</date> 
     448<author>kovell</author> 
     449<comment> 
     450<type>UPD</type> 
     451<text> 
     452 
     453Fixes: rss feed no longer shows classified kills, default banner corrected. Derelict code removed. Code streamlined. Summary tables moved to a template. 
     454 
     455</text> 
     456</comment> 
     457</changeset> 
     458<changeset> 
     459<rev>391</rev> 
     460<date>Jun 24 2009</date> 
     461<author>kovell</author> 
     462<comment> 
     463<type>UPD</type> 
     464<text> 
     465 
     466Fixes: kill_detail comment posting works and non-existent kll_id gives correct error, t3 subsystems have correct location, potential conflicts with old mods and db classes removed. 
     467 
     468</text> 
     469</comment> 
     470</changeset> 
     471<changeset> 
     472<rev>390</rev> 
     473<date>Jun 23 2009</date> 
     474<author>kovell</author> 
     475<comment> 
     476<type>UPD</type> 
     477<text> 
     478 
     479Fixes: sig mod works, apikill setting saved on admin panel, page cache does not attempt to double gzip, banner and award images have size set. 
     480 
     481</text> 
     482</comment> 
     483</changeset> 
     484<changeset> 
     485<rev>389</rev> 
     486<date>Jun 22 2009</date> 
     487<author>kovell</author> 
     488<comment> 
     489<type>UPD</type> 
     490<text> 
     491 
     492Feed marks api-only feeds. Fetcher properly stores api flag for feed. Searches are trimmed of whitespace. html fix. 
     493 
     494</text> 
     495</comment> 
     496</changeset> 
     497<changeset> 
     498<rev>388</rev> 
     499<date>Jun 22 2009</date> 
     500<author>kovell</author> 
     501<comment> 
     502<type>UPD</type> 
     503<text> 
     504 
     505Page cache fixes for comments. 
     506refresh no longer reposts comment. 
     507comments display again. 
     508304 sent for refresh of cached pages. 
     509html fixes 
     510 
     511</text> 
     512</comment> 
     513</changeset> 
     514<changeset> 
     515<rev>387</rev> 
     516<date>Jun 21 2009</date> 
     517<author>kovell</author> 
     518<comment> 
     519<type>UPD</type> 
     520<text> 
     521 
     522Missing file from page cache update 
     523 
     524</text> 
     525</comment> 
     526</changeset> 
     527<changeset> 
     528<rev>386</rev> 
     529<date>Jun 21 2009</date> 
     530<author>kovell</author> 
     531<comment> 
     532<type>UPD</type> 
     533<text> 
     534 
     535Fetch properly ignores non-api kills when requested. 
     536missing subsystem slot icon 
     537 
     538</text> 
     539</comment> 
     540</changeset> 
     541<changeset> 
     542<rev>385</rev> 
     543<date>Jun 21 2009</date> 
     544<author>kovell</author> 
     545<comment> 
     546<type>UPD</type> 
     547<text> 
     548 
     549Updated installation pilot tables 
     550 
     551</text> 
     552</comment> 
     553</changeset> 
     554<changeset> 
     555<rev>384</rev> 
     556<date>Jun 21 2009</date> 
     557<author>kovell</author> 
     558<comment> 
     559<type>UPD</type> 
     560<text> 
     561 
     562removing old db install files 
     563 
     564</text> 
     565</comment> 
     566</changeset> 
     567<changeset> 
     568<rev>383</rev> 
     569<date>Jun 21 2009</date> 
     570<author>kovell</author> 
     571<comment> 
     572<type>UPD</type> 
     573<text> 
     574 
     575page cache enables properly. 
     576 
     577</text> 
     578</comment> 
     579</changeset> 
     580<changeset> 
     581<rev>382</rev> 
     582<date>Jun 21 2009</date> 
     583<author>kovell</author> 
     584<comment> 
     585<type>UPD</type> 
     586<text> 
     587 
     588Admin setting clarifications, autoupgrade uses existing kill settings. 
     589 
     590</text> 
     591</comment> 
     592</changeset> 
     593<changeset> 
     594<rev>381</rev> 
     595<date>Jun 21 2009</date> 
     596<author>kovell</author> 
     597<comment> 
     598<type>UPD</type> 
     599<text> 
     600 
     601kill class can constructs all involved pilot/ship/etc objects 
     602kill_detail reduced load using new kill method. 
     603display fixes. 
     604 
     605</text> 
     606</comment> 
     607</changeset> 
     608<changeset> 
     609<rev>380</rev> 
     610<date>Jun 21 2009</date> 
     611<author>kovell</author> 
     612<comment> 
     613<type>UPD</type> 
     614<text> 
     615 
     616Feedfetch 1.7 external id support. Reduces potential load problems. Feed fetcher is identified. 
     617 
     618</text> 
     619</comment> 
     620</changeset> 
     621<changeset> 
     622<rev>379</rev> 
     623<date>Jun 21 2009</date> 
     624<author>kovell</author> 
     625<comment> 
     626<type>UPD</type> 
     627<text> 
     628 
     629Improved support for constructing multiple corp/pilot/etc objects. External ID functions added 
     630 
     631</text> 
     632</comment> 
     633</changeset> 
     634<changeset> 
     635<rev>378</rev> 
     636<date>Jun 21 2009</date> 
     637<author>kovell</author> 
     638<comment> 
     639<type>UPD</type> 
     640<text> 
     641 
     642API feed caches date properly. Rank mod has missing TopLists. Parser has better spelling. 
     643 
     644</text> 
     645</comment> 
     646</changeset> 
     647<changeset> 
     648<rev>377</rev> 
     649<date>Jun 20 2009</date> 
     650<author>kovell</author> 
     651<comment> 
     652<type>UPD</type> 
     653<text> 
     654 
     655Improve summary efficiency display - select millions or billions depending on isk value 
     656 
     657</text> 
     658</comment> 
     659</changeset> 
     660<changeset> 
     661<rev>376</rev> 
     662<date>Jun 18 2009</date> 
     663<author>kovell</author> 
     664<comment> 
     665<type>UPD</type> 
     666<text> 
     667 
     668MyISAM can be selected again on install 
     669duplicate item descriptions removed from install 
     670alliance/corp/pilot optional installs now have external id and correct structure 
     671alliance/corp/pilot/kill details can be selected by external id 
     672corp/alliance/kill now have get and set methods for external ids 
     673killlist has method to select only kills with an external id set 
     674monthly views mod now shows clock and combined kills if selected 
     675optimisations and fixes to killlists and toplists 
     676 
     677</text> 
     678</comment> 
     679</changeset> 
     680<changeset> 
     681<rev>375</rev> 
     682<date>Jun 15 2009</date> 
     683<author>kovell</author> 
     684<comment> 
     685<type>UPD</type> 
     686<text> 
     687 
     688Fix apicache problem in the admin panel 
     689Fix initial display of apoc fitting panel 
     690 
     691</text> 
     692</comment> 
     693</changeset> 
     694<changeset> 
     695<rev>374</rev> 
     696<date>Jun 14 2009</date> 
     697<author>kovell</author> 
     698<comment> 
     699<type>UPD</type> 
     700<text> 
     701 
     702kills posted with external id of null, not 0 
     703kb3_pilots unique index on external id changed to index (default is 0, not null) 
     704kb3_kills columns created in correct order 
     705 
     706</text> 
     707</comment> 
     708</changeset> 
     709<changeset> 
     710<rev>373</rev> 
     711<date>Jun 14 2009</date> 
     712<author>kovell</author> 
     713<comment> 
     714<type>UPD</type> 
     715<text> 
     716 
     717further installation xml files corrections. 
     718 
     719</text> 
     720</comment> 
     721</changeset> 
     722<changeset> 
     723<rev>372</rev> 
     724<date>Jun 14 2009</date> 
     725<author>kovell</author> 
     726<comment> 
     727<type>UPD</type> 
     728<text> 
     729 
     730further installation xml files corrections. 
     731 
     732</text> 
     733</comment> 
     734</changeset> 
     735<changeset> 
     736<rev>371</rev> 
     737<date>Jun 14 2009</date> 
     738<author>kovell</author> 
     739<comment> 
     740<type>UPD</type> 
     741<text> 
     742 
     743installation xml files corrected. 
     744 
     745</text> 
     746</comment> 
     747</changeset> 
     748<changeset> 
     749<rev>370</rev> 
     750<date>Jun 14 2009</date> 
     751<author>kovell</author> 
     752<comment> 
     753<type>UPD</type> 
     754<text> 
     755 
     756- SQL queries optimised for speed and error protection. 
     757- feed syndication optimised 
     758- front page includes optional clock and optional kill/loss display 
     759- mysqli support added 
     760- transaction protection of kills added where supported (mysqli and InnoDB) 
     761- summary tables and contracts show total destroyed value instead of ship value 
     762- html errors reduced 
     763- related kill calculation improved 
     764- query caching errors reduced 
     765- minor bugfixes 
     766- Smarty 2.6.25 added 
     767- apoc fitting mod added and modded 
     768- code optimisations 
     769- code comments added (doxygen format) 
     770- conflicting mods are now identified 
     771 
     772</text> 
     773</comment> 
     774</changeset> 
     775<changeset> 
     776<rev>369</rev> 
     777<date>Jan 16 2009</date> 
     778<author>exi</author> 
     779<comment> 
     780<type>UPD</type> 
     781<text> 
     782Updated smarty to 2.6.22. 
     783Fixed the killsummarytable layout problem. 
     784Implemented internal registry, its a place to put temporary variables without polluting the global namespace. 
     785Implemented a fix to db_cache::markAffectedTables() from Kovell 
     786 
     787</text> 
     788</comment> 
     789</changeset> 
     790<changeset> 
     791<rev>368</rev> 
     792<date>Jan 4 2009</date> 
     793<author>exi</author> 
     794<comment> 
     795<type>UPD</type> 
     796<text> 
     797Fixed the pre PHP 5.1.0 issue with the current year, it will run on php4 again but stil has the week 52/1 issue (kindof). 
     798Removed debug content from globals.php. 
     799 
     800</text> 
     801</comment> 
     802</changeset> 
     803<changeset> 
     804<rev>367</rev> 
     805<date>Jan 3 2009</date> 
     806<author>exi</author> 
     807<comment> 
     808<type>UPD</type> 
     809<text> 
     810Added option for efficiency in KillSummaryTables. 
     811The board is now able to get the checked out revision on svn capable systems. 
     812Fix for the week 52/1 problem. 
     813Added a first draft of the pageAssembly class together with a rework of how home.php would look like. 
     814 
     815</text> 
     816</comment> 
     817</changeset> 
     818<changeset> 
     819<rev>366</rev> 
     820<date>Dec 17 2008</date> 
     821<author>exi</author> 
     822<comment> 
     823<type>UPD</type> 
     824<text> 
     825Fixed apiuser to not enable xajax on all pages 
     826Added a html tweak for opera on killsummarytables 
     827Reworked ajcron::getNextRun(), it didnt work on values greater than 60 minutes 
     828Now no xajax code is inserted when board is in IGB mode 
     829 
     830</text> 
     831</comment> 
     832</changeset> 
     833<changeset> 
     834<rev>365</rev> 
     835<date>Dec 17 2008</date> 
     836<author>exi</author> 
     837<comment> 
     838<type>UPD</type> 
     839<text> 
     840Updated included EVEAPI to 2.71 
     841Included a mod_xajax compatible apiuser mod 
     842Tweaked some code of the apiuser mod (menu, xajax, templates) 
     843Removed the post.php from the xajax mod. 
     844 
     845</text> 
     846</comment> 
     847</changeset> 
     848<changeset> 
     849<rev>364</rev> 
     850<date>Dec 16 2008</date> 
     851<author>exi</author> 
     852<comment> 
     853<type>UPD</type> 
     854<text> 
     855First working version of ajcron, see http://eve-id.net/forum/viewtopic.php?f=505&amp;t=13513 for details 
     856 
     857</text> 
     858</comment> 
     859</changeset> 
     860<changeset> 
     861<rev>363</rev> 
     862<date>Dec 14 2008</date> 
     863<author>exi</author> 
     864<comment> 
     865<type>UPD</type> 
     866<text> 
     867Commit of the reworked ajax mod 
     868Preview of the new ajcron mod (80% done) 
     869 
     870</text> 
     871</comment> 
     872</changeset> 
     873<changeset> 
     874<rev>362</rev> 
     875<date>Dec 6 2008</date> 
     876<author>exi</author> 
     877<comment> 
     878<type>UPD</type> 
     879<text> 
     880Update of the supplied Smarty library to 2.6.21 (02.12.2008) 
     881 
     882</text> 
     883</comment> 
     884</changeset> 
    3885        <changeset> 
    4886                <rev>361</rev> 
  • dev/mods/rank_mod/rank.php

    r423 r427  
    128128$cnt = 0; 
    129129$last_parent = -1; 
    130 foreach ($ship_sub_badges as $subclass) { 
     130foreach ($ship_sub_badges as $subclass) {echo '<br>'.$subclass['name']; 
    131131  if ($subclass['parent'] > $last_parent) { 
    132132    $shipbadges[$subclass['parent']]['cnt']=$subclass['parent'];         
     
    134134    $last_parent = $subclass['parent']; 
    135135  } 
    136   if (strpos($enabled, $subclass['name'])) {     
     136  if (strpos($enabled, $subclass['name'])) {    echo 's'; 
    137137    $subclass['cnt'] = $cnt; 
    138138    $ship_badges[] = $subclass; 
     
    337337foreach ($shipbadges as $i => $ship) 
    338338{ 
    339   if ($ship['cnt'] >= $rank_badges[$i][0]) { 
     339  if ($ship['cnt'] > $rank_badges[$i][0]) { 
    340340        $bonus_rps+=$rank_badge_value[$i][0]; 
    341341        $shipbadges[$i]['icon']=$ship['type'].'_elite'; 
    342342        $shipbadges[$i]['class']=$ship['name'].' Combat 1st Class'; 
    343343        $shipbadges[$i]['badge']='Elite '.$ship['name'].' Pilot'; 
    344   } elseif ($ship['cnt'] >= $rank_badges[$i][1]) { 
     344  } elseif ($ship['cnt'] > $rank_badges[$i][1]) { 
    345345        $bonus_rps+=$rank_badge_value[$i][1]; 
    346346        $shipbadges[$i]['icon']=$ship['type'].'_veteran'; 
    347347        $shipbadges[$i]['class']=$ship['name'].' Combat 2nd Class'; 
    348348        $shipbadges[$i]['badge']='Veteran '.$ship['name'].' Pilot'; 
    349   } elseif ($ship['cnt'] >= $rank_badges[$i][2]) { 
     349  } elseif ($ship['cnt'] > $rank_badges[$i][2]) { 
    350350        $bonus_rps+=$rank_badge_value[$i][2]; 
    351351        $shipbadges[$i]['icon']=$ship['type'].'_expert'; 
     
    360360foreach ($ship_sub_badges as $i => $ship) 
    361361{ 
    362   if ($ship['cnt'] >= $rank_badges[$i][0]) { 
     362  if ($ship['cnt'] > $rank_badges[$i][0]) { 
    363363        $bonus_rps+=$rank_badge_value[$i][0]; 
    364364        $ship_sub_badges[$i]['icon']=$ship['type'].'_elite'; 
    365365        $ship_sub_badges[$i]['class']=$ship['name'].' Combat 1st Class'; 
    366366        $ship_sub_badges[$i]['badge']='Elite '.$ship['name'].' Pilot'; 
    367   } elseif ($ship['cnt'] >= $rank_badges[$i][1]) { 
     367  } elseif ($ship['cnt'] > $rank_badges[$i][1]) { 
    368368        $bonus_rps+=$rank_badge_value[$i][1]; 
    369369        $ship_sub_badges[$i]['icon']=$ship['type'].'_veteran'; 
    370370        $ship_sub_badges[$i]['class']=$ship['name'].' Combat 2nd Class'; 
    371371        $ship_sub_badges[$i]['badge']='Veteran '.$ship['name'].' Pilot'; 
    372   } elseif ($ship['cnt'] >= $rank_badges[$i][2]) { 
     372  } elseif ($ship['cnt'] > $rank_badges[$i][2]) { 
    373373        $bonus_rps+=$rank_badge_value[$i][2]; 
    374374        $ship_sub_badges[$i]['icon']=$ship['type'].'_expert'; 
     
    394394{ 
    395395  if ($i == 4 || $i == 3 || $i == 5) { $bottom = 'Operator'; } else { $bottom = 'Gunner';} 
    396   if ($weap['cnt']>=$rank_weap_badges[$i][0]) { 
     396  if ($weap['cnt']>$rank_weap_badges[$i][0]) { 
    397397        $bonus_rps+=$rank_weap_badge_value[$i][0]; 
    398398        $weaponbadges[$i]['icon']=$weap['type'].'_elite'; 
    399399        $weaponbadges[$i]['class']=$weap['name'].' Master 1st Class'; 
    400400        $weaponbadges[$i]['badge']='Elite '.$weap['name'].' '.$bottom; 
    401   } elseif ($weap['cnt']>=$rank_weap_badges[$i][1]) { 
     401  } elseif ($weap['cnt']>$rank_weap_badges[$i][1]) { 
    402402        $bonus_rps+=$rank_weap_badge_value[$i][1]; 
    403403        $weaponbadges[$i]['icon']=$weap['type'].'_veteran'; 
    404404        $weaponbadges[$i]['class']=$weap['name'].' Master 2nd Class'; 
    405405        $weaponbadges[$i]['badge']='Veteran '.$weap['name'].' '.$bottom; 
    406   } elseif ($weap['cnt']>=$rank_weap_badges[$i][2]) { 
     406  } elseif ($weap['cnt']>$rank_weap_badges[$i][2]) { 
    407407        $bonus_rps+=$rank_weap_badge_value[$i][2]; 
    408408        $weaponbadges[$i]['icon']=$weap['type'].'_expert';