Jump to content
Dano

Website Updates

Recommended Posts

1-6-21

  • Possibly resolved an issue regarding new donations not adding any in-game perks.
  • Added more debug code in the case the above doesn't work. If it is what I think it is, there's something seriously wrong with IPS 4.

Share this post


Link to post
Share on other sites

1-24-21

After having logging enabled on our GFL Donations application, it turns out an issue we've seen is the application thinking somebody has an existing donation when they do not. This is why a lot of people aren't receiving game server perks after donating and we have to manually insert them into the game server database. What doesn't make sense to me is some of the problematic donations we've investigated hadn't had any entries in the database prior to their donation. Therefore, I'm honestly not sure why this is the case. I've looked at IPS 4's select statement syntax here and it lines up with what we do. This started happening after an IPS 4 update, so I'm wondering if it behaves differently and thinks count($query) returns above 0 at any point when it shouldn't.

 

If this issue was reproducible from my end, I would have setup a test instance along with PayPal's Sandbox so I can easily test with PayPal and debugged the IPS 4 select function itself within the \IPS\Db class. However, I have not found any ways to reproduce this issue. I've tried donating $15 from my PayPal (using the same Steam ID, so it would have multiple transactions) and never ran into this issue.

 

Anyways, while the MySQL query we use to insert users into the game server database uses INSERT INTO, it also checks if the duplicate key already exist (in this case, the Steam ID) and if it does, it'll update the group ID (perk) if the existing group ID is lower than the new group ID (since we go Member => Supporter => VIP).

 

In this case, I made it so it still attempts to insert them into the game server database even if it believes there is already an existing donation. This should work for now and once we build out our new donation system, we won't see this issue again.

Share this post


Link to post
Share on other sites

Going to make an effort to post all changes in this thread from now on. Apologies for not.

 

Security updates:

  • All staff, including teams, are now required to have 2FA enabled.
  • The amount of failed login attempts has been lowered from 3 to 2 before locking.
  • The account lock period for failed login attempt threshold increased from 15 minutes to 60 minutes or email verification.
  • Login authentication type changed from "Display Name or Email Address" to only "Email Address".
  • Password strength threshold changed to "very strong" from "fair".
    • "Fair":
      • A simple phrase or mix of letters and numbers. (this is the lowest option possible, lol)
    • "Very Strong":
      • A mixture of upper and lowercase characters, numbers and special characters.
    • The strength of a password is calculated using an algorithm which rewards longer passwords with a mix of letters, numbers and symbols, and subtracts points for using consecutive or sequential characters. Minimum of 8.

Share this post


Link to post
Share on other sites

Added Profile Songs

Profile songs are available now to anyone supporter+ (including staff) - if you upload anything obnoxious, you'll be punished (duh).

Please refer to this post for more information about it: 

The only thing to note that is not in that thread is that you cannot manage profile songs via mobile as of right now.


Added Secondary Group Indicator

You can now view (most) of peoples secondary groups via their hovercard.

Example:

Spoiler

image.png

Not all groups can be viewed, temporary groups or groups intended for permission management and not public view do not appear. Badges are still far more identifying than Groups, but this feature can help staff figure out why they do not have certain permissions themselves (it's usually because they don't have the correct secondary group(s)).


Fixed Weird Notification Bug

When clicking a pop-up notification, the notification counter in the top right wouldn't update correctly sometimes. The counter should now update as intended.


Updated Sign Up Errors

Errors would sometimes tell you that you need to sign up to view content, but have no button on them to actually sign up. They do now.


Updated Banned Page

The banned page used to be pretty garbage, updated it.

Banned Page before:

Spoiler

unknown.png

Banned Page now (if the user has no warnings):

Spoiler

image.png

Banned Page now (if the user has warnings):

Spoiler

image.png


Updated Edit History

Edit history now has "wiki-style" edit highlighting.

Edit history Before:

Spoiler

image.png

Edit history now:

Spoiler

image.png

Helpful for determining what was edited in large posts.


Updated Colour Consistency

A lot of the blues on the website that were close to the "GFL Blue" have now been changed to actually be "GFL Blue"... the blue colour of the like button, for example... a few horizontal rules... other colours I didn't note down are now also more consistent.

Find (most) GFL Colours here: https://gflclan.com/style-guide/colour-guides/


Updated Topic Rating

You can't rate your own topic anymore.


Updated Messaging

You can't message in a DM that has no one in it anymore.

Messages are no longer affected by merging.


Updated CKEditor 

Group colour should apply more consistently now. Sometimes the "wrong" colour would be applied. Still not totally fixed unfortunately, doesn't apply to ACP.

Added a preview button, cus why not, also made it so the buttons don't overlap on mobile anymore:

Before on mobile:

Spoiler

image.png

Now on mobile:

Spoiler

image.png

Before on PC:

Spoiler

image.png

Now on PC:

Spoiler

image.png

Still quite a bit to be desired on mobile, but for the time being... this is what we're working with.


Updated Header Logo

Removed a lot of the height from the header logo, the most dramatic effect can be seen on mobile. Frees up a lot of screen real estate.

Before on mobile:

Spoiler

image.png

Now on mobile (the yellow line is the same length as the "before" image, jesus!):

Spoiler

image.png

Before on PC:

Spoiler

image.png

Now on PC (the blue line is the same length as the "before" image, less of a difference):

Spoiler

image.png


That's about it, there's other random little theme things that have been done but I didn't note them down... whoops.

Share this post


Link to post
Share on other sites

Added Pronoun Indicator

Where they appear:

On posts:

Spoiler

image.png

On profile:

Spoiler

image.png

How to add them to your profile:

Step 1 (go to your profile):

Spoiler

image.png

Step 2 (press edit profile):

Spoiler

image.png

Step 3 (edit the information):

Spoiler

image.png

Step 4 (hit save, all done!):

Spoiler

image.png


"Fixed" Navigation Bar Items
All but the "Servers" and "Donate" primary navigation buttons do not have href attributes anymore. This basically means that people who click on the buttons, instead of hovering the buttons, will no longer experience a page refresh and be confused.


Also...
Fixed a few theme issues but didn't note them down again. Oops. I remember changing profile pictures to have them load more consistently/align better and I also changed our table CSS to have shit fit "nicer". I'll just keep changes I do from now on in a shitty little notepad for more specific updates in future.


Also Again...
Users with the Server Admin group should no longer experience permission issues when they are not supposed to. If you still do, please contact your Server Manager or me directly with the issue. Please include: your Forum name and a link to the page you cannot view.


That's all this time. Just a small update to let you know what's gone on.

Share this post


Link to post
Share on other sites

Implemented a shitty fix to prevent profiles from reloading themselves when you first click on them. If anybody runs their own forums and is interested, see: https://raw.githubusercontent.com/aurowora/AuroraScripts/main/ips/Fix Profile Reload.xml


aurora2.png

(signature made by @cockycock)

 

Twitter ❤️Ko-Fi ❤️Github

 

 

Share this post


Link to post
Share on other sites

The websites default application has been changed to the Forums, (thanks @Aurora). This means that when visiting gflclan.com you are presented with GFL's Forums instead of the old, mostly useless home page. This is done in an effort to make a users experience less confusing as well as so GFLs new home pageTM (coming soonTM) can be worked on.

Share this post


Link to post
Share on other sites

Member titles (the text that appears above your pfp on your posts) are back.


aurora2.png

(signature made by @cockycock)

 

Twitter ❤️Ko-Fi ❤️Github

 

 

Share this post


Link to post
Share on other sites

I changed the editor a bit. Shit was glitchy before, now should be... less glitchy and ugly.

Before:

Spoiler

unknown.png

After:

Spoiler

image.png

As you can hopefully tell, attachments are fixed now... they look way nicer and the editor box becomes highlighted when in focus to give a user some feedback on whether or not they are actually able to type and have it appear or not.

 

Edit: Found screenshots of this fix that illustrate the change way better

Before:

Spoiler

unknown.png

After:

Spoiler

unknown.png

Muuuuuuch better. It's just IPS Default again, lightly edited to match our theme.

Share this post


Link to post
Share on other sites

merged a fuckload of code from the default IPS theme to our current theme because it's not shit and our code was shit

 

:half/:double/:sm/etc. selectors now exist and padding should now be far more consistent across the entire site as it is (largely) based off of variables - some still dont use variables, meh, problem for future me

 

will be looking to enforce colour variables more soon, most spacing variables are pretty O.K. now

 

the search thing in the top right is no longer cluttered to all hell, the text is contrasty and weird margin/padding was removed which just made it look dumb

 

shit update log, i know, i dont care, who reads these anyway?

 

press this big button to make a website bug report (if you notice anything dumb on the site) thanks

Share this post


Link to post
Share on other sites

added some profile completion steps for:

  • member titles 
  • pronouns 
  • signatures
  • login methods

also made the completion settings page less ugly

also made the profile completion reminder less ugly

 

once again heres the big button but this time its pink

press this big button to make a website bug report (if you notice anything dumb on the site) thanks

ok bye

Share this post


Link to post
Share on other sites

topics without a post in the past 90 days (3 months) now have a big fat warning on them saying you probably shouldn't revive the thread, just make a new one this is to help people avoid breaking the necroposting rule outlined in the forum rules

 

looks like this:

image.png

 

cool, here's a button to report website issues BUT... this time its smaller and green

press me to report website issues

Share this post


Link to post
Share on other sites

Guest
This topic is now closed to further replies.

Announcements

Click the buttons to learn more!


×
×
  • Create New...