Stable1.5.3
Changelog Please clear your browser javascript cache with this update. Both lua and web have new config options
web
- Fixed issue where prometheus would not force the action required screen on you due to a strict php redirect warning
- You can now enable/disable the admin sidebar. Allows for a better fullscreen experience
- SQL updates no longer use cache, it uses a database value instead. This makes performance better after cache clears
- Fixed donation goal not rounding total amount to 2 decimals
- Profile avatar now corresponds to SSL standards
- Fixed packages list for users showing for each different server a package counts for. Now shows in the correct purchase batch (A package is a package, not 3 different split accross 3 servers)
- Re-did how the admin dashboard links work. No longer uses admin.php?whatever links. Now uses admin.php?page=$1&action=$2. This makes the code so much shorter, and I have no idea why I didn't originally do this... It was already done with the other admin panel links
- Re-did how the store links work. All now have ?page= infront instead of just store.php?pagename
- Fixed store not going straight to a single server if there is only one
- Fixed store not going to global packages if all packages are global
- Fixed frontpage and news having large gaps between paragraphs
- Packages can now be sorted by price, credits, permanent/non permanent, id, category or search
- Raffles can now be sorted by price, credits, id or search
- Credit packages can now be sorted by price, credits, id or search
- Fixed servers being deleted when a credit package with the same ID gets deleted
- You can no longer have 3 wide packages. There isn't enough space
- Optimized back-end code for package editing/adding
- You can now purchase for someone else again, checking if it's not compatible / you already own it has been moved to the purchase page
- Added a button to duplicate a package in edit package
- Attempted to fix PayPal subscription recurring payments. Can't test this alone as PayPal's IPN simulator has no option for subscriptions
- Added a preview of the package you are purchasing on the purchase page
- Added SteamAPI as a fallback to SteamXML grabbing names
New configs in config.php! $steam_api = ''; // Your Steam API key. This setting isn't needed, but if filled it will act as a fallback for name grabbing
lua
- Fixed AssMod and evolve ranks not working (Does anyone even use them that no one noticed them not working?)
- Added possibility to have different chat commands for menu and opening website
- Switched to a more modular database system(Used Neutron's DB system)
- Added support for tmysql4
- Some fixes and change from "Package" to "Bought Package"
New configs in prometheus_config.lua! Prometheus.SeperateForSite = false -- Set to true if you want to use seperate chat commands for opening donation page and opening menu Prometheus.OpenDonationCmd = "!donatesite" -- Used only if Prometheus.SeperateForSite is set to true, keep in mind to not have both be same command
Languages
- Added new strings to all languages
Affected files Web
- admin.php
- index.php
- store.php
- paymentwall.php
- profile.php
- config.php
- ipn.php
- inc/*
- pages/*
- admin/*
- install/sql.php
- compiled/js/site.js
- compiled/css/site.css
- pages/store/global_packages.php
- pages/store/raffles.php
- pages/admin/permissions.php
- pages/admin/user_transactions.php
- pages/admin/assign_credits.php
- admin/pkg/edit.php
- pages/store/global_packages.php
- pages/store/global_packages.php
Lua
- lua/prometheus/actions.lua
- lua/prometheus/cl_menu.lua
- lua/prometheus/database.lua
- lua/prometheus/functions.lua
- lua/prometheus/init.lua
- lua/prometheus/mysqloo.lua
- lua/prometheus/tmysql.lua
- lua/prometheus/transactions.lua
- lua/prometheus_config.lua
- lua/prometheus_client_config.lua