Forum Replies Created

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter williepabon

    (@williepabon)

    Clayton:

    Used your code in my custom-functions.php file, but it didn’t work. It appears that what there is in the WP functions.php file takes precedence over what I do on the theme functions.php. I know what need s to be done. It’s a matter of making a backup of the core file (if something goes wrong) and deciding to edit it. For me it will be the first time I do this kind of thing. Maybe, I’ll wait until WP version 3.6 is stable.

    Thread Starter williepabon

    (@williepabon)

    Clayton:

    A similar piece of php code, I tried on the custom_functions.php file that my theme has, but it didn’t work, but I will try your version. Will let you know. Thanks.

    Thread Starter williepabon

    (@williepabon)

    Well, since I’0 using 3.5.1, will need to modify the functions.php file to upload a .webm file. thanks

    Thread Starter williepabon

    (@williepabon)

    Found a solution. A WP developer indicated that you have to go to the functions.php file and edit the array where all the authorized file types are defined. You have to use the same format as shown in the array to insert your new mime. The file is located at /wp-includes directory. Haven’t done it yet, but will do eventually. Thanks for all the comments.

    Thread Starter williepabon

    (@williepabon)

    Seacoast..

    Sorry I didn’t go to the php ini file first because I didn’t know where to locate it, and also the file I was going to upload was no bigger than 10 Meg and I know I have a file size cap of 64 Megs.

    The three folders that have .htaccess file are:
    /public_html/
    /public_html/nexusinternacional.org/
    /public_html/nexusinternacional.org/wp_content/plugins/akismet/

    Thread Starter williepabon

    (@williepabon)

    Clayton:
    Thanks for answering fast. No, I uploaded the file directly to wp-content/uploads folder using the upload feature of the File Manager of the host control panel. I didn’t look at the plugin you suggested because I was able to do my uploads as I described. As I said, using the media Library app form within WordPress, the uploaded file doesn’t show, but I checked that it is there. So, I assume the problem has to be with the mime restrictions on the file.

    Thread Starter williepabon

    (@williepabon)

    Clayton:

    I was able to succesfully upload my .webm file to the wp-content/uploads folder, but still I don’t see it when I go to my media Library. I suspect it is because of the issue with the media type restrictions with WordPress. Following your advice I did a search for plugins using “add mime type” and found a couple of plugins that could do the job, but both , I think have problems.

    The first is AP Extended mime types
    This plugin adds a bunch of mime types to WordPress, except .webm. Additionally, the plugin is compatible up to WP Ver. 3.3.2

    The second is Manage Upload Types
    This plugin lets you to add the mime type you need to WordPress in an easy way, but also the plugin is only compatible up to version 3.4.2 of WP.

    So, I have my file uploaded, but I can’t use it because of WP restrictions. Is it possible to use Manage Upload types without problems or, is there another way to add the mime type I want to WP? Your help is appreciated.

    Thread Starter williepabon

    (@williepabon)

    Seacoast:
    Followed your instructions and put the suggested code on the three instances of .htaccess that I have in my account, but still getting the same messages. Any other suggestion? Thanks.

    Thread Starter williepabon

    (@williepabon)

    Adding more information. This is the message I get from the media upload in WordPress:

    “ONe with Them.webm” has failed to upload due to an error
    Sorry, this file type is not permitted for security reasons.

    Hope this help to find the problem. Thanks.

    Thread Starter williepabon

    (@williepabon)

    I have a .webm file in my machine and after apparently uploading it, I get a message of some kind of security restriction. If it is necessary I would try uploading again to copy the exact message I received. The file is less than 60 Meg. Thanks for answering.
    wp

    Thread Starter williepabon

    (@williepabon)

    Catacaustic:

    Thanks again. I know now what it is needed to be done, and find that this is beyond my knowledge of WordPress and coding (php or html). But, thanks anyway for your kind help. Will continue to look if somebody already did what I need to do.
    wp

    Thread Starter williepabon

    (@williepabon)

    Catacaustic:

    Thanks for the reply. I’m newbie doing these things, and not sure how to proceed. Was thinking that the end goal of uploading the php code is to have it like another script that shows when I do Appearance > Editor on the WordPress Dashboard. Don’t know if this is possible. Think that for the html code, I can create a page for it, right? Thanks for your patience.
    wp

    Thread Starter williepabon

    (@williepabon)

    thanks.The problem was with with the TGN plugin, when I used it to embed something different than PDF. Not your problem.

    Thread Starter williepabon

    (@williepabon)

    Thanks.

    Thread Starter williepabon

    (@williepabon)

    That one didn’t work. How about this one?

    http://nexusinternacional.org/para-probar/

Viewing 15 replies - 1 through 15 (of 19 total)