Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Better, than the test site, blander than the past.

agris

Arcane
Patron
Joined
Apr 16, 2004
Messages
6,927
Well to be honest, donations were always in support of something separate from the forums.

Except, now that I write this, I'm remembering that I did donate to the forum upgrade drive too
rating_rage.gif
 

DarkUnderlord

Professional Throne Sitter
Staff Member
Joined
Jun 18, 2002
Messages
28,547

Twiglard

Poland Stronk
Patron
Staff Member
Joined
Aug 6, 2014
Messages
7,509
Location
Poland
Strap Yourselves In Codex Year of the Donut
Are the ratings sorted properly now?

Also, any insufficient storage up to an hour ago were caused by me editing the addon, no need to report them to Talu.
 

Twiglard

Poland Stronk
Patron
Staff Member
Joined
Aug 6, 2014
Messages
7,509
Location
Poland
Strap Yourselves In Codex Year of the Donut
For future reference.
Diff:
--- Listener.php.old    2022-08-06 18:39:14.693337566 +0200
+++ Listener.php        2022-08-06 20:14:18.912356196 +0200
@@ -443,7 +443,7 @@
                 {
                     $reactionCategories = new ArrayCollection([]);
                 }
-                else if ($sort)
+                else if (true)
                 {
                     $sortedRatingsCounts = [];
                     /** @var Entity|IRatableEntity $entity */
@@ -471,6 +471,20 @@
                         }
                     }

+                    $list = [];
+                    foreach ($reactionCategories as $id => $category)
+                        foreach ($category->Reactions as $reaction)
+                            $list[$reaction->reaction_id] = $reaction;
+                    \usort($list, function($a, $b) use ($sortedRatingsCounts) {
+                        $B = $sortedRatingsCounts[$b->reaction_id] ?? 0;
+                        $A = $sortedRatingsCounts[$a->reaction_id] ?? 0;
+                        $ret = $B - $A;
+                        if ($ret == 0)
+                            $ret = $a->reaction_id - $b->reaction_id;
+                        return $ret;
+                    });
+                    $arguments['reactionsWithoutCategories'] = $list;
+
                     $sortedRatings = [];
                     if ($sortedRatingsCounts)
                     {

Template sv_contentratings_macros:
XML:
<xf:foreach loop="$displayReactionCategories" key="$reactionCategoryId" value="$reactionCategory">
        <xf:foreach loop="$reactionCategory.Reactions" key="$reactionId" value="$reaction">
to:
XML:
<xf:foreach loop="$reactionsWithoutCategories" key="$reactionId" value="$reaction">
 
Last edited:

Saduj

Arcane
Joined
Aug 26, 2012
Messages
2,584
I'm unable to see ratings. I thought it was an intentional reaction to the thread started today complaining about "Taking forum features unannounced".

:happytrollboy:
 

Syl

Cipher
Joined
Nov 3, 2011
Messages
751
I was about to ask if I'm the only one not seeing the ratings anymore, I see it's fixed. :)

While I'm at it, could it be possible to move the Rate button on the left side, to the right of the ratings box? That would be more convenient, rather than have them so far away on the screen.
Same for the 'Jump to new' button at the top.
 

Abu Antar

Turn-based Poster
Patron
Joined
Jan 19, 2014
Messages
14,186
Enjoy the Revolution! Another revolution around the sun that is. Shadorwun: Hong Kong Divinity: Original Sin 2 Pillars of Eternity 2: Deadfire Pathfinder: Wrath I'm very into cock and ball torture I helped put crap in Monomyth
For a short while, the watched thread list was changed to function like the older version of the site. This is no longer the case. What happened?

Thanks for the great job on the site.
 

Modron

Arcane
Joined
May 5, 2012
Messages
11,113
For a short while, the watched thread list was changed to function like the older version of the site. This is no longer the case. What happened?
Short answer: probably Jenkem, long answer: it's still there you just have to setup What's New > New Posts, https://rpgcodex.net/forums/whats-new/posts/, to default to that behavior by clicking the filter menu on the right and click show watched and unread boxes then saving that as default behavior then whenever you go to new posts you'll have that back.
 

Blutwurstritter

Scholar
Joined
Sep 18, 2021
Messages
1,068
Location
Germany
Is there a way to disable auto-hyperlinking when pasting a link into the editor? This occurs when I type bbcode like this
Code:
[img]link-to-image[/img]
when posting screenshots. The text link-to-image is directly converted to a hyperlink upon paste while editing, which is a annoying since one miss-click causes a redirect.
 

Twiglard

Poland Stronk
Patron
Staff Member
Joined
Aug 6, 2014
Messages
7,509
Location
Poland
Strap Yourselves In Codex Year of the Donut
For a short while, the watched thread list was changed to function like the older version of the site. This is no longer the case. What happened?
It malfunctions for people who watch forums themselves, not just individual threads. You can still click the dropdown of 'Watched' and go to 'Unread watched threads' to access it.
 

Abu Antar

Turn-based Poster
Patron
Joined
Jan 19, 2014
Messages
14,186
Enjoy the Revolution! Another revolution around the sun that is. Shadorwun: Hong Kong Divinity: Original Sin 2 Pillars of Eternity 2: Deadfire Pathfinder: Wrath I'm very into cock and ball torture I helped put crap in Monomyth
For a short while, the watched thread list was changed to function like the older version of the site. This is no longer the case. What happened?
It malfunctions for people who watch forums themselves, not just individual threads. You can still click the dropdown of 'Watched' and go to 'Unread watched threads' to access it.
Yes, I saw that and it functions like I want it to.
 

Modron

Arcane
Joined
May 5, 2012
Messages
11,113
Works fine for me and I watch the giftstravaganza forum granted that's not a high traffic subforum.
 

Semiurge

Cipher
Joined
Apr 11, 2020
Messages
7,674
Location
Asp Hole
Twiglard is it possible to add a counter of the thread's remaining posts in the following pages? I recall the old site had that.
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom