×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Image Uploadlimit and Accesslevel for Hotspot

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17620

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

during the last day's I've tested the image upload function for a new Hotspot and it seems there is no uploadlimit is this correct? And if so is there a way to limit the uploaded images or to resize them?
General information: I've set the uploadlimit in com_media to 1 MB.

Also the Accesslevel settings for a hotspot seems to be ignored by the frontend. When I select Accesslevel Registered the spot should only be visible for registered Users but it's also vissible for guests.



Thanks in advance

Torsten
Attachments:

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17621

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Torsten - the file size for the image is restricted by the file_size property in php. If it is set to 8MB, then the user will be able to upload images up to 8MB.

Accesslevel - I'm back in the office... I'll try to fix the access level today, latest tomorrow.

Daniel

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17623

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

thanks for the quick reply :)
Ok I thought there is also a limit in the upload php file I can change, but then I'll play with the php.ini, am I right that the php.ini has to be in the same directory as the php responsible for the file upload?

Accesslevel - Ok, thanks. I didn't know you were away, otherwise I would not have asked. :(

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17624

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
And one more question, when I edit an Hotspot via the frontend then the old selected category is automatically changed to the default category.
For example while creating a new hotspot I select category "User" this is the second entry in the list (first is Tracks). Then I edit the hotspot to change the name and then the category is changed back to the default value "Tracks" automatically. (While it is not changed when edit is performed through the backend)

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17637

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
So, I just fixed the accesslevel problem and the fix it will be in the next dev. release.
here is the thing... The fix will only work properly for people updating from 3.1 as I needed to update the database. Actually it will work just fine if you started with version 3.0 and added your hotspots. If you used version 2.0 and upudated to 3.0 the access field will have the value 0 and it should be 1...

Anyway you can try the fix and if you don't see hotspots on the map this means that you have the wrong access level stored in the db (0).
You can execute the following query in the phpmyadmin:
UPDATE #__hotspots_marker SET access = 1 WHERE access = 0;

I'll publish the update later today as I want to fix few more things in it.

About php.ini - depending on your hosting you will be able to change some settings through php.ini or htaccess files. Talk with your hosting provider. In the future I actually want to have a nice media manager in hotspots.

Daniel

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17638

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Sometimes I have troubles understanding what my train of thought was when I coded something. I just fixed the problem with the category as well...

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17639

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

this is great to hear :) Many thanks!

But I have a strange problem since this morning with my hotspot site and also with your hotspot demo site. While opening the sites with Chrome/FF/IE9 the component is working without any problem, but when I open the sites with IE7/8 the map is loading but there are no hotspots and sometimes also the map is not loading...
Until yesturday everything was ok?
Where there any changes on google side?

Torsten

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17640

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I think that you just haven't tested the site with IE8 since a lot of time.... IE7 won't be supported, but IE8 will. I know about the problem and I'm trying to fix it.

Daniel

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17641

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
One of my users has informed me about the problem this morning, he also told me it was working yesturday :S

As I can remember there was a similar problem with IE8 in the beginning of V3.0 and we fixed it since then I've tested it from time to time and it was working, but I have not tested it since beginning of last week.

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17669

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I just released 3.1.1 - it should fix the IE8 problems.
Cheers,
Daniel

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17726

  • Torsten Roecker
  • Torsten Roecker's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Hi Daniel,

I've installed the new version on my test site short time after your release and what to tell, it's working great and so far I have not found any problems :)


Many thanks

Torsten

Image Uploadlimit and Accesslevel for Hotspot 12 years 2 months ago #17729

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yeaa! That is awesome! Great start for the week :)
Thank you!
Daniel
  • Page:
  • 1
Time to create page: 0.245 seconds