Logo

CS.RIN.RU - Steam Underground Community

Do not use a Hotmail, Outlook, Live or MSN email address! Microsoft servers reject all emails from our server.
It is currently Sunday, 25 Jun 2017, 02:16

English | Русский




Post new topic Reply to topic  [ 32 posts ] 
Author Message

Post Post subject: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 01:59   Reply with quote
Revolting Apprentice of RIN
User avatar
Joined: Sunday, 25 Sep 2011, 22:50
Posts: 6194
Location: 0100 0011 0101 0011 0101 0010 0100 1001 0100 1110 0101 0010 0101 0101
[Userscript] CS.RIN.RU Enhanced

Introduction
I've been browsing The Steam Underground for so long now, I thought it could use some improvements. After all, the site is pretty old. So I started working on this script. I have a lot of ideas that I hope will make it to the script. You, of course, can also make suggestions. Any feedback is greatly appreciated! I hope you like the script and enjoy your enhanced experience of CS.RIN.RU.

Features
  • Enable or disable any of the features
  • Mention somebody when posting (mentioning)
  • Dynamically load next pages when browsing the site (infinite_scrolling)
  • Dynamically refresh the current time (dynamic_time)
  • Dynamically refresh Who Is Online (dynamic_who_is_online)
  • See when something is dynamically loading (display_ajax_loader)
  • Custom topic tags (custom_tags)

Instructions
  1. Install the extension/addon [[Please login to see this link.]]
  2. Download the userscript (see below: direct download)
  3. Tampermonkey should ask if you want to install it, edit the script to disable/enable the features you want and press "install"
  4. Enjoy!

Download
  • [[Please login to see this link.]] ([[Please login to see this link.]])

Ideas/Todo
  • Optimize and restructure the code
  • Fix private message user function
  • Improve endless scrolling by moving elements (floating)
  • Add an options page
  • Setup for SCS and game page (using input dialogs)
  • Custom topic tags extended
  • Auto-Subscribe to topics you posted in
  • Keyboard shortcuts
  • Suggest an edit to OP
  • Quickpost (floating)
  • Quickmention (floating)
  • Quickquote (floating)
  • Multiquote (floating)
  • Quote selection (floating)
  • Search selection
  • Favorite topics
  • Remember posts filter/order for all topics
  • Rules checker when posting
  • Friends only posts filter per topic
  • File only posts filter per topic
  • Add/remove friend button per post
  • File links checker
  • Mini-chat
  • Dynamic posting
  • Steam integration (similar to SteamTrades Have List Filter userscript)

Changelog
Version 0.2
Added custom topic tags support (will be extended)
Added option to disable the ajax loader on the top of the page

Version 0.1
Available to the public.

Developers
Royalgamer06

_________________
Image
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]


Last edited by Royalgamer06 on Monday, 30 Jan 2017, 19:49, edited 5 times in total.

Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 02:02   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 09 Jul 2016, 06:36
Posts: 163
Thanks, I'll test it.


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 02:11   Reply with quote
Revolting Apprentice of RIN
User avatar
Joined: Sunday, 25 Sep 2011, 22:50
Posts: 6194
Location: 0100 0011 0101 0011 0101 0010 0100 1001 0100 1110 0101 0010 0101 0101
@Blackshot, thanks! Did you receive a PM just now? PM'ing something I can't quite make work yet. Sometimes it works sometimes it doesn't...

_________________
Image
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 02:23   Reply with quote
I live here Три раза сломал клаву :)
Joined: Tuesday, 05 Apr 2016, 23:46
Posts: 1885
it would be more accurate to put it in the tutoral section than here.

gonna test it too

ps: obviously, it should also works on Greasemonkey for the firefox user

_________________
Windows 10 64bits, i7-6800k, GeForce GTX 980 TI, 16GB Ram ddr4 2400MHz
SSD Kingston 120GB, SSD Samsung 850 EVO 500GB, HDD Hitachi 1To + 3 others HDDs Seagate


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 03:01   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Thursday, 19 Nov 2015, 03:05
Posts: 3447
Location: Isla de Muerta
Nice one Royalgamer06, cheers. I'll try it out right now ;)

-EDIT-

1. That refresh bar popping in is annoying ;) [Removed it myself]
2. Possible? By pressing right-mouse to do some functions like search, mark, quote etc.?
3. Ideas in OP sounds useful.
4. Have a small bar with marked favorite topics, so jumping through them would be a breeze?

_________________
Image
Now I am become Death, the destroyer of worlds...
Image


Last edited by McAule on Friday, 16 Dec 2016, 03:24, edited 2 times in total.

Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 03:11   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Monday, 26 Apr 2010, 14:06
Posts: 1234
I would like to contribute, even if I don't have the time right now, I already improved your Steam Info BB code script if you remember (made a server-side version with native gallery and some other enhancements).

I already made some improvements, especially on the infinite loading part. Instead of loading the next page at the end of the current one (since it takes a lot), I changed the script so that it loads the next page in a variable when the current one has been loaded, and it only adds it into the current view when you're reaching the end of it.

Where can I upload the changes, do you have a repo or something else?

Cheers

PS. I obviously haven't thought about nasty behaviours like fast scrolling to the end before the next page has already been loaded, I'll look into it when I have time.


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 03:53   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Tuesday, 22 Sep 2015, 08:40
Posts: 1796
Location: Straya mate
OMG, Infinite Scrolling!!!

Thanks :BRAVO: :good-post:

Edit - - -

With this script enabled, the "Post Reply" and "New Topic" buttons at the end of the page are missing and so is the page counter, can you maybe re-add those please? ::P

_________________
*Possible* upcoming repacks from me:
Juiced 2
Toca RD2, Toca RD3
Driver: San Francisco
Need For Speed: Underground, Need For Speed: Underground 2, Need For Speed: Carbon (repack V2.0), Need For Speed: ProStreet (found a fix for 30fpscap, Continue button bug and messed up resolution, among other things)
Star Wars Episode 1: Racer, Star Wars: Republic Commando
Grand Theft Auto III, Grand Theft Auto: Vice City, Grand Theft Auto: San Andreas (this game is being a pain in the ass to mod lol)

My completed repacks: [[Please login to see this link.]]

P.S. I'll gladly accept requests for any game 2000-2010 (as long as it's not over 5gb)


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 03:55   Reply with quote
Advanced forumer Завсегдатай
User avatar
Joined: Thursday, 11 Jul 2013, 07:12
Posts: 246
nice idea. currently testing :)

Can you add reverse posts feature?
i mean, to read the newest posts in the top of the posts :D


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 09:21   Reply with quote
Forum ghost Местное привидение
Joined: Monday, 21 Jul 2014, 08:24
Posts: 303
Thanks, userscripts is very useful, testing...

Edit: If possible on future, implement a Post Reply Text Box on footer, without need load new page just for post a reply :D.


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 10:16   Reply with quote
User Редкий гость
Joined: Friday, 17 Jan 2014, 01:23
Posts: 21
Thanks a ton Royalgamer06;

Just great, long live JavasScripts and developers like you. :)


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 19:59   Reply with quote
Revolting Apprentice of RIN
User avatar
Joined: Sunday, 25 Sep 2011, 22:50
Posts: 6194
Location: 0100 0011 0101 0011 0101 0010 0100 1001 0100 1110 0101 0010 0101 0101
McAule wrote:
1. That refresh bar popping in is annoying ;) [Removed it myself]

Annoying? I like it. It gives a visual indicator when something is loading (otherwise you would just thing something doesn't work).
Anyway, next version will have an option to disable it :)

McAule wrote:
2. Possible? By pressing right-mouse to do some functions like search, mark, quote etc.?

Good ideas. Added to the OP.

shimon101 wrote:
With this script enabled, the "Post Reply" and "New Topic" buttons at the end of the page are missing and so is the page counter, can you maybe re-add those please? ::P

No, if you want them back, just disable infinite scrolling.

TheHacker66 wrote:
I would like to contribute, even if I don't have the time right now, I already improved your Steam Info BB code script if you remember (made a server-side version with native gallery and some other enhancements).

I already made some improvements, especially on the infinite loading part. Instead of loading the next page at the end of the current one (since it takes a lot), I changed the script so that it loads the next page in a variable when the current one has been loaded, and it only adds it into the current view when you're reaching the end of it.

Where can I upload the changes, do you have a repo or something else?

Cheers

PS. I obviously haven't thought about nasty behaviours like fast scrolling to the end before the next page has already been loaded, I'll look into it when I have time.

I wouldn't do that. I don't like loading a new page when the user doesn't want it and also unnecessary bandwidth. For me endless scrolling works perfectly currently. Maybe I'll change my mind.

mckay1988 wrote:
nice idea. currently testing :)

Can you add reverse posts feature?
i mean, to read the newest posts in the top of the posts :D

CS.RIN.RU already has this feature natively:
Image
However, I could make an option to "remember" your setting for other topics.
Added to the OP.
slimshady1366 wrote:
Thanks a ton Royalgamer06;

Just great, long live JavasScripts and developers like you. :)

Thank you!


Man, I should really start making the selection quote / multiquote feature already....

_________________
Image
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 20:36   Reply with quote
Beginner Без звания
User avatar
Joined: Friday, 07 Oct 2016, 06:42
Posts: 7
shimon101 wrote:
OMG, Infinite Scrolling!!!

Thanks :BRAVO: :good-post:

Edit - - -

With this script enabled, the "Post Reply" and "New Topic" buttons at the end of the page are missing and so is the page counter, can you maybe re-add those please? ::P


IKR! Thanks Royalgamer!


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 22:07   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Thursday, 19 Nov 2015, 03:05
Posts: 3447
Location: Isla de Muerta
Quote:
Annoying? I like it. It gives a visual indicator when something is loading (otherwise you would just thing something doesn't work).
Anyway, next version will have an option to disable it :)

I can see that it's doing something when people online refreshes constantly :) Or maybe make a smaller icon in the corner. But like I said it was easy for me to remove it, well not remove totally, but I changed the bar into a transparent blinking dot, less intrusive imo :)

Some more suggestions:
5. Comments hider/blocker? Block/hide comments from certain people? Basically whitelist/blacklist on people/comments. (I know something similar can be done in the UCP at Friends&Foes)
Who wants to see my annoying comments anyway :ROFL:

6. Colorize posts. Like quotes, mentions etc.?

Of course scripting is limited and a lot can be done by php coding on forum source, but it was worth a shot to ask :)

7. When posting to make some keyboard shortcuts for bb codes. For example: By pressing Ctrl+B, to make text in bold by adding (b)(/b) bb code tags. Etc.

_________________
Image
Now I am become Death, the destroyer of worlds...
Image


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 22:26   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Tuesday, 22 Sep 2015, 08:40
Posts: 1796
Location: Straya mate
Royalgamer06 wrote:
shimon101 wrote:
With this script enabled, the "Post Reply" and "New Topic" buttons at the end of the page are missing and so is the page counter, can you maybe re-add those please? ::P

No, if you want them back, just disable infinite scrolling.


Well that sucks...

_________________
*Possible* upcoming repacks from me:
Juiced 2
Toca RD2, Toca RD3
Driver: San Francisco
Need For Speed: Underground, Need For Speed: Underground 2, Need For Speed: Carbon (repack V2.0), Need For Speed: ProStreet (found a fix for 30fpscap, Continue button bug and messed up resolution, among other things)
Star Wars Episode 1: Racer, Star Wars: Republic Commando
Grand Theft Auto III, Grand Theft Auto: Vice City, Grand Theft Auto: San Andreas (this game is being a pain in the ass to mod lol)

My completed repacks: [[Please login to see this link.]]

P.S. I'll gladly accept requests for any game 2000-2010 (as long as it's not over 5gb)


Top
 Profile  

Post Post subject: Re: [Userscript] CS.RIN.RU Enhanced   
Posted: Friday, 16 Dec 2016, 23:15   Reply with quote
Revolting Apprentice of RIN
User avatar
Joined: Sunday, 25 Sep 2011, 22:50
Posts: 6194
Location: 0100 0011 0101 0011 0101 0010 0100 1001 0100 1110 0101 0010 0101 0101
McAule wrote:
Quote:
Annoying? I like it. It gives a visual indicator when something is loading (otherwise you would just thing something doesn't work).
Anyway, next version will have an option to disable it :)

I can see that it's doing something when people online refreshes constantly :) Or maybe make a smaller icon in the corner. But like I said it was easy for me to remove it, well not remove totally, but I changed the bar into a transparent blinking dot, less intrusive imo :)

Some more suggestions:
5. Comments hider/blocker? Block/hide comments from certain people? Basically whitelist/blacklist on people/comments. (I know something similar can be done in the UCP at Friends&Foes)
Who wants to see my annoying comments anyway :ROFL:

6. Colorize posts. Like quotes, mentions etc.?

Of course scripting is limited and a lot can be done by php coding on forum source, but it was worth a shot to ask :)

7. When posting to make some keyboard shortcuts for bb codes. For example: By pressing Ctrl+B, to make text in bold by adding (b)(/b) bb code tags. Etc.

5. Already exists! Just add someone as foe and their posts will be hidden for you.
6. You can add colors to posts yourself :S
7. Good suggestion and its certainly possible (fun fact, this is only possible with JS, not with PHP).

_________________
Image
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]
[[Please login to see this link.]]


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 3 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group