Changelog Bugfixes
web
- Fixed an issue where payments use the wrong amount of money if a custom job package has been created but not bought previously
- Fixed settings not showing the correct featured package, and rather defaulting to none
- Fixed frontpage not updating due to cache
- Fixed unchecking "buyable more than once"
- Fixed not able to have decimals in weapon/model prices for customjobs
- Now forcing a screen aggressively on anyone who doesn't meet the Prometheus requirements
lua Nothing
Languages Added updated versions of the language files
Bugfix for sourcemod. Only the sourcemod files are affected. I blame Google Drive for adding .txt after .cfg documents
Changelog The sourcemod, new admin dashboard and 1.5.4 fixes update
web
- Fixed an issue where you could not give the user static models, it was calling to the wrong function
- You can now set custom job packages to have a free base price, and if it continues to be free with any additional configurations it will still be free for the customer
- Changed "your current total is $1 currency or $2 credits" to just display either one or both depending on your settings
- Fixed an issue where javascript couldn't count to more than 10 (11), resulting in max 10 (11) weapons/models for custom jobs at a time
- Added sourcemod support (It's an action, and you need to install the sourcemod files) - Courtesy of Nanochip³
- Fixed an issue where credit packages and price packages would be free(In the backend) due to not checking if the package has a custom job action before running custom job price checks
- Added $enableCookies as a config option. It's disabled by default due to issues
- If currency was never set, aka if you had use only credits for pkgs/raffles enabled, then switched to normal money you couldn't select a currency due to it having a NULL value. Now it'll have a value of 1 instead, which will not cause it to show as blank
- Added a way to edit active custom jobs' code
- Re-designed the whole admin dashboard look
- Fixed a dashboard currency issue
- Added a new option to assign packages (Count as real transaction or not)
- Fixed an issue with labels and double quotes
- Added weapon name to custom jobs, not only classname
- Added the ability to limit how many weapons/models users can select when creating a custom job
lua
- Fixed DarkRP.createCategory error on DarkRP 2.5 because it was introduced in 2.6.
Languages New language strings to all language files
Affected files Web Everything apart from config.php and /img
Lua lua/prometheus/database.lua lua/prometheus/cl_init.lua lua/prometheus/init.lua lua/prometheus/cl_notifications.lua
Changelog I hit CTRL + Z a few times before upload due to a copy/paste mistake. It cleared the lua folder of the lua files I had just extracted. GG.
web
- Added _donations back in, with a STRICT WARNING
lua
- Added the lua files from the last update
Affected files No other files than last update
Changelog ** The custom job update** Update both web and lua! MySQL updates apply automatically upon visitting the admin area
Moved $devmode from inc/header.php to config.php in the web files. I will no longer be able to leave it on accidentally :)
web
- Fixed a bug with free packages not working
- Fixed a bug with Paymentwall not dealing with package upgrades properly
- Added custom jobs action for DarkRP
- Added an option to not automatically give DarkRP custom jobs for some reason(see the next line)
- Added an area to Dashboard -> Packages for managing active custom jobs and generate their code
- Added give credits, package and ticket to a users profile
- Fixed class steamapi missing
- Edited the way selecting a package to edit works. Now way easier to find the package you're looking for
- Site logo and site banner are now options in the settings
- Added a way to more easily order/move servers in Dashboard -> Packages -> Move packages
- Added a profile button to the transactions table
- Tons of small fixes here and there
- Removed cookies, caused more trouble than they're worth :( God damn NFO with their double subdomains
- Fixed creation of custom amount packages
- Added an option to use an alternative PayPal email address for certain packages
lua
- Added support for DarkRP custom jobs
Languages
- Updated all language files
Affected files Web
- pages/store/customjob.php
- lang/*
- ipn.php
- paymentwall.php
- logout.php
- inc/functions.php
- inc/header.php
- inc/credits.php
- inc/login.php
- install/sql.php
- inc/classes/paymentwall.class.php
- inc/classes/permissions.class.php
- inc/classes/steamapi.class.php
- inc/classes/store.class.php
- inc/classes/stripe.class.php
- inc/classes/update.class.php
- inc/classes/packages.class.php
- inc/classes/options.class.php
- inc/classes/credits.class.php
- inc/classes/gateways.class.php
- inc/classes/actions.class.php
- admin/gen/settings.php
- admin/pkg.php
- admin/pkg/_actions.php
- admin/pkg/actions.php
- admin/pkg/php.php
- pages/admin/packages.php
- pages/admin/users/profile.php
- pages/store/packages.php
- pages/store/purchase.php
- compiled/css/site.css
- compiled/js/site.js
- compiled/js/essential.js
Lua
- lua/prometheus/cl_menu.lua
- lua/prometheus/actions.lua
- lua/prometheus/init.lua
Changelog web
- Fixed adding a raffle if credits are not enabled
- Fixed upgrading not working
- Fixed purchase preview package not showing upgrade price
Languages None
Affected files Web admin/raf.php inc/classes/packages.class.php inc/classes/store.class.php ipn.php logout.php
Changelog web
- Fixed two paymentwall undefined variables
- Reverted styling options to the old look, people despised the sidebar. Kept search and sort by
- Fixed edit raffle not showing right package
- Added order id to categories
- Fixed order id in servers making them not save if it was not set
- Added new sql queries to install sql file
lua
- Fixed a crash if you are using mysqloo 8.
Languages None
Affected files Web compiled/css/site.css pages/store/global.php pages/store/credits.php pages/store/packages.php pages/store/raffle.php install/sql.php inc/functions.php inc/classes/update.class.php inc/classes/paymentwall.class.php inc/classes/options.class.php inc/classes/store.class.php admin/srv.php admin/raf.php admin/cat.php
Lua lua/prometheus/mysqloo.lua
I'm sorry The Commander, I missed a semi-colon, just for u bby ;)
Only affected file is admin.php
Changelog Please clear your javascript browser cache after applying this update. Visit admin area for MySQL updates to automatically run after updating.
web
- Fixed not being able to set a users permissions
- Added the display option (small - 3 wide) back in for packages
- Added option to disable sorting options
- Fixed order id for packages
- Added order id for servers
- Optimised raffle, server, permissions, credit packages, currencies and categories adding/editing backend
- Added ajax to raffles, server, permissions, credit packages, currencies and categories adding/editing
- Finally styled the modal popups to fit the theme
- Added ajax to all setting pages apart from Payment Gateways
- Fixed header links not lighting up the right tab if in credits/raffles
lua None
Languages Updated pt-br language file
Affected files Web admin.php store.php inc/functions.php inc/classes/update.class.php inc/classes/raffle.class.php inc/classes/store.class.php inc/classes/permissions.class.php inc/classes/options.class.php inc/classes/credits.class.php inc/classes/packages.class.php compiled/css/site.css pages/store/credits.php pages/admin/users/permissions.php admin/srv.php admin/raf.php admin/cre.php admin/per.php admin/cat.php admin/cur.php admin/gen.php admin/gen/settings.php admin/gen/api.php admin/gen/frontpage.php admin/gen/messages.php admin/gen/news.php admin/gen/tos.php
Lua None
Changelog Oops. Never a Prometheus update without at least 2 updates in a row. Rule #1.
web
- Fixed non logged in users / non admins not being able to use sorting options for packages / raffles / credits
Affected files Web inc/ajax/sidebar.php inc/ajax/store.php
Changelog web
- Fixed global packages link in Store
- Fixed not being able to get to installation, stuck on white screen
- Fixed API key always being invalid upon installing
lua
- Added link to wiki and fixed the timer identifier
- Fixed a missing fallback
Languages Updated NL language file to latest revision Fixed spelling mistake in English language file
Affected files Web inc/functions.php inc/classes/prometheus.class.php install.php inc/store/server.php
Lua lua/prometheus/database.lua lua/prometheus/mysqloo.lua lua/prometheus/init.lua
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