News:

Wondering if this will always be free?  See why free is better.

Main Menu

Chevereto /Pugin

Started by ModelBoatMayhem, September 22, 2017, 02:16:38 PM

Previous topic - Next topic

ModelBoatMayhem

 
Has anyone installed the Chevereto /Pugin yet?
https://chevereto.com/docs/pup

It's not Packaged and I have no idea how to implement it!
.... something about adding  custom HTML

.... Help

From Chevereto:

For SMF and any other CMS, you must refer to the documentation of each target system in how to add custom HTML.
If you don't want to read then ask SMF community  directly because you want to install the plugin in that system so ask the people who run that system.

That's my firm opinion.... but what do I know?!

Jailer

Is this Mayhem? I could re post the instructions here as I'm sure they won't get deleted although a forum mod may want to move it to off topic/mod section instead of support.

ModelBoatMayhem


Yep, it's me, Mayhem!

Not sure why 'Chevereto ' is being such an arse about this, not all of use are 'coding kings'!   >:(


Anyway,  Yes please, please re-post your instruction here.

Thanks,
MBM
That's my firm opinion.... but what do I know?!

Jailer

I see your site uses the core theme. I have not been able to get the plugin to work on the quick reply box although it does work on the regular reply box. I'll post the instructions in a bit, have to run an errand right now.

Hopefully someone smarter than me will see this thread and help out with the quick reply/Core issue.

ModelBoatMayhem


Not too worried about 'Quick Reply'.... no one ever uses it!    ;)
That's my firm opinion.... but what do I know?!

Jailer

Source the code from your chevereto site at /plugin and select the option you want for your plugin, there's many to choose from.

You'll have to edit a few files manually to get it to work. Of course replace the "yoursiteurl" in the code below with your actual URL from your chevereto installation that you get from the /plugin page.

Edit ./Themes/default/Post.template.php

Find:
// Show the actual posting area...

Replace:
echo '<script async id="chevereto-pup-src" src="//yoursiteurl/sdk/pup.js" data-url="https://yoursiteurl/upload"></script>';

// Show the actual posting area...


Edit ./Themes/default/Display.template.php

Find:
<a id="quickreply"></a>

Replace:
<a id="quickreply"></a>
<script async id="chevereto-pup-src" src="//yoursiteurl/sdk/pup.js" data-url="https://yoursiteurl/upload"></script>


If you have any other themes installed complete the second edit listed to that theme's Display.template.php file for each theme including the Core theme that you are using.

ModelBoatMayhem

That's my firm opinion.... but what do I know?!

Jailer


lesmond

I have made a mod for the chevereto Upload plugin, but just for personal use, if anyone wants a copy shoot me a pm :)

You will have you change the URL in the package to your own site.


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

Biology Forums


lesmond

Quote from: Study Force on October 02, 2017, 01:06:04 AM
What does it do exactly?
Basically adds the code that  Jailer posted above to a package, so it can be installed to your forum without having to add it manually.


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

ModelBoatMayhem


Works great Lesmond!
How do we get it for our own sites?  :)
That's my firm opinion.... but what do I know?!

lesmond

Quote from: ModelBoatMayhem on October 02, 2017, 10:49:46 AM

Works great Lesmond!
How do we get it for our own sites?  :)

It only works with the paid version of Chevereto.  If you have that I will send you a copy.


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

ModelBoatMayhem

That's my firm opinion.... but what do I know?!

Biology Forums

Quote from: lesmond on October 02, 2017, 06:31:32 AM
Quote from: Study Force on October 02, 2017, 01:06:04 AM
What does it do exactly?
Basically adds the code that  Jailer posted above to a package, so it can be installed to your forum without having to add it manually.

True, but what does Chevereto do?

ModelBoatMayhem

That's my firm opinion.... but what do I know?!

lesmond



Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

Biology Forums

I understand that, but how does it work with SMF?

Jailer

Quote from: Study Force on October 03, 2017, 05:06:51 PM
I understand that, but how does it work with SMF?

It integrates a pic upload button that is tied to your Chevereto site so members can easily upload pictures inline to a post.

lesmond

Quote from: Study Force on October 03, 2017, 05:06:51 PM
I understand that, but how does it work with SMF?
This mod integrates image hosting with SMF. It makes image upload very simple.
All images are hosted on remote image hosting service, not on your forum.
When user uploads image, script creates a thumbnail for image and appends bbcode to post user is typing.
User doesn't need to know anything about bbcode. And this mod is very simple to install.

so something like this..


Free Forum Image Hosting


The only person who got all his work done by Friday was Robinson Crusoe

Advertisement: