The world is currently online!


Welcome to Emps-World!

Register now to gain access to all of our forum features. Once registered and logged in, you will be able to create topics, post replies, send private messages, manage your profile, chat with other players in the shoutbox and much more. Once you sign in, this message will disappear.



Pages: 1
0 Members and 1 Guest are viewing this topic.

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
How to fix forum.
« on: May 05, 2017, 09:43:35 pm »
Introduction
This is a guide for anyone who despises changes.
I'm not an expert at any of this, so these solutions will be really basic and inflexible.


Requirements:
A modern browser that supports uBlock Origin (Chrome, Firefox, Opera, Edge) and Stylus(Chrome, Firefox, Opera) extensions.
This guide shows how to fix the forum on Chrome, setting everything up may be different in other browsers.


How To Remove New Emotes
Change:
There are some new emotes. That definitely counts as a change and can't be tolerated.

This is what the problem looks like:


What you'll be creating:


Requirements:
uBlock Origin browser extension (Chrome, Firefox, Opera, Edge)

Step 1:
Click on the uBlock Origin icon.

Click on "Open the dashboard".

Click on "My filters".


Step 2:
Enter this text:
Code: [Select]
||emps-world.net/forum/Smileys/default/*.png

Step 3:
Apply changes.


Step 4:
Refresh the forum page to apply filter to shoutbox.


Fixed!


How To Remove Discord
Change:
There's a new thing next to Shoutbox.

This is what the problem looks like:


What you'll be creating:


Requirements:
uBlock Origin browser extension (Chrome, Firefox, Opera, Edge)

Step 1:
Click on the uBlock Origin icon.

Click on "Enter element picker mode".


Step 2:
Select the new thing.

Select "Create" in the window that pops up.




Fixed... but it still looks different, so continue with the Shoutbox Width Fix.


How To Increase Shoutbox Width
Change:
Shoutbox width was changed to 75% of what it was before.

This is what the problem looks like:


What you'll be creating:


Requirements:
Discord element has been blocked (follow previous part of the guide).
Stylus browser extension(Chrome, Firefox, Opera).

Step 1:
Click on the Stylus icon in the toolbar.

Choose "Manage".

Click on "Write New Style"


Step 2:
Fill the page following these three steps:
1. Copy and paste this into Code 1:
Code: [Select]
#shoutbox {
    width: calc(100%/0.75);
}

2. Make sure that the rule applies to "URLs on the domain" and
Code: [Select]
emps-world.net
3. Give your style a name, make sure that "enabled" is ticked and then click Save.





Fixed!


How To Fix Avatars
Change:
Some avatars are huge.

This is what the problem looks like:


What you'll be creating:


Requirements:
Stylus browser extension(Chrome, Firefox, Opera).

Step 1:
Click on the Stylus icon in the toolbar.

Edit the style created in the Shoutbox Width Fix (or create a new style if you'd like).


Step 2:
Copy and Paste this at the end of Code 1.
Code: [Select]
.avatar {
    max-height: 100px;
    max-width: 100px;
}

Make sure that the style applies to "URLs on the domain" and
Code: [Select]
emps-world.net
Make sure that the style has a name, that Enabled is ticked and press Save.





Fixed!


How To Fix Spoiler Color
(for Bright Forest theme)
What spoilers look like:


Here's how to change the colors into this:


Step 1:
Open the Stylus Theme that you created (or if you haven't then you can find out how to do so in other sections of the guide).

Step 2:
Paste this at the end of Code 1 and then save the theme:
Code: [Select]
div[class^='sp-wrap'] {
background-color: #dbe8b8;
border-left: 1px solid #999;
border-right: 1px solid #999;
-webkit-border-radius: 3;
-moz-border-radius: 3;
border-radius: 3px;
}
div[class^='sp-wrap'] div[class^='sp-body'] {
    background-color: #e9f1d5;
}



What spoilers are changed to:


Fixed!


Other Fixes

How To Fix Voting
What's this about?
Would you like to vote but don't like how much effort it takes to open the voting sites one by one? Wouldn't it be nicer if you could just click a bookmark, log in, click the same bookmark again and have it open all the voting sites on which you haven't voted yet?

What you'll be creating:


Step 1:
Create a new bookmark. In Chrome you can just right-click on the bookmarks bar and select "Add page..."

Give it a name, save it to bookmarks bar and change the URL to this:
Code: [Select]
javascript:{if(window.location.href=='https://emps-world.net/vote'){el=document.querySelectorAll("[src='./img/attention.png']");for(var i=0;i<el.length;i++){el[i].click();};}else{window.location.href='https://emps-world.net/vote';}};void(0);

Step 2:
Click the bookmark, log in (if not already logged in), click it again and then you're on your own.


Now vote!
« Last Edit: September 04, 2018, 12:22:38 pm by Tulrak »
The following users liked this post: Skill0wzer, Just Humen, Bluestorm, Blue Bird

Offline Charr

  • *
  • 3059
  • Liked: 3230 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #1 on: May 05, 2017, 10:20:41 pm »
God bless.
;

Offline Someone12116

  • *
  • 4226
  • Liked: 3751 times
  • +0/-0
  • I drink and I know things
    • View Profile
Re: How to fix forum.
« Reply #2 on: May 05, 2017, 10:28:06 pm »
Blasphemy

Online Thomy

  • *
  • 3564
  • Liked: 3340 times
  • +5/-0
    • View Profile
Re: How to fix forum.
« Reply #3 on: May 06, 2017, 06:25:19 am »
Is the Discord window really such a big issue? If so, I'll create a button to hide it.
The following users liked this post: Skill0wzer, Blue Bird

Offline Mary

  • *
  • 63
  • Liked: 170 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #4 on: May 06, 2017, 08:17:17 am »
Is the Discord window really such a big issue? If so, I'll create a button to hide it.
considering many people have a discord already and use their services to switch between servers and chat, why add an element for it. The element would only be useful for those that only have/choose emps as discord server, which there is few of.

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #5 on: May 06, 2017, 08:54:45 am »
Is the Discord window really such a big issue? If so, I'll create a button to hide it.

Every change is a big issue.

The button would be nice as long as Discord stays hidden and the width of the shoutbox goes back to 100%.
People were already hiding Discord before I even saw it, so fixing the width is the more important part.
« Last Edit: May 06, 2017, 05:44:03 pm by Tulrak »
The following users liked this post: Skill0wzer, Il Skill L

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #6 on: May 15, 2017, 09:50:33 pm »
Update:
Shoutbox width was changed from 70% of original to 75% meaning that the old shoutbox width fix increases its width too much, if you followed the guide before May 15th, 2017 then the shoutbox wouldn't line up perfectly with the rest of the forum anymore. Basically if the shoutbox looks like this then you're good and don't have to worry about this update but if it goes off the screen like this then you need to redo the last step in the guide and replace the old code with the new one (the only difference is that you now divide by 0.75 instead of 0.7, so don't skip it simply because it looks similar, most of it is the same, but if the shoutbox goes off the screen then this is where the problem is).
« Last Edit: September 24, 2017, 04:40:28 pm by Tulrak »

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #7 on: December 09, 2017, 02:46:31 pm »
Change: Added a fix for huge avatars.

P.S. Don't mind the triple-post, I wanted to bump the thread due to changes.
« Last Edit: July 28, 2018, 05:02:42 am by Tulrak »
The following users liked this post: Saif Nawaf

Online Thomy

  • *
  • 3564
  • Liked: 3340 times
  • +5/-0
    • View Profile
Re: How to fix forum.
« Reply #8 on: December 11, 2017, 08:13:38 am »
Actually that 'fix' is now obsolete. Avatars wouldn't resize because of a php module missing after a webserver update. Should be fine now. ;)
The following users liked this post: Tulrak

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #9 on: December 11, 2017, 08:59:46 am »
Actually that 'fix' is now obsolete. Avatars wouldn't resize because of a php module missing after a webserver update. Should be fine now. ;)

I figured that it was a bug that would be fixed, but patience is overrated. I'll remove it from the guide now, thanks for proper fix.
« Last Edit: February 10, 2018, 07:46:35 am by Tulrak »

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #10 on: December 18, 2017, 12:29:54 am »
Actually that 'fix' is now obsolete. Avatars wouldn't resize because of a php module missing after a webserver update. Should be fine now. ;)

https://emps-world.net/forum/index.php?action=profile;u=10966
His is still so big :'(
Is that intentional? Sowwy for double post again, needed to ask.

Also re-added it into the guide because it's either intentional which makes it a change or it's a bug and the 'fix' provides a half-assed solution that doesn't require patience.
« Last Edit: December 18, 2017, 01:06:44 am by Tulrak »
The following users liked this post: Saif Nawaf

Online Bluestorm

  • *
  • *
  • 189
  • Liked: 523 times
  • +1/-0
  • Adam.
    • View Profile
Re: How to fix forum.
« Reply #11 on: January 07, 2018, 10:27:55 pm »
Any staff member pin this topic please.

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #12 on: March 16, 2018, 12:21:39 am »
We have spoilers, they're gray, even if you're using a green theme... I added a section to the guide that changes the background color of the spoilers to green, so that it looks a bit better in the only forum theme that matters.

Update (June 05, 2018):
Added a fix that makes voting easier.
Voting
[close]

Update (June 16, 2018):
Added a fix that makes comparison in Highscores better.
Highscores Comparison
[close]
« Last Edit: July 28, 2018, 04:38:48 am by Tulrak »
The following users liked this post: Il Skill L, Bluestorm, Ravioli

Online Tulrak

  • *
  • 202
  • Liked: 668 times
  • +0/-0
    • View Profile
Re: How to fix forum.
« Reply #13 on: July 28, 2018, 05:01:50 am »
Stylish was sold to some scumbags that are now using it to track your whole browsing history or something like that, which means that Chrome and Firefox blocked it. So uninstall Stylish, replace it with Stylus(Chrome, Firefox, Opera) and then repeat the steps that used Stylish but now do them in Stylus.

Updated the guide from Stylish to Stylus as well.
Pages: 1