- Edited
Hi,
irmmr , I use your extension with Persian language
on the PC I have a problem with avatars, how can I fix this problem?
Hi,
irmmr , I use your extension with Persian language
on the PC I have a problem with avatars, how can I fix this problem?
vahidbanei Hi, sorry for the late reply, please update the ext and test it again!
composer require irmmr/flarum-ext-rtl:dev-main
php flarum cache:clear
Hello
Hope you are all well
When I enable the alternative voting layout feature in posts, I get an error formatting the discussions, so that some containers appear on top of each other:
The ones that appear on the left, I think they are supposed to appear on the right below the user’s picture.
In addition, for some programming reason, the alternative voting layout cannot be used in posts, in other words, they are not clickable.
Note that the problem also appears on the home page if the feature is selected to appear on the All Discussions page.
Thanks in advance
Hi alirezam , how are you?
I got some help from a specialist here who helped me fix this and other related issues in the right to left extention.
Here are some codes that if you add them to your custom CSS from your forum it will improve:
/* Remove unnecessary spacing for post stream (RTL v0.1.4, fixed in main) */
@media @tablet-up {
.DiscussionPage-stream {
margin-left: unset !important;
margin-right: unset !important;
}
}
Please let me know the result.
hi @Medelinor thanks a lot
my problem is solved.
thanks
Updated to Flarum 1.8.8
composer require irmmr/flarum-ext-rtl:dev-main
Medelinor Hello there,
If what you mean by the alternative voting layout feature in posts is fof/gamification
, I have also added this plugin to the list of RTL plugins. I hope there won't be any issues. Otherwise, I would appreciate it if you could explain more.
Also, I apologize for responding so late. I hope you are doing well.
Hi irmmr I hope you are well
Please note that I use translation.
Exactly what I meant, and I was also wondering if the alternate voting layout appears to the right of the profile picture on the discussion page, or in flat dimensions below the picture. Or the left side of the replies:
Also note that enabling the alternate voting layout in the discussion list does not generally show the arrow or icon:
Notice in the last image on the left that when the alternative voting layout is enabled, the number of comments and number of views change places inconveniently.
I have enabled both of these options on my forum, and will leave them enabled so you can have a closer look at the topic.
I apologize for the delay in responding for reasons beyond my control
Thank you very much
Hello, thank you.
The issues you mentioned are not related to this extension at all. For example, you can deactivate theRTL support
. After deactivating it, you will notice that the same problems you mentioned still persist with LTR
as well. In other words, the Flarum discussion views
and FoF gamification
extensions create some UI issues together.
Regarding the repositioning of the up/down voting box, these aspects have not been manipulated by the RTL support
; they have only been prepared for right-to-left direction.
If you disable the extension and take a look at Flarum with a LTR view, you will still see the same errors.
In any case, if you're interested, you can use the additional CSS below to fix some bugs, but I don't recommend it because the errors exist in a basic form:
.item-discussion-views {
margin-top: -21px;
}
@media @tablet-up {
.Post-votes.alternateLayout {
top: -60px;
right: -70px !important;
}
}
If you still think I'm mistaken or have overlooked something, let me know. If the box isn't positioned correctly, change the numbers.
Good luck!
composer require irmmr/flarum-ext-rtl
The additional CSS you added for rtl direction may cause issues for your forum.
Soon, the Added in 0.1.8 version./*rtl:ignore*/
directive and other related commands will be added to the extension.
Hi @irmmr Hope you are doing well
Can I know if this part of the forum has anything to do with the RTL extension?
I mean, there are some things that could be improved, and if it is related to the extension, I would be happy to share them with you to work on.
It's about the badges section, and here are some screenshots showing some of the places I go:
And:
Note that in the first image some of the words need to be moved to the right, and in the second image, a space needs to be added in the green vertical line.
Thanks in advance