fivemods / fivemods.net Goto Github PK
View Code? Open in Web Editor NEWFiveMods.net - Your community for FiveM mods, scripts, maps, peds, weapons and more.
Home Page: https://fivemods.net
FiveMods.net - Your community for FiveM mods, scripts, maps, peds, weapons and more.
Home Page: https://fivemods.net
In the description preview, the formatting markdowns are shown.
https://i.imgur.com/7544YY7.png
fivemods.net/pages/account/d-callback.php
Line 63 in 6cb6dfb
The line above is an example of the type of thing that needs to be fixed. Storing all of these session variables on login and relying on them to be present will create a handful of unintended bugs down the line. Yes, it is easier to access information, but it will come back to stab you in the back later down the road. Do the proper thing and request what you need from the database when you need it.
Add dynamic redirect to the main website.
E.g. on login and logout
https://cdn.oetkher.de/u/3f24c2af9c228d40f97ecfbfc4cd4d68.png
should show a "Preview" of the mod
Geo IP check is overwriting chosen language.
Add language cookie and profile preference.
move all legal pages into /legal/
change design
improve legal pages based on german law
Prepare repo and code to go public
Test issue to check if discord webhook will notice
Send mail to seller if product was bought!
Please stop creating PDO sessions everywhere. I estimate that there are roughly 15-20 mysql connections/request. You can prepare more than one statement per PDO session. None of these PDOs are closed properly after being used, so all throughout the duration of the request, there's just dangling PDO sessions.
$pdo = new PDO("mysql:host=$servername;dbname=$dbname", $username, $password);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
...
$insertDB = $pdo->prepare("INSERT INTO user (sid, uuid, oauth_uid, oauth_provider, email, picture, locale, description, main_ip) VALUES (:sid, '$v5uuid', :id, 'Discord Inc.', :email, :picture, :locale, :description, :mainip)");
$insertDB->execute(array('sid' => $sid, 'email' => $email, 'picture' => $fileName, 'description' => "No Description Set.", 'mainip' => $main_ip, 'id' => $uid, 'locale' => "-"));
$servernameP = $mysqlPayment['servername'];
$usernameP = $mysqlPayment['username'];
$passwordP = $mysqlPayment['password'];
$dbnameP = $mysqlPayment['dbname'];
$pdoPayment = new PDO("mysql:host=$servernameP;dbname=$dbnameP", $usernameP, $passwordP);
$insertUser = $pdoPayment->prepare("INSERT INTO payment_user (oauth_provider, oauth_id, uuid, username, email, country_code) VALUES (:provider, :id, :uuid, :username, :email, :country)");
$insertUser->execute(array('provider' => "Discord", 'id' => $uid, 'uuid' => $v5uuid, 'username' => $_SESSION['user_username'], 'email' => $email, 'country' => $user->locale));
$select = $pdo->prepare("SELECT * FROM user WHERE uuid = :uuid");
$select->execute(array('uuid' => $v5uuid));
Add fivemods management mail as BCC to payment mails
Add dynamic redirect to the main website.
E.g. on login and logout
Lets see
Fix ad placing
Add static ads and remove dynamic ads
Fix mobile issues e.g. on partner page or the background
Please go though the FiveMods pages and search for missing translations / wrong translations (German)
e.g. user id is not 1, 2, 3, its 1, 324 ,423
there's a big gap
Add pagination enhancement
Change from
https://ext-cdn.fivemods.net/img/333173cf6614fb9abfec0ad77b079fb1.png
to something like this
https://ext-cdn.fivemods.net/img/a0f4a86dbfd44dc0839b73070b4d9730.png
Add and design new error messages.
Remove this: https://ext-cdn.fivemods.net/img/96ed725ffa870dd23ec79d738014a980.png
Change to something more modern.
@Fredneyy please create create some design layouts on Figma :)
Once you press submit, you get another mail with a delete token
Add a Price Suggestion
User that are not part of the Partner Program: up to 5 euros
User that are part of the Partner Program: unlimited
Should be approved seperately in ACP (!)
Fix error pages
Create own mailserver to send and receive mails
Add dynamic redirect to the main website.
E.g. on login and logout
Fix word suggestions array
Replace Placeholders with real text
When clicking on an image in the carousel it should expand and blur the background.
Enable feature that its actually possible to buy mods (balance system)
Add payment success page
e.g. https://cdn.fivemods.net/c48a1d7fa88b58f1c700471b8c16d533.png
On the about us page (https://fivemods.net/about-us/) several images are still with the old logo, those need to be changed.
Add automatic issue creation feature to the discord bot
e.g.
-bugreport bug
needs to get confirmed
if so create issue on github
Rework / enhance deferral system
(Maybe task for @AwesomeCore1)
Still not changing whitespace to underscore, major issue!
Causing multiple display issues.
Rework profile and mod interface
The dropdown menu will not close when pressing the button, only open
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.