Advertisement:

Author Topic: Need a little help with some custom scripting for Chevereto plugin.  (Read 5594 times)

Offline Jailer

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
    • Bored Guy Blog
I have a Chevereto pic upload site integrated with my forum. It works as expected except for one thing. I can't figure out how to get the upload button to show up for a private message.

See my previous reply on another thread on how to insert the code to get it working for an idea of what I'm talking about. This inserts a button below the quick reply and reply boxes and looks like the screenshot below. 



Another option is adding it to the editor as seen below. Either way would work but I can't figure out how to do it.



Where should I be adding the code to make the either button show up for a PM?


Offline Dzonny

  • Lead Localizer
  • SMF Super Hero
  • *
  • Posts: 11,617
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: Need a little help with some custom scripting for Chevereto plugin.
« Reply #1 on: October 15, 2017, 11:35:11 AM »
File that should be edited in order to add button as on your first image would be Themes/default/PersonalMessage.template.php. Find a comment:
Code: [Select]
// Send, Preview, spellcheck buttons.And add code somewhere under that. That should do the trick although I haven't tried.

Offline Jailer

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
    • Bored Guy Blog
Re: Need a little help with some custom scripting for Chevereto plugin.
« Reply #2 on: October 15, 2017, 12:35:41 PM »
That worked, thanks Dzonny!