×

Notice

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

TOPIC: Hotspot plugin problem solved

Hotspot plugin problem solved 12 years 9 months ago #12520

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Ok Daniel well done. The wait was worth it and we have Hotspots 2.0 installed. The upload went okay. However, I presumed for some reason that Hotspots 2.0 would simply overlay across the older version and established links would continue to work. They didn't. However, we got that fixed.

I have a query about the CB Plugin for members. The one that appears on the members tab. We had that installed correctly under older version, however, right now this seems to not work and it prevents all site users from accessing their CB Members profile. SO we have had to disable this. members can now see their profile Is there a fix for this, for example do we have to delete and reset this up or is there an upgrade for this somewhere.

Once again, members are warming to the new look Hotspots and I wish you success with this and can ensure you of our future custom

Hotspot plugin problem solved 12 years 9 months ago #12533

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey,
I'm sorry about that! It seems that the CB plugin uses functions from the component that are not there anymore. I'll start updating it right away.
Daniel

Hotspot plugin problem solved 12 years 9 months ago #12540

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
No problem about that. However, Am I correct in thinking that Hotspots 2.0 supports users ability to edit their own marker? I have tested this and found that I am unable to do this. However, your other excellent product Compojoom Comment clearly is handling the comments ok. When setting up this feature on the members menu area of the site, it does indeed bring me into what looks like an edit environment but there is no obvious way to edit anything that the user has created before hand under Hotspots 1.0. In the Parameters (Component) I see a login box. Who logs in and why is it there?

I am using the Menu link index.php?option=com_hotspots&view=hotspots&layout=userhotspots

Once again, I appreciate your assistance

Hotspot plugin problem solved 12 years 9 months ago #12541

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Hi Daniel

My apologies for wasting your time. I have now figured out my mistake. From within the user edit area, I clicked on the hotspot item or link as opposed to the little pen icon which caused the confusion. All is well. I see what to do now. Thanks

Hotspot plugin problem solved 12 years 9 months ago #12604

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, the new version of the hotspots plugin is published:
compojoom.com/downloads/downloads/hotspo...ns/cbplugin2zip/view

I think, that you will like it more than the old one :)

Hotspot plugin problem solved 12 years 9 months ago #12609

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Downloaded it, and installed within Community Builder but all we see is the user hotspot links created but no user Map. Its just a big Grey square! The main Hotspots module works superbly with no issues whatsoever.

We still are using J1.5 and the Mootools 1.2.4 and I think that's were the problem in our case lies. I believe that the plugin works in J1.6 or J1.7 but I suspect that J1.5 is not the correct environment for this. We will be upgrading to J1.7 in a few weeks time so I am content simply to deactivate the plugin for now and wait.

Hotspot plugin problem solved 12 years 9 months ago #12610

  • Some1new
  • Some1new's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 16
  • Thank you received: 0
I have a site running under J1.5 and the hotspots tab is well displayed in CB Profile. Must be another issue.

Regards
Some1new

Hotspot plugin problem solved 12 years 9 months ago #12611

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
TecHKnow, it should work! I smell a js conflict. Could you please enable the plugin and give me a link to a user profile on your site. I'll tell you what is wrong then.
Daniel

Hotspot plugin problem solved 12 years 9 months ago #12619

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Just checked your website. On the user profile page firebug shows me 2 errors:


"NetworkError: 404 Not Found - xxxx/cms/templates/cah_ndeso-TECH/images/inputbox.jpg"
inputbox.jpg
(a == "arguments" || a == "collection" || a == "array" ? Array : Hash).each is not a function
[Break On This Error] var MooTools={version:"1.2.4",build:"0..."::")[1]);b.set("title","")}})}})})();
mootools.js (line 1)


I see that you have mootools 1.2.4 which makes me think that you use joomla 1.5.22 ? I'm not sure why you get this error with mootools - it could be one of the other tabs if they are using mootools. But do you think that you could update to 1.5.23? It includes mootools 1.2.5. And btw 1.2.5 is compatible with IE9... 1.2.4 isn't...
forum.joomla.org/viewtopic.php?p=2305796

Hotspot plugin problem solved 12 years 9 months ago #12620

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
ok, I see another message
$$($$("a").filter(function (el) {return el.rel && el.rel.test(/^lightbox/i);})).slimbox is not a function

this is coming from your gallery - perhaps try to disable it just to identify the problem.

The problem with the map is that JS is pretty easily broken. The map doesn't generate any js errors, but other js errors on the page are affecting it.

Daniel

Hotspot plugin problem solved 12 years 9 months ago #12621

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Daniel,

We are at Version 1.5.23 on Joomla. I check and confirmed that from the back end. I'll try disabling the Gallery module

Hotspot plugin problem solved 12 years 9 months ago #12624

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I just checked my 1.5.23 installation and it has mootools 1.2.5. Please get a new copy of 1.5.23 and look at plugins/system/mtupgrade - you will see that it has 1.2.5 you can override the mtupgrade folder...

Hotspot plugin problem solved 12 years 9 months ago #12625

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Daniel,

We are making progress here thanks to your kind check over my site. I can actually see the map now but its position within the "frame" is now causing problems.

The quality of your support for your customers is magnificient and worth the cost of your brilliant software on its own. Other subscribers please take note of this!!!!!!

I will work with my webby guy later this evening and check through your points above. I know the problem is on my side of the fence. You are guaranteed my continued support and custom for the future over the lifetime of my site. Thanks

Hotspot plugin problem solved 12 years 9 months ago #12637

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi again,
Now I looked at the page and the problem you have right now is caused by me and by you :)

I saw that in the cb plugin I'm not checking if you actually have a shadow icon...

And because you don#t have any shadow icons I give wrong information to google... Could you please edit the categories and add a shadow icon to them. Let me know if this solves the issue?

Daniel

P.S. Thank you for the kind words, but customers normally read the reviews here: extensions.joomla.org/extensions/maps-a-...-locations/maps/9468 Would you be so kind to leave one there :)

Hotspot plugin problem solved 12 years 9 months ago #12643

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Daniel

Tried your suggestion with no luck. I added the default shadow icon. I can see the map, its just that I can't get it to center in the frame. If i try to drag the map or adjust the frame size nothing seems to work.

Here is an image link of what I see uploaded. For some reason I can't attach it here. As discussed earlier, in two weeks, we will be moving up to J1.7 and so these problems should vanish,

compojoom.com/components/com_agora/img/m...17/mini_srnshot.jpeg

I have posted a good comment about Hotspots on Joomla

Hotspot plugin problem solved 12 years 9 months ago #12647

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
so. I managed to show the map, which leads me to the conclusion that one of the other tabs is causing this bad behaviour. Could you please disable all other tabs and check if the map loads. I just need to know what is causing the incompatibility to be able to provide a fix. Once you've disabled everything start enabling the tabs one by one till the map brakes.
Daniel

P.S. here is a photo of the working map on your site: postimage.org/image/2gjuufgpw/

Hotspot plugin problem solved 12 years 9 months ago #12662

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Daniel,

I disabled all tabs as requested. The final tab was the Compojoom front page Comment system. Once this was disabled, the map was correctly showing

I enclose two scrnshots via email

Hope this helps

TecHKnow

Hotspot plugin problem solved 12 years 9 months ago #12663

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
As I said in my mail - I have the feeling that if the map is in the second tab it is not shown properly for some reason. Could you please test with another tab?

Hotspot plugin problem solved 12 years 9 months ago #12679

  • Seamus Smith
  • Seamus Smith's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Okay, with the fantastic help and support from Daniel we have managed to resolve this problem. First of all I personally can confirm now that the CB module for hotspot DOES work under Joomla 1.5, straight out of the box

The issue apparently is a Community Builder problem. I had the module published to the second user tab within their specific profile. I am NOT a CB professional but apparently there are issues with some plugins breaking if placed in that position. I re-jiged (technical expression) the modules around placing the Hotspots module in the first position.

So now Hotspots works as Daniel has said before "out of the box".

Well done to Daniel and a big thanks for his patience and time helping me work through the problem. Many other software authors would be less helpful or perhaps not even bothered after they got their money from me.

Members of website are happy

Hotspot plugin problem solved 12 years 9 months ago #13090

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
So, for the other users trying to find a solution on placing hotspots in the second, third or 1000s tab in CB... This is tricky!

Let me first make sure that you guys understand the problem. The map loads on a domready event. When the page if fully loaded, the browser fires a ready event and then we create the map. Now that works all fine, but when we are in the tabs, the actual height in 2,3rd etc position is 0... So the map reports false width + height and is not created properly.

The clever solution would be to to attach the map to a tab change event and create the map once the hotspots tab is opened. Sadly, CB uses code from 2002 for those tabs and I couldn't figure out a way to do this. (for example the tabs in Hotspots in the right menu fire a change event when you click on a tab - the developer can attach an event to it and will be always notified about it! mootools.net/blog/2011/03/28/events-with...egation-and-pseudos/ )

So, I'm unable to solve this for you guys. I would like it to be out of the box solution, but the current tab code structure in CB doesn't allow me that.

Here are some proposals for setting a specific width and height in px for the map:
stackoverflow.com/questions/1428178/prob...pi-v3-jquery-ui-tabs

I've tried them, bur they also doesn't seem to solve the problem. The only solution would be to trigger a resize event on the map when the hotspots tab is open, but as I said above - it is not possible to know when the tab is open.... So until CB start to use better tabs, place the map in first position.

Daniel
  • Page:
  • 1
Time to create page: 0.170 seconds