×

Notice

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

TOPIC: Problems with Hotspots V3

Problems with Hotspots V3 11 years 8 months ago #17009

  • CJ Disabled 4
  • CJ Disabled 4's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
Hi Daniel,

Here is a list of bugs/problems i am having with V3 :)

The new look map view does not look or feel correct, i was expecting clustering in this new version now i only see one or two icons for a each country when the viewer is looking at a map of Europe until they zoom in? click the link for an example www.fulltiming.org/index.php/aires-wildp...oordinates#!/catid=4

Can you please expain the catergory image idea to me as i would have thought it better to have a master catergory like "France" and then be able to create sub catergories like regions/or whatever under France?


Bugs
  1. When a user tries to add a hotspot i am getting the 404 error
  2. When i go to edit a hotspot from the front end i get the error message, Warning: implode() [function.implode]: Invalid arguments passed in /home/sambukashot/fulltiming.org/components/com_hotspots/utils.php on line 84

Re: Problems with Hotspots V3 11 years 8 months ago #17010

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Keith,
Yes, we had that discussion with Eliecer and I agree that the current solution is not the user friendliest right now, but it is at least the one that won't crash the server and then show "memory exhausted or could not reach the page" messages.

What this implementation is missing is a image overlay with small points (to pinpoint where you have more locations). This will orient the user in where he can zoom etc. This is the next step in making this user friendly.

Look in the menu on the right -> it says you have 300 locations in this view, but you actually see only 25. You can use the next button at the bottom or move around and more locations will pop up.

1. Can't confirm this on my installations. Can you please edit your add-hotspot button and see if that fixes the problem?

2. Ok, I confirm this one and is caused by SEF urls. Trying to figure out how to fix it.

Kind regards,
Daniel

Re: Problems with Hotspots V3 11 years 8 months ago #17012

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
about 2:
go to components/com_hotspots/router.php

in the HotspotsBuildRoute function add this:
    if (isset($query['layout'])) {
        $segments[] = $query['layout'];
        unset($query['layout']);
    }

right before this line:
if (isset($query['id'])) {

Then in the HotspotsParseRoute function change this code:
 
if (JRequest::getVar('layout') == 'form') {
		if (count($segments) == 1) {
			$vars['id'] = $segments[0];
		}
	} else {
		if (isset($segments[1])) {
			if (count($segments) > 1) {
				$cat = explode(':', $segments[0]);
				$vars['catid'] = $cat[0];
				$id = explode(':', $segments[1]);
				$vars['id'] = $id[0];
			}
		}
	}

with this one:
 
    if (count($segments) == 1) {
        $vars['id'] = $segments[0];
 
        if (JRequest::getVar('task') == 'form.edit') {
            $vars['view'] = 'form';
            $vars['task'] = 'edit';
        }
    }
 
    if ($segments[0] == 'edit') {
        $vars['view'] = 'form';
        $vars['task'] = 'edit';
    }
 
    if (isset($segments[1])) {
        if (count($segments) > 1) {
            $cat = explode(':', $segments[0]);
            $vars['catid'] = $cat[0];
            $id = explode(':', $segments[1]);
            $vars['id'] = $id[0];
        }
    }
 

Now when you try to edit a hotspot it should send you to the correct form.

Daniel
The following user(s) said Thank You: CJ Disabled 4

Re: Problems with Hotspots V3 11 years 8 months ago #17014

  • Eliecer Marchante
  • Eliecer Marchante's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
checking at
http://www.fulltiming.org/index.php/aires-wildparking-map-coordinates#!/catid=4

and

http://demo.compojoom.com/dev/index.php/hotspots#!/catid=3;1

- if I search for something, the right panel is showing the results but if I zoom in or move the map around, the panel is repeating the same information over and over again.
- if I start a new search on top of the last search, nothing is happening.
- if I click on one category, it's not showing all the markers attached to that category.
- in full screen mode, the mouseover effect is not working on the categories (icons on top of the map).

Re: Problems with Hotspots V3 11 years 8 months ago #17018

  • CJ Disabled 4
  • CJ Disabled 4's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
Thanks Daniel,

Those code changes have fixed the issue :)

Keith

Re: Problems with Hotspots V3 11 years 8 months ago #17021

  • CJ Disabled 4
  • CJ Disabled 4's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 50
  • Thank you received: 0
Hi Daniel,

"Quote" What this implementation is missing is a image overlay with small points (to pinpoint where you have more locations). This will orient the user in where he can zoom etc. This is the next step in making this user friendly.

This is what we need for sure :)

"Quote" Look in the menu on the right -> it says you have 300 locations in this view, but you actually see only 25. You can use the next button at the bottom or move around and more locations will pop up.

I missed that button! maybe it should be at the top right and marked "More Locations" to make it easy to spot!

I was really hoping we would have the option to add categories & child catogories in this release which would make life a lot easier to map things with a drop down box instaed of icons as an option.

Examples:

Manhatten
Restuarants
Fast food
Chinese

Florida
Restuarants
Fast food
Chinese

This would make it a lot better in my opinion to focus the users needs for a perticular area and make th loading times a lot faster on the map as it would be more focused.

I thinks this release has a lot missing, sure there has been lot's done to this latest release but it seems like a half finished component at the moment.

Daniel i hope you can bring this up to date soon as i really have spent a lot of time on my map and need this to work a lot better

Thank you for your understanding

Keith

Problems with Hotspots V3 11 years 8 months ago #17027

  • Anglade Eric
  • Anglade Eric's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Hello,

I made the change as mentionned on the router.php file but the problem still appears :

Warning: implode() [function.implode]: Invalid arguments passed in /home/ovh/www/www.almaouja/almaouja.preprod/components/com_hotspots/utils.php on line 84

No map appears and a strange url also : les-cartes/hopitaux#!/catid=null

It shoul be only les cartes/hopitaux

What else can I do ?

Thank in advance.

ea

Problems with Hotspots V3 11 years 8 months ago #17030

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Eric,
I think that you missed something or maybe your server didn't allow you to override the file? To verify that you have correctly added this code to the file -> download it from the server to your computer and look at its content.

Kind regards,
Daniel

Problems with Hotspots V3 11 years 8 months ago #17031

  • Anglade Eric
  • Anglade Eric's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
I made this verification and that file is included the new code.

Let me explain better the problem or have a look :

vps10735.ovh.net/guide/les-cartes/hopitaux#!/catid=null

You will see that only one of my entry menu is working :

vps10735.ovh.net/guide/les-cartes/administrations#!/catid=4

But the url is still strange and no foto appear in the right panel (it should be). From that map, we can go to other ones but still without any pictures.

An if i want to use again the top menu, juste above (from "les cartes"), once again appear the warning message... and no maps.

So strange...

ea

Problems with Hotspots V3 11 years 8 months ago #17033

  • Torsten Roecker
  • Torsten Roecker's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 56
  • Thank you received: 1
Dear Eric,

I had the same problem with the EDIT function on my site.
After changing the code as mentioned above the edit function is running without problems.

Maybe you've changed the file through your ftp tool online and the file changes were not uploaded?


Kind regards Torsten

Problems with Hotspots V3 11 years 8 months ago #17034

  • Anglade Eric
  • Anglade Eric's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Unfortunatly not : i did the change from the servor directly and i check the file where the change appear.

It seems to be an other problem.

ea

Problems with Hotspots V3 11 years 8 months ago #17035

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Dear Eric,
Please start a private ticket and provide me with access to the server. I'll have a look.
Daniel

Problems with Hotspots V3 11 years 8 months ago #17036

  • Anglade Eric
  • Anglade Eric's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
ok : you mean you need the ftp access ?

Problems with Hotspots V3 11 years 8 months ago #17037

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Give me everything I'll need to replicate the issue + fix it :)
Backend + ftp access.

Daniel

Problems with Hotspots V3 11 years 8 months ago #17038

  • Anglade Eric
  • Anglade Eric's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Ok

I didn't find the way for private ticket.

Thanks to send me your email.

ea

Problems with Hotspots V3 11 years 8 months ago #17039

  • Anglade Eric
  • Anglade Eric's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
I used befor your email in yahoo.fr : still ok ?

ea

Problems with Hotspots V3 11 years 8 months ago #17042

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The yahoo email is fine - you can also use This email address is being protected from spambots. You need JavaScript enabled to view it. , but honestly I really prefer the ticket system. Just click on new ticket and select private from the dropdown field next to the title field :)

Cheers,
Daniel

Problems with Hotspots V3 11 years 8 months ago #17055

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Eric, hi @all,

You have a different problem actually! The people here are talking about userhotpots view and clicking on the edit button, where you have a map view that doesn't properly load the categories.

Here is the thing. In version 2 one was able to define just one start category as default. In Hotspots 3 you can define as many as you want. And that is why the data is stored in the db as an array. Even if you have just 1 entry -> it is represented in the db as an array.

To make the life of most people easy -> during the update operation I find the menu that holds the map and update the settings. Now in your case you have a setup with 10 links to each category and my update procedure is not capable to fix this case. The solution in your case is pretty easy -> go to each menu item -> just open it (it will have automatically selected the correct category) and just hit save! This will store the cat information correctly in the menu settings and when you load the map it will work properly.

cheers,
Daniel

Problems with Hotspots V3 11 years 8 months ago #17148

  • Samuele Bonzio
  • Samuele Bonzio's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0

keith pringle wrote: Bugs

  1. When a user tries to add a hotspot i am getting the 404 error
  2. When i go to edit a hotspot from the front end i get the error message, Warning: implode() [function.implode]: Invalid arguments passed in /home/sambukashot/fulltiming.org/components/com_hotspots/utils.php on line 84


Same problem here!
I've patched the code... in router.php, but still continue!
Test site in www.giocolieri.org/web/

Problems with Hotspots V3 11 years 8 months ago #17149

  • Samuele Bonzio
  • Samuele Bonzio's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 22
  • Thank you received: 0

Daniel Dimitrov wrote:
To make the life of most people easy -> during the update operation I find the menu that holds the map and update the settings. Now in your case you have a setup with 10 links to each category and my update procedure is not capable to fix this case. The solution in your case is pretty easy -> go to each menu item -> just open it (it will have automatically selected the correct category) and just hit save! This will store the cat information correctly in the menu settings and when you load the map it will work properly.

cheers,
Daniel


This work ;) Thank you!
  • Page:
  • 1
  • 2
Time to create page: 0.146 seconds