#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...
How to add the "ima...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Solved] How to add the "image" button to mce toolbar editor?

Page 2 / 2 Prev
    Last Post
RSS

Rajraj
Posts: 10
 Rajraj
May 13, 2019 10:43 am
(@rajraj)
Active Member
Joined: 3 years ago

What did your  edit the functions "function topic_form($forumid)" and  "function reply_form($args)" on plugin file class-template.php. Let me Know... I'm also facing same issues

moisb
Posts: 10
 moisb
Topic starter
May 13, 2019 12:02 pm
(@moisb)
Active Member
Joined: 4 years ago

hi @rajraj if you have the latest version of WPforo, just add the following filter to your functions.php (in your theme). No need to edit files in the plugin folder. Realize that you can remove and add buttons, and even TinyMCE plugins

//filter MCE buttons for WPFORO

add_filter( 'wpforo_editor_settings', 'editarbotoes_wpforoeditor');
function editarbotoes_wpforoeditor( $buttons ) {

$buttons['tinymce']['toolbar1'] = 'bold,italic,underline,strikethrough,forecolor,bullist,numlist,hr,alignleft,aligncenter,alignright,link,unlink,blockquote,emoticons,image,media';

$buttons['tinymce']['plugins'] = 'hr,lists,media,textcolor,wpemoji,wplink,image';

return $buttons;
}

Rajraj and VereK liked
5 Replies
Rajraj
 Rajraj
(@rajraj)
Joined: 3 years ago

Active Member
Posts: 10
May 14, 2019 5:36 am
Reply tomoisbmoisb

Hi moisb,

First of all i would like to say thank for Reply.. Your code working perfectly, but i can't able to browser that file. That option is not showing in Popup. Now, What I want to do for that Option. Pls check my attachment, then u come to know what  issues i facing

wpforo_image_button.png
moisb
 moisb
(@moisb)
Joined: 4 years ago

Active Member
Posts: 10
May 14, 2019 12:17 pm
Reply toRajrajRajraj
moisb

for this you will need a bit more code and customization:

https://www.youtube.com/watch?v=XIOVglUG268

https://stackoverflow.com/questions/35575786/tinymce-insert-edit-image-source-button

I suggest you hiring a developer 😉 

Rajraj
 Rajraj
(@rajraj)
Joined: 3 years ago

Active Member
Posts: 10
May 15, 2019 5:43 am
Reply tomoisbmoisb
Rajraj
moisb

Hi Moisb,

Thank you for suggestion. I'm also developer only i'm a beginner of this WordPress. i seen your link and other solution also but i'm little confusion where i want to paste that code that's why i ask that question. Please help me to solve that issues.

This post was modified 3 years ago 2 times by Rajraj
VereK
 VereK
Beta Tester
(@verek)
Joined: 4 years ago

Reputable Member
Posts: 349
May 17, 2019 1:27 am
Reply toRajrajRajraj
moisb
Rajraj
moisb

He means a direct edit of /wp-content/themes/youractivethemename/functions.php. (Much caution required).

Or you can use a plugin like Code Snippets ( https://wordpress.org/plugins/code-snippets/ ) which is a bit safer and convenient.

Rajraj
 Rajraj
(@rajraj)
Joined: 3 years ago

Active Member
Posts: 10
May 17, 2019 4:37 am
Reply toVereKVereK
Rajraj
moisb
Rajraj
moisb

Thank You for your reply verek.

Page 2 / 2 Prev
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Reply always loading
    7 days ago
  • Topic, text toolboxes not showing
    2 months ago
  • Troubles in Firefox
    9 months ago
  • Threaded layout "Add Topic" editor related question
    10 months ago
  • Personalizing the WPforo Editor Area
    1 year ago
Topic Tags:  editor (33),

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

  • Font Awesome Icons

    By seancallahan, 20 hours ago

  • Notification bell order

    By teepeenomad, 2 days ago

  • Not İndexing

    By selinahub, 3 days ago

  • H1 to H6 title tags : remove

    By venus, 3 days ago

  • Can't access forum dashboard 504 gateway time-out

    By Joselito, 3 days ago

  • Sharing with Facebook and Twitter is kind of broken

    By seancallahan, 4 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • editor33
  • menu33
  • shortcode32
  • spam31
  • forum accesses30
  • widget29
View all tags (2188)

Recent Posts

  • Font Awesome Icons

    To start, I do not have any caching setup on the site o...

    By seancallahan, 20 hours ago

  • RE: Is there a way to add safety features?

    @chris Is there a way for me to install 2.0 on my site ...

    By seancallahan, 22 hours ago

  • RE:

    By Anonymous, 53 years ago

  • RE: Notification bell order

    @tutrix Brilliant, thank you for this! Although, it ...

    By teepeenomad, 1 day ago

  • RE: wpForo 2.0.0.1 beta version is released for beta testers!

    Added, thank you.

    By Robert, 2 days ago

  • RE: Post title length error.

    Hi @hasanaytac, Please provide your forum URL.

    By Chris, 2 days ago

  • RE: Health.gd Health website

    Nice forum, still you have an issue / crash: Uncaught...

    By dimalifragis, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,926 Topics
50.2 K Posts
11 Online
47.7 K Members

Latest Post: Font Awesome Icons Our newest member: Миа: Когда Я Говорю: «Стоп! 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