RecentTopics icon indicating copy to clipboard operation
RecentTopics copied to clipboard

Recent Topics not always on the right

Open Herve-be opened this issue 6 years ago • 6 comments

Expected Behavior

Recent topics on the right by default for everybody

Actual Behavior

Recent topics by default on top Of course a member may change in his profile but I doubt whether every members knows that the possibility exists.

Steps to Reproduce the Problem

1.Nothing to do : recent Topics is always on top 1.only the members who have changed their profile get it on the right. 1.

Specifications

  • phpbb version : 3.3.0
  • recenttopics version : 2.2.9

Herve-be avatar Apr 02 '20 14:04 Herve-be

hi, There's 2 ways:

  1. go in acp, set position to "right", then click the "reset" button.
  2. by sql: update phpbb_users set user_rt_location = (SELECT config_value FROM PHPBB_CONFIG where config_name = 'rt_location');

then disable permission to set sides. Screen Shot 2020-04-02 at 6 44 26 pm

avandenberghe avatar Apr 02 '20 16:04 avandenberghe

Thank you for your reply, I want to let each member choose the position. I also want that the DEFAULT position is right.

In the ACP the indicated position is right. If I go to the forum without being connected Recent Topics is at right , ok.

RecentTopicsRight

But when I create a new member and log with its Userid the position is on top : that is the issue.

RecentTopicsTop

Herve-be avatar Apr 03 '20 07:04 Herve-be

@Herve-be @Sajaki t’invite (https://github.com/Sajaki/RecentTopics/issues/124#issuecomment-607962975) dans la première action de :

  • te rendre dans le PCA, puis de définir l’emplacement sur la droite, enfin de cliquer sur le bouton « Réinitialiser les paramètres utilisateur ».

Galixte avatar Apr 09 '20 07:04 Galixte

J'ai bien compris, mais en faisant cela je vais remettre RT (Recent Topics) à droite même pour les utilisateurs qui ont choisi de le mettre au-dessus non ? Ce qui est bizarre : dans le PCA RT est défini à droite, mais quand je crée un nouvel utilisateur RT est au dessus : je ne peux quand même pas réinitialiser les paramètres pour tout le monde chaque fois qu'un nouveau membre s'inscrit ! Il semble que la position définie dans le PCA ne sert qu'au bouton Réinitialiser; il n'en est pas tenu compte lors de la création d'un membre.

Herve-be avatar Apr 09 '20 08:04 Herve-be

@Herve-be OK.

@Sajaki:

  • in ACP,
  • “EXTENSIONS” tab,
  • “Recent Topics Configuration” page,
  • “UCP overridable Settings” options category,
  • the next option:
Display location:
Select location to display recent topics.

should permit:

  • to define the default setting when a new user is registered on the board.
  • to reset the user settings.

According to @Herve-be feedback, this behaviour doesn’t work as it should be, currently it permits only to reset the default settings for existing users.

Moreover, “UCP overridable Settings” category should be renamed as “UCP default & overridable Settings”.

Regards.

Galixte avatar Apr 09 '20 08:04 Galixte

In other words, the defined position in the ACP is not the default value as it should, it is only used when resetting the value for all members.

Herve-be avatar Apr 09 '20 08:04 Herve-be