Notifications
Clear all

[Solved] Integrate Chevereto Gallery Uploader with WPForo

2 Posts
1 Users
1 Reactions
2,096 Views
VereK
Posts: 522
Topic starter
(@verek)
Honorable Member
Joined: 7 years ago

Chevereto photo hosting system has a js uploader script that can integrate with a variety of commenting and forum systems.  I have managed to get the uploader button to appear on the editor toolbar and it does open and upload and image to the gallery, the only thing it does not do is to auto post the desired link into the editor text box. I would appreciate it if somebody could point me the right direction to get it integrated with the WPforo editor.

If it helps any here is the bbPress code used in the script:

bbpress: {
settings: {
autoInsert: 'direct-links',
html: '<input %x type="button" class="ed_button button button-small" aria-label="%text" value="%text">',
sibling: '#qt_bbp_reply_content_img',
siblingPos: 'before'
},
check: 'bbpEngagementJS',
1 Reply
VereK
Posts: 522
Topic starter
(@verek)
Honorable Member
Joined: 7 years ago

Sort of solved. The auto insert function will not work with Tinymce in WYSIWYG mode, the solution is to turn off auto insert and to simply copy/paste the retrieved links into the editor.