Title: Attachment file types?
Last modified: August 22, 2016

---

# Attachment file types?

 *  Resolved [Elven11](https://wordpress.org/support/users/elven11/)
 * (@elven11)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/)
 * Hi
    I was wondering which types of attachments are supported by this plugin? 
   Is it possible for users to upload .zips? .ppt? .pdf? or just images such as .
   jpg, .png…?
 * Additionally, is there any way to “restart” the plugin? I was trying to upload“
   weird” type files just to know if it was possible and now it is impossible for
   me to open ANY attachment (even the image-ones). I tried to delete the plugin
   completely from my wordpress and install it again but all the old tickets are
   still appearing making attachments impossible to download as right now.
 * Thanks in advance!
 * [https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system/](https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Pradeep Makone](https://wordpress.org/support/users/pradeepmakone07/)
 * (@pradeepmakone07)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344491)
 * Hi Elven11,
 * For now there is no restriction on uploading file type as an attachment, but 
   I am planning to make it restricted to some commen file types or to give functionality
   in settings where admin can enter files types.
 * Old tickets remain there because, deactivation or delesion not drop tables from
   database. Please drop tables created by this plugin or you can buy pro version
   where you will get delete ticket option along with many ineresting features.
 * Cheers!
 *  Thread Starter [Elven11](https://wordpress.org/support/users/elven11/)
 * (@elven11)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344606)
 * Hi there,
    Thank you for your quick response!!
 * So I have tried deleting all the drop tables from database (including the ones
   of the attachments) and now all the tickets are empty as expected, but the problem
   persists.
 * When a user uploads an attachment(for example a .jpg) it is impossible for the
   Admin to see it, I enter in the admin dashboard and in the concrete ticket and
   everything looks fine, but by the time I click the link to see the attachment
   nothing happens, nothing opens nor download.
 * Any guess about what can be happening? I am looking forward to buy the pro version
   but I want to ensure that everything works properly before upgrading.
    Thanks
   in advance!!
 *  Thread Starter [Elven11](https://wordpress.org/support/users/elven11/)
 * (@elven11)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344607)
 * More information about this: I am seeing that the attachments are uploaded properly,
   they appear in the .ftp and it is possible to download them from there, So it
   can be a problem with the paths that are created in the admin tickets panel, 
   maybe?
 * EDIT:
    When i look at the archive links in the console in chrome it says: Uncaught
   SyntaxError: Unexpected token ILLEGAL.
 * The HTML part of the link says this:
    <span class=”attachment_link” title=”Download”
   onclick=”downloadAttachment(‘image/jpeg’,’C:\Inetpub\vhosts\unidadesaps.es\httpdocs/
   wp-content/uploads/2014/10/mapa.jpg’);”>mapa.jpg</span>
 * it seems that is not catching the URL of the archive even though it is fine and
   appears in the .ftp, it is not working in direct link either…
 *  Plugin Author [Pradeep Makone](https://wordpress.org/support/users/pradeepmakone07/)
 * (@pradeepmakone07)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344612)
 * Hi Elven11,
 * Uploading issue is first time reported! It works for me and all plugin users 
   where I have given customized services!
 * I encorage you to upgrade to pro version and check whether same problem occurs
   again.
 * I will make it working on your site in case of any issues!
 * Cheers
 *  Thread Starter [Elven11](https://wordpress.org/support/users/elven11/)
 * (@elven11)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344625)
 * Hello again,
    I finally solved the issue by upgrading to pro version and changing
   the coding a little bit 🙂 Thank you so much for the response!
 *  Plugin Author [Pradeep Makone](https://wordpress.org/support/users/pradeepmakone07/)
 * (@pradeepmakone07)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344629)
 * Thanks for upgrading.
 * If possible, please raise ticket on plugin site saying changes you made in your
   code; so that I can check for isues if any in original code and mearge in next
   update. So, when you update next release, you will have that change.
 * Cheers!
 *  Thread Starter [Elven11](https://wordpress.org/support/users/elven11/)
 * (@elven11)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344631)
 * Hi again,
    The changes were replacing the HTML code that I said in previous comment
   by another one that made the attachments open in a new tab (instead of in a popup),
   that solved the issue for me 🙂 I’ll contact the programmer so he can make this
   ticket in the plugin site explaining the code he replaced ( I’m not really that
   much into coding so I can’t do it by myself :P)
 * I have another question, which may sound a bit silly but well…, I want to change
   the language of this plugin in my site, so I have translated it into Spanish 
   with Poedit and now I have new .po and a .mo files, I have replaced the default.
   po and default.mo files inside the lang folder with these others in spanish, 
   but it seems that the plugin is not recognizing this change, do I have to change
   something else in order to make language load properly?
 * I suppose maybe it has something to do with this part of code in wp-support-plus.
   php:
 * “function load_textdomain(){
    load_plugin_textdomain( ‘wp-support-plus-responsive’,
   plugin_dir_path( __FILE__ ).’/lang’ , ‘wp-support-plus/lang’ ); }”
 * But I’m not guessing what I have to put exactly…
 * Thanks in advance!
 *  [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344637)
 * HI !
 * As indicated earlier , here is my response for pradeepmakone at the [“But how can I test [localization] is working or not?”](https://wordpress.org/support/topic/generating-a-localization-file-error?replies=11#post-6072035)
 * The trick use a plugin called [WP Native Dashboard](https://wordpress.org/plugins/wp-native-dashboard/),
   that will allow you (and your registred users) to use different language, independently.
   
   You will have to define what language you want to allow you(/the user) to switch
   and then, you just have to change the language in the admin, and TADA, it will
   load the language files corresponding for WordPress and Themes AND the plugins.
   If no language files are found, it will fallback to the default language you 
   set.
 * I use this technique a lot while making translation cause it allows me to see
   original strings in context.
 * GeoLocalization and Content Translation is a whole other thing, but I think the
   question was just about localization plugin testing so I will not develop that
   subject here :P.
 * Hope it will help ! Cheers !
 *  Plugin Author [Pradeep Makone](https://wordpress.org/support/users/pradeepmakone07/)
 * (@pradeepmakone07)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344639)
 * Thank you X-Raym,
    It was very helpfull!
 * For Elven11,
    Hope you got your answer! Keep posted for any issues!
 *  [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344642)
 * You are welcome 😛
 *  Thread Starter [Elven11](https://wordpress.org/support/users/elven11/)
 * (@elven11)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344666)
 * Hi both,
    Thank you very much for your responses! I also found a plugin very 
   similar to that one that X-Raym mentions, [CodeStyling Localization](https://wordpress.org/plugins/codestyling-localization/),
   which was quite helpful for me 🙂
 * I have sent a ticket to the plugin website with spanish es_ES translations just
   in case it is helpful for future releases.
 * Many thanks!!
 *  [X-Raym](https://wordpress.org/support/users/x-raym/)
 * (@x-raym)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344667)
 * Indeed, Codestyling Localization is one of those awesome plugin everyone should
   use 😀
    Its ability to generate localisation file from php is really awesome !
 * Good luck for the next !
 *  Plugin Author [Pradeep Makone](https://wordpress.org/support/users/pradeepmakone07/)
 * (@pradeepmakone07)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344668)
 * Thank you Elven11 for sharing translation files!
    It will be helpfull for spanish
   plugin users! I will include it in my next release!

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Attachment file types?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-support-plus-responsive-ticket-
   system_868078.svg)
 * [WP Support Plus Responsive Ticket System](https://wordpress.org/plugins/wp-support-plus-responsive-ticket-system/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-support-plus-responsive-ticket-system/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-support-plus-responsive-ticket-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-support-plus-responsive-ticket-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-support-plus-responsive-ticket-system/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [Pradeep Makone](https://wordpress.org/support/users/pradeepmakone07/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/attachment-file-types/#post-5344668)
 * Status: resolved