Title: [Plugin: WP User Frontend] Theme Altered by this string
Last modified: August 20, 2016

---

# [Plugin: WP User Frontend] Theme Altered by this string

 *  [gatventuresinc](https://wordpress.org/support/users/gatventuresinc/)
 * (@gatventuresinc)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-theme-altered-by-this-string/)
 * I am using a custom theme design and when i activate the plugin the following
   string in _wp-user-frontend/js/wpuf.js_ is altering my design and layout.
 *     ```
       //run the bootstrap
           WPUF_Obj.init();
       ```
   
 * I am not sure what this string calls to. Is it a required string? Any assistance
   will be appreciated.
 * [http://wordpress.org/extend/plugins/wp-user-frontend/](http://wordpress.org/extend/plugins/wp-user-frontend/)

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

 *  [RobReg](https://wordpress.org/support/users/robreg/)
 * (@robreg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-theme-altered-by-this-string/#post-3128834)
 * Hello,
 * Did you find out a solution to this? I am getting a Javascript error on one of
   my pages:
 *     ```
       Uncaught TypeError: Cannot read property 'currentStyle' of null plupload.js:2
       g.getStyle plupload.js:2
       (anonymous function) plupload.html5.js:1
       g.extend.trigger plupload.js:2
       (anonymous function) plupload.js:2
       j.runtimes.Html5.j.addRuntime.init plupload.html5.js:1
       v plupload.js:2
       g.extend.init plupload.js:2
       WPUF_Obj.featImgUploader wpuf.js:108
       WPUF_Obj.init wpuf.js:14
       (anonymous function) wpuf.js:213
       l jquery.js:2
       c.fireWith jquery.js:2
       v.extend.ready jquery.js:2
       A
       ```
   
 * Anyone seen this?
 *  [RobReg](https://wordpress.org/support/users/robreg/)
 * (@robreg)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-theme-altered-by-this-string/#post-3128835)
 * An update on this is that I had a look at the wpuf.js file around line 108 which
   appears to be where the issue is and it seems to be in this piece of code:
 *     ```
       featImgUploader: function() {
                   if(typeof plupload === 'undefined') {
                       return;
                   }
   
                   if(wpuf.featEnabled !== '1') {
                       return;
                   }
   
                   var uploader = new plupload.Uploader(wpuf.plupload);
   
                   uploader.bind('Init', function(up, params) {
                       //$('#cpm-upload-filelist').html("<div>Current runtime: " + params.runtime + "</div>");
                       });
   
                   $('#wpuf-ft-upload-pickfiles').click(function(e) {
                       uploader.start();
                       e.preventDefault();
                   });
   
                   uploader.init();
       ```
   
 * Is there a problem with this piece of code?
 * Thanks,
    Rob

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

The topic ‘[Plugin: WP User Frontend] Theme Altered by this string’ is closed to
new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [RobReg](https://wordpress.org/support/users/robreg/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-user-frontend-theme-altered-by-this-string/#post-3128835)
 * Status: not resolved