Bank Update 0.9.18-0.10.7

Programmers Guild

Moderator: Andreas the Wise

Post Reply
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Bank Update 0.9.18-0.10.7

Post by Erik Mortis »

Last update: http://shireroth.org/forum/viewtopic.php?f=226&t=13524

Code: Select all

0.9.18 2010/6/16 Created disableaccount.php so people can disable their 
			 own accounts. Updated menus.
0.9.19 2010/9/20 Added getip() to utils.php. 
			 SESSION now keeps this information. Added
			 'userip' to DB_TABLE_LOG. login.phph now grabs the user ip. 
			 log_transaction() updated to log ips. created get_userip() in loglib.php
			 These changes were made for increased security resulting from a set of
			 questionable transactions. IP's were requested, but not logged at the
			 time. Now they will be logged so we can help look into such things. 
			 Updated admintranlog.php. Also updated install.sql to keep up with that. 
			 IP's from old logs will just come up as UNKNOWN.
0.9.20 2010/10/29 added loan mod to main menu, despite it not being functional. 
			 perhaps it'll intice me to get it working. Made the change log into a global
			 variable so we can use it in a to be create later about/version page.   
0.10.1 2010/11/1 added email field to accounts, added '$email' to add_account().
			 Fixed some formating issues with the last change. Not sure that tweek was a good idea.
			 More trouble perhaps then it was worth. Removed that ability due to annoyance.
			 It wasn't worth the upkeep. 
			 emails given to add_account() aren't cleaned or checked at this time. 
			 updated createaccount.php so that it knows about the change. 
0.10.2 2010/11/4 added function to util.php to check email format.
			 Created changeemail.php so a user can change it themselves. Must have pw. 
			 Updated menu. Minor tweak to changepw.php removing link to account.php.
			 viewaccount.php now shows emails. 
			 Delete subdivision can be used to change one subdivision into another country. 
			 Just say it's the last subdivision. Should make this clear when I have time.  
0.10.3 2010/11/14 Made it clear that you can use the page in this way. 
			 Removed account.php as it is deprecated. It's job is taken up by the css menu now. 
			 Why is bank_menu() still in util.php? Removed it. 
			 I should research a better function to get IP's. 
0.10.4 2010/11/18 Changes to how we log IPs. We no longer use the stored IP, but in fact grab it a new each time. 
			 This is to be a Possible solution to a technical issue expereinced when using an
			 external program to interact with the bank.
0.10.5 2010/11/19 Changes getIP() so it might now return 127.0.0.1 instead of UNKNOWN 
			 when the logger is called by a cron job or other local means.
0.10.6 2010/11/20 added lastlog as a timestamp field that will be updated whenever the 
			 user logs in. added to table, added set/get function. update login.php.
			 updated add_account(). updated begin_session(). updated viewaccount.php
			 Previous update's fixes had no effect. Curses. 
0.10.7 2010/11/21 changed DateMath() to date_math() for consistency.  
			 added index.php to the menu as Home. Added lastlog info to index.php
Mostly lots of little things. I urge people to update their listed emails btw. And Andreas, I don't know where you put your daily update program. I would like to examine it.

Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank Update 0.9.18-0.10.7

Post by Erik Mortis »

OH yeah. I went through all bank update threads and the link backwards now.

User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Bank Update 0.9.18-0.10.7

Post by Andreas the Wise »

mods/VBNC/Daily.php
It also pulls code from stuff in the require folder, of course. Anything to do with inactivity tax or post counts is in postlib.php. And remember, this page is designed to be called by cron, though it can be loaded manually too.
The character Andreas the Wise is on indefinite leave.
However, this account still manages:
Cla'Udi - Count of Melangia
Manuel - CEO of VBNC. For all you'll ever need.
Vincent Waldgrave - Lord General of Gralus
Q - Director of SAMIN
Duke Mel'Kat - Air Pirate, Melangian, and Duke of the Flying Duchy of Glanurchy

And references may be made to Vur'Alm Xei'Bôn (a Nelagan Micron of undisclosed purpose).

Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank Update 0.9.18-0.10.7

Post by Erik Mortis »

You might consider branching the daily post thing off into it's own mod if we end up expanding it.

User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Bank Update 0.9.18-0.10.7

Post by Andreas the Wise »

Yeah. I considered that originally, but then I need to get Ari to call two things via cron. At the time, it seemed easiest to just get one thing called.
The character Andreas the Wise is on indefinite leave.
However, this account still manages:
Cla'Udi - Count of Melangia
Manuel - CEO of VBNC. For all you'll ever need.
Vincent Waldgrave - Lord General of Gralus
Q - Director of SAMIN
Duke Mel'Kat - Air Pirate, Melangian, and Duke of the Flying Duchy of Glanurchy

And references may be made to Vur'Alm Xei'Bôn (a Nelagan Micron of undisclosed purpose).

Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank Update 0.9.18-0.10.7

Post by Erik Mortis »

I should talk to him about just having a cron job that calls all files in a directory... or a defined set of directories. like bank/cron and bank/mod/*/cron

Post Reply

Return to “Church of the Machine God”

Who is online

Users browsing this forum: No registered users and 2 guests