Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
File Uploader Plugin doesnt upload files
Avatar
Salle Carlzon
Member
Free Members
sp_UserOfflineSmall Offline
Nov 8, 2016 - 12:50 pm
sp_QuotePost Quote

So I have taken that line of code you sent and copy/paste to replace the old line of code.

 

No it looks like this:

View post on imgur.com

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 8, 2016 - 3:54 pm
sp_QuotePost Quote

@mr-papa - now we have the quote marks corrected (see above) do you have any ideas why the bootstrap library still refuses to load? My belief is that the lack of bootstrap is why the mobile menu is not working so it is needed to load but does not appear to do so with this changed enqueue code...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 8, 2016 - 9:05 pm
sp_QuotePost Quote

yes... there is still a typo in there...

you have "uquery-core" and it should be "jquery-core"...

Avatar
Salle Carlzon
Member
Free Members
sp_UserOfflineSmall Offline
Nov 8, 2016 - 9:31 pm
sp_QuotePost Quote

Mr Papa,

Is this the correct code:

wp_enqueue_script( 'dreamland_bootstrap', get_template_directory_uri().'/js/bootstrap.min.js', array('jquery', jquery-ui-core', 'jquery-ui-widget'), false, true );

Highlighted is the line that was changed with the added "j" in the beginning.

If so we are back to square one.

Menu is now working.

File uploader doesnt.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 9, 2016 - 3:06 am
sp_QuotePost Quote

Then it is probably time you started to talk to the theme authors. It is they - after all - that are using the non-standard components and libraries that are the cause of the conflict.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Salle Carlzon
Member
Free Members
sp_UserOfflineSmall Offline
Nov 9, 2016 - 5:34 am
sp_QuotePost Quote

So basically we are at the end of the road?

The plugin cant be used by me.

Mr Papa; any thoughts?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 9, 2016 - 5:49 am
sp_QuotePost Quote

I talked to @mr-papa earlier before he set out for the day and he said he will think about any alternative method that could be tried and he will be around later,

But actually my suggestion of bringing in the theme authors to try and help is a perfectly valid route to go down as it is - after all - their use of an unsupported and corrosive library that is at fault.

There is only one other thing that I myself would suggest trying. In the code you changed the last parameter is set to the word true. It would be worth setting it to false to see if that makes any difference.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Salle Carlzon
Member
Free Members
sp_UserOfflineSmall Offline
Nov 9, 2016 - 6:21 am
sp_QuotePost Quote

Yellowfish,

Which should be set to "True" as I have both "false" and "true" in current line of code and setting "false" to "true" would be double "true".

Not questioning your suggestion but just want to make sure I am doing right.

Can you change below current code to exactly what you suggest?

wp_enqueue_script( 'dreamland_bootstrap', get_template_directory_uri().'/js/bootstrap.min.js', array('jquery', 'jquery-ui-core', 'jquery-ui-widget'), false, true );

I have sent the theme authors of Dreamland Single Estate a support ticket but I doubt they are as helpful as you guys have been.

I like Simple:Press and its simplicity and I hate walking away from it because I think it is exactly what I need and the support is obviously great.

As you understand, being able to upload pictures is essential for that part of the website.

I hope we can find a solution as I want to continue to build with more plugins.

Thanks for your patience.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 9, 2016 - 6:28 am
sp_QuotePost Quote

This is pretty clear and straightforward:

the last parameter is set to the word true. It would be worth setting it to false to see if that makes any difference. There is ONLY one 'last parameter' and only one currently set to false. That is the one to change.

Personally, I would look for a different theme. From what I have seen of all the stuff that they are loading it seems to be heavy handed and full of errors. As I have said many times now - the website is throwing scripting errors on every page and these are, I am sure, coming from badly written theme code. But it is your choice of course.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Salle Carlzon
Member
Free Members
sp_UserOfflineSmall Offline
Nov 9, 2016 - 7:06 am
sp_QuotePost Quote

Well Mr Swordfish, I think you nailed it 🙂

It seems that both the menu and the file uploader is working now after the last tweak.

I will continue to test after taking a breather from the website for a while.

Your support has been excellent and I will surely be back for purchasing more plugins but hopefully no more problems 🙂

Your feedback and suggestion on changing the theme is well taken aboard but I cant seem to find a simple workable theme for this particular type of website and I have spent huge amount of hours getting this one setup due to me being an amateur.

Lets hope that no other problems arises from the change.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626