[Pro] Easy CMS

Thomas Kimmich wrote:

While I added the first mp3 simply by uploading via TinyMCE’s (by accident???) it failed in all following tries I did. It finally broke with an error 500.

You’ll need anyway a FileManager for TinyMCE which can be a mess cause clients host need some specific allowance to run them (CHMOD 755, 757 or even 777).

I’ve never had anything but trouble when trying to upload video via a
Rich Text Editor like TinyMCE. When possible I put the responsibility
for video uploads on the CMS instead of relying on 3rd Party plugins,
though the last time I checked this doesn’t seem possible with WebYep.

I wish you luck in getting it to work the way you want.

Todd


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ve never had anything but trouble when trying to upload video via a Rich Text Editor like TinyMCE. When possible I put the responsibility for video uploads on the CMS instead of relying on 3rd Party plugins, though the last time I checked this doesn’t seem possible with WebYep.

Agree - and yes the point is, that WY has no “Media Upload” Action.

I am not sure if TinyMCE official MCFileManager does the job cause I never had a copy of it (too expensive yet). But thea are officially supported while my 4th party plugins seem to fail - arrgnnn.

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

… aaargggnnn.

This is killin’ me. After a WE struggling I thought to give it a go this morning on my office machine and … ???

It worked like a treat. No upload problems, simple and easy for whatever reason.

To answer your “multiple” question:

Yes - it is possible to have more than one or short:

Each mp3 wrapped in an tag:

will be displayed as single player.

One problem with a lot of file/image manager (at least those that I tested) might be, that they require flash for the upload functionality. So this is one of a couple reason for not recommend them officially.

So I double herby my question:

Has anybody out there ever had the MCFileManager in use?

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Thomas,

I have not used the MC File manager but after looking at the documentation it appears that it would provide a fairly simple way to upload files.

My end goal is to provide the user a super easy and intuitive way to attach different file types and play or view them on the web. I would love to use a dedicated player within WebYep for playback but allow the user to only have to do a simple upload.

In light of some of the difficulties you have run into, what do you think regarding my original question of how to disabling the force download feature built into WebYep for attached files. If this was possible WebYep would simply get out of the way and let the browser use its given plugin to manage a given file type. Not nearly as slick as a dedicated player but it may be a solution for now.

Regards, Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

well Dave,

if I’d know what I’d like to know.

Basically your attempt would require a further development of the WebYep System which is currently not predictable (also to be seen as answer on your attempt in OBDEV forum - I’d been there and I think you won’t get an answer).

So what to say?

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Thomas,

Seems unfortunate as this would unlock a lot of potential. Tried a direct rout to WebYep and all they said was . . .

“Unfortunately there is no configuration option to change this behavior”

Thank you for your input. Let me know if you get your method to work. We will do some further testing and I will do the same if I figure something out.

Kind Regards, Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Dave,
I’ve been following this thread on and off for the last week or so and had some time today to play around with WebYep to see if anything could be done to get these files not to automatically download but play in the browser. I can think of a couple of ways to essentially hack some of the WebYep system files to do this but it isn’t going to be particularly pleasant. You’ve been warned. :slight_smile:

If you look at the following page I’ve added four webyep attachment fields to the page;
http://www.freewayactions.com/test/cms/-webyep/

The first three contain mp3 files, two of which I’ve set to play in the browser using audiojs, and the final file is the hacked WYAttachmentElement.php file.

Here is how the system currently works;

  1. Add the standard webyep init code to your page before the doctype as usual
  2. Add the standard webyep_attachment codes to your page for each attached file
  3. For files that you don’t want to download but want to play in the browser (at the moment MP3s are the only supported file types) add the label ‘[ndl]’ into the field name.

For example the following field will try and play any mp3 files uploaded using this element;

<?php webyep_attachment("file1[ndl]", false); ?>
  1. Locate the file webyep-system > program > elements > WYAttachmentElement.php on your server and rename it to WYAttachmentElement-ORIGINAL.php
  2. Upload the hacked WYAttachmentElement.php file you downloaded from the example page above to this same location
  3. FTP the audiojs library to the server and add the required code in the of the HTML page. Check the source code of that example page.

Now if it has all gone well you should have the ability to upload mp3 files and have them play in the browser. Simply leave the [ndl] label off of the field name and the file will download as normal.

You should understand that this is a total hack at the moment. In an ideal world something like this should be offered as a seamless extension to WebYep rather than hacking around with core files. Sadly at the moment I don’t know how WebYep ticks internally to do anything other than patch these things together. There’s a learning opportunity here for me I guess!

When you’ve finished playing you should remove the file we uploaded in step 5, rename the file in step 4 back to WYAttachmentElement.php and remove the [ndl] labels in any of the attachment fields. Do this and you should be back to your regular WebYep install.
Regards,
Tim.

On 18 Jul 2012, at 14:58, TeamSDA wrote:

Seems unfortunate as this would unlock a lot of potential. Tried a direct rout to WebYep and all they said was . . .

“Unfortunately there is no configuration option to change this behavior”


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim,

Thank you for looking into all this and WebYep in particular. I appreciate your suggestion and will try to make some time to examine this.

Regards, Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi All
sorry its taken a while to come back… I have been flat out with work and I need to feed the family first… :o)

First off Tim thats a blooming clever idea. I have been hacking the core files for some time to get more out of the system, I even have a floating menu system for the long text item which like your method needs for some of the core files adjusted but its the only method I know of adding new functionality to specific needs. Unfortunately at present WebYep doesn’t have a plugin system( like Freeways actions) apart from the basic OPT folder. So new functions can only be added my adjusting whats already there… it would be nice if it did so other developers could create specific plugins but at the moment I don’t think there any plans to do that from OBD well not that I know of. So adjusting some of the core is the only way I can think of.

As far as the rich text item goes then yes it worked,
what I had to do was add the file types I wanted the image manager to recognise and that included mp3 files.
Then once it was uploaded I could use the quicktime file insertion as the method of bringing in the file within the rich text area and this allowed me to have a visable controller for play and audio volume. TinyMCE also allows you upload and insert html5 audio as well.

The downside is its not straightforward to do I had to adjust the image manger plugin and I am using quicktime as the player and that can’t guaranteed to be installed on pc’s, so thats not ideal… so Tims method looks a far better route. Any way I will test yours out Tim if you don’t mind and see how it works.

All the bests Mx


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Test away Max and ask if you have any questions. The code is pretty easy to follow but does need some work to make it useable with other filetypes. I’d be interested in hearing your views once you’ve had a chance to look at the modified attachment element.

In terms of a solution to Dave’s initial request (uploading and playing MP3s) I can think of three ways to achieve the goal. Unfortunately each is more complex than the last. :frowning:

  1. Hack the WebYep core system files to add the functionality you need. It is dirty but it will work.

  2. Create a new WebYep element type - possibly based on the existing image or attachment element. This would introduce a new element type so you could add <?php webyep_audio("audio-file", false); ?> into your page and have WebYep upload and display the audio content for the item

  3. Create a dedicated TinyMCE plug-in that would allow users to add audio content directly into a rich text area. I’m quite surprised I can’t find one of these as TinyMCE is used in WordPress as well as other CMS systems and I would have thought that the need would have arisen before.

Assuming I could figure out how TinyMCE plug-ins worked option 3 here would be the most seamless integration option as you would simply need to install the plug-in.
Regards,
Tim.

On 18 Jul 2012, at 20:43, max wrote:

Any way I will test yours out Tim if you don’t mind and see how it works.


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com
FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

These are great suggestions and thank you for pushing the boundaries of WebYep.

If by any chance the Developers of WebYep are following this thread, I second the request that WebYep would include in its architecture the means by which developers could integrate plugins that would extend it’s capabilities.

Regards, Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Do any other CMS systems have that capability?

Thanks,
Jacob

On Jul 20, 2012, at 1:30 PM, TeamSDA wrote:

These are great suggestions and thank you for pushing the boundaries of WebYep.

If by any chance the Developers of WebYep are following this thread, I second the request that WebYep would include in its architecture the means by which developers could integrate plugins that would extend it’s capabilities.

Regards, Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

… you got the popcorn ready?

http://kimmich-dm.de/wordpress/?p=283

As sidestep:

I had a copy of MacKeeper installed (for whatever mad reason) which I suspect to block the upload-process (the final host-callback) as I wrote in one of my previous post.

After removing it everything worked as expected.

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Thomas,

I not only had popcorn but also licorice and a soda for the premiere of your screencast. NICE . . . and very intriguing.

We have plans to bring WebYep in and do some formal in house testing to see if it is going to fill a need we have. I like how it just unlocks pages and allows for selective editing without an exhaustive back end that users would need to learn.

The boundaries that you and Max are pushing with this tool shed a lot of light on it’s potential and just how it can complement the Freeway workflow.

Many thanks for your thoughtful input,

Dave


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options