#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Threaded layout "Ad...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] Threaded layout "Add Topic" editor related question

    Last Post
RSS

Findbmx
Posts: 14
 Findbmx
Topic starter
September 8, 2021 3:53 pm
(@findbmx)
Active Member
Joined: 9 months ago

Hi,

On "Threaded layout" there is a button reads "Add Topic". when clicked, an editor appears which seems different compare to other wpforo editors.

- It's language is primary set to LTR while other editors are relative to wordpress language (I'm running an RTL site). and since it's an iframe i cant change the direction of the editor using css and users need to change the direction using the "¶" button all the time.

- I tried adding new buttons to Tinymce through function.php, which worked on any other wpforo editors but this one. (link)

Forum Page URL
https://4-player.ir/community/
wpForo Version
1.9.9
WordPress Version
5.8
PHP Version
7.4
Topic Tags
RTL editor tinymce threaded layout
3 Replies
Chris
Posts: 1368
 Chris
Admin
September 9, 2021 2:54 pm
(@chris)
Support Team
Joined: 10 months ago

Hi @findbmx,

The issue would be solved at the new update release, but we have a code which you can use to make the changes before the new update release.

Before inserting the code below, Please remove all changes you have done to solve the issue and only after that do the following`

1. Insert the code below in your active theme function.php file.

add_filter('wpforo_editor_settings', function($settings){
	$settings['tinymce']['directionality'] = 'rtl';
	$settings['tinymce']['rtl_ui']         = true;
	$settings['tinymce']['toolbar1']      .= ',ltr';
	$settings['plugins']                   = 'hr,lists,textcolor,paste,wpautoresize,fullscreen,directionality';
 
	return $settings;
 });

Check the screenshot below:

2. Go to \wp-content\plugins\wpforo\wpf-assets\js in frontend.js files and insert the code below, under this Code custom_elements: wpforo.editor_settings.tinymce.custom_elements,

directionality:"rtl",
            rtl_ui:true,

Check the screenshot below:

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
Findbmx
Posts: 14
 Findbmx
Topic starter
September 9, 2021 6:32 pm
(@findbmx)
Active Member
Joined: 9 months ago

Thank You Chris,

I gave wpforo a 5star on wordpress forum. link

At first when I edited those files as you said, nothing happened, so I guessed maybe it's a plugin conflict. I deactivated Tinymce Advanced, and it worked. then I reactivated the plugin to see if the problem will repeat, but the problem had been already solved. So I'm not sure if it was a conflict or sth.

Reply
Chris liked
1 Reply
Chris
 Chris
Admin
(@chris)
Joined: 10 months ago

Support Team
Posts: 1368
September 10, 2021 9:53 am
Reply toFindbmxFindbmx

@findbmx,

That was not a conflict, it was from the cache.

And Thank you for taking the time to leave us a 5 star rating - it's much appreciated!

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Topic, text toolboxes not showing
    2 weeks ago
  • Threaded layout settings
    2 months ago
  • Post Toolbar visual issues
    3 months ago
  • Tables?
    4 months ago
  • Problem with tinymce in wp-foro
    7 months ago
Topic Tags:  RTL (3), editor (32), tinymce (15), threaded layout (35),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • How to prevent forum users from PASTING / posting multiple colors and font sizes...??

    By Noved, 13 hours ago

  • purchase of add on and it says payment pending

    By ReddBeard, 1 day ago

  • Costume text and image on every forum

    By Vijiki, 2 days ago

  • Forum topics and pages not indexing

    By Vijiki, 2 days ago

  • Can't send confirmation email from topics when suscribe for new topic

    By gilbau, 2 days ago

  • Can't add shortcodes to wpForo

    By avorai, 2 days ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • spam29
  • phrases28
  • forum accesses28
View all tags (2163)

Recent Posts

  • RE: Show Likers with their avatar

    Have now found the correct code 😀 are these 3 lines ...

    By Tutrix, 7 hours ago

  • RE: How to prevent forum users from PASTING / posting multiple colors and font sizes...??

    @noved add this to custom css #wpforo #wpforo-wrap ...

    By Tutrix, 10 hours ago

  • RE: Costume text and image on every forum

    @vijiki There is no wpForo2 for the moment. Also forget...

    By dimalifragis, 23 hours ago

  • RE: Can't add shortcodes to wpForo

    @avorai So, SAC.PHP is crashing and it is wpForo the ca...

    By dimalifragis, 23 hours ago

  • RE: purchase of add on and it says payment pending

    Hi @reddbeard, Please move this topic to gVectors Sup...

    By Robert, 1 day ago

  • RE: Can't send confirmation email from topics when suscribe for new topic

    @gilbau, wpForo uses WordPress wp_mail() function. wp...

    By Robert, 2 days ago

  • RE: Forum topics and pages not indexing

    So all is ok from wpForo site. I have nothing to add he...

    By Robert, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,757 Topics
49.5 K Posts
6 Online
43.7 K Members

Latest Post: Show Likers with their avatar Our newest member: claudettecrotea Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation